read status of matrix line

3 posts / 0 new
Last post
koen@weijand.nl
Offline
Last seen:3 months 3 weeks 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:2 hours 24 min ago
Staff
Joined:2018-02-07 11:40
Hi koen@weijand.nl,

Hikoen@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//www.wsdof.com/slg46826-datasheet, Matrix Inputs bits [991:928]

Best regards,

Oleh Sapiha

koen@weijand.nl
Offline
Last seen:3 months 3 weeks 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