cancel
Showing results for 
Search instead for 
Did you mean: 

How to change baudrate from 9600 in virtual Com in Cubemx?

oeliks
Senior

How to set baudrate different than 9600 in cubemx?

1 REPLY 1

Hi @oeliks​ 

You can set baud rate different than 9600 in STM32CubeMX.

How to reproduce:

  1. Install PuTTY: PuTTY is a free and open-source terminal emulator, serial console and network file transfer application 0690X000008AlV9QAK.png
  2. Open CubeMX
  3. Activate USART or UART or LPUART or I2C or SPI (IPs communication)
  4. Change the value of the baud rate 0690X000008AlVOQA0.png
  5. Generate your code
  6. Download and debug
  7. Go to Device Manager 0690X000008AlViQAK.png
  8. Open PuTTY => Putty configuration : put the same configuration of CubeMX: Speed, data bits, stop bits, parity and flow control.0690X000008AlVxQAK.png
  9. Go to session => Connection type: Serial0690X000008AlWWQA0.png
  10. Click Open=> a black window starts0690X000008AlWgQAK.png

Best regards,

Nesrine.