When an interrupt with a printf in it triggers while another printf is still occuring the previous message is cutoff to print the next one.
Is there a way I can wait for the tx buffer to be empty before writing the next message?
When an interrupt with a printf in it triggers while another printf is still occuring the previous message is cutoff to print the next one.
Is there a way I can wait for the tx buffer to be empty before writing the next message?
Hi,
The app_uart example implements what you are asking for. Be aware that printf statements are usually high in CPU usage.
Best regards,
Øyvind
Hi,
The app_uart example implements what you are asking for. Be aware that printf statements are usually high in CPU usage.
Best regards,
Øyvind
Not true. In this example nothing is stated about printf, only one character sending is considered...