Question
Problem sending with USART_SendData
Posted on March 20, 2014 at 16:25
USART_SendData(USART1, 12);
USART_SendData(USART1, v_dc_int);
USART_SendData(USART1, v_dc_fra);
If I send only one of the it is received fine. But if I send them all, I only can see the last of them.
Do I have to do something between each byte sent to make sure it is received well? Like to wait for the register to be empty? If so, how do I do that?