This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1306-Q1: Synchronization of PWM channels with fixed phase delay on MSPM0L1306+DRV8242

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.