SLUAAL1 June   2022 UCD90120A , UCD90124A , UCD90160 , UCD90160A , UCD90320 , UCD90320U , UCD9090 , UCD9090A

 

  1.   How to Access UCD90xxx Sequencers GPIO
  2.   Trademarks
  3. 1Introduction
  4. 2GPIO Capacity
  5. 3PMBus™ Commands to Access GPIO
    1. 3.1 (FAh) GPIO_SELECT (MFR_SPECIFIC_42)
    2. 3.2 (FBh) GPIO_CONFIG (MFR_SPECIFIC_43)
  6. 4Examples
    1. 4.1 Configure GPIO to Hi-Z
    2. 4.2 Configure GPIO to Output HIGH or LOW
    3. 4.3 Read GPIO Status
  7. 5References

Configure GPIO to Hi-Z

This section is to demonstrate how to configure a GPIO pin(FPWM2_GPIO6) to be a Hi-Z signal as shown in Figure 4-1.

GUID-20220609-SS0I-7BBN-VKSF-7HBFB4VTCG0N-low.png Figure 4-1 Configure GPIO to Hi-Z

The Pid ID of the FPWM2_GPIO6 is 1 from Table 3-1 and Table 3-2.

Application need send out the following commands:

Write GPIO_SELECT command to choose the target GPIO. Payload 0x01 is to select FPWM2_GPIO6 pin.

  • [St] [AddrW] [A] [W:0xFA] [A] [W:0X01][A][Sp]

Write GPIO_CONFIG command to output HIGH signal. Payload 0x1 is to enable the Pin without output disable.

  • [St] [AddrW] [A] [W:0xFB] [A] [W:0X01][A][Sp]