Logo
← ToolsCH32V003 + Embeetle Tutorial →

Si5351A Workbench

CJMCU-5351
PRESETS:
XTAL & Load Cap Reg 18325,000,000 Hz
Calib Trim SW f_XTAL0.0 Hz
ppm
Fanout (Reg 187)0x50
PLLA (MSNA) R26–33IN SPEC
800.000000 MHz
32 (Int)CLK0
PLLB (MSNB) R34–41IN SPEC
800.000000 MHz
32 (Int)CLK1

Output Phase & Waveform Scope

Auto
■ CH0 (CLK0): 14.20M■ CH1 (CLK1): 10.70M■ CH2 (CLK2): OFF
XTAL → PLLA/B → MS0..2 → R-Div
?

Si5351A Workbench — Complete Controls & Settings Help Tutorial

Plain-English guide to every switch, slider, option, register bitfield, and real-world use case.

1. Disable State (Dis R24[1:0] / [3:2] / [5:4]) & Polarity Invert (R16/17/18[4])

Reg 24 (0x18) · Reg 3 (OEB) · Reg 16–18

Disable State (Dis) controls what electrical state each clock pin (CLK0=R24[1:0], CLK1=R24[3:2], CLK2=R24[5:4]) holds whenever the output is disabled via Reg 3 (Output Enable Mask OEB) or the hardware OEB pin. Try switching CH2 (or CH0) to Off / Disabled and changing Dis to watch its dashed line move on the oscilloscope:

Low (0V)00b

Actively pulls the pin to GND (0V) when disabled. Best general-purpose default for digital clock inputs and RF mixers so the trace never floats or picks up stray noise.

High (3.3V)01b

Actively drives the pin to VDD (3.3V) when disabled. Use for active-low logic, pull-up-style resting states, or downstream gates that expect a logic-1 idle level.

High-Z10b

Tri-states (disconnects) the output buffer so the pin floats at high impedance. Use when sharing a clock bus with another oscillator, reducing load capacitance, or avoiding DC current into 50 Ω loads.

Never (PDN=1)11b

Tells hardware to ignore Reg 3 (OEB) so the output stays permanently enabled during OEB blanking (e.g., an MCU main clock). Note: Setting Mode = Off in this tool still sets CLKx_PDN=1 (Reg 16+i[7]), which powers down the driver completely.

Normal 0° / INV 180° (Reg 16/17/18 [bit 4], CLKx_INV): Hardware-inverts the output waveform by an exact 180° inside the output buffer with zero PLL phase error. Essential for push-pull drivers, balanced RF mixers, and 180° differential clock pairs. Switch the scope to Trig to watch the rising edge flip immediately to a falling edge.

2. Channel Operating Modes (All 8 Modes)

Reg 3 · Reg 16–18 · Reg 165–167
  • Off / Disabled: Sets Reg 3 (OEB=1) and Reg 16+i[7]=1 (PDN). Pin rests at the state chosen in Dis R24.
  • Fractional MultiSynth: Default mode. Uses fractional divider a + b/c (8..1800) to generate virtually any frequency to sub-Hz precision.
  • Integer Low-Jitter Mode: Locks an even-integer MultiSynth (MSx_INT=1, Reg 16+i[6]) for minimal spurs and lowest phase noise (best for VFOs/MCU clocks).
  • Quadrature I/Q 90° (CLK0+1): Couples CH0 & CH1 on PLLA at equal frequency and writes Reg 166 (CLK1_PHOFF) for an exact 90° SDR quadrature local oscillator.
  • Custom Phase Offset (0°–360°): Unlocks the Phase slider to delay the channel in T_VCO / 4 steps via Reg 165–167 (applied on Reg 177 PLL soft-reset).
  • Differential Pair (180° Inv): Couples CH0 & CH1 at equal frequency on PLLA and forces Reg 17[4] (CLK1_INV=1) for complementary differential clocks.
  • Spread Spectrum (PLLA EMI): Enables Reg 149–161 (SSC_EN=1) on PLLA to dither frequency by 0.1%–2.5% (Down-spread or Center-spread via Reg 151[7]) and cut EMI peaks.
  • Direct XTAL Bypass: Routes the crystal straight to the output buffer (CLKx_SRC=00), bypassing PLL & MultiSynth. Requires XO Fanout (Reg 187[6]=1).

3. Frequency Tuning Controls & PLL Select

Reg 42–65 (MS0–2) · Reg 16–18[5]
  • PLL Select (PLLA / PLLB, Reg 16+i[5]): Chooses which 600–900 MHz VCO drives MultiSynth MSx. Use separate PLLs for independent frequencies, or share one PLL when phase-locking two outputs.
  • Quick Presets (8k .. 145M) & Direct Hz Input: Jump straight to common RF/IF bands or type any exact frequency from 1,000 Hz to 225,000,000 Hz. Above 150 MHz, the Si5351A automatically enters DIVBY4 mode (MS=÷4).
  • Band Sweep (Log Slider) & Step (10 .. 1M): Smoothly sweeps 8 kHz – 160 MHz logarithmically; Step buttons set the increment used by the - / + nudge buttons.
  • Fine Trim (±50 kHz, 10 Hz step): Works like a radio VFO clarifier/RIT, adding an offset to baseHz. At 14.2 MHz, ±50 kHz is a fine ±0.35% shift; at 100 kHz, it sweeps a full 3× (50–150 kHz) across the scope.
  • Output Readout Box: Shows the actual hardware frequency after rational approximation, exact error in Hz / ppb, divider parameters (MSx & R), live register hex bytes, and hardware limit warnings.

4. Phase, Drive Strength & R-Div Sliders

Reg 165–167 · Reg 16–18[1:0] · Reg 44/52/60[6:4]
  • Phase (Reg 165/166/167, CLKx_PHOFF[6:0]): Sets initial phase delay in T_VCO / 4 increments (0..127). Because the register is 7-bit (max 127), very low frequencies with huge dividers clamp at 127 steps. Always requires a PLL Soft Reset (Reg 177) to latch.
  • Drive (Reg 16/17/18[1:0], CLKx_IDRV): Output buffer current:2mA (00) = lowest power & softest harmonics;4mA (01) = standard PCB logic;6mA (10) = capacitive/coax loads;8mA (11) = max swing (~10 dBm into 50 Ω) & fastest edges. Visible directly as vertical wave height on the scope!
  • R-Div (Reg 44/52/60[6:4], Rx_DIV[2:0]): Post-MultiSynth power-of-2 divider (Auto, /1 to /128). Required below 500 kHz because MultiSynth max divider is 1800 (fractional) / 2048 (integer)—so in Integer mode Auto keeps /1 down to ≈293 kHz (600 MHz ÷ 2048). Leave on Auto unless testing hardware limits—forcing too high an R-Div at MHz hits the 900 MHz VCO cap, while forcing /1 at 8 kHz clamps at MS=÷1800.

5. Global XTAL, Calib Trim, Fanout & PLL Telemetry

Reg 183 · Reg 187 · Reg 26–41
  • XTAL & Load Cap (Reg 183 / 0xB7): Sets your board's crystal (25 MHz on CJMCU-5351, 27 MHz, or custom 10–40 MHz) and connects internal 6pF / 8pF / 10pF load capacitors (XTAL_CL[7:6]) across XA/XB with no external caps needed.
  • Calib Trim (±500 ppm): Software crystal calibration (f_eff = f_xtal × (1 + ppm/10⁶)). Measure a known output (e.g. 10 MHz) on a counter and dial in the ppm offset so all 3 channels synthesize true frequency.
  • Fanout (Reg 187 / 0xBB): XO [b6] routes XTAL directly to outputs (needed for Bypass); MS0/4 [b4] allows sharing MultiSynth 0/4 across clocks; CLKIN [b7] is Si5351C-only (keep OFF on Si5351A).
  • PLLA & PLLB Telemetry Cards (Reg 26–41): Live VCO frequency (datasheet spec 600–900 MHz, shown as IN SPEC), multiplier ratio (Int vs fractional), active channel users, and SS Spread Spectrum indicator.

6. Live Oscilloscope, System Presets & Workspace Tabs

True Timebase · Signal Routing · C Export
  • Time/Div (Auto (Real), 1 ns/div–100 µs/div, Log): Real shared 10-division horizontal timebase showing exact frequency ratios. Fast channels (e.g. 160 MHz beside 38 kHz) render as a peak-detect HF BAND until you zoom Time/Div down to 2 ns/div.
  • Free / Trig & Pause: Free runs continuously like a live scope; Trig locks a rising edge at Division 1 (T) so you can inspect exact pulse widths, 90° I/Q shifts, and INV 180° flips. Pause freezes the display.
  • Top Presets (HF VFO+BFO, I/Q 90°, 2m VHF+IF, Diff 180°, SpreadSpec): One-click real-world RF & digital clock configurations to explore how PLLs, MultiSynth dividers, phase offsets, and inversion work together.
  • 5 Bottom Tabs: Signal Routing (live block diagram), Register Map (hex/binary Reg 0–187), C Code Export (ready-to-compile CH32V003 / Arduino / STM32 / Raw headers), Datasheet & Regs (AN619 formulas + live values), and Embeetle + WCH (wiring & flashing guide).

7. Si5351A Register Bitfields & Live Register Map (AN619)

Exact hardware register addresses, bit layout [7:0], and live values synced with your current workbench settings.

Reg (Dec / Hex)NameBitfield Layout [7:0]Live Value
Live I²C Register Map Dump (Reg 0 – Reg 187)I²C 7-bit Addr: 0x60 (Write 0xC0 / Read 0xC1)
DecHexValueBinary [7:0]Register Function & Bitfields