S32K146 CAN interrupt

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

S32K146 CAN interrupt

169 次查看
jerryrig
Contributor I

Hello,

 

I am trying to implement CANInstallEventCallback for received message on CAN0. Also, I am trying to implement MB interrupt. Can you please provide any example for the same i am using DS3.4 and S32K146 SDK 4.0.3 I am trying to do the activity on S32K146 so try to provide me example for the same MCU also i am trying the activiy using CAN_PAL as well as felxCanDriver. 

 

Thanks

标记 (1)
0 项奖励
3 回复数

141 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @jerryrig,

The CAN driver installs and calls interrupts upon each transmit/receive operation, you need not to do any further setup. You can refer to these two posts:

Best regards,
Julián

0 项奖励

120 次查看
jerryrig
Contributor I

Hi @Julián_AragónM
Thanks for your quick response I really appreciate but I tried the solutions mentioned in above community posts but somehow, I am not able to go inside RX_COMPLETE case. So, I request you can you please provide any specific CAN_PAL 532k146 full project file? It will be great help.
Thanks

0 项奖励

89 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @jerryrig,

You can find the can_pal example from any S32K1xx SDK RTM v4.0.x package:

Julin_AragnM_0-1715011835609.png

Best regards,
Julián

0 项奖励