cancel
Showing results for 
Search instead for 
Did you mean: 

UART 7-Bit mode in STM32F103C8T6 Controller

Yeswanth
Associate II

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.

 

1 REPLY 1
Peter BENSCH
ST Employee

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

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.