Buffering CAN RX Messages - Missing Messages When TX Flow Control(s32k142)

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

Buffering CAN RX Messages - Missing Messages When TX Flow Control(s32k142)

1,282件の閲覧回数
ganeshvaka2
Contributor II

Hello NXP Community,
I am working on CAN Based Bootloader. The issue I run into is when I'm trying to handle multi-frame responses. When I receive the first frame 0x10 I send the flow control message 0x30 0x00 0x00, the issue though is the vehicle will then transmit the rest of the frames, but I only receive the send frame 0x22, I'm missing the first frame after the flow control message 0x21. Why? I even place break points in the RX to break upon receiving an 0x21 or 0x22 message and it never breaks on a 0x21 message. I'm missing data right after I transmit the flow message.

Any ideas as to solve this issue of missing messages?

ganeshvaka2_0-1630761230499.png

Thanks &Regards ,
Ganesh Babu Vaka

0 件の賞賛
返信
1 返信

1,262件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

how do you config MBs for reception and read those RX MBs? Are you sure you always read MB in time and have free MB so message can be moved to it?
Could a RXFIFO usage improve this?

BR, Petr

0 件の賞賛
返信