2023-06-07 04:23 AM
Hi.
I am using STM32WL55.
I set USART1 with DMA tx and DMA rx.
I tried to transmit some data as follows.
printf("[*] Program Ver 0.2.0.0\r\n");
printf("\r\n");
printf("Net> ");
"[*] Program Ver 0.2.0.0\r\n" and "\r\n" are transmitted.
but "Net> " is displayed on terminal.
If you change "Net> " to "Net> \r\n" and send it, it will be transmitted normally.
What's the problem.
How can I fix it.
Please, let me know how to resolve the problem.
Thank you.
Solved! Go to Solution.
2023-06-07 05:21 AM
use fflush()
2023-06-07 05:21 AM
use fflush()