This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TUSB4020BI: How to output the output PIN high.

Guru 12235 points
Part Number: TUSB4020BI

Hi,

It is assumed that TUSB4020BINO output PIN (PWRCTL1, PWRCTL2) will be output high to control the power supply system. Please tell me how to output the output PIN high.

Thanks,

Eeevee

  • For how to configure the behaviour of these pins, see section 8.3.2 of the datasheet. But to power up or power down a port, the host software needs to send a SetPortFeature(PORT_POWER) or ClearPortFeature(PORT_POWER) request to the hub; see sections 11.11 and 11.24.2.13 of the USB 2.0 specification.

  • Hi, Clemens

    Is the following understanding correct?

    Input LOW to Pin22=SMBus and set to I2C-EEPROM mode. Pin2/3 = Mount UM10204 compatible EEPROM with slave address 50h on SCL/SDA bus. Enable PWRCTL1 and PWRCTL2 PIN output with the Configuration Register value recorded in EEPROM.

    Pin22=High input to SMBus to set SMBus mode. Pin2/3 = I2C of MCU on SMBCLK/SMBDAT bus Connect SCL/SDA pin.

    Set the Configuration Register value from the MCU (master) to the TUSB4020BIPHP with a slave address of 1000 xyz.

  • Yes.

    But note that sections 8.5.2 and 8.5.3 specify the adresses in inconsistens formats. When using 7-bit addresses, the EEPROM has address 1010000, and the TUSB has address 10001xy. When using 8-bit addresses, the EEPROM has address 1010000z, and the TUSB has address 10001xyz. 

  • Input LOW to Pin22=SMBus and set to sMBus  mode

    Input high to Pin22=SMBus and set to I2C-EEPROM mode