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, TRUE);
It does not matter how big is stack for task where i call this function. Does anybody knows how to handle this?