SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
Up to twelve independent peripheral signals are multiplexed on a single GPIO-enabled pin in addition to the CPU-controlled I/O capability. Each pin output can be controlled by either a peripheral or one of the four CPU masters.
There are up to 8 possible I/O ports:
Figure 15-1 shows the GPIO logic for a single pin.
High-speed SPI and AUXCLKIN use a different signal path that do not support inversion or qualification. For more details on high-speed SPI pins, see Section 15.6.
The USB PHY pin muxing is not shown in Figure 15-1. For more details on USB pins, see Section 15.5.
There are two key features to note in Figure 15-1. The first is that the input and output paths are entirely separate, connecting only at the pin. The second is that peripheral muxing takes place far from the pin. As a result, for both CPUs and CLAs to read the physical state of the pin independent of CPU mastering and peripheral muxing is possible. Likewise, external interrupts can be generated from peripheral activity. All pin options such as input qualification and open-drain output are valid for all masters and peripherals. However, the peripheral muxing, CPU muxing, and pin options can only be configured by CPU1. Table 15-1 provides details of GPIO registers accessible by different masters.
A separate configuration is required for the USB signals. See Section 15.5 for details.
Register Type | Function | CPU | CLA | DMA | HIC | Comments |
---|---|---|---|---|---|---|
GPIO_CTRL | Peripheral muxing, Pull Control ,etc. | Yes | NO | NO | NO | - |
GPIO_DATA | GPIODAT, SET, CLEAR, TOGGLE, and pin status, etc. | Yes | Yes | NO | No | Based on GPxCSEL configuration. |
GPIO_DATA_READ | Read back of GPIODAT register | Yes | Yes | NO | Yes | - |