2022-03-04 11:52 PM
I want the information in one thread to be processed, and the second thread to be sent via UART. I made a small template where I send pseudo data via UART. But my information does not come in the right way. I think it has to do with interrupts. I used semaphores but it didn't help.
2022-03-05 1:04 AM
UART does not have time to send a full message with the phrase "Error in Receiving Queue\r\n". The program goes on. How to make sure that the message has time to come?
2022-03-05 3:58 AM
A 10ms timeout seems too low. What is the baud rate?
The string lengths your sending do not include the trailing /r/n on the second call.
Calls should work just fine otherwise. Perhaps you are sending data in other threads as well. The output doesn't like up exactly with what you're sending.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.