How could use can interrupt to recieve can data with s32k144?

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

How could use can interrupt to recieve can data with s32k144?

1,801 次查看
victor_song_171
Contributor III

Just like the title.

I want to use FlexCan Interrupt to recieve can data with the S32DS.How could I do? What config and code have to do ?

 

PS : Just use S32DS IDE and s32k144 SDK,not simulink and IAR.

0 项奖励
回复
1 回复

1,526 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

if you are using the SDK, the CAN driver installs and calls interrupts upon each transmit/receive operation, you need not to do any further setup. Just you can install a user callback function which will be called from MB interrupt and you can distinguish between several events.

See more info about interrupts here;Flexcan interrupt mode 

 

BR, Petr 

0 项奖励
回复