Sometimes, we need an easy way to test and verify that our board works correctly, especially if we are using breadboards and cables.

The following simple FreeRTOS thread is able to echo each incoming CAN frame. To use this thread you must enable FreeRTOS using the ST’s CubeMX software which will generate the appropriate startup source code and afterwards you have to include some extra libraries that can be found in the blog (please check the previous posts about Framework, CAN, threads)

FreeRTOS = A truly free professional grade RTOS for microcontrollers that supports 35 MCU architectures and become a market leader.



Write A Comment