2023-11-08 12:13 PM
I use STM32 Nucleo 411RE, it's connected to esp8266 via UART in DMA mode, after power on, DMA had status "HAL_DMA_STATE_READY" and program doesn't call "HAL_UARTEx_RxEventCallback". I discovered that if I hold RESET button, DMA status changes into "HAL_DMA_STATE_BUSY", RxEventCallback is calling and I get data in my buffor. If it's nessesary to add some code, write me please.
2023-11-08 12:58 PM
I don't suppose anyone is going check or address unless there's a project demonstrating.
Perhaps check the pending status in the UART, for example sticky errors like NOISE, FRAMING, PARITY, etc that would preclude reception, and might depend on external pull-up or state of RX pin as power ramps, vs static reset.
Clearing of variables, etc.