cancel
Showing results for 
Search instead for 
Did you mean: 

UART only receive one data.

yang2
Associate III
Posted on June 27, 2016 at 04:21

Hello, I use STM32F303 Discovery board and try to test UART port.

However, although I sent 5 sets of data, but the receiver port just only receive the first data. Does anyone know how to fix this issues?

1 REPLY 1
Walid FTITI_O
Senior II
Posted on June 27, 2016 at 11:23

Hi shunfan.yang,

I recommend you to check one of the UART examples available in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef3.html

at the path bellow to compare with your code and identify what you have missed. Check if you have set the correct baudrate and system clock and other UART paremeters (wordlength, parity and HwFlowCtl).

examples path: STM32Cube_FW_F3_V1.5.0\Projects\STM32F3-Discovery\Examples\UART

-Hannibal-