PWM — Pulse width modulation

nRF54L15 | nRF54L10 | nRF54L05 Datasheet

The pulse width modulation peripheral (PWM) enables the generation of pulse width modulated signals on GPIO. The peripheral implements a counter with up-count mode and up-and-down-count mode, consisting of four PWM channels that can drive assigned GPIO pins.

The main features of PWM are the following:

  • Programmable PWM frequency
  • Up to four PWM channels with individual polarity and duty cycle values
  • Edge or center-aligned pulses across PWM channels
  • Multiple duty cycle arrays (sequences) defined in RAM
  • Autonomous and glitch-free update of duty cycle values directly from memory through EasyDMA (no CPU involvement)
  • Change of polarity, duty cycle, and base frequency on every PWM period
  • RAM sequences can be repeated or connected into loops
Figure 1. PWM module
PWM module