Part Number: MSPM0L1306-Q1
Other Parts Discussed in Thread: MSPM0L1306
Hello,
We are using the MSPM0L1306 to control two DRV8242 motor drivers. Each driver is controlled via the IN/EN pin, and currently each IN/EN input is driven by a PWM channel from the MCU.
Our requirement is to generate two PWM outputs with the same frequency but with a fixed and deterministic phase delay between them (i.e., one PWM signal consistently shifted in time relative to the other).
We would like to understand:
- Is it possible to achieve a constant phase shift between two PWM channels on the MSPM0L1306?
- Can this be done using:
- Multiple channels from the same timer (e.g., using different CCR values)?
- Or does it require synchronization between different timers?
- If different timers are used, what is the recommended approach to ensure deterministic and drift-free synchronization (e.g., using event fabric or hardware triggering)?
The goal is to have both PWM signals:
- Running at the same frequency
- With a stable, cycle-to-cycle phase offset (no drift over time)
Any guidance on the recommended architecture or relevant examples would be appreciated.
Thanks in advance.