一直搞不太清dsp c55空间分配问题,程序空间,数据空间,IO空间,三个空间如何分配的,各自的起始地址是多少,用C语言编程时注意些什么。还有就是IOPORT怎么使用,哪些寄存器地址用IOPORT,哪些不用。我用的是c5510a。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
一直搞不太清dsp c55空间分配问题,程序空间,数据空间,IO空间,三个空间如何分配的,各自的起始地址是多少,用C语言编程时注意些什么。还有就是IOPORT怎么使用,哪些寄存器地址用IOPORT,哪些不用。我用的是c5510a。
c55x程序空间和数据空间是统一编址的,地址范围见手册第25页。
http://www.ti.com/lit/ds/symlink/tms320vc5510a.pdf
I/O空间是内部的,用来放外设寄存器,访问时用ioport关键字定义。外设寄存器映射的IO空间地址见手册3.4 Peripheral Register Description。
c55x memory空间的定义参考下面的CPU user guide Chapter 3。
http://www.ti.com/lit/ug/spru371f/spru371f.pdf