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模块的设置可以使用官方提供的函数
您好,
您的理解正确,CAN_setupMessageObject这个函数在can.c (ti.com)中定义。
在c2000ware 中有CAN示例代码,请参考 can_ex8_mask (ti.com)
感谢您的回复
手册和这个案例我之前也查看过了,理解了如果使能了滤波功能,那就必须要相应位匹配的数据才能被接收。
但对于不使能滤波,此时的Mask ID是0还是1有何影响与不同?
您好,
接收通过“acceptance filtering”匹配的ID。
请参考TRM “30.11.6 Acceptance Filtering of Received Messages”内容。
TMS320F2838x Real-Time Microcontrollers With Connectivity Manager TRM (Rev. F)