Skip to main content
Visitor II
December 1, 2025
Question

STM32L432 nucleo I2C bootloader communication issues

  • December 1, 2025
  • 2 replies
  • 131 views

Hello,

I'm trying to test FW update over I2C using RPI as host and STM32L432 nucleo board as slave on port I2C1 which according AN2606 (table 152) should be available. I've connected 4.7k pullups on PA6 + PA7 pins and perform NRST to 0 and BOOT0 to 1 and remove NRST pin. In this setup I perform i2cdetect on RPI and I'm getting i2c transfer timeouts for all addresses. When reset STM32 32 board i2cdetect command on RPI return empty table. Is that setup feasible or am I doing something wrong? Thanks.

 

    This topic has been closed for replies.

    2 replies

    Super User
    December 1, 2025

    PA6/PA7 are not supported pins for the I2C bootloader.

    PB6/PB7 are supported. Perhaps you misread the table.

    TDK_0-1764599302901.png

     

    MBeli.1Author
    Visitor II
    December 2, 2025

    Sorry it was a type I have it connected to PB6 and PB7 as stated in AN2606.

    ST Employee
    December 2, 2025

    Have you checked whether PB6 and PB7 are boot pins for I2C?

    And to confirm the good/correct connection for the signals.

    MBeli.1Author
    Visitor II
    December 2, 2025

    Connection is correct and accorrding table which TDK posted it should be available for fw upload. I've connected them to RPI GPIO2 and GPIO3 (SDA, SCL) and added 4.7k ohm pullup for both lines to 3V3. When CPU is not in bootloader mode I can see SCL and data are flowing but when enter to bootloader mode by put boot0 pin (soldered on SB12) to 3V3 and then put nRST to GND and back to 3V3 I cannot see any clocks when run i2cdetect on RPI.