A controller moves a PWM edge with the STM32G4 HRTIM and loops the output into capture. Several minimum steps pass without a capture count changing. ST's 184 ps figure concerns high-resolution output adjustments such as period, duty, or phase. Input capture still timestamps on the regular clock. They use different time grids.
The output DLL subdivides one regular input period
At a 170 MHz timer input, one regular period is about 5.882 ns. The DLL subdivides it into 32 steps of about 0.1838 ns. Moving eight steps is about 1.47 ns. The capture input still counts at 5.882 ns intervals. Depending on phase, the same adjustment can remain in one capture bin or cross the next. Both are compatible with a functioning output DLL. At 100 MHz, the fine step is about 312.5 ps and the regular interval is 10 ns. The 184 ps figure does not represent capture accuracy at every clock setting.
The output phase budget has other terms. A 100 ppm clock error over a nominal 500 ns width is about 0.05 ns. Half a fine step at 170 MHz is about 0.092 ns. Buffers, load and gate-driver delay can move the observed edge further. These examples are calculations, not board results. Identify whether acceptance refers to the MCU pin or the actual downstream receiver. Comparing code to the pin leaves the downstream delay for a separate test. A requirement at the final load has to include that path.
Calibrate before enabling the fine output
ST calls for DLL calibration before starting HRTIM and describes a 100 to 170 MHz DLL input range in its training material. Verify the actual clock tree, output enable order and calibration readiness. After changing the crystal or PLL, a new counter value can restore average PWM frequency while its fine step, DLL conditions and startup still change. If the controller switches clocks in a power mode, put the load in a defined state and follow the device's documented timer recovery. Recheck dead-time or phase settings on every relevant path.
Compare two low-voltage outputs with suitable instrumentation, one fixed and one adjusted. Correct channel skew, then measure eight, sixteen and thirty-two fine steps over more than one regular period. The high-resolution behavior can be observed with the power load disconnected, with the driver and load tested separately under controlled conditions. If a single edge measurement is noisier than one step, use repeated samples and a multistep fit to see average movement. Record the actual resolution of the measurement. Preserve single-shot and exception captures where minimum separation matters; an average obscures occasional pulse errors.
For input timestamps, choose an architecture based on the actual capture resolution. A loopback comparison only places the edge in a regular-clock bin. Report timestamps in meaningful units instead of adding decimal places beyond the hardware information. In a loop that adjusts future outputs from capture data, compare input quantization with output step size so one coarse reading cannot induce needless swings of many fine steps.
Save clock source and PLL settings, calibration readiness, quantization and output test points, along with a separate capture check. Retest cold start, steady operation, and supported clock transitions. Qualify output positioning and input event measurement against their own limits.
Capture the last old-rate pulse and first new-rate pulse during a clock change. Steady-state measurements can miss a single short pulse on enable. Record fault behavior and output state before clock readiness. If two outputs must never overlap, the fine step is only one input to the design. Verify minimum separation through startup, clock changes and controlled shutdown.
