AnsweredAssumed Answered

Is USART blocks the uC during sending datas?

Question asked by prieur.jean on Nov 26, 2013
Latest reply on Nov 28, 2013 by prieur.jean
Hello,

I have a question just for my culture, I have no real error.

I send datas via USART3 at the baudrate 31250, USART_HardwareFlowControl_None, USART_WordLength_8b.

So one USART message takes 250us to be send. Is the uC blocked during this time, or this action is achieve in parralel ? It can be a lot of time...

I use this code to send USART:
while(USART_GetFlagStatus(USART3, USART_FLAG_TXE) == RESET);
USART_SendData(USART3, data);

Outcomes