Quote:
Originally Posted by SpmP
Good day all,
I like I2C, so will be mostly I2C, especially as the PSU's can be turned on with I2C and will tell me their current usage 8)
|
Have you actually succeeded in I²C commands and sensor readings?
I've tried with both a bus pirate 3.6 and bus pirate 4, and have run into a few issues.
I can't reliably talk to the ESP120 faster than 5KHz, even though the I²C spec for the power supply says that the supported clock range is 10-100KHz. 50KHz sees only the 0x00/0x01 pair and doesn't talk successfully to it, and 100KHz scan completely fails.
Using the 0x01 command to read analog sensors gives me garbage data. And when I tried to use 0x04 to put it into test mode, I was clearly instead writing to EEPROM, because the command sequence I used to try to go into test mode showed up as analog sensor data and survived a input full power cycle of the power supply.
Initially, max output current was 0xAFFFFF; after I tried to write [0xae 0x04 0x04 0x04 0x08] to go into test mode (without success) my max output current was reported as 0x080404 and when I ran the "bogus" command [0xae 0x04 0x05 0x06 0x07] my max output current was reported as 0x070605.
The firmware revision is reported as 0xAF.0xFF which also seems unlikely:
[0xae 0x06[0xaf r:2]
0xAF 0xFF