SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
The GPIO Output X-BAR has eight outputs that are routed to the GPIO module. Figure 16-6 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 16-7. Select up to one signal per mux (64 total muxes) for each OUTPUTXBARx output. Select the inputs to each mux using the OUTPUTxMUX0TO15CFG, OUTPUTxMUX16TO31CFG, OUTPUTxMUX32TO47 and OUTPUTxMUX48TO63 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 | SD3FLT1_COMPH | ADCAEVT1 | ECAP1_OUT |
G1 | CMPSS1_CTRIPOUTL | INPUTXBAR1 | CLB1_OUT12 | ADCCEVT1 |
G2 | CMPSS2_CTRIPOUTH | SD3FLT1_COMPL | ADCAEVT2 | ECAP2_OUT |
G3 | CMPSS2_CTRIPOUTL | INPUTXBAR2 | CLB1_OUT13 | ADCCEVT2 |
G4 | CMPSS3_CTRIPOUTH | SD3FLT2_COMPH | ADCAEVT3 | ECAP3_OUT |
G5 | CMPSS3_CTRIPOUTL | INPUTXBAR3 | CLB2_OUT12 | ADCCEVT3 |
G6 | CMPSS4_CTRIPOUTH | SD3FLT2_COMPL | ADCAEVT4 | ECAP4_OUT |
G7 | CMPSS4_CTRIPOUTL | INPUTXBAR4 | CLB2_OUT13 | ADCCEVT4 |
G8 | CMPSS5_CTRIPOUTH | SD3FLT3_COMPH | ADCBEVT1 | ECAP5_OUT |
G9 | CMPSS5_CTRIPOUTL | INPUTXBAR5 | CLB3_OUT12 | Reserved |
G10 | CMPSS6_CTRIPOUTH | SD3FLT3_COMPL | ADCBEVT2 | ECAP6_OUT |
G11 | CMPSS6_CTRIPOUTL | INPUTXBAR6 | CLB3_OUT13 | Reserved |
G12 | CMPSS7_CTRIPOUTH | SD3FLT4_COMPH | ADCBEVT3 | ECAP7_OUT |
G13 | CMPSS7_CTRIPOUTL | ADCSOCA | CLB4_OUT12 | Reserved |
G14 | CMPSS8_CTRIPOUTH | SD3FLT4_COMPL | ADCBEVT4 | EXTSYNCOUT |
G15 | CMPSS8_CTRIPOUTL | ADCSOCB | CLB4_OUT13 | Reserved |
G16 | SD1FLT1_COMPH | SD4FLT1_COMPH | Reserved | Reserved |
G17 | SD1FLT1_COMPL | Reserved | CLB5_OUT12 | CLAHALT |
G18 | SD1FLT2_COMPH | SD4FLT1_COMPL | Reserved | ECAT_SYNC0 |
G19 | SD1FLT2_COMPL | Reserved | CLB5_OUT13 | ECAT_SYNC1 |
G20 | SD1FLT3_COMPH | SD4FLT2_COMPH | Reserved | Reserved |
G21 | SD1FLT3_COMPL | Reserved | CLB6_OUT12 | FSIRXA_TRIG2 |
G22 | SD1FLT4_COMPH | SD4FLT2_COMPL | Reserved | FSIRXB_TRIG2 |
G23 | SD1FLT4_COMPL | Reserved | CLB6_OUT13 | FSIRXC_TRIG2 |
G24 | SD2FLT1_COMPH | SD4FLT3_COMPH | Reserved | FSIRXD_TRIG2 |
G25 | SD2FLT1_COMPL | Reserved | Reserved | Reserved |
G26 | SD2FLT2_COMPH | SD4FLT3_COMPL | Reserved | Reserved |
G27 | SD2FLT2_COMPL | Reserved | ERRORSTS | Reserved |
G28 | SD2FLT3_COMPH | SD4FLT3_COMPH | XCLKOUT | Reserved |
G29 | SD2FLT3_COMPL | Reserved | Reserved | Reserved |
G30 | SD2FLT4_COMPH | SD4FLT3_COMPL | Reserved | EPG1OUT0 |
G31 | SD2FLT4_COMPL | Reserved | Reserved | EPG1OUT1 |
G32 | EPWM1_TRIPOUT | EPWM1_DE_TRIP | EPWM1_DE_ACTIVE | Reserved |
G33 | EPWM2_TRIPOUT | EPWM2_DE_TRIP | EPWM2_DE_ACTIVE | Reserved |
G34 | EPWM3_TRIPOUT | EPWM3_DE_TRIP | EPWM3_DE_ACTIVE | Reserved |
G35 | EPWM4_TRIPOUT | EPWM4_DE_TRIP | EPWM4_DE_ACTIVE | Reserved |
G36 | EPWM5_TRIPOUT | EPWM5_DE_TRIP | EPWM5_DE_ACTIVE | Reserved |
G37 | EPWM6_TRIPOUT | EPWM6_DE_TRIP | EPWM6_DE_ACTIVE | Reserved |
G38 | EPWM7_TRIPOUT | EPWM7_DE_TRIP | EPWM7_DE_ACTIVE | Reserved |
G39 | EPWM8_TRIPOUT | EPWM8_DE_TRIP | EPWM8_DE_ACTIVE | Reserved |
G40 | EPWM9_TRIPOUT | EPWM9_DE_TRIP | EPWM9_DE_ACTIVE | Reserved |
G41 | EPWM10_TRIPOUT | EPWM10_DE_TRIP | EPWM10_DE_ACTIVE | Reserved |
G42 | EPWM11_TRIPOUT | EPWM11_DE_TRIP | EPWM11_DE_ACTIVE | Reserved |
G43 | EPWM12_TRIPOUT | EPWM12_DE_TRIP | EPWM12_DE_ACTIVE | Reserved |
G44 | EPWM13_TRIPOUT | EPWM13_DE_TRIP | EPWM13_DE_ACTIVE | Reserved |
G45 | EPWM14_TRIPOUT | EPWM14_DE_TRIP | EPWM14_DE_ACTIVE | Reserved |
G46 | EPWM15_TRIPOUT | EPWM15_DE_TRIP | EPWM15_DE_ACTIVE | Reserved |
G47 | EPWM16_TRIPOUT | EPWM16_DE_TRIP | EPWM16_DE_ACTIVE | Reserved |
G48 | EPWM17_TRIPOUT | EPWM17_DE_TRIP | EPWM17_DE_ACTIVE | Reserved |
G49 | EPWM18_TRIPOUT | EPWM18_DE_TRIP | EPWM18_DE_ACTIVE | Reserved |
G50 | Reserved | Reserved | Reserved | CPU1_ADCCHECKEVT1 |
G51 | Reserved | Reserved | Reserved | CPU1_ADCCHECKEVT2 |
G52 | Reserved | Reserved | ADCA_EXTMUXSEL0 | CPU1_ADCCHECKEVT3 |
G53 | Reserved | Reserved | ADCA_EXTMUXSEL1 | CPU1_ADCCHECKEVT4 |
G54 | Reserved | Reserved | ADCA_EXTMUXSEL2 | CPU2_ADCCHECKEVT1 |
G55 | Reserved | Reserved | ADCA_EXTMUXSEL3 | CPU2_ADCCHECKEVT2 |
G56 | Reserved | Reserved | ADCB_EXTMUXSEL0 | CPU2_ADCCHECKEVT3 |
G57 | Reserved | Reserved | ADCB_EXTMUXSEL1 | CPU2_ADCCHECKEVT4 |
G58 | CMPSS9_CTRIPOUTH | Reserved | ADCB_EXTMUXSEL2 | Reserved |
G59 | CMPSS9_CTRIPOUTL | Reserved | ADCB_EXTMUXSEL3 | Reserved |
G60 | CMPSS10_CTRIPOUTH | Reserved | ADCC_EXTMUXSEL0 | Reserved |
G61 | CMPSS10_CTRIPOUTL | Reserved | ADCC_EXTMUXSEL1 | Reserved |
G62 | CMPSS11_CTRIPOUTH | Reserved | ADCC_EXTMUXSEL2 | Reserved |
G63 | CMPSS11_CTRIPOUTL | Reserved | ADCC_EXTMUXSEL3 | Reserved |