SPRUJ79 November 2024 F29H850TU
The ePWM X-BAR has eight outputs that are routed to each ePWM module. There are two instances of ePWM X-BAR (ePWM X-BAR A and ePWM X-BAR B), resulting in 16 outputs total.Figure 20-3 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 20-4. Select up to one signal for each TRIPx output. Select the inputs to ePWM X-BAR using the PWMXBARGxSEL registers. To pass any signal through to the ePWM, enable the signal using the INPUTx bit in the PWMXBARGxSEL 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 PWMXBAROutInvert register.
There are two instances of the ePWM X-BAR (ePWM X-BAR A and ePWM X-BAR B). Table 20-4 describes the inputs to the ePWM X-BARs, which are identical for both instances. Each instance has 8 outputs. The outputs of ePWM X-BAR A are connected to trips 1-8 of each ePWM instance, while outputs 1-4 and output 6-7 of ePWM X-BAR B are connected to trips 9-12 and trips 14-15 of each ePWM instance, respectively. Note that outputs 5 and 8 of ePWM X-BAR B are not connected to any ePWM trip source.
Group | Bit | Input Signal |
---|---|---|
G0 | 0 | CMPSS1_CTRIPH |
G0 | 1 | CMPSS1_CTRIPL |
G0 | 2 | CMPSS2_CTRIPH |
G0 | 3 | CMPSS2_CTRIPL |
G0 | 4 | CMPSS3_CTRIPH |
G0 | 5 | CMPSS3_CTRIPL |
G0 | 6 | CMPSS4_CTRIPH |
G0 | 7 | CMPSS4_CTRIPL |
G0 | 8 | CMPSS5_CTRIPH |
G0 | 9 | CMPSS5_CTRIPL |
G0 | 10 | CMPSS6_CTRIPH |
G0 | 11 | CMPSS6_CTRIPL |
G0 | 12 | CMPSS7_CTRIPH |
G0 | 13 | CMPSS7_CTRIPL |
G0 | 14 | CMPSS8_CTRIPH |
G0 | 15 | CMPSS8_CTRIPL |
G0 | 16 | CMPSS9_CTRIPH |
G0 | 17 | CMPSS9_CTRIPL |
G0 | 18 | CMPSS10_CTRIPH |
G0 | 19 | CMPSS10_CTRIPL |
G0 | 20 | CMPSS11_CTRIPH |
G0 | 21 | CMPSS11_CTRIPL |
G0 | 22 | CMPSS12_CTRIPH |
G0 | 23 | CMPSS12_CTRIPL |
G0 | 24 | Reserved |
G0 | 25 | Reserved |
G0 | 26 | Reserved |
G0 | 27 | Reserved |
G0 | 28 | Reserved |
G0 | 29 | Reserved |
G0 | 30 | Reserved |
G0 | 31 | Reserved |
G1 | 0 | SD1FLT1_COMPH |
G1 | 1 | SD1FLT1_COMPL |
G1 | 2 | SD1FLT2_COMPH |
G1 | 3 | SD1FLT2_COMPL |
G1 | 4 | SD1FLT3_COMPH |
G1 | 5 | SD1FLT3_COMPL |
G1 | 6 | SD1FLT4_COMPH |
G1 | 7 | SD1FLT4_COMPL |
G1 | 8 | SD2FLT1_COMPH |
G1 | 9 | SD2FLT1_COMPL |
G1 | 10 | SD2FLT2_COMPH |
G1 | 11 | SD2FLT2_COMPL |
G1 | 12 | SD2FLT3_COMPH |
G1 | 13 | SD2FLT3_COMPL |
G1 | 14 | SD2FLT4_COMPH |
G1 | 15 | SD2FLT4_COMPL |
G1 | 16 | SD3FLT1_COMPH |
G1 | 17 | SD3FLT1_COMPL |
G1 | 18 | SD3FLT2_COMPH |
G1 | 19 | SD3FLT2_COMPL |
G1 | 20 | SD3FLT3_COMPH |
G1 | 21 | SD3FLT3_COMPL |
G1 | 22 | SD3FLT4_COMPH |
G1 | 23 | SD3FLT4_COMPL |
G1 | 24 | SD4FLT1_COMPH |
G1 | 25 | SD4FLT1_COMPL |
G1 | 26 | SD4FLT2_COMPH |
G1 | 27 | SD4FLT2_COMPL |
G1 | 28 | SD4FLT3_COMPH |
G1 | 29 | SD4FLT3_COMPL |
G1 | 30 | SD4FLT4_COMPH |
G1 | 31 | SD4FLT4_COMPL |
G2 | 0 | ADCAEVT1 |
G2 | 1 | ADCAEVT2 |
G2 | 2 | ADCAEVT3 |
G2 | 3 | ADCAEVT4 |
G2 | 4 | ADCBEVT1 |
G2 | 5 | ADCBEVT2 |
G2 | 6 | ADCBEVT3 |
G2 | 7 | ADCBEVT4 |
G2 | 8 | ADCCEVT1 |
G2 | 9 | ADCCEVT2 |
G2 | 10 | ADCCEVT3 |
G2 | 11 | ADCCEVT4 |
G2 | 12 | ADCDEVT1 |
G2 | 13 | ADCDEVT2 |
G2 | 14 | ADCDEVT3 |
G2 | 15 | ADCDEVT4 |
G2 | 16 | ADCEEVT1 |
G2 | 17 | ADCEEVT2 |
G2 | 18 | ADCEEVT3 |
G2 | 19 | ADCEEVT4 |
G2 | 20 | CPU1_ADCCHECKEVT1 |
G2 | 21 | CPU1_ADCCHECKEVT2 |
G2 | 22 | CPU1_ADCCHECKEVT3 |
G2 | 23 | CPU1_ADCCHECKEVT4 |
G2 | 24 | CPU2_ADCCHECKEVT1 |
G2 | 25 | CPU2_ADCCHECKEVT2 |
G2 | 26 | CPU2_ADCCHECKEVT3 |
G2 | 27 | CPU2_ADCCHECKEVT4 |
G2 | 28 | CPU3_ADCCHECKEVT1 |
G2 | 29 | CPU3_ADCCHECKEVT2 |
G2 | 30 | CPU3_ADCCHECKEVT3 |
G2 | 31 | CPU3_ADCCHECKEVT4 |
G3 | 0 | INPUTXBAR1 |
G3 | 1 | INPUTXBAR2 |
G3 | 2 | INPUTXBAR3 |
G3 | 3 | INPUTXBAR4 |
G3 | 4 | INPUTXBAR5 |
G3 | 5 | INPUTXBAR6 |
G3 | 6 | INPUTXBAR7 |
G3 | 7 | INPUTXBAR8 |
G3 | 8 | INPUTXBAR9 |
G3 | 9 | INPUTXBAR10 |
G3 | 10 | INPUTXBAR11 |
G3 | 11 | INPUTXBAR12 |
G3 | 12 | INPUTXBAR13 |
G3 | 13 | INPUTXBAR14 |
G3 | 14 | INPUTXBAR15 |
G3 | 15 | INPUTXBAR16 |
G3 | 16 | INPUTXBAR17 |
G3 | 17 | INPUTXBAR18 |
G3 | 18 | INPUTXBAR19 |
G3 | 19 | INPUTXBAR20 |
G3 | 20 | INPUTXBAR21 |
G3 | 21 | INPUTXBAR22 |
G3 | 22 | INPUTXBAR23 |
G3 | 23 | INPUTXBAR24 |
G3 | 24 | INPUTXBAR25 |
G3 | 25 | INPUTXBAR26 |
G3 | 26 | INPUTXBAR27 |
G3 | 27 | INPUTXBAR28 |
G3 | 28 | INPUTXBAR29 |
G3 | 29 | INPUTXBAR30 |
G3 | 30 | INPUTXBAR31 |
G3 | 31 | INPUTXBAR32 |
G4 | 0 | CLB1_OUT4 |
G4 | 1 | CLB1_OUT5 |
G4 | 2 | CLB2_OUT4 |
G4 | 3 | CLB2_OUT5 |
G4 | 4 | CLB3_OUT4 |
G4 | 5 | CLB3_OUT5 |
G4 | 6 | CLB4_OUT4 |
G4 | 7 | CLB4_OUT5 |
G4 | 8 | CLB5_OUT4 |
G4 | 9 | CLB5_OUT5 |
G4 | 10 | CLB6_OUT4 |
G4 | 11 | CLB6_OUT5 |
G4 | 12 | Reserved |
G4 | 13 | Reserved |
G4 | 14 | Reserved |
G4 | 15 | Reserved |
G4 | 16 | FSIRXA_TRIG1 |
G4 | 17 | FSIRXB_TRIG1 |
G4 | 18 | FSIRXC_TRIG1 |
G4 | 19 | FSIRXD_TRIG1 |
G4 | 20 | Reserved |
G4 | 21 | Reserved |
G4 | 22 | Reserved |
G4 | 23 | Reserved |
G4 | 24 | Reserved |
G4 | 25 | Reserved |
G4 | 26 | Reserved |
G4 | 27 | Reserved |
G4 | 28 | Reserved |
G4 | 29 | Reserved |
G4 | 30 | ECAT_SYNC0 |
G4 | 31 | ECAT_SYNC1 |
G5 | 0 | ECAP1_OUT |
G5 | 1 | ECAP2_OUT |
G5 | 2 | ECAP3_OUT |
G5 | 3 | ECAP4_OUT |
G5 | 4 | ECAP5_OUT |
G5 | 5 | ECAP6_OUT |
G5 | 6 | Reserved |
G5 | 7 | Reserved |
G5 | 8 | ECAP1_TRIPOUT |
G5 | 9 | ECAP2_TRIPOUT |
G5 | 10 | ECAP3_TRIPOUT |
G5 | 11 | ECAP4_TRIPOUT |
G5 | 12 | ECAP5_TRIPOUT |
G5 | 13 | ECAP6_TRIPOUT |
G5 | 14 | Reserved |
G5 | 15 | Reserved |
G5 | 16 | ADCSOCA |
G5 | 17 | ADCSOCB |
G5 | 18 | ESM_GEN_EVENT |
G5 | 19 | EXTSYNCOUT |
G5 | 20 | WADI1_ERROR_BUS_O[0] |
G5 | 21 | WADI1_ERROR_BUS_O[1] |
G5 | 22 | WADI1_ERROR_BUS_O[2] |
G5 | 23 | WADI1_ERROR_BUS_O[3] |
G5 | 24 | WADI1_ERROR_BUS_O[4] |
G5 | 25 | WADI1_ERROR_BUS_O[5] |
G5 | 26 | WADI1_ERROR_BUS_O[6] |
G5 | 27 | WADI1_ERROR_BUS_O[7] |
G5 | 28 | WADI1_ERROR_BUS_O[8] |
G5 | 29 | WADI1_ERROR_BUS_O[9] |
G5 | 30 | WADI1_ERROR_BUS_O[10] |
G5 | 31 | WADI1_ERROR_BUS_O[11] |
G6 | 0 | MCANA_FEVT0 |
G6 | 1 | MCANA_FEVT1 |
G6 | 2 | MCANA_FEVT2 |
G6 | 3 | MCANB_FEVT0 |
G6 | 4 | MCANB_FEVT1 |
G6 | 5 | MCANB_FEVT2 |
G6 | 6 | MCANC_FEVT0 |
G6 | 7 | MCANC_FEVT1 |
G6 | 8 | MCANC_FEVT2 |
G6 | 9 | MCAND_FEVT0 |
G6 | 10 | MCAND_FEVT1 |
G6 | 11 | MCAND_FEVT2 |
G6 | 12 | MCANE_FEVT0 |
G6 | 13 | MCANE_FEVT1 |
G6 | 14 | MCANE_FEVT2 |
G6 | 15 | MCANF_FEVT0 |
G6 | 16 | MCANF_FEVT1 |
G6 | 17 | MCANF_FEVT2 |
G6 | 18 | Reserved |
G6 | 19 | Reserved |
G6 | 20 | WADI2_ERROR_BUS_O[0] |
G6 | 21 | WADI2_ERROR_BUS_O[1] |
G6 | 22 | WADI2_ERROR_BUS_O[2] |
G6 | 23 | WADI2_ERROR_BUS_O[3] |
G6 | 24 | WADI2_ERROR_BUS_O[4] |
G6 | 25 | WADI2_ERROR_BUS_O[5] |
G6 | 26 | WADI2_ERROR_BUS_O[6] |
G6 | 27 | WADI2_ERROR_BUS_O[7] |
G6 | 28 | WADI2_ERROR_BUS_O[8] |
G6 | 29 | WADI2_ERROR_BUS_O[9] |
G6 | 30 | WADI2_ERROR_BUS_O[10] |
G6 | 31 | WADI2_ERROR_BUS_O[11] |
G7 | 0 | EPWM1_TRIPOUT |
G7 | 1 | EPWM2_TRIPOUT |
G7 | 2 | EPWM3_TRIPOUT |
G7 | 3 | EPWM4_TRIPOUT |
G7 | 4 | EPWM5_TRIPOUT |
G7 | 5 | EPWM6_TRIPOUT |
G7 | 6 | EPWM7_TRIPOUT |
G7 | 7 | EPWM8_TRIPOUT |
G7 | 8 | EPWM9_TRIPOUT |
G7 | 9 | EPWM10_TRIPOUT |
G7 | 10 | EPWM11_TRIPOUT |
G7 | 11 | EPWM12_TRIPOUT |
G7 | 12 | EPWM13_TRIPOUT |
G7 | 13 | EPWM14_TRIPOUT |
G7 | 14 | EPWM15_TRIPOUT |
G7 | 15 | EPWM16_TRIPOUT |
G7 | 16 | EPWM17_TRIPOUT |
G7 | 17 | EPWM18_TRIPOUT |
G7 | 18 | Reserved |
G7 | 19 | Reserved |
G7 | 20 | Reserved |
G7 | 21 | Reserved |
G7 | 22 | Reserved |
G7 | 23 | Reserved |
G7 | 24 | Reserved |
G7 | 25 | Reserved |
G7 | 26 | Reserved |
G7 | 27 | Reserved |
G7 | 28 | Reserved |
G7 | 29 | Reserved |
G7 | 30 | Reserved |
G7 | 31 | Reserved |
G8 | 0 | EPWM1_DE_DEMONTRIP |
G8 | 1 | EPWM2_DE_DEMONTRIP |
G8 | 2 | EPWM3_DE_DEMONTRIP |
G8 | 3 | EPWM4_DE_DEMONTRIP |
G8 | 4 | EPWM5_DE_DEMONTRIP |
G8 | 5 | EPWM6_DE_DEMONTRIP |
G8 | 6 | EPWM7_DE_DEMONTRIP |
G8 | 7 | EPWM8_DE_DEMONTRIP |
G8 | 8 | EPWM9_DE_DEMONTRIP |
G8 | 9 | EPWM10_DE_DEMONTRIP |
G8 | 10 | EPWM11_DE_DEMONTRIP |
G8 | 11 | EPWM12_DE_DEMONTRIP |
G8 | 12 | EPWM13_DE_DEMONTRIP |
G8 | 13 | EPWM14_DE_DEMONTRIP |
G8 | 14 | EPWM15_DE_DEMONTRIP |
G8 | 15 | EPWM16_DE_DEMONTRIP |
G8 | 16 | EPWM17_DE_DEMONTRIP |
G8 | 17 | EPWM18_DE_DEMONTRIP |
G8 | 18 | Reserved |
G8 | 19 | Reserved |
G8 | 20 | Reserved |
G8 | 21 | Reserved |
G8 | 22 | Reserved |
G8 | 23 | Reserved |
G8 | 24 | Reserved |
G8 | 25 | Reserved |
G8 | 26 | Reserved |
G8 | 27 | Reserved |
G8 | 28 | Reserved |
G8 | 29 | Reserved |
G8 | 30 | Reserved |
G8 | 31 | Reserved |
G9 | 0 | EPWM1_DE_ACTIVE |
G9 | 1 | EPWM2_DE_ACTIVE |
G9 | 2 | EPWM3_DE_ACTIVE |
G9 | 3 | EPWM4_DE_ACTIVE |
G9 | 4 | EPWM5_DE_ACTIVE |
G9 | 5 | EPWM6_DE_ACTIVE |
G9 | 6 | EPWM7_DE_ACTIVE |
G9 | 7 | EPWM8_DE_ACTIVE |
G9 | 8 | EPWM9_DE_ACTIVE |
G9 | 9 | EPWM10_DE_ACTIVE |
G9 | 10 | EPWM11_DE_ACTIVE |
G9 | 11 | EPWM12_DE_ACTIVE |
G9 | 12 | EPWM13_DE_ACTIVE |
G9 | 13 | EPWM14_DE_ACTIVE |
G9 | 14 | EPWM15_DE_ACTIVE |
G9 | 15 | EPWM16_DE_ACTIVE |
G9 | 16 | EPWM17_DE_ACTIVE |
G9 | 17 | EPWM18_DE_ACTIVE |
G9 | 18 | Reserved |
G9 | 19 | Reserved |
G9 | 20 | Reserved |
G9 | 21 | Reserved |
G9 | 22 | Reserved |
G9 | 23 | Reserved |
G9 | 24 | Reserved |
G9 | 25 | Reserved |
G9 | 26 | Reserved |
G9 | 27 | Reserved |
G9 | 28 | Reserved |
G9 | 29 | Reserved |
G9 | 30 | Reserved |
G9 | 31 | Reserved |