Scenario A:
A one-shot trip event on TZ1 pulls the MCPWM1_yA, MCPWM1_yB outputs low.
- Configure the MCPWM1 registers as follows:
- TZSEL[OST1] = 1: enables TZ1 as a one-shot event source for MCPWM1
- TZCTL[TZA] = 2: MCPWM1_yA is forced low on a trip event.
- TZCTL[TZB] = 2: MCPWM1_yB is forced low on a trip event.
Scenario B:
A cycle-by-cycle event on TZ1 or TZ6 puts MCPWM1_yA into a high-impedance state, MCPWM1_yB is unaffected.
- Configure the MCPWM1 registers as follows:
- TZSEL[CBC1] = 1: enables TZ1 as a cycle-by-cycle event source for MCPWM1
- TZSEL[CBC6] = 1: enables TZ6 as a cycle-by-cycle event source for MCPWM1
- TZCTL[TZA] = 0: MCPWM1_yA is put into a high-impedance state on a trip event.
- TZCTL[TZB] = 3: MCPWM1_yB ignores the trip event.
Note: When configuring the GPIOs and INPUT X-BAR/MCPWM X-BAR options, be aware that a change in the X-BAR input selections can cause an unwanted event. Therefore, set up the GPIO and X-BAR input configurations before enabling the MCPWM Trip-Zone. If a requirement is to change the GPIO/X-BAR configurations while the MCPWM Trip-Zone is enabled, the user can turn off the TRIPs by clearing the TZSEL register and reconfiguring the TRIP selection (TZSEL) after the INPUT X-BAR selection is changed.