STM32G474 strange I2C behavior
Hi,
I hope somebody can explain the following behavior:
I use a NUCLEO-G474RE board for I2C testing. I have an external I2C slave which provides the required pull-ups for SDA/SCL when it's powered.
Now my STM32 started with connected but not powered I2C slave and tried to communicate, which was not possible due to the missing pull-ups and because of missing slave supply. Then I powered the slave but SDA/SCL still show LOW level, measured with a scope. When disconnecting SDA/SCL I see HIGH levels at the slave side, what tells me that the pull-ups do what they should do and that the STM32 pulls the signals low permanently.
When checking the I2C state it shows READY and the last error was a TIMEOUT.
I use the HAL for the I2C interface.
Can anybody tell me what happens with the pin states of my I2C interface?
Thanks and best regards
