I am using lpc54618 controller.I can able to communicate through CAN with SDK example given by NXP.But i could not able to communicate when i integrate the same code in RTOS .Any example available for CAN RTOS.
Unfortunately, there is not such file as freertos_spi.c. for CAN bus, you can refer to the freertos_spi.c architecture and develop the CAN bus code yourself, of course, it is a huge task.