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.
对TRM的这部分章节有如下疑问:
问题1.CLA和CPU之间可以通过CLA Data Memory进行数据交互吗?如果可以,CLA Data Memory和消息RAM之间的区别是什么呢?
问题2. fetch和read、write的区别是什么呢?
问题3. 对于消息RAM,only data access is allowed; no program fetches can be performed. 其中data access和program fetch有什么区别和联系呢?不太理解program fetch是指什么样的操作呢?
您好,
问题1.CLA和CPU之间可以通过CLA Data Memory进行数据交互吗?如果可以,CLA Data Memory和消息RAM之间的区别是什么呢?
CLA 数据存储器基本上是 LSRAM,配置为 LSxMSEL = CLA 和 LSxCLAPGM = 0 (数据存储器)。 并且在CLA 和 CPU 之间共享,两者都具有读取和写入访问权限。 而消息 RAM 是专用存储器。 如 TRM 中所述,有 CLA-CPU MSGRAM 和 CPU-CLA MSGRAM。 在 CLA-CPU MSGRAM 中,CLA 具有读取/写入访问权限、而CPU 只有读取访问权限。 CPU CLA MSGRAM 也是如此。
问题2. fetch和read、write的区别是什么呢
Fetch =fetch指令,使用程序总线。 read/write=数据读取/写入,使用数据总线。
问题3. 对于消息RAM,only data access is allowed; no program fetches can be performed. 其中data access和program fetch有什么区别和联系呢?不太理解program fetch是指什么样的操作呢?
program fetch not allowed意味着您不能从此存储器执行代码,只能将其用作数据存储器。