Skip to main content
GKerwood
Associate II
March 22, 2022
Solved

LED1642GW - Endianness of Configuration Register?

  • March 22, 2022
  • 1 reply
  • 712 views

Hello,

I would grateful for some clarity on the expected bit order when writing to the configuration register of the LED1642GW.

Whilst it is clearly documented that CFG-0 is the LSB, and CFG-15 is the MSB of the serialised word, it is not clear to me whether data is expected as LSB or MSB first?

Section 8.8 - PWM counter setting and brightness register (CFG-15) Does however state"(first input bit of brightness word is MSB, 16th bit is LSB)", with respect to brightness values, so I'd expect this to be universally the case? So... Big Endian?

Many Thanks

This topic has been closed for replies.
Best answer by Winfred LU

Yes, it would be Big Endian for all those registers.

1 reply

Winfred LU
Winfred LUBest answer
ST Employee
March 23, 2022

Yes, it would be Big Endian for all those registers.

GKerwood
GKerwoodAuthor
Associate II
March 23, 2022

Thank you kindly. I’d come to the same conclusion though trial error but it’s great to have confirmation!