2018-04-21 04:38 AM
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-uart2018-04-22 09:09 AM
Review schematic for the board to ensure the pin utilization doesn't interfere with the functionality you want to use here.