Comprehensive PWM (Pulse Width Modulation) blocks for motor control, power conversion, and signal generation across all MCHP Blockset supported families.

Device Family Support:

dsPIC Family PWM Blocks

  • MCHP_PWM - Standard PWM for dsPIC30F/33F/33E with dead-time and fault protection
  • MCHP_PWM_HighSpeed - High-Speed PWM with independent time bases and 4 output modes (dsPIC33C/CH/CK)
  • MCHP_PWM_HighSpeed_Override - PWM Override Control for emergency shutdown and diagnostics
  • MCHP_PWM_HS_FEP - High-Speed PWM with Fine Edge Positioning, 16× resolution High-Resolution mode (dsPIC33A)

Motor Control PWM

  • MCHP_MCPWM - Motor Control PWM with advanced fault handling, dead-time compensation, and leading-edge blanking (PIC32MK, dsPIC33C, dsPIC33A)

SAM/ARM Family PWM Blocks

  • MCHP_PWM_SAM7x - SAM7x PWM peripheral for SAME5x/SAME7x/SAMC2x/SAMD2x families
  • MCHP_PWM_SAM7x_Override - SAM7x Override control for PWM outputs
  • MCHP_TCC_PWM - Timer/Counter for Control PWM with pattern generation for BLDC motors (SAME5x, SAMC2x, SAMD2x)

Common Features

  • Output Modes: Complementary, Redundant, Push-Pull, Independent
  • Alignment: Edge-aligned, Center-aligned (symmetric/asymmetric)
  • Dead-Time: Configurable insertion for shoot-through protection
  • Fault Protection: Hardware fault inputs with configurable response
  • ADC Synchronization: Trigger outputs for precise current sampling
  • High Resolution: Up to 16× enhanced timing precision (selected blocks)

See Also