SLVAE11A August   2018  – January 2021 TPS65987D , TPS65988

 

  1.   Trademarks
  2. 1Introduction
  3. 2TPS65987D GPIO Event List
  4. 3GPIO Events Register and Example Settings
    1. 3.1 GPIO Event Example Settings
    2. 3.2 Application Configuration GPIO Event Settings
  5. 4PD Controller Customization by GPIO Events
    1. 4.1 Barrel Jack Connect Event PD Flow
    2. 4.2 Barrel Jack Remove Event PD Flow
  6. 5Status Register and 4CC Commands
    1. 5.1 GPIO Status Monitoring
    2. 5.2 Using 4CC GPIO Commands
  7. 6Revision History

Using 4CC GPIO Commands

TPS6598x Application Customization tool can be used to exercise the GPIO related 4CC commands and observe, develop system behavior before system controller implements the desired driver software. Figure 5-3 shows the commands list page of the tool that can be used to exercise the ‘GPxx’ 4CC commands.

GUID-AA9EEAE6-1C20-4A35-B3F6-263D6915F2AF-low.png Figure 5-3 4CC Commands in TPS6598x Application Customization Tool

For example, to set the GPIO7 to High:

  • First send ‘GPoe’ 4CC command as shown in Figure 5-4.
  • Then send ‘GPsh’ 4CC command as shown in Figure 5-5.
  • In the GPIO Status (0x72) it can be seen that GPIO7 has been set to High.
GUID-23FCCA5B-6F83-4CA2-89E3-ABB1870179EE-low.png Figure 5-4 Using ‘GPoe’ 4CC Command
GUID-22EDCF7E-E233-41D5-B6E9-19AE10562632-low.png Figure 5-5 Using ‘GPsh’ 4CC Command