cancel
Showing results for 
Search instead for 
Did you mean: 

Needs to be restarted after power supply on

SheepPID
Associate

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.

1 REPLY 1

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.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..