tag 标签: ADI DSP

相关博文
  • 热度 2
    2017-12-27 09:45
    3255 次阅读|
    0 个评论
        2017年即将结束,全新的2018年马上开启,OP决定在新的一年里,把ADI的这个新软件CCES玩个通透!     我有几乎所有ADI DSP的开发板,以及成堆的仿真器和软件硬件开发资料,这个不好好利用一下真说不过去,计划把整个学习过程通过文字的形式记录下来,希望对新手在使用CCES做ADSP开发的时候能有帮助!     祝大家2017年完美收官,2018年齐头并进!
  • 热度 13
    2017-5-5 11:13
    1970 次阅读|
    0 个评论
    这一篇就来简单的讲一讲Blackfin中BF533的寄存器吧,其他型号均可作为参考。 从上图我们可以看到,红色框框内的是core component,剩下的则是memory unit。还是英文得了,中文好拗口哇。 Blackfin Processors are register-intensive devices All computations are performed on data contained in registers All peripherals are setup using registers Memory is accessed using pointers in address registers There are two ways to access registers on the ADSP-BF533 Directly by name Memory-mapped registers (MMRs) Register is very important for blackfin processors because blackfin processors are register-intensive devices. All Blackfin processor operation, such as computation, peripheral setup and memory accessing need register. We can see that blackfin can do nothing without register. Take bf533 as an example, there are two ways to access the registers. Then let’s see what register we can access. ADSP-BF533 Core Registers: Core registers accessed by name Data Registers: R0-R7 Accumulator Registers: A0, A1 Pointer Registers: P0-P5, FP, SP,USP DAG Registers: I0-I3, M0-M3, B0-B3, L0-L3 Cycle Counters: Cycles, cycles2 Program Sequencer: SEQSTAT System Configuration Register: SYSCFG Loop Registers: LT , LB , LC Interrupt Return Registers: RETI, RETX, RETN, RETE For core register, All the registers in the list can accessed directly by name. ?This is the example. This instruction load data register R0 with contents of System configuration register. You can see ,all the data register are 32-bit wide. They are referred to as dreg. Data Registers: R0-R7 Accumulator Registers: A0, A1 Pointer Registers: P0-P5, FP, SP,USP A majority of registers are memory mapped and must be accessed indirectly Core MMRs are used to configure the core registers They are listed in Appendix A of the HRM. All Core MMRs must be accessed with 32-bit reads or writes. System MMRs are used to configure all other peripherals They are listed in Appendix B of the HRM. Some System MMRs must be accessed with 32-bit reads or writes and others with 16-bit reads or writes (See the HRM for details). The addresses of the core and system MMRs are defined in the defBF533.h, defBF532.h, defBF531.h and defLPblkfin.h header files. MMRs can only be accessed in Supervisor mode. Example: P0.H = hi(MMR_NAME); // load upper 16-bits of MMR address to address register But a majority of register are memory mapped and they can not accessed directly by name. 这种太技术化的厂家写好的描述性文章,我就不做翻译了,可能看英文会更清楚一些。 任何ADI DSP的问题,均可联系OP的QQ:5516164,微信:OpenADSP OP的网站:www.openadsp.com OP的论坛:www.openadsp.com/bbs OP的官方淘宝店:https://shop108086345.taobao.com/ ADI DSP中文资料全集(含视频教程)的淘宝链接:https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-5192690539.12.Ck3v8fid=39935721554
  • 热度 13
    2017-5-5 10:43
    2328 次阅读|
    0 个评论
    接下来就是正题了,详细的讲讲Blackfin这个处理器,当然是以现在最受欢迎的BF533/BF531作为典型来讲了。 首先是内核,Blackfin的内核是ADI公司和Intel公司因为微软的一个饼而构建的,和其他的ADI DSP不太一样,我的印象中SHARC和21XX是Traditional DSPs Core Architecture,而Blackfin跟高富帅TigerSHARC则是MSA CORE Architecture. Blackfin是由MCU+DSP的综合架构组成,这个不是简单的1+1=2,而是你中有我我中有你的混合架构,官方名曰汇聚处理器。这种架构就让Blackfin从一个单纯的DSP升级成为一个有MCU功能的DSP。所以你可以在DSP上做跑比如ucos,uclinux的操作系统,是一大特色。 内核框图如下: Orthogonal RISC-like Microprocessor Instruction Set Single-Instruction Multiple-Data (SIMD) Dynamic Power Management 64-bit-wide?Instruction-Fetch Bus ten-Stage?Instruction Pipeline Multi-issue 64-bit?instructions (VLIW) 上面是Blackfin内核的特点,用英文表达应该更显而易见吧。下面则是它的优势: Optimized Instruction Set:High density compiled code Limited multi-issue capability:Use many of the core resources in a single instruction cycle Algebraic syntax:Easy programming read Optimized Linker of C/C++ Compiler :More sufficient software environment 以BF533为例,我们来具体看一下这个内核吧。 上图可见,红色的是Blackfin的core component,绿色的则是memory unit。这个时候你会发现,BF533的core就包含了: Data arithmetic unit:ALUs;MAC;Registers; Control unit:Sequencer; Registers; Addressing arithmetic unit:DAGs;Registers; BF533的CORE每一个部分包含都有寄存器,因此我们下面就来探讨一下BF533的寄存器吧! 我是想到哪里写到哪里,有点随意,大家如果有兴趣看的话也请随意。 任何ADI DSP的问题,均可联系OP的QQ:5516164,微信:OpenADSP OP的网站:www.openadsp.com OP的论坛:www.openadsp.com/bbs OP的官方淘宝店:https://shop108086345.taobao.com/ ADI DSP中文资料全集(含视频教程)的淘宝链接:https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-5192690539.12.Ck3v8fid=39935721554
  • 热度 13
    2017-5-5 10:37
    2263 次阅读|
    0 个评论
    Visual DSP++是ADI DSP的开发软件,本章详细的讲解了VDSP的各个功能模块,非常符合初学者观看! 接上一篇,Visual DSP++软件是ADI DSP使用时间最长的软件,初用的人肯定要骂娘觉得不好用,用久了会觉得也还凑合,用熟了会觉得还不错,软件这个东西,可不就是熟能生巧的一个过程么。下面这个视频没什么特别的技术含量,仅仅是对着Visual DSP++这个软件,把每一个功能、按键、模块详细的讲了一遍,方便新手快速熟悉。 这个视频的名字叫:Visual DSP++从零开始。 @ mbb_embed_youku 优酷视频链接: http://v.youku.com/v_show/id_XMzE3Nzc5NTY0.html 任何ADI DSP的问题,均可联系OP的QQ:5516164,微信:OpenADSP OP的网站:www.openadsp.com OP的论坛:www.openadsp.com/bbs OP的官方淘宝店: https://shop108086345.taobao.com/ ADI DSP中文资料全集(含视频教程)的淘宝链接: https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-5192690539.12.Ck3v8fid=39935721554
  • 热度 16
    2017-5-5 10:29
    3825 次阅读|
    0 个评论
    几乎所有的ADI DSP都是用Visual DSP++软件来进行代码的编写和调试的,这个开发环境从1.0开始,一直到现在的5.1。当下最常用的是2个版本,1个是Visual DSP++5.1.2,也就是最新的开发环境,另外一个是Visual DSP++3.5,是因为某些特定的型号必须用这个版本,比如说21xx。最近两年还有一个更新的开发环境叫做CCES,别看错了不是TI的CCS哦,ADI叫CCES。这个软件则是支持最新的BF60X,BF70X,还有SHARC的SC57X,SC58X等。 现在贴一下Visual DSP++软件的安装教学视频吧。(视频主要讲解了如何安装ADI的Visual DSP++软件,以及更新包的安装和License的安装等等) @ mbb_embed_youku 任何ADI DSP的问题,均可联系OP的QQ:5516164,微信:OpenADSP OP的网站:www.openadsp.com OP的论坛:www.openadsp.com/bbs OP的官方淘宝店: https://shop108086345.taobao.com/ ADI DSP中文资料全集(含视频教程)的淘宝链接: https://item.taobao.com/item.htm?spm=a1z10.5-c.w4002-5192690539.12.Ck3v8fid=39935721554