How to use S32K144 FlexCan Interrupt to recieve can data?

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

How to use S32K144 FlexCan Interrupt to recieve can data?

ソリューションへジャンプ
4,581件の閲覧回数
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.

ラベル(1)
1 解決策
4,168件の閲覧回数
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;https://community.nxp.com/message/1045615 

BR, Petr 

元の投稿で解決策を見る

4 返答(返信)
4,169件の閲覧回数
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;https://community.nxp.com/message/1045615 

BR, Petr 

4,168件の閲覧回数
victor_song_171
Contributor III

thank you for the assistance. The issue is done.

0 件の賞賛
返信
4,168件の閲覧回数
victor_song_171
Contributor III

but how could i config the filter for recieved can id ?

0 件の賞賛
返信
4,168件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信