2024-08-15 11:10 PM - edited 2024-08-15 11:10 PM
Hii
I am using STM32F103C8T6 controller and i want to initialize UART 7-Bit mode as per this configurations none Partiy Bit and 1 stop Bit. But in the controller has these two parameters UART_WORDLENGTH_8B & UART_WORDLENGTH_9B. Then how to init UART in 7-Bit mode.
Please Help me to Complete this task.
Solved! Go to Solution.
2024-08-15 11:27 PM
The STM32F103C8T6 only has the two word lengths 8bit and 9bit. However, one bit can be configured as parity so that 7 data bits remain with an 8-bit word length.
Regards
/Peter
2024-08-15 11:27 PM
The STM32F103C8T6 only has the two word lengths 8bit and 9bit. However, one bit can be configured as parity so that 7 data bits remain with an 8-bit word length.
Regards
/Peter
2024-08-16 01:42 AM
Any no more chances to init UART in 7-Bit mode.
2024-08-16 02:26 AM
If this is a question, then right, no chance of using the USART in 7-bit mode with this STM32F103.
But most of the more recent STM32 provide additionally 7-bit, e.g. STM32F0, STM32G0, STM32F7 or STM32U0.
Good luck!
/Peter
2024-08-16 02:30 AM
Thank You Peter.