Marvee Amasi
DIIDevHeads IoT Integration Server
•Created by Daniel kalu on 9/13/2024 in #firmware-and-baremetal
Resolving I2C Timeout Error When Updating STM32G4 Firmware with ESP32
Check your wiring and your pull up resistors
The SDA data line on ESP32 should be connected to SDA on STM32G4
SCL clock Line on ESP32 should be connected to SCL on STM32G4
BOOT0 and RESET should be controlled properly to put the STM32G4 in bootloader mode
Even the pull up resistors , I2C needs pull up resistors mainly about like 4.7kohms or 10kohms on both SDA and SCL lines. If these resistors are missing, I2C communication can fail normally
4 replies