SPRUHM9H October 2014 – May 2024 TMS320F28075 , TMS320F28075-Q1 , TMS320F28076
The GPIO Output X-BAR has eight outputs that are routed to the GPIO module. Figure 8-5 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 8-4. 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 final output is only recognized on the GPIO if the proper OUTPUTx muxing options are selected using the GPIO registers.
The ADCSOCAO and ADCSOCBO signals are active-high when routed through the X-BAR. The signal can be inverted by the respective OUTPUTINV bit depending on the application.
Mux | 0 | 1 | 2 | 3 |
---|---|---|---|---|
G0 | CMPSS1_CTRIPOUTH | CMPSS1_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCAEVT1 | ECAP1_OUT |
G1 | CMPSS1_CTRIPOUTL | INPUTXBAR1 | CLB1_OUT12 | Reserved |
G2 | CMPSS2_CTRIPOUTH | CMPSS2_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCAEVT2 | ECAP2_OUT |
G3 | CMPSS2_CTRIPOUTL | INPUTXBAR2 | CLB1_OUT13 | Reserved |
G4 | CMPSS3_CTRIPOUTH | CMPSS3_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCAEVT3 | ECAP3_OUT |
G5 | CMPSS3_CTRIPOUTL | INPUTXBAR3 | CLB2_OUT12 | Reserved |
G6 | CMPSS4_CTRIPOUTH | CMPSS4_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCAEVT4 | ECAP4_OUT |
G7 | CMPSS4_CTRIPOUTL | INPUTXBAR4 | CLB2_OUT13 | Reserved |
G8 | CMPSS5_CTRIPOUTH | CMPSS5_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCBEVT1 | ECAP5_OUT |
G9 | CMPSS5_CTRIPOUTL | INPUTXBAR5 | CLB3_OUT12 | ADCDEVT1 |
G10 | CMPSS6_CTRIPOUTH | CMPSS6_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCBEVT2 | ECAP6_OUT |
G11 | CMPSS6_CTRIPOUTL | INPUTXBAR6 | CLB3_OUT13 | ADCDEVT2 |
G12 | CMPSS7_CTRIPOUTH | CMPSS7_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCBEVT3 | Reserved |
G13 | CMPSS7_CTRIPOUTL | ADCSOCAO | CLB4_OUT12 | ADCDEVT3 |
G14 | CMPSS8_CTRIPOUTH | CMPSS8_CTRIPOUTOUTH_OR_CTRIPOUTOUTL | ADCBEVT4 | EXTSYNCOUT |
G15 | CMPSS8_CTRIPOUTL | ADCSOCBO | CLB4_OUT13 | ADCDEVT4 |
G16 | SD1FLT1_COMPH | SD1FLT1_COMPH_OR_COMPL | Reserved | Reserved |
G17 | SD1FLT1_COMPL | Reserved | Reserved | Reserved |
G18 | SD1FLT2_COMPH | SD1FLT2_COMPH_OR_COMPL | Reserved | Reserved |
G19 | SD1FLT2_COMPL | Reserved | Reserved | Reserved |
G20 | SD1FLT3_COMPH | SD1FLT3_COMPH_OR_COMPL | Reserved | Reserved |
G21 | SD1FLT3_COMPL | Reserved | Reserved | Reserved |
G22 | SD1FLT4_COMPH | SD1FLT4_COMPH_OR_COMPL | Reserved | Reserved |
G23 | SD1FLT4_COMPL | Reserved | Reserved | Reserved |
G24 | SD2FLT1_COMPH | SD2FLT1_COMPH_OR_COMPL | Reserved | Reserved |
G25 | SD2FLT1_COMPL | Reserved | Reserved | Reserved |
G26 | SD2FLT2_COMPH | SD2FLT2_COMPH_OR_COMPL | Reserved | Reserved |
G27 | SD2FLT2_COMPL | Reserved | Reserved | Reserved |
G28 | SD2FLT3_COMPH | SD2FLT3_COMPH_OR_COMPL | Reserved | Reserved |
G29 | SD2FLT3_COMPL | Reserved | Reserved | Reserved |
G30 | SD2FLT4_COMPH | SD2FLT4_COMPH_OR_COMPL | Reserved | Reserved |
G31 | SD2FLT4_COMPL | Reserved | Reserved | Reserved |