2025-05-16 2:15 AM - edited 2025-05-19 1:39 AM
Hi all,
i'm developing firmware for STM32MP135F-DK board to communicate with some external chips in I2C1.
No problems if I communicate with other I2C chips (clockgen, eeprom, io expander).
Communicating with the RTC PCF85063 chip happens that no problems if I send write command.
If I send a read registry command the I2C bus stucks with the SCL and SCK lines at low level. And the bus stays locked until MP135 reset. If i only power down, than power up, the PCF chip, the SDA line goes up but the SCL line stays low so again i2c locked.
I attached the scope screeshot: in particular I see the initial write/set current register acknoledged; when I send the read command I see the read packet with the chip address (0x51+1 bit high for read) but it is never acknoledged cause the lines levels..
The problem is always present even I change the register to read.
For each kind of communication I'0m using the HAL_I2C_* functions.
Any idea?
Thanks