SPRUIX1B October 2022 – April 2024 TMS320F2800132 , TMS320F2800133 , TMS320F2800135 , TMS320F2800137
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 | Reserved | ADCCEVT1 |
G2 | CMPSS2_CTRIPH | CMPSS2_CTRIPH_OR_CTRIPL | ADCAEVT2 | ECAP2_OUT |
G3 | CMPSS2_CTRIPL | INPUTXBAR2 | Reserved | ADCCEVT2 |
G4 | CMPSS3_CTRIPH | CMPSS3_CTRIPH_OR_CTRIPL | ADCAEVT3 | Reserved |
G5 | CMPSS3_CTRIPL | INPUTXBAR3 | Reserved | ADCCEVT3 |
G6 | CMPSS4_CTRIPH | CMPSS4_CTRIPH_OR_CTRIPL | ADCAEVT4 | Reserved |
G7 | CMPSS4_CTRIPL | 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 | INPUTXBAR7 | Reserved | Reserved |
G18 | Reserved | Reserved | Reserved | Reserved |
G19 | Reserved | INPUTXBAR8 | Reserved | ERRORSTS |
G20 | Reserved | Reserved | Reserved | Reserved |
G21 | Reserved | INPUTXBAR9 | Reserved | Reserved |
G22 | Reserved | Reserved | Reserved | Reserved |
G23 | Reserved | INPUTXBAR10 | Reserved | Reserved |
G24 | Reserved | Reserved | Reserved | Reserved |
G25 | Reserved | INPUTXBAR11 | Reserved | Reserved |
G26 | Reserved | Reserved | Reserved | Reserved |
G27 | Reserved | INPUTXBAR12 | Reserved | Reserved |
G28 | Reserved | Reserved | Reserved | Reserved |
G29 | Reserved | INPUTXBAR13 | Reserved | Reserved |
G30 | Reserved | Reserved | Reserved | Reserved |
G31 | Reserved | INPUTXBAR14 | ERRORSTS | Reserved |