CAN receive frame is missing in s32k1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CAN receive frame is missing in s32k1

1,974件の閲覧回数
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,935件の閲覧回数
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 件の賞賛
返信