2017-03-31 06:06 AM
Hi,
I have a STM32L071KB Chip Inserted in a STM32F031K6-Nucleo Development Board.
I am trying to Get into I2C Bootloader mode by Setting BOOT0 Pin to HIGH.
But When I Try to detect the I2C Slave Address (0x42), SCL pin is driven low, and timeout error occurs.
TIA.
P.S.:
Solved! Go to Solution.
2017-05-31 12:21 AM
Ok, found out what was wrong. I forgot to remove two solder bridges on the Nucleo board (SB16, SB18). The solder bridges were connecting PB6 (Bootloader I2C SCL) to PA6 and PB7 (Bootloader I2C SDA) to PA5. PA5 and PA6 are used as SPI interface in Bootloader firmware. So I2C and SPI pins were interfering in my case. After removing solder bridges it worked.
2017-05-30 02:11 AM
Have similar problem with STM32L432KC-Nucleo board. I2C1 is working if used in example firmware (or my own firmware) but not with bootloader.
Something strange is happening with SCL (see screenshot)
2017-05-30 08:34 AM
Hi,
Refer to this link with example of code,
https://community.st.com/0D50X00009XkW1mSAF
Hope this help you
Thanks
Imen
2017-05-31 12:21 AM
Ok, found out what was wrong. I forgot to remove two solder bridges on the Nucleo board (SB16, SB18). The solder bridges were connecting PB6 (Bootloader I2C SCL) to PA6 and PB7 (Bootloader I2C SDA) to PA5. PA5 and PA6 are used as SPI interface in Bootloader firmware. So I2C and SPI pins were interfering in my case. After removing solder bridges it worked.