SPRUJD3A July 2025 – October 2025 F28E120SB , F28E120SC
The GPIO Output X-BAR has eight outputs that are routed to the GPIO module. Figure 9-3 represents the architecture of a single output, but this output is identical to the architecture of all of the other outputs. Note that the architecture of the Output X-BAR (with the exception of the output latch) is similar to the architecture of the MCPWM X-BAR.
First, determine the signals that can be passed to the GPIO by referencing Table 9-3. Select up to one signal per mux for each OUTPUTXBARx output. Select the inputs to each mux using the OUTPUTxMUX0TO15CFG and OUTPUTxMUX16TO31CFG registers. To pass any signal through to the GPIO , enable the mux in the OUTPUTxMUXENABLE register. All muxes that are enabled are logically ORed before being passed on to the respective OUTPUTx signal on the GPIO module. To optionally invert the signal, use the OUTPUTINV register. The final output is only recognized on the GPIO , if the proper OUTPUTx muxing options are selected using the GPIO registers.
Figure 9-3 GPIO
Output X-BAR Architecture| Mux | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| G0 | CMPSS1_CTRIPOUTH | CMPSS1_CTRIPOUTH_OR_CTRIPOUTL | ADCAEVT1 | ECAP1_OUT |
| G1 | CMPSS1_CTRIPOUTL | INPUTXBAR1 | Reserved | ADCCEVT1 |
| G2 | CMPSS2_CTRIPOUTH | CMPSS2_CTRIPOUTH_OR_CTRIPOUTL | ADCAEVT2 | ECAP2_OUT |
| G3 | CMPSS2_CTRIPOUTL | INPUTXBAR2 | Reserved | ADCCEVT2 |
| G4 | CMPSS3_CTRIPOUTH | CMPSS3_CTRIPOUTH_OR_CTRIPOUTL | ADCAEVT3 | Reserved |
| G5 | CMPSS3_CTRIPOUTL | INPUTXBAR3 | Reserved | ADCCEVT3 |
| G6 | CMPSS4_CTRIPOUTH | CMPSS4_CTRIPOUTH_OR_CTRIPOUTL | Reserved | Reserved |
| G7 | CMPSS4_CTRIPOUTL | INPUTXBAR4 | Reserved | Reserved |
| G8 | Reserved | INPUTXBAR5 | ADCSOCA | Reserved |
| G9 | Reserved | Reserved | Reserved | EXTSYNCOUT |
| G10 | Reserved | INPUTXBAR6 | ADCSOCB | Reserved |
| G11 | Reserved | Reserved | Reserved | ERRORSTS |