SPNS254A June 2022 – March 2024 TMS570LC4357-SEP
PRODUCTION DATA
Refer to the PDF data sheet for device specific package drawings
As shown in Figure 8-9, the ePWMxSOCA and ePWMxSOCB outputs from each ePWM module are used to generate four signals – ePWM_B, ePWM_A1, ePWM_A2, and ePWM_AB, that are available to trigger the ADC based on the application requirement.
CONTROL BIT | SOC OUTPUT |
---|---|
PINMMR164[0] | SOC1A_SEL |
PINMMR164[8] | SOC2A_SEL |
PINMMR164[16] | SOC3A_SEL |
PINMMR164[24] | SOC4A_SEL |
PINMMR165[0] | SOC5A_SEL |
PINMMR165[8] | SOC6A_SEL |
PINMMR165[16] | SOC7A_SEL |
The SOCA output from each ePWM module is connected to a "switch" shown in Figure 8-9. This switch is implemented by using the control registers in the PINMMR module. Figure 8-10 is an example of the implementation is shown for the switch on SOC1A. The switches on the other SOCA signals are implemented in the same way.
The logic equations for the four outputs from the combinational logic shown in Figure 8-9 are:
ePWM_B = | SOC1B or SOC2B or SOC3B or SOC4B or SOC5B or SOC6B or SOC7B | (1) |
ePWM_A1 = | [ SOC1A and not(SOC1A_SEL) ] or [ SOC2A and not(SOC2A_SEL) ] or [ SOC3A and not(SOC3A_SEL) ] or | (2) |
[ SOC4A and not(SOC4A_SEL) ] or [ SOC5A and not(SOC5A_SEL) ] or [ SOC6A and not(SOC6A_SEL) ] or | ||
[ SOC7A and not(SOC7A_SEL) ] | ||
ePWM_A2 = | [ SOC1A and SOC1A_SEL ] or [ SOC2A and SOC2A_SEL ] or [ SOC3A and SOC3A_SEL ] or | (3) |
[ SOC4A and SOC4A_SEL ] or [ SOC5A and SOC5A_SEL ] or [ SOC6A and SOC6A_SEL ] or | ||
[ SOC7A and SOC7A_SEL ] | ||
ePWM_AB = | ePWM_B or ePWM_A2 | (4) |