SPRUJD3A July 2025 – October 2025 F28E120SB , F28E120SC
The MCPWM X-BAR has eight outputs that are routed to each MCPWM 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 MCPWM by referencing Table 9-2. Select up to one signal for each TRIPx output. Select the inputs to MCPWM X-BAR using the TRIPxMUX0TO15CFG and TRIPxMUX16TO31CFG registers. To pass any signal through to the MCPWM, 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 MCPWM. To optionally invert the signal, use the TRIPOUTINV register.
Figure 9-2 MCPWM X-BAR Architecture - Single Output| 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 | Reserved | Reserved | Reserved | Reserved |
| G7 | Reserved | INPUTXBAR4 | Reserved | Reserved |
| G8 | Reserved | INPUTXBAR5 | Reserved | Reserved |
| G9 | Reserved | INPUTXBAR6 | Reserved | EMUSTOP |
| G10 | Reserved | INPUTXBAR7 | ADCSOCA | Reserved |
| G11 | Reserved | INPUTXBAR8 | Reserved | EXTSYNCOUT |
| G12 | Reserved | INPUTXBAR9 | ADCSOCB | Reserved |
| G13 | Reserved | INPUTXBAR10 | Reserved | EQEP1ERR |
| G14 | Reserved | INPUTXBAR11 | CLOCKFAIL | Reserved |
| G15 | Reserved | INPUTXBAR12 | Reserved | ECCDBLERR |
| G16 | Reserved | INPUTXBAR13 | PIEERR | Reserved |
| G17 | Reserved | INPUTXBAR14 | Reserved | ERRORSTS |