Hello,
This sounds like a dumb question (to me...) but does anyone have a known-working example set of commands for an iMX8 Nano talking to a PCA9450B PMIC, via I2C?
I have 2 devices on I2C bus 0: the PMIC (at address 25) and an RTC chip (at address 51).
I can do:
u-boot=> i2c dev 0
Setting bus to 0
u-boot=> i2c probe
Valid chip addresses: 25 51
Looks great right? I can read and write the registers in the RTC chip using the i2c md and mw commands, no problem. It works great. But if I try to read the registers from the PMIC, I get junk:
u-boot=> i2c md 25 0 8
0000: 30 30 30 30 30 30 30 30 00000000
Seems so simple... I feel like I'm missing something obvious here. Any suggestions?
Thanks.