cancel
Showing results for 
Search instead for 
Did you mean: 

Reading STUSB4500 USB PD status via I2C

fbrown
Associate

The USB PD status register is a combination of 4 registers.

The question is when read, are they interpreted as big endian or little endian?

so 0x91 0x92 0x93 0x94
0x91 = bit 0-7, or 28 - 31?
0x92 bit 8-11

0x93 ...

0x94 ...
The manual and programming guide are not clear .

1 REPLY 1
NBALL
ST Employee

Hello
Little endian is used:
@x91: bit [7:0]
@x94: bit [31:24]


Best regards

Nathalie