Dear Community,
I am using s32k144 EVB with s32 design studio version R1.2018. While calling CAN_init and CAN_deinit from ISR routine, the code got stuck into vPortEnterCritical(). Please find the attachment for more details. Looking forward to your reply.
已解决! 转到解答。
Hi Shruti,
CAN_Init and CAN_Deinit are using FreeRTOS API to create/destroy semaphores. This is the reason why the FreeRTOS flow will block into assert.
If CAN driver initialization and deinitialization are made outside of the ISR, then everything should work ok.
Best regards,
Rares
Hi Shruti,
CAN_Init and CAN_Deinit are using FreeRTOS API to create/destroy semaphores. This is the reason why the FreeRTOS flow will block into assert.
If CAN driver initialization and deinitialization are made outside of the ISR, then everything should work ok.
Best regards,
Rares