how to use FLEXCAN_DRV_InstallEventCallback to send a freertos queue

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

how to use FLEXCAN_DRV_InstallEventCallback to send a freertos queue

跳至解决方案
585 次查看
lc12138
Contributor II

i build a s32ds-arm2.2 project with example freertos_s32k146, i want:

make two task, one receive can data and del ,the other transmit responsed can data , and i use FLEXCAN_DRV_InstallEventCallback to send a queue, and receive task will receive it.

but i found that i cant make these tasks, even i use the same word with example, could anyone tell me why?

here is my code:

main.c:网络剪贴板 (netcut.cn)

rtos.c:网络剪贴板 (netcut.cn)

标记 (3)
0 项奖励
1 解答
561 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @lc12138,

Maybe you can refer to this example:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-FlexCAN-TX-RX-FreeRTOS-S32DS2-1...

Eventhough it is MCP5748G, it shows SDK FlexCAN in a FreeRTOS project.

 

BR, Daniel

 

在原帖中查看解决方案

0 项奖励
1 回复
562 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @lc12138,

Maybe you can refer to this example:

https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5748G-FlexCAN-TX-RX-FreeRTOS-S32DS2-1...

Eventhough it is MCP5748G, it shows SDK FlexCAN in a FreeRTOS project.

 

BR, Daniel

 

0 项奖励