Skip to main content
Visitor II
November 8, 2023
Question

Needs to be restarted after power supply on

  • November 8, 2023
  • 1 reply
  • 711 views

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.

    This topic has been closed for replies.

    1 reply

    Graduate II
    November 8, 2023

    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.