AnsweredAssumed Answered

Flexcan porting to FreeRTOS

Question asked by zhang jie on Aug 6, 2018
Latest reply on Aug 29, 2019 by Tim Ting

Dear NXP dev team,

Jiri Kralfan tianchen

I met a issue with CAN transmission sample, my goal is port the can send/recv function to my project, my project is based on FreeRTOS, but after porting the code from flexcan_encrypted sample, find the MCU reset forever.

I have attached the project source code.

I after debuging the issue, I find the below code maybe the root cause to produce the issue, 


After remove the FLEXCAN_DRV_Init code, the MCU can run normally.

But the flexcan_encrypted sample run successfully on my board.

Please help me to resolve my issue.