flexCAN cannot jump to receive interrupt

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

flexCAN cannot jump to receive interrupt

284件の閲覧回数
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 返答(返信)

263件の閲覧回数
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 件の賞賛
返信

224件の閲覧回数
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 件の賞賛
返信