S32K344 Data cannot be received twice in CAN loop mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K344 Data cannot be received twice in CAN loop mode

Jump to solution
669 Views
Neo1096
Contributor I

I use s32k344, RTD 1.0.0 

I want to implement three arrays into three sending mailboxes at a timer interval of 1s, polling in the main function, handling in the interrupt. But how do I know if I didn't send or receive it in loop mode? At present, I can only receive the first set of three data, and the following two data cannot be received. Is there any flag that needs to be cleared?
#S32K344

Tags (1)
0 Kudos
1 Solution
629 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

after successful receive you need to call Receive function again, to update internal driver structure and enable MB interrupt again, if used.

BR, Petr

View solution in original post

0 Kudos
2 Replies
625 Views
Neo1096
Contributor I

Neo1096_0-1709254711406.png

got it

0 Kudos
630 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

after successful receive you need to call Receive function again, to update internal driver structure and enable MB interrupt again, if used.

BR, Petr

0 Kudos