AnsweredAssumed Answered

LPC11Cxx CCAN and freertos problems.

Question asked by Dima Nechaev on Oct 6, 2016
Latest reply on Oct 19, 2016 by Dima Nechaev


I've downloaded examples for LPC11Cxx. Here i've found examples for freertos(nxp_lpcxpresso_11c24_freertos_blinky) and  CAN(nxp_lpcxpresso_11c24_periph_ccan_rom). Everything works. But when i try to use CAN in FreeRTOS examples - it doesnot work correctly. I always get vApplicationStackOverflowHook for task there i try to init CAN. Overflow happens every time i try to use CAN ROM function. For example that one LPC_CCAN_API-> init_can ( &CanApiClkInitTable[0], TRUE); 
It does not matter how big is stack for task where i call this function. Does anybody knows how to handle this?