AnsweredAssumed Answered

STM32F103RBT6 UART is sending garbage data

Question asked by Prasad Dait on Apr 21, 2018
Latest reply on Apr 22, 2018 by Clive One

 I am Working on STM32F103RBT6 and need to implement UART in my Requirement. I tried Using UART1 and UART2 Both individually on my code to send character data  "Hi I am Working " to the PC. But Every time UART is sending garbage data. I tried sending via different UART but both time the data received at PC End was garbage value. There was one thing constant and it is that the garbage value was constant it was not changing on both UART. But when I change Transmission data the garbage value changes to and it was still constant on both UART.

      I am using ST Standard HAL Library Functions and using CubeMx To generate code. The Zip file of Code is attached Below. IN this file I have initialized both the UART and sending data on one at a time.

   Thank You..

   If anyone have STM32F103RBT6 Nucleo board please verify the code given below and check whether the output obtained or not. The project is  true studio project.

stm32f1 uart   stm32f103rbt6  stm32f103rbt6_uart

Attachments

Outcomes