Hello expert,
I debug the example:
I used S32K144 EVM board , and the SDK version is S32SDK_S32K1xx_RTM_3.0.0.
And I use the FreeRTOS_v10_0_1 which comes with the SDK
I use the CAN0 and CAN2,but after I initialize the CAN driver( CAN_Init() function) the APP_TASK can not work, the prvCheckTasksWaitingTermination() is executed for ever. If I disable CAN_Init() function, APP_TASK can work normally.
What may be the reason?
I attach my project.
Could you give me some suggestion?
Thank you very much!
Solved! Go to Solution.
Hello,
First, I would like to apologize for the late response. I imported your project and I noticed a couple of things that got my attention.
The following warnings.
Your callbacks only receive three parameters.
However, the type flexcan_callback_t receives 4 parameters, you are missing the buffIdx.
Also, in your function CAN_INIT, you are initializing two times the same instance.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hello,
First, I would like to apologize for the late response. I imported your project and I noticed a couple of things that got my attention.
The following warnings.
Your callbacks only receive three parameters.
However, the type flexcan_callback_t receives 4 parameters, you are missing the buffIdx.
Also, in your function CAN_INIT, you are initializing two times the same instance.
Have a great day,
TIC
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hello Jimmenez,
Thank you very much for your kind help!