read status of matrix line

⚠️
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
koen@weijand.nl
Offline
Last seen: 9 months 5 days ago
Joined: 2015-05-14 08:10
read status of matrix line

the I2C module has a read /write control byte. can I read the status of a logic line, say for example a comparator using the I2C  module?

Device: 
Device Number: 
SLG46826
olehs
Offline
Last seen: 1 year 7 months ago
Staff
Joined: 2018-02-07 11:40
Hi koen@weijand.nl, 

Hi koen@weijand.nl

What do you mean by saying "I2C  module"? If you are talking about the "I2C Serial Communication Macrocell (I2C)" then this block is datedicated to store the properties of SLG46826 as slave I2C device. It also has 8 register outputs (I2C Virtual Inputs) and 8 dedicated 8-bit memory arrays (RAM Array Table). 

You can read the output state of any block accessable in the design by applying I2C commands on PIN8 (SCL) and PIN9(SDA). For example, ACMP0L output state is Matrix Input 58 (0x7B reg, bit2). See the datasheet https://www.dialog-semiconductor.com/slg46826-datasheet, Matrix Inputs bits [991:928] 

Best regards, 

Oleh Sapiha

koen@weijand.nl
Offline
Last seen: 9 months 5 days ago
Joined: 2015-05-14 08:10
thanks, I understand that

thanks, I understand that only the ACMP*L outputs can be read. not the ACMP*H