2024-06-16 07:39 PM - edited 2024-06-16 07:41 PM
I am using the STM32 G431RBT6 chip and UART 3 for data transmission. The transmission works normally, but after about 20-30 minutes, it suddenly stops completely. Here is the function I am using to send data:
What could be causing this issue, and how can I resolve it?
NVIC configuration:
2024-06-16 07:51 PM
>>What could be causing this issue, and how can I resolve it?
So, it returns an error, perhaps pay attention to that, and look at what it is complaining about?
Perhaps flagging an error or status that needs clearing.
Inspect UART3->ISR ?
2024-06-16 08:28 PM
Since you are not using interrupt to send the character, you can disable the interrupt. Does the unit fails to execute other functions or only uart stops? Have one led or some hardware indication for success and failure, since it's a run time error.