how to use FLEXCAN_DRV_InstallEventCallback to send a freertos queue

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

how to use FLEXCAN_DRV_InstallEventCallback to send a freertos queue

Jump to solution
628 Views
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)

Tags (3)
0 Kudos
1 Solution
604 Views
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

 

View solution in original post

0 Kudos
1 Reply
605 Views
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 Kudos