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 Output HIGH or LOW

This section demonstrates how to configure a GPIO pin (FPWM8_GPIO12) to output HIGH or LOW signal as shown in Figure 4-2.

GUID-20220609-SS0I-KXRB-24V3-LDMCGNSSX1L9-low.png Figure 4-2 Configure GPIO to Output HIGH or LOW

The Pid ID of the FPWM8_GPIO12 is 7 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 0x07 is to select FPWM8_GPIO12 pin

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

Write GPIO_CONFIG command to output HIGH signal. Payload 0x7 is to enable the Pin and output HIGH

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

Write GPIO_CONFIG command to output LOW signal. Payload 0x3 is to enable the Pin and output LOW

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