Zen Peripherals · Analog Control & Power · brief · 2026-11-04

A motor-control PWM that cannot shoot through its own half-bridges

The Zen Motor-Control PWM is a purpose-built controller for motor drive and power conversion — four complementary output pairs from a shared counter, each pair guarded by hardware dead-time so the high- and low-side switches of a half-bridge can never conduct at once. An asynchronous fault/brake input forces every output to a safe state within two cycles and latches there until software clears it. It is for integrators building inverters, synchronous converters, and safety-critical drives. Product / integrator view; every number is sourced from the product datasheet or marked TBC.

1. The PWM in one paragraph

A prescaled counter runs center-aligned (up/down — the motor-control default, symmetric with lower harmonics) or edge-aligned (up/wrap), shared across all channels. Each channel compares that counter against its own duty register to form a raw waveform, which feeds a per-channel dead-time inserter: on every edge, both sides of the pair are forced inactive for the dead band before the turning-on side asserts. The output stage then drives a complementary pair (pwm_h / pwm_l) per channel, gated by a safety layer that answers an async fault/brake input — one wire from a gate-driver desat or over-current comparator forces all outputs safe and freezes the counter, latched until software clears it.

4 pairscomplementary H/L outputs (NUM_CH default)
≤ 2 cycfault → all outputs safe, latched
16-bitperiod + per-channel duty resolution
0–255programmable dead-time, in counter ticks
hostloads period / duty countercenter / edge compareper-ch duty dead-timeboth-off band safety gateenable · polarity power stagehalf-bridges fault / brake pwm_h / pwm_l
Figure 1. The PWM datapath: a shared prescaled counter feeds per-channel compare, dead-time insertion, and a safety-gated output stage driving complementary pairs — with the host loading duty over the bus and the power stage asserting fault/brake.
Shoot-through is a hardware guarantee, not a software convention. Every clock, across all channels and both alignments, the high- and low-side of a pair are proven never simultaneously active — the dead band forces both off on each edge, and polarity inversion applies to both pins together, preserving the rule.
The safe state follows your polarity. With active-high polarity the safe state is both-pins-low; inverted polarity makes it both-pins-high. Wire the gate-driver's expected disable level to match, or a fault could command the opposite of off.

2. What it is, at a glance

ElementDetailDefaultStatus
Complementary pairsper-channel pwm_h / pwm_l from a shared counter4exists
Counter alignmentcenter (up/down) or edge (up/wrap), per channel-wide controlcenterexists
Period / duty width16-bit period; 16-bit per-channel compare16-bitexists
Dead-time insertionboth sides forced off each edge, in counter ticks0–255exists
Async fault/brakefault_i, sticky latch, or SW force-off → all outputs safe—exists
Fault responseoutputs safe and counter frozen, latched until SW-clear≤ 2 cycexists
Output polarityactive-high or inverted, both pins togetheractive-highexists
Prescalertick every PRESC+1 clocks, divide up to 6553616-bitexists
Interruptone line — period event + fault, each maskable1exists
Max PWM frequency at nodedepends on characterized clockTBCTBC

Sources: Zen PWM product datasheet — overview, features, functional, performance, register map.

3. How a client uses it

  1. Instantiate the core and tie each complementary pair to a half-bridge gate driver; wire the power stage's fault signal (desat, over-current, over-temp, or e-stop) into fault_i.
  2. Configure period, prescaler, and dead-time; pick center-aligned for a motor bridge or edge-aligned for a converter; set polarity to match the gate driver's disable level.
  3. Run and regulate — update each channel's duty from the control loop, typically once per period on the period interrupt; enable channels individually.
  4. React to faults — on fault_i or a software brake, hardware forces every output safe within two cycles and holds there; software reads the latch, acts, and writes fault-clear to resume once the counter restarts clean.
Sized for a three-phase bridge. Three pairs drive the three phase legs with a fourth spare for a brake-chopper or dump leg; center-aligned counting gives the symmetric, low-harmonic waveforms a motor wants.

4. Verification & provenance

Sources read

Sources: Zen PWM product datasheet — overview, features & compliance, applications, functional overview, performance, register map, verification & deliverables, ordering & licensing; as-built RTL.