请教一下S32K14X在S32DS开发环境SDK3.0下的CAN的中断接收方式例程。

cancel
Showing results for 
Search instead for 
Did you mean: 

请教一下S32K14X在S32DS开发环境SDK3.0下的CAN的中断接收方式例程。

1,014 Views
wanggfde
Contributor I

请教一下S32K14X在S32DS开发环境SDK3.0下的CAN的中断接收方式例程。我正需要参考一下

Labels (1)
0 Kudos
3 Replies

789 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

refer to function FLEXCAN_IRQHandler within flexcan_driver.c file

C:\NXP\S32DS_ARM_v2018.R1\S32DS\S32SDK_S32K1xx_RTM_3.0.0\platform\drivers\src\flexcan\flexcan_driver.c

* Function Name : FLEXCAN_IRQHandler
* Description : Interrupt handler for FLEXCAN.
* This handler read data from MB or FIFO, and then clear the interrupt flags.
* This is not a public API as it is called whenever an interrupt occurs.

BR, Petr

0 Kudos

789 Views
wanggfde
Contributor I

我需要一些相关的例程作为参考,另外在同一个工程中不能用3个flexcan网络吗? 我参考官方flexcan的domo例程改为3路收发网络,结果都不能使用了。

0 Kudos

789 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

if you need related routines as reference then please refer to S32DS demo projects using SDK drivers.

There should not be an issue to use three FlexCAN modules in your application, for sure if selected MCU contains 3 modules.

BR, Petr

0 Kudos