Home
Video library

PWM Capture Techniques: Dual-Mode Frequency and Duty Cycle Measurement on MSPM0G3507

00:14:23 | 04 AUG 2025

This demo measures PWM parameters via two methods. Firstly, GPIO interrupt mode using edge-triggered ISRs calculate pulse intervals. Secondly, hardware capture mode using TIMG module auto-logs edge timestamps for period and duty computation. PWM signals generated from PB0 are routed to PA12 via jumper, with serial commands dynamically adjusting frequency and duty cycle using Set_Freq_Duty(). Real-time data validates hardware capture's advantages in high-frequency scenarios.

Resources

  • arrow-right Order LP-MSPM0G3507 to start developing
download

Browse videos

View all videos
View all videos
Products
  • Amplifiers
  • Audio, haptics & piezo
  • Clocks & timing
  • DLP products
  • Data converters
  • Die & wafer services
  • Interface
  • Isolation
  • Logic & voltage translation
  • Microcontrollers (MCUs) & processors
  • Motor drivers
  • Power management
  • RF & microwave
  • Sensors
  • Switches & multiplexers
  • Wireless connectivity
Applications
  • Automotive
  • Communications equipment
  • Data center
  • Industrial
  • Personal electronics