Switching between multiple tasks, Part 2 [STM32 and FreeRTOS]
This is a sample program that combines task switching and USART communication, and manages task execution and suspension based on whether or not the command code given externally matches. Colum The '@' at the end of the command is to recognize the end of the input string. Instead of '@', an enter key (CR) input […]
Switching between multiple tasks, Part 1 [STM32 and FreeRTOS]
This is a sample program that switches between two tasks with an external switch. A dedicated task is provided to manage the switching.
Multitasking by registering multiple tasks [STM32 and FreeRTOS]
This is a sample program to execute two registered tasks simultaneously. Using RTOS, it is easy to execute completely different processes at the same time. As shown in the sample program, the RTOS can be easily executed with a simple description.
SPI communication application[SPI of STM32]
Application program to read and write to SPI specification EEPROM. Details of the peripherals are explained in Serial Communication SPI. Program Description
I2C communication application [I2C of STM32]
This application program reads and writes to the I2C specification type EEPROM of STM32 MCU. Details of the peripherals are explained in Serial Communication I2C. Program Description
Serial Monitor [USART of STM32]
Debug programming using the USART of the STM32 MCU. Debugging is achieved by inserting microcontroller-specific tsprintf statements that display numerical values at arbitrary points in the program and displaying the data using general-purpose terminal emulator on a PC. Colum tsprintf() is a customized version of the standard output function printf() in C for the STM32 […]