UART Circular DMA with Idle line callback in STM32MP157
Hello,
I've implemented the solution proposed in https://github.com/MaJerle/stm32-usart-uart-dma-rx-tx?tab=readme-ov-file by
I'm trying to port my driver to the M4 processor of a STM32MP157-DK2. I've successully configured the UART3 in the M4 project with DMA in normal mode and I'm receiving one byte at a time and adding them with the RxComplete callback to my buffer.
However, when I changed the DMA mode to circular, my surprise was that there is no HAL_UARTEx_ReceiveToIdle_DMA function in the HAL driver and no HAL_UARTEx_RxEventCallback callback. So I can use the RxComplete and RxHalfComplete callbacks but no idle line callback, which is a big problem when using a long circular buffer size.
Can anyone explain what is the problem, why there is no Idle line detection here or how can this feature be implemented for this board?
Thanks in advance.
