请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TMS320F28379D 工具与软件:
大家好、团队成员:
我是否可以使用同一个 CAN 模块、假设 CPU1和 CPU2中的 CAN B 都使用不同的邮箱和标识符来发送和接收数据?
目前,当我这样做时,CPU2会卡在 can_initRAM()函数中。
此致、
Irene.
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.
工具与软件:
大家好、团队成员:
我是否可以使用同一个 CAN 模块、假设 CPU1和 CPU2中的 CAN B 都使用不同的邮箱和标识符来发送和接收数据?
目前,当我这样做时,CPU2会卡在 can_initRAM()函数中。
此致、
Irene.
尊敬的 Irene:
是的、CAN 模块可以通过 CPU1或 CPU2进行访问。 请参阅 器件数据表中的表7-10 (总线主控外设访问)。
https://www.ti.com/lit/ds/symlink/tms320f28379d.pdf
要将 CAN-B 连接到 CPU2、CPUSEL8寄存器的位1必须设置为1:
