Optical Sensor Slave Address

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> Alan_S on ‎07-22-2016 05:35 PM

Question

How do I change the slave address on my optical sensor part?

Answer

The Si1132, Si1141, Si1142, Si1143, Si1145, Si1146, and Si1147 have a command that allows you to change the i2c address of the device. This change in address is only temporary and will be cleared back to the default address upon a reset.

 

The Si1133 and Si1153 have a hardware pin that causes the device to initialize with an alternate slave address. The pin that causes this change is Pin 6 on both devices. When this pin is pulled down to GND, the device will use its alternate slave address. On the Si1153, the use of the LED driver on this pin is lost when using its alternate slave address.

Comments
by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Legend</font></font> </a> erikm
on ‎07-23-2016 10:50 AM

The Si1132, Si1141, Si1142, Si1143, Si1145, Si1146, and Si1147 have a command that allows you to change the i2c address of the device

 

how do you use that? I see no reason to change the save addres other than having two devces, otherwise with the same address.  Thus such a command wuld go to two devces

by <a href="http://community.silabs.com/t5/Welcome-and-Announcements/Community-Ranking-System-and-Recognition-Program/m-p/140490#U140490"><font color="#000000"><font size="2">Hero Employee</font></font> </a> Alan_S
on ‎07-25-2016 10:42 AM

If you have a way to control the VDD of the Si114x, either by powering it from a GPIO or controlling a mosfet on its power, you can power one up and change its address, and then power the next one up to avoid any conflicts.