SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
The GPIO Output X-BAR has eight outputs that are routed to the GPIO module. Figure 11-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 11-5. 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.
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 | ADCBEVT1 | Reserved |
G9 | Reserved | INPUTXBAR5 | Reserved | ADCDEVT1 |
G10 | Reserved | Reserved | ADCBEVT2 | Reserved |
G11 | Reserved | INPUTXBAR6 | Reserved | ADCDEVT2 |
G12 | Reserved | Reserved | ADCBEVT3 | Reserved |
G13 | Reserved | ADCSOCAO | Reserved | ADCDEVT3 |
G14 | Reserved | Reserved | ADCBEVT4 | EXTSYNCOUT |
G15 | Reserved | ADCSOCBO | Reserved | ADCDEVT4 |
G16 | Reserved | Reserved | ADCEEVT1 | Reserved |
G17 | Reserved | Reserved | Reserved | CLAHALT |
G18 | Reserved | Reserved | ADCEEVT2 | Reserved |
G19 | Reserved | Reserved | Reserved | ERRORSTS |
G20 | Reserved | Reserved | ADCEEVT3 | Reserved |
G21 | Reserved | Reserved | Reserved | FSIRXA_TRIG2 |
G22 | Reserved | Reserved | ADCEEVT4 | Reserved |
G23 | Reserved | ADCA_EXTMUXSEL0 | ADCC_EXTMUXSEL0 | ADCE_EXTMUXSEL0 |
G24 | Reserved | ADCA_EXTMUXSEL1 | ADCC_EXTMUXSEL1 | ADCE_EXTMUXSEL1 |
G25 | Reserved | ADCA_EXTMUXSEL2 | ADCC_EXTMUXSEL2 | ADCE_EXTMUXSEL2 |
G26 | Reserved | ADCA_EXTMUXSEL3 | ADCC_EXTMUXSEL3 | ADCE_EXTMUXSEL3 |
G27 | Reserved | ADCB_EXTMUXSEL0 | ADCD_EXTMUXSEL0 | Reserved |
G28 | Reserved | ADCB_EXTMUXSEL1 | ADCD_EXTMUXSEL1 | Reserved |
G29 | Reserved | ADCB_EXTMUXSEL2 | ADCD_EXTMUXSEL2 | Reserved |
G30 | Reserved | ADCB_EXTMUXSEL3 | ADCD_EXTMUXSEL3 | EPG1OUT0 |
G31 | Reserved | Reserved | ERRORSTS | EPG1OUT1 |