flexCAN cannot jump to receive interrupt

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

flexCAN cannot jump to receive interrupt

172 Views
yinqiu
Contributor III

dear :

I want to take use of FlexCan of S32K312 to develop. and I want to use rx and Tx interrupt in flexCAN. I did the configuration in EB and debug in S32 studio,I watch the flexCAN reg value as 0x00831002 and IMASK1 as 0x00000003,but the IFLAG1 keep as 0 even I send frame by CANOE,the ID of frame is correct by HWFilter,so is there any idea about this case ,thank you very much.

0 Kudos
Reply
2 Replies

151 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

please refer attached modified demo code using interrupt processing, only it is for S32K344 and uses S32DS config tool for setting.
Hope it helps.
 
BR, Petr
0 Kudos
Reply

112 Views
yinqiu
Contributor III

thanks a lot for your reply. I figure out the reason: because the frequency of the source of CAN is not correct and then the baudrate of CAN is not correct, so the canoe always get the stff error, and ECU can not jump into interrupt

0 Kudos
Reply