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.

[参考译文] TMS320F280039:使用 DCAN 时、CAN 邮箱无法接收消息

Guru**** 2394125 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1377868/tms320f280039-can-mailbox-cannot-receive-message-when-using-dcan

器件型号:TMS320F280039

工具与软件:

尊敬的专家:

我的客户希望开发出这样的功能:使用 DCAN、邮箱可以接收任何消息、而其他邮箱可以在一个邮箱装满时接收后续消息。

我建议我的客户参考以下配置:

它们的配置和测试代码如下:

#define   RX_MSG_OBJ_ID        25
#define   RX_MSG_OBJ_ID2      26
#define   MSG_DATA_LENGTH    8
uint16_t   rxMsgData[8];
uint16_t   rxMsgData2[8];

他们发现只有 ID 编号最低的邮箱能够接收消息的问题(在这个测试中是 ID25)、而当 ID25邮箱被填满时、其它邮箱(ID26)仍然不能接收消息。

对此问题有何建议?

谢谢!

LEO