Other Parts Discussed in Thread: 66AK2G12
Team,
Urgent question for a major customer of mine.
I'm starting with you guys, though I am aware this may need to be moved to another forum. My customer designed in the TPS65400 onto their board to help power their 66AK2G12 processor. They are basically trying to use the example code that lets the K2G talk to the pmic on the K2G evm, just tweaking the code to instead talk to the TPS65400 on their custom board. Unfortunately they are having trouble communicating with the TPS65400 via I2C. Can you confirm at least that the TPS65400 is not misbehaving based on the scopeshot of the I2C bus? From customer:
I modified RTOS I2C_BasicExample_evmK2G_armTestProject to access PMIC TPS659118 on K2G EVM board.
The RTOS example code is to access EEPROM through I2C0. I changed BOARD_I2C_EEPROM_INSTANCE from 0 to 2 to access PMIC TPS659118 through I2C2.
I was able to read PMIC TPS659118 register values.
But I always read 0xFF back when I use the same code with changes of I2C address and command to match my board.
My board has K2G and PMIC TPS65400. TPS65400 supports PMBus protocol SMBus version 2.0. Here is a scopeshot of the I2C bus when communicating with the TPS65400:
From the I2C_SCL and I2C_SDA waveforms I captured on scope, it seems there is a missing narrow pulse at cursor b on I2C_SDA signal line(green color).
Compare that to the same attempt of communication with the TPS659118:
The I2C_SCL signal is in yellow color and I2C_SDA signal is in green. You can see there is a narrow pulse at cursor a (right after ACK bit) which TPS65400 doesn’t have.
Does RTOS I2C API supports PMBus protocol SMBus version 2.0? If so, Is there any changes I need to do to access TPS65400?
Thanks,
Brian