SDAA040 July 2025 MSPM0C1104
The waveform generator is required to obtain the reference PWM for testing. The waveform generator can also be replaced by another MCU or DSP which can generate the accurate PWM. Connect the PWM signal to PA23 and GND to LP-MSPM0C1104. Connect the LP-MSPM0C1104 to a PC through a micro-USB cable, as shown in Figure 4-1.
The demo code can be downloaded through E2E forum, the forum link is attached in the References section. Add predefined symbols Capture_CC then click Build to debug the PWM signal capture with TIMx CC block, or add predefined symbols Capture_IO then click Build to debug the PWM signal capture with GPIO interrupt. The Timer Clock Prescaler is set to 5 and Desired Timer Period is set to 12ms in the project to capture the 100Hz frequency PWM.
Figure 4-1 Hardware Setup for
Test