SDAA028 June 2025 MSPM0C1104 , MSPM0C1105 , MSPM0C1106 , MSPM0G1106 , MSPM0G1107 , MSPM0G1506 , MSPM0G1507 , MSPM0G1518 , MSPM0G1519 , MSPM0G3106 , MSPM0G3106-Q1 , MSPM0G3107 , MSPM0G3107-Q1 , MSPM0G3506 , MSPM0G3506-Q1 , MSPM0G3507 , MSPM0G3507-Q1 , MSPM0G3518 , MSPM0G3518-Q1 , MSPM0G3519 , MSPM0G3519-Q1 , MSPM0H3216 , MSPM0L1306
This application note provides implementations to address applications that need to capture a PWM signal with a duty cycle ranging from 0% to 100%. When using the MSPM0 microcontroller (MCU) to capture this signal, the timer capture function is typically employed. However, the timer cannot capture the duty cycle at 0% or 100% because the timer relies on edge-triggered events, and these extreme duty cycles lack detectable edges.