STM32F767ZI UART DMA RX LOCK(STOP)
After system initialization, UART DMA Rx function is normal.
When time passes, data is not received in the DMA buffer and the phenomenon is stopped.
To solve the problem, we checked the normal operation by repeating the DMA initialization as shown below.
[Questions]
1. I wonder if there is any problem with the system even if I use it as follows.
2. If there is any related data on UART DMA Rx stop phenomenon, please ask.
MX_DAM_Init();
HAL_UART_Receive_DMA(&huart3, dmabuff, DAM_BUF_SIZE);
while(1)
{
uart3_rx_dma_handler(); //DMA buffer receive function
MX_DAM_Init(); //<< additional code
HAL_UART_Receive_DMA(&huart3, dmabuff, DAM_BUF_SIZE); //<< additional code
}
