Posts tagged c6000
在TMS320C62x上实现扩展精度的复数基2FFT/IFFT算法
Jul 10th
本文翻译自TI的文档《spra696a_Extended-Precision Complex Radix-2 FFT_IFFT Implemented on TMS320C62x.pdf》。——哎,没过CET4,看E文就是累啊!
— 文首预览 —
定点DSP有限的动态范围导致在计算FFT时精度不够。这是因为使用了量化和缩放来防止输出溢出。因此,会需要使用扩展精度来执行计算,特别是对于大尺寸的FFT。高度优化的扩展精度的FFT和IFFT汇编程序,可以在TMS320C62X上,通过适度增加运行时间来提高运算精度。
FFT在C6000DSP上的仿真
Jul 1st
经过一段时间的学习,今天在CCS内成功仿真了基2频域抽取FFT(radix2 DIF FFT)。
环境:CCS 3.1 + C6201 Device Simulator
仿真结果如下图:
关于C6000的寻址
May 7th
C6000提供32bit的寻址能力,但是经EMIF直接输出的地址信号只有EA[21:2],直接使用这个地址可以达到1M word的寻址,EA的最低2位译码后有BEx输出,所以结合BEx可以进行Byte访问,即4M Byte寻址,这是每个CE空间的范围,对于整个CE空间(CE3:0)就是有16M Byte的外部存储器寻址能力。 More >
关于 DSP的关键字 volatile
May 6th
来自CCS的help:
The compiler analyzes data flow to avoid memory accesses whenever possible. If you have code that depends on memory accesses exactly as written in the C/C++ code you must use the volatile keyword to identify these accesses. A variable qualified with a volatile keyword is allocated to an uninitialized section (as opposed to a register). The compiler does not optimize out any references to volatile variables. More >
关于C6000DSP的引导方式和bootloader
May 6th
C6000是TI的高端DSP,它有3种引导方式:㈠无引导; ㈡ROM引导; ㈢主机引导
㈠ – 无引导:CPU直接从地址0处开始执行代码。 More >