Use interrupt recv message by CAN_43_Flexcan

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Use interrupt recv message by CAN_43_Flexcan

Jump to solution
447 Views
Wan
Contributor III

hello

NXP Enginer!

当我配置 S32k31x 芯片时,我对 Can_43_Flexcan 有一些疑问。

I use S32DS vesion 3.6.1,RTD vesion 4.0.0.202407242201。

I want to use interrupt function Recive the CAN message, but I don't find the "callback" function "Can_43_FLEXCAN" anywhere .Result Hardware Accpt the CAN message Software can,t Respond immediately.
I Find the isr(CAN0_ORED_0_31_MB_IRQHandler) -> Can_43_FLEXCAN_CommonIrqCallback, Can_43_FLEXCAN_CommonIrqCallback can,t callback my code.

企业微信截图_17465211925417.png

0 Kudos
Reply
1 Solution
408 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Wan,

You can configure the CanIfUserRx inside the CanIf component:

Julin_AragnM_0-1746551663791.png

Best regards,
Julián

View solution in original post

0 Kudos
Reply
2 Replies
409 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Wan,

You can configure the CanIfUserRx inside the CanIf component:

Julin_AragnM_0-1746551663791.png

Best regards,
Julián

0 Kudos
Reply
394 Views
Wan
Contributor III

Hello Julián_AragónM

  Thank you for taking the time to pay attention to my question despite your busy schedule.

     I find the new way from the "Can_Example_S32K344" .It's Block the "CanIf.c" file and Rewrtie the  "CanIf_Txconfigrmation" function in the main. 

    The  new way and you intrudce way  Differences.

Wan_2-1746580839458.png

     Best regards,

0 Kudos
Reply