STM32G431 unable to enter bootloader mode
I have a custom PCB with the STM32G431 microcontroller and ESP32 controller. ESP32 is connected to STM via GPIO pins in order to perform firmware upgrade using STM32 bootloader protocol. Connection are as follows:
ESP32 UART TX <-----> STM32 UART RX (PC11)
ESP32 UART RX <-----> STM32 UART TX (PC10)
ESP32 GPIO <-----> STM32 RESET pin
ESP32 GPIO <-----> STM32 BOOT0 pin
ESP32 controller triggers the STM32 bootloader entering sequence using RESET, BOOT0 pins and sending start byte 0x7F. The problem is that with STM32G431 the ESP32 does not receive ACK (nor anything else). When I soldered STM32G474 on that PCB, everything worked fine (ESP got the ACK and was able to execute bootloader commands).
I checked AN2606 and AN3155 to interface bootloader communication. For me it seemed that both microcontrollers (STM32G474 and STM32G431) are compatible to communicate with bootloader, unfortunately they are not. I triple checked both MCU Option bytes and pinouts, and it seemed to be okay.
Please, help me to solve this issue with STM32G431.
