cancel
Showing results for 
Search instead for 
Did you mean: 

I2C SCL and SDA low when reading PCF85063 registers

SteMMo
Associate III

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

0 REPLIES 0