AnsweredAssumed Answered

Flexcan porting to FreeRTOS

Question asked by zhang jie on Aug 6, 2018
Latest reply on Dec 9, 2018 by 明瑞 李

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.

 

Thanks

Jay

Attachments

Outcomes