Skip to main content

SLG46826 I2C Expander pins?

2 weeks ago

SLG46826 I2C Expander pins?

Posted bylottabull15 points 3 replies
0 upvotes

SLG46826 Datasheet 15.7.2 mentions pins IO0, 5, 6, and 9 can be used as I2C Expanders, but doesn't describe how they would be used.

For instance, in GreenPAK Designer pin IO0 doesn't seem to have any special functions that can be selected.

2 weeks ago

ssaravan

Hi ,

谢谢你伸出。使用IO0 56,9 as I2C expander, the corresponding register bytes have to be set. For this in the properties window of the I2C macrocell, go to PIN OUTs and select Registers

Please let me know if you have further questions

Kind Regards

Shivani

2 weeks ago

lottabull 15 points

Hi Shivani,

Thanks for your response. That information helps some.

When the pins are set to Registers in the i2c macrocell, they become fixed as Digital Output.

So are the i2c Expander pins more bits that can be manipulated with i2c commands, like Virtual OUT0-OUT7?

If so, what register address is used for them, like 0x7A is used for Virtual OUT0-OUT7?

Regards,

Bill

1 week ago

ssaravan

Hi Bill,

There is no register address that can be manipulated. However it is possible to connect output to LUTs/other macrocells and write the truth table controlling the pins

Kind Regards

Shivani