SPRUIX1B October 2022 – April 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
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 ePWM 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 (32 total muxes) 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 signal is only recognized on the GPIO, if the proper OUTPUTx muxing options are selected using the GpioCtrlRegs.GPxMUX and GpioCtrlRegs.GPxGMUX registers.
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 | ADCAEVT4 | Reserved |
G7 | CMPSS4_CTRIPOUTL | INPUTXBAR4 | Reserved | ADCCEVT4 |
G8 | Reserved | Reserved | Reserved | Reserved |
G9 | Reserved | INPUTXBAR5 | Reserved | Reserved |
G10 | Reserved | Reserved | Reserved | Reserved |
G11 | Reserved | INPUTXBAR6 | Reserved | Reserved |
G12 | Reserved | Reserved | Reserved | Reserved |
G13 | Reserved | ADCSOCAO | Reserved | Reserved |
G14 | Reserved | Reserved | Reserved | EXTSYNCOUT |
G15 | Reserved | ADCSOCBO | Reserved | Reserved |
G16 | Reserved | Reserved | Reserved | Reserved |
G17 | Reserved | Reserved | Reserved | Reserved |
G18 | Reserved | Reserved | Reserved | Reserved |
G19 | Reserved | Reserved | Reserved | ERRORSTS |
G20 | Reserved | Reserved | Reserved | Reserved |
G21 | Reserved | Reserved | Reserved | Reserved |
G22 | Reserved | Reserved | Reserved | Reserved |
G23 | Reserved | Reserved | Reserved | Reserved |
G24 | Reserved | Reserved | Reserved | Reserved |
G25 | Reserved | Reserved | Reserved | Reserved |
G26 | Reserved | Reserved | Reserved | Reserved |
G27 | Reserved | Reserved | Reserved | Reserved |
G28 | Reserved | Reserved | Reserved | Reserved |
G29 | Reserved | Reserved | Reserved | Reserved |
G30 | Reserved | Reserved | Reserved | EPG1OUT0 |
G31 | Reserved | Reserved | ERRORSTS | EPG1OUT1 |