cancel
Showing results for 
Search instead for 
Did you mean: 

STUSB1700 What is Function of ADDR0 pin ? Is it for Read/Write operation or just write. It needs external pullup? What should be connected to enable this. Thanks

Gjain.1
Associate II

0693W00000GWAK4QAP.png0693W00000GWAIcQAP.png

1 ACCEPTED SOLUTION

Accepted Solutions
Peter BENSCH
ST Employee

As the datasheet says: with the pin ADDR0 you define bit1 of the address under which you can address up to two STUSB1700 devices via the same I2C bus.

With pin ADDR0 on low you can reach the STUSB at address 0x28, with ADDR0 = high under 0x29. You can achieve it with a pull resistor, with a direct connection to GND or VDD or with an MCU GPIO.

bit7 bit6 bit5 bit4 bit3 bit2 bit1   bit0

 A6   A5   A4   A3   A2   A1    A0     R/W

 0   1   0   1   0   0   ADDR0   0/1

Good luck!

If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
Peter BENSCH
ST Employee

As the datasheet says: with the pin ADDR0 you define bit1 of the address under which you can address up to two STUSB1700 devices via the same I2C bus.

With pin ADDR0 on low you can reach the STUSB at address 0x28, with ADDR0 = high under 0x29. You can achieve it with a pull resistor, with a direct connection to GND or VDD or with an MCU GPIO.

bit7 bit6 bit5 bit4 bit3 bit2 bit1   bit0

 A6   A5   A4   A3   A2   A1    A0     R/W

 0   1   0   1   0   0   ADDR0   0/1

Good luck!

If the problem is resolved, please mark this topic as answered by selecting Select as best. This will help other users find that answer faster.

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.