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.

[FAQ] MSPM0L1106: Method to generate Active Low Complementary PWM from single timer-G (TIMG0)

Part Number: MSPM0L1106
Other Parts Discussed in Thread: MSPM0L1306, SYSCONFIG

The Dead Band feature for PWM generation is only supported in the TIMAx instances of timers and not supported in TIMGx instances available in MSPM0 devices.

 The following changes can be done to the timx_timer_mode_pwm_edge_sleep project for M0Lx devices to add Active Low Complementary PWM on MSPM0L1306 launchpad (LP‑MSPM0L1306).

CCACT is not available in SYSconfig for configuration, and so add following code in main.c

 

SYSCFG_DL_init();

    *(unsigned int *)0x40085854 = 0x00000440;

    DL_TimerG_startCounter(PWM_0_INST);

OUTPUT: