Use interrupt recv message by CAN_43_Flexcan

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

Use interrupt recv message by CAN_43_Flexcan

跳至解决方案
1,628 次查看
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 项奖励
回复
1 解答
1,589 次查看
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 项奖励
回复
2 回复数
1,590 次查看
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 项奖励
回复
1,575 次查看
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,

标记 (1)
0 项奖励
回复