cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0B0 USART5 (on Port D) Not Communicating with ESP8266 After Firmware Change

Aldrin
Associate

Hello ST Community,

I’m working on a project using the STM32G0B0VET6 MCU where the ESP8266 Wi-Fi module communicates over USART5. The ESP module’s TX and RX are connected to PD2 (USART5_RX) and PD3 (USART5_TX) respectively.

In my current working firmware, the ESP8266 initializes correctly, starts the Access Point mode, and communicates with the STM32 over UART5 without any issues.

However, when I flash another firmware version (which was originally written for a LoRa module but modified for Wi-Fi), the ESP8266 doesn't turn ON or respond. The same hardware works perfectly with the first firmware, which makes me believe this is a firmware-side GPIO/UART5 configuration issue rather than a hardware fault.


When i disconnect the Rx and Tx from the board the module turns on but when it is connected it does not turn on.

Any guidance, sample initialization, or hints would be highly appreciated. Thank you!

1 REPLY 1

Start  by looking at the UART lines between the STM32 & the ESP.

See here for tips on debugging serial comms.