Port FlexCAN driver to FreeRTOS

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

Port FlexCAN driver to FreeRTOS

964 Views
tim_ting89
Contributor II

Port  FlexCAN driver to FreeRTOS

1. MCP mpc5744P

2. IDE S32 Design Studio for Power Architecture 

sample 1:  flexcan_mpc5744p

sample 2: freertos_mpc5744p

question:  when I port flexcan code to freertos based on above samples code. the FlexCan cannot work. 

Thanks for your help!

Labels (1)
2 Replies

784 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

the S32DS includes a demo example that shows the usage of the FlexCAN module and FreeRTOS for the MPC5746C.

The description is given in

file:///C:/NXP/S32DS_Power_v2017.R1/S32DS/S32_SDK_S32PA_RTM_3.0.0/doc/html_MPC5746C/flexcan_mpc5746c_group.html

So you can refer to it. 

BR, Petr

784 Views
tim_ting89
Contributor II

I also tried add FreeRTOS component to   flexcan_mpc5744p sample code.  The FlexCAN cannot work, but if remove FreeRTOS, it can work again.

Who can show me a sample code for FreeRTOS with FlexCan?  Thanks a lot!

 

0 Kudos
Reply