Dear NXP dev team,
jiri.kral@nxp.comfanchang
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