SPRUHM8K December 2013 – May 2024 TMS320F28374D , TMS320F28375D , TMS320F28376D , TMS320F28377D , TMS320F28377D-EP , TMS320F28377D-Q1 , TMS320F28378D , TMS320F28379D , TMS320F28379D-Q1
The ePWM X-BAR has eight outputs that are routed to each ePWM module. Figure 9-2 represents the architecture of a single output, but this output is identical to the architecture of all of the other outputs.
First, determine the signals that can be passed to the ePWM by referencing Table 9-2. Select up to one signal per mux for each TRIPx output. Select the inputs to ePWM X-BAR using the TRIPxMUX0TO15CFG and TRIPxMUX16TO31CFG registers. To pass any signal through to the ePWM, enable the signal using the TRIPxMUXENABLE register. All signals that are enabled are logically ORed before being passed on to the respective TRIPx signal on the ePWM. To optionally invert the signal, use the TRIPOUTINV register.
Mux | 0 | 1 | 2 | 3 |
---|---|---|---|---|
G0 | CMPSS1_CTRIPH | CMPSS1_CTRIPH_OR_CTRIPL | ADCAEVT1 | ECAP1_OUT |
G1 | CMPSS1_CTRIPL | INPUTXBAR1 | CLB1_OUT12 | ADCCEVT1 |
G2 | CMPSS2_CTRIPH | CMPSS2_CTRIPH_OR_CTRIPL | ADCAEVT2 | ECAP2_OUT |
G3 | CMPSS2_CTRIPL | INPUTXBAR2 | CLB1_OUT13 | ADCCEVT2 |
G4 | CMPSS3_CTRIPH | CMPSS3_CTRIPH_OR_CTRIPL | ADCAEVT3 | ECAP3_OUT |
G5 | CMPSS3_CTRIPL | INPUTXBAR3 | CLB2_OUT12 | ADCCEVT3 |
G6 | CMPSS4_CTRIPH | CMPSS4_CTRIPH_OR_CTRIPL | ADCAEVT4 | ECAP4_OUT |
G7 | CMPSS4_CTRIPL | INPUTXBAR4 | CLB2_OUT13 | ADCCEVT4 |
G8 | CMPSS5_CTRIPH | CMPSS5_CTRIPH_OR_CTRIPL | ADCBEVT1 | ECAP5_OUT |
G9 | CMPSS5_CTRIPL | INPUTXBAR5 | CLB3_OUT12 | ADCDEVT1 |
G10 | CMPSS6_CTRIPH | CMPSS6_CTRIPH_OR_CTRIPL | ADCBEVT2 | ECAP6_OUT |
G11 | CMPSS6_CTRIPL | INPUTXBAR6 | CLB3_OUT13 | ADCDEVT2 |
G12 | CMPSS7_CTRIPH | CMPSS7_CTRIPH_OR_CTRIPL | ADCBEVT3 | Reserved |
G13 | CMPSS7_CTRIPL | ADCSOCAO | CLB4_OUT12 | ADCDEVT3 |
G14 | CMPSS8_CTRIPH | CMPSS8_CTRIPH_OR_CTRIPL | ADCBEVT4 | EXTSYNCOUT |
G15 | CMPSS8_CTRIPL | 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 |