请问各路神仙:TMS2803x系列的DSP中CLA与CPU信息是如何交互的?比如说CPU处理一段代码得到一个变量a=100,怎么在CLA中断中调用a的值;反之,从CLA计算的b=100,怎么在CPU中断中调用。
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.
你可以参考F2803X CLA user guide SPRUGE6B
第2.1节:
CLA Shared Message RAMs
There are two small memory blocks for data sharing and communication between the CLA and the
main CPU. The message RAMs are always mapped to both CPU and CLA memory spaces and are
protected by the code security module. The message RAMs allow data accesses only; no program
fetches can be performed.
– CLA to CPU Message RAM
The CLA can use this block to pass data to the main CPU. This block is both readable and writable
by the CLA. This block is also readable by the main CPU but writes by the main CPU are ignored.
– CPU to CLA Message RAM
The main CPU can use this block to pass data and messages to the CLA. This message RAM is
both readable and writable by the main CPU. The CLA can perform reads but writes by the CLA
are ignored.