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.

F280049C的CAN接收错误

Other Parts Discussed in Thread: LAUNCHXL-F280049C

一、CAN接收能收到数据,但是INT0ID读数为0x8000。没故障LEC=0,就导致INT0ID=0x8000。就查不到收到数据的message object 编号了。

这时用CAN_readMessage()读数据,仍然是对的。但是有多个接收message object 时,就不知道是哪个收到了数据。不知道怎么处理。

二、能正确收到数据,但是收到的数据中没有ID,我需要解析ID,CAN_readMessage()不能返回ID,如何读

接收数据时同时获得ID。

三、查询方式发送时如何用drivelib函数判断当前message object 是否空闲,也就是上一次的数据已经发完成了没有。

我想用查询方式发送,配置了0到5号message object为发送,都不固定ID,有发送需求时,先查询哪个message object空闲,就用哪个

message object发送。不知道怎么实现。

读了几遍手册,英语太烂实在是已经尽力了。看不懂,有劳指点。

谢谢!!