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 […]
String DMA send/receive application [USART of STM32]
This application uses STM32 USART DMA for sending and receiving character strings in serial communication. When character strings are long or the number of transfers is large, DMA is advantageous because it does not burden the CPU. The point In the sample program, both receiving and sending processes are handled in the interrupt handler for […]
String interrupt send/receive application [USART of STM32]
This is a program that uses a buffer for sending strings and interrupts for multiple strings, and also interrupts for receiving strings using STM32 USART. This is a practical program that performs interrupt processing for both sending and receiving and can send multiple character strings at arbitrary times.
String Interrupt send application Part 2 [USART of STM32]
This is a buffered application that sends several types of strings in USART with the STM32 MCU without interfering with each other. The buffer is provided to perform multiple string transmissions without interference.
String Interrupt send application Part 1 [USART of STM32]
This application sends strings via interrupt in USART with the STM32 MCU. This method is the simplest and easiest to understand, using a pointer to store the string in a variable while sending it, but it is limited to one type of string, and if several types of strings are sent, they interfere with each […]
String interrupt receivie application [USART of STM32]
This application uses receive interrupts in USART with the STM32 MCU. Compared to the polling method, it is more efficient because it can process only when receiving. This is an example of a ready-to-use application.
String send/receive application [USART of STM32]
Since it is not practical to send a single character code in USART with the STM32 MCU, this application has been developed to send and receive a continuous string of characters. This is an example of an application that uses a pointer to store a continuous string of characters in a variable and send/receive it.
1 character send/receive application [USART of STM32]
This is the simplest program for STM32 USART. The communication application is almost language-like outside of MCU knowledge because it deals with strings. It is a great way to familiarize yourself with arrays to store characters, the concept of pointers and addresses, etc. Setting Spec. :Input : PC10 Floating inputOutput :PC11 Alternate Push-pull output Colum […]