cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103RBT6 UART is sending garbage data

Prasad Dait
Associate II
Posted on April 21, 2018 at 13:38

 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.

https://community.st.com/tags♯/?tags=stm32f1%20uart

‌  

https://community.st.com/tags♯/?tags=stm32f103rbt6

‌ 

‌

#stm32f103rbt6_uart #stm32f103rbt6 #stm32f1-uart
10 REPLIES 10
Posted on April 22, 2018 at 16:09

Review schematic for the board to ensure the pin utilization doesn't interfere with the functionality you want to use here.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..