AnsweredAssumed Answered

STM32F4 USART BAUDRATE-Problem

Question asked by flasch.franz on Nov 19, 2011
Latest reply on Nov 20, 2011 by Clive One
Hi Everbody!
I'm trying to set up an USART Connection to my Notebook. Everything works fine but does anyone have a clue why I have to multiply the baudrate-setting with 3 to get the correct baudrate? 

for Example:

       USART_InitStructure.USART_BaudRate = 9600*3;
       USART_InitStructure.USART_WordLength = USART_WordLength_8b;
       USART_InitStructure.USART_StopBits = USART_StopBits_1;
       USART_InitStructure.USART_Parity = USART_Parity_No;
       USART_InitStructure.USART_HardwareFlowControl =      USART_HardwareFlowControl_None;
       USART_InitStructure.USART_Mode = USART_Mode_Tx;

Attached you can also find the full configuration.

Thanks a lot!
Franz





Outcomes