Reversed bit order of i2c matrix virtual outputs compared to SLG46538

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at https://www.dialog-semiconductor.com/support . We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
lottabull
Offline
Last seen: 1 year 6 months ago
Joined: 2018-03-02 21:01
Reversed bit order of i2c matrix virtual outputs compared to SLG46538

Was surprised to see our code for setting bits on and off via i2c in SLG46538 didn't just work in SLG46826, aside from the different register address used.
The earlier SLG46538 had virtual output 0 at the low bit of register F4 and virtual output 7 at the high bit.
Turns out the the SLG46826 has virtual output 0 at the high bit of register 7A and virtual output 7 at the low bit.
Non-intuitive, even though documented in Table 21 of the datasheet.

Device: 
Device Number: 
SLG46826
pavloZ
Offline
Last seen: 2 years 8 months ago
Staff
Joined: 2018-01-31 12:50
Hi lottabull, yes you are

Hi lottabull, yes you are right, SLG46538 and SLG46826 are different devices and they have different register bits definition. Do you have some specific question about the devices functionality? Thanks for your comment.

lottabull
Offline
Last seen: 1 year 6 months ago
Joined: 2018-03-02 21:01
More in the nature of a heads

More in the nature of a heads-up for others.