Other Parts Discussed in Thread: USB-PD-CHG-EVM-01, , TPS25751, BQ25798
Tool/software:
Hey there,
I am trying to get the I2C master interface of the TPS25750 device working. I am using the USB-PD-CHG-EVM-01 eval board.
Therefore I am executing the following procedure driven by an external generic I2C master:
[R = Read, W = Write]
(R) MODE ( == APP ) -> (W) DATA1 (3 Bytes, 0x50 0x4C 0x43) -> (R) DATA1 (first three bytes 0x50 0x4C 0x43. OK continue) -> (W) CMD1 (4 Bytes, 0x49 0x32 0x43 0x72)
^ EEPROM (Addr 0x50), Offset 0x4C, Byte count 0x43 I 2 C r
(wait some time. In theory 'poll until CMDComplete is set to 1', but it is never set to 1 as the command is not executed).
(R) CMD1 (4 Bytes, 0x49 0x32 0x43 0x72)
Each of these five steps has a recording from a Logic Analyzer below: (i could not fit them in one big screenshot, but they are one continous recording):
After reading CMD1 back in it is still set to 'I2Cr'. I am also recording the I2C-Master interface of the TPS25750 chip and there is no data sent at all.
This leads me to the conclusion that the TPS is in fact receiving the sent data (as reading the registers CMD1 and DATA1 back in returns the correct data) but is never trying to execute it.
I am expecting the chip to set CMD1 to !CMD if the command string should be wrongly formated (byter order or similar) or try to execute the I2C Master transaction and fail if the DATA1 register should have a faulty value
but none of those two is happening.
Why does the TPS not do anything at all?
Any help would be greatly appreciated.
Greetings, Leo.