Skip to the content.

E35 — Core LDO “performance” mode and V5F at 480 MHz

   
ID E35
Date 2026-12-04
Status done: LDO_VDDK = 5 is accepted (build option RP417_VDDK=5); V5F at 480 MHz (PLL ×40, HPRE 1) ran 4 min of checksummed V3F/V5F loops with 0 errors in both LDO settings, die ≤ 47 °C; default unchanged (×32, rated). The ×40 boot hang found here was explained and fixed in E37 (flash clock during SystemInit)
Decisions D116 (DECISIONS.md)
Board #1 (rev A, Y2 = 12 MHz), room temperature, no heatsink
Firmware + results fw/tests/2026-12-04-1-links bin/: rp417_ch32_mul40_vddk5_rl0.bin (performance mode, V5F 480), rp417_ch32_mul40_rated_rl0.bin (rated LDO, V5F 480, out of spec), rp417_ch32_mul32_vddk5.bin, rp417_ch32_mul40_hpre2.bin (does not boot, see below); raw: perf.txt, perfmode.txt
Scripts links_perf.py, clockspec.py (E21 suite, ×32 baseline)

Summary: DS V1.9 allows the V5F up to 500 MHz (V3F 200 MHz) when the core LDO is set to its “performance” level (SYS_CFGR0 at 0x5003C000, LDO_VDDK[6:4] = 101; commercial grade, Ta ≤ 70 °C). The rated level (011, the reset value read on board #1) allows 400 MHz. From the 12 MHz crystal the nearest PLL above 384 MHz is ×40 = 480 MHz. The firmware now writes LDO_VDDK before SystemInit, on HSI, then waits ≥ 200 µs (WCH EVT sequence). At 480 MHz the V5F measured 480.00 MHz (mcycle against SysTick) and both cores ran their benchmark loops for 4 minutes with identical checksums, in performance mode and at the rated setting alike. At room temperature this board shows no margin difference, so the default stays ×32 at the rated level.

Results

build LDO_VDDK (read back) V5F measured soak 4 min (passes / mismatches) die T start → max
×32, HPRE 1 (default) 3 (sys_cfgr0 c007983a) 384.00 MHz 680 / 0 38.9 → 44.1 °C
×40, HPRE 1, RP417_VDDK=5 5 (c007985a) 480.00 MHz 794 / 0 36.9 → 46.9 °C
×40, HPRE 1, rated (RP417_ALLOW_OVERCLOCK=1) 3 480.00 MHz 794 / 0 38.8 → 46.9 °C
×32, RP417_VDDK=5 5 (c007985a) boots, MCO 12 MHz — —

Each soak pass: v5f bench alu (V3F from flash + V5F) and v5f bench ram, results compared with the first pass, then ts. The ×32 baseline also passed the whole E21 suite (selftest, SD, ADC, HSADC, DVP 75 MS/s, flash checksum at every flash clock): perfmode.txt.

Lesson

Bisect a “does not boot” build against known-good binaries before reading anything into the setting under test: the first conclusion here would have been “480 MHz needs more than the performance LDO setting”, which was wrong.

Chip facts and numbers: fw/LEARNINGS.md. All experiments: index.