Output X-BAR
The crossbars (X-BARs) provides flexibility to connect device inputs, outputs, and internal resources in a variety of configurations using Input X-BAR, Output X-BAR, and ePWM X-BAR.
Note
The F2807x, F2837x, F2838x, F28002x, F28004x, F28003x, F280013x, F280015x, F2838x and F28P65x processors support ePWM X-BAR. For more information, refer to TI Technical Reference Manual of there respective processors.
Output X-BAR takes signals from inside the device and brings them out to a GPIO. The Output X-BAR contains eight outputs. The signals which is passed to the GPIO comes from the Multiplexer(MUX). Each output has 32 MUX and you can select one signal per MUX.
- OUTPUT# MUX select
Select the MUX to map the signal to the MUX output. OUTPUT# MUX select value ranges based on the processor selected.
Selecting
Disable all
will indicate that all MUXes are disabled and the Output X-BAR# is not configured.Note
OUTPUT# MUX select will not have MUX entries whose inputs are all reserved.
- Select MUX input
Select the signal to the MUX selected in
OUTPUT# MUX select
.Select the input signals for the MUX which is sent to the GPIO. You can select one signal per MUX. The input signal to the MUX varies based on the MUX selected and processor.
The following table lists the OUTPUT MUX select and Select MUX input for C28x processor F2838x. The row headers 0-3 represent the Select MUX input and column headers 0-31 represent the OUTPUT MUX select.
Output X-BAR Mux Configuration Table - F2838x
Select MUX INPUT 0 1 2 3 OUTPUT# MUX select 0 CMPSS1.CTRIPOUTH CMPSS1.CTRIPOUTH_OR_ CTRIPOUTL ADCAEVT1 ECAP1.OUT 1 CMPSS1.CTRIPOUTL INPUTXBAR1 CLB1_4.1 ADCCEVT1 2 CMPSS2.CTRIPOUTH CMPSS2.CTRIPOUTH_OR_ CTRIPOUTL ADCAEVT2 ECAP2.OUT 3 CMPSS2.CTRIPOUTL INPUTXBAR2 CLB1_5.1 ADCCEVT2 4 CMPSS3.CTRIPOUTH CMPSS3.CTRIPOUTH_OR_ CTRIPOUTL ADCAEVT3 ECAP3.OUT 5 CMPSS3.CTRIPOUTL INPUTXBAR3 CLB2_4.1 ADCCEVT3 6 CMPSS4.CTRIPOUTH CMPSS4.CTRIPOUTH_OR_ CTRIPOUTL ADCAEVT4 ECAP4.OUT 7 CMPSS4.CTRIPOUTL INPUTXBAR4 CLB2_5.1 ADCCEVT4 8 CMPSS5.CTRIPOUTH CMPSS5.CTRIPOUTH_OR_ CTRIPOUTL ADCBEVT1 ECAP5.OUT 9 CMPSS5.CTRIPOUTL INPUTXBAR5 CLB3_4.1 ADCDEVT1 10 CMPSS6.CTRIPOUTH CMPSS6.CTRIPOUTH_OR_ CTRIPOUTL ADCBEVT2 ECAP6.OUT 11 CMPSS6.CTRIPOUTL INPUTXBAR6 CLB3_5.1 ADCDEVT2 12 CMPSS7.CTRIPOUTH CMPSS7.CTRIPOUTH_OR_ CTRIPOUTL ADCBEVT3 ECAP7.OUT 13 CMPSS7.CTRIPOUTL ADCSOCA CLB4_4.1 ADCDEVT3 14 CMPSS8.CTRIPOUTH CMPSS8.CTRIPOUTH_OR_ CTRIPOUTL ADCBEVT4 EXTSYNCOUT 15 CMPSS8.CTRIPOUTL ADCSOCB CLB4_5.1 ADCDEVT4 16 SD1FLT1.COMPH SD1FLT1.COMPH_OR_ COMPL Reserved Reserved 17 SD1FLT1.COMPL Reserved CLB5_4.1 CPU1.CLA1HALT 18 SD1FLT2.COMPH SD1FLT2.COMPH_OR_ COMPL Reserved ECATSYNC0 19 SD1FLT2.COMPL Reserved CLB5_5.1 ECATSYNC1 20 SD1FLT3.COMPH SD1FLT3.COMPH_OR_ COMPL Reserved Reserved 21 SD1FLT3.COMPL Reserved CLB6_4.1 Reserved 22 SD1FLT4.COMPH SD1FLT4.COMPH_OR_ COMPL Reserved Reserved 23 SD1FLT4.COMPL INPUTXBAR10 CLB6_5.1 Reserved 24 SD2FLT1.COMPH SD2FLT1.COMPH_OR_ COMPL Reserved Reserved 25 SD2FLT1.COMPL Reserved Reserved CLB7_4.1 26 SD2FLT2.COMPH SD2FLT2.COMPH_OR_ COMPL Reserved Reserved 27 SD2FLT2.COMPL Reserved ERRORSTS.ERROR CLB7_5.1 28 SD2FLT3.COMPH SD2FLT3.COMPH_OR_ COMPL XCLKOUT Reserved 29 SD2FLT3.COMPL Reserved Reserved CLB8_4.1 30 SD2FLT4.COMPH SD2FLT4.COMPH_OR_ COMPL Reserved Reserved 31 SD2FLT4.COMPL Reserved Reserved CLB8_5.1 Output X-BAR Mux Configuration Table - F28004x
Select MUX INPUT 0 1 2 3 OUTPUT# MUX select 0 CMPSS1.CTRIPOUTH CMPSS1.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT1 ECAP1OUT 1 CMPSS1.CTRIPOUTL INPUTXBAR1 CLB1_OUT4 ADCCEVT1 2 CMPSS2.CTRIPOUTH CMPSS2.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT2 ECAP2OUT 3 CMPSS2.CTRIPOUTL INPUTXBAR2 CLB1_OUT5 ADCCEVT2 4 CMPSS3.CTRIPOUTH CMPSS3.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT3 ECAP3OUT 5 CMPSS3.CTRIPOUTL INPUTXBAR3 CLB2_OUT4 ADCCEVT3 6 CMPSS4.CTRIPOUTH CMPSS4.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT4 ECAP4OUT 7 CMPSS4.CTRIPOUTL INPUTXBAR4 CLB2_OUT5 ADCCEVT4 8 CMPSS5.CTRIPOUTH CMPSS5.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT1 ECAP5OUT 9 CMPSS5.CTRIPOUTL INPUTXBAR5 CLB3_OUT4 Reserved 10 CMPSS6.CTRIPOUTH CMPSS6.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT2 ECAP6OUT 11 CMPSS6.CTRIPOUTL INPUTXBAR6 CLB3_OUT5 Reserved 12 CMPSS7.CTRIPOUTH CMPSS7.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT3 ECAP7OUT 13 CMPSS7.CTRIPOUTL ADCSOCAO CLB4_OUT4 Reserved 14 Reserved Reserved ADCBEVT4 EXTSYNCOUT 15 Reserved ADCSOCBO CLB4_OUT5 Reserved 16 SD1FLT1.COMPH SD1FLT1.COMPH_OR_COMPL Reserved Reserved 17 SD1FLT1.COMPL Reserved Reserved CLAHALT 18 SD1FLT2.COMPH SD1FLT2.COMPH_OR_COMPL Reserved Reserved 19 SD1FLT2.COMPL Reserved Reserved Reserved 20 SD1FLT3.COMPH SD1FLT3.COMPH_OR_COMPL Reserved Reserved 21 SD1FLT3.COMPL Reserved Reserved Reserved 22 SD1FLT4.COMPH SD1FLT4.COMPH_OR_COMPL Reserved Reserved 23 SD1FLT4.COMPL Reserved Reserved Reserved Output X-BAR Mux Configuration Table - F2807x and F2837x
Select MUX INPUT 0 1 2 3 OUTPUT# MUX select 0 CMPSS1.CTRIPOUTH CMPSS1.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT1 ECAP1OUT 1 CMPSS1.CTRIPOUTL INPUTXBAR1 CLB1_OUT4 ADCCEVT1 2 CMPSS2.CTRIPOUTH CMPSS2.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT2 ECAP2OUT 3 CMPSS2.CTRIPOUTL INPUTXBAR2 CLB1_OUT5 ADCCEVT2 4 CMPSS3.CTRIPOUTH CMPSS3.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT3 ECAP3OUT 5 CMPSS3.CTRIPOUTL INPUTXBAR3 CLB2_OUT4 ADCCEVT3 6 CMPSS4.CTRIPOUTH CMPSS4.CTRIPOUTH_OR_CTRIPOUTL ADCAEVT4 ECAP4OUT 7 CMPSS4.CTRIPOUTL INPUTXBAR4 CLB2_OUT5 ADCCEVT4 8 CMPSS5.CTRIPOUTH CMPSS5.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT1 ECAP5OUT 9 CMPSS5.CTRIPOUTL INPUTXBAR5 CLB3_OUT4 ADCDEVT1 10 CMPSS6.CTRIPOUTH CMPSS6.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT2 ECAP6OUT 11 CMPSS6.CTRIPOUTL INPUTXBAR6 CLB3_OUT5 ADCDEVT2 12 CMPSS7.CTRIPOUTH CMPSS7.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT3 13 CMPSS7.CTRIPOUTL ADCSOCAO CLB4_OUT4 ADCDEVT3 14 CMPSS8.CTRIPOUTH CMPSS8.CTRIPOUTH_OR_CTRIPOUTL ADCBEVT4 EXTSYNCOUT 15 CMPSS8.CTRIPOUTL ADCSOCBO CLB4_OUT5 ADCDEVT4 16 SD1FLT1.COMPH SD1FLT1.COMPH_OR_COMPL Reserved Reserved 17 SD1FLT1.COMPL Reserved Reserved Reserved 18 SD1FLT2.COMPH SD1FLT2.COMPH_OR_COMPL Reserved Reserved 19 SD1FLT2.COMPL Reserved Reserved Reserved 20 SD1FLT3.COMPH SD1FLT3.COMPH_OR_COMPL Reserved Reserved 21 SD1FLT3.COMPL Reserved Reserved Reserved 22 SD1FLT4.COMPH SD1FLT4.COMPH_OR_COMPL Reserved Reserved 23 SD1FLT4.COMPL Reserved Reserved Reserved 24 SD2FLT1.COMPH SD2FLT1.COMPH_OR_COMPL Reserved Reserved 25 SD2FLT1.COMPL Reserved Reserved Reserved 26 SD2FLT2.COMPH SD2FLT2.COMPH_OR_COMPL Reserved Reserved 27 SD2FLT2.COMPL Reserved Reserved Reserved 28 SD2FLT3.COMPH SD2FLT3.COMPH_OR_COMPL Reserved Reserved 29 SD2FLT3.COMPL Reserved Reserved Reserved 30 SD2FLT4.COMPH SD2FLT4.COMPH_OR_COMPL Reserved Reserved 31 SD2FLT4.COMPL Reserved Reserved Reserved Note
Ensure the selected MUX input peripheral is enabled.
- OUTPUT# MUX (MUX 0 -> 31)
Indicates the input signal selected for each output# MUX. For example,
XXXX1XXXXXXXXXXXXXXXXXXXXXXXXXX
indicates that input signal 1 was selected for MUX 4.X
indicates that the MUX is disabled and no signal from the MUX will be sent to the Output X-BAR output.All the signals which are selected will be logically OR'd and sent to the output signal on the GPIO pin.
- OUTPUT# MUX (MUX 32 -> 63):
Indicates the input signal selected for each output# MUX.
X
indicates that the MUX is disabled and no signal from the MUX will be sent to the Output X-BAR output.All the signals which are selected will be logically OR'd and sent to the output signal on the GPIO pin.
Note
This parameter is only available for TI F28P65x processor.
- RESET OUTPUT# MUX
Resets the signal selection for the MUX done so far.
Resets the OUTPUT# MUX (MUX 0->31) and Select MUX input inputs.
- OUTPUT# pin assignment
Select the GPIO pin to which the selected signals will be passed to. All signals from the MUXes which are enabled will be logically OR'd before being passed on to the respective OUTPUTx signal on the GPIO pin.
- Enable OUTPUT# latch
Enable the output latch to latch the output signal on the GPIO pin. Latch signal has to be cleared manually.
- Invert OUTPUT#
Select to invert the output signal to the GPIO pin.