Question
UART stops transmit after 20 minutes?
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:
bool SendByteUart3(uint8_t byte) {
HAL_StatusTypeDef ret;
ret = HAL_UART_Transmit(&huart3, &byte, 1, 10);
if (ret == HAL_OK)
return true;
return false;
}
What could be causing this issue, and how can I resolve it?
NVIC configuration:

