CAN receive frame is missing in s32k1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CAN receive frame is missing in s32k1

1,854 次查看
KKumar
Contributor II

Hi Team,

We have observed that sometimes microcontroller is not able to receive external CAN frame.

Suppose I am sending externally CAN ID 0x001 1000 times to the microcontroller, then I am receiving back 996 times. It means a four-time CAN frame is missing.

i have attached project file. 

Thanks in advance

0 项奖励
回复
1 回复

1,815 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

hard to suggest here. Code looks quite normal. Below is some hint for that...
- try to increase CAN interrupt priority. 
- sometimes you clear IFLAG two times in MB reading
- do you see OVERRUN for CODE field read? This may indicate message is received but not read in time.

BR, Petr

0 项奖励
回复