flexCAN cannot jump to receive interrupt

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

flexCAN cannot jump to receive interrupt

261 次查看
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 项奖励
回复
2 回复数

240 次查看
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 项奖励
回复

201 次查看
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 项奖励
回复