Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Diodes PI6CG33A06 crystal clock chain: Why do two devices need 40 shift bits?

The PI6CG33A06 takes a 25 MHz crystal or a suitable external reference to generate the board clocks. Its side-band configuration interface is a separate path. One device has a 20-bit side-band shift register; two wired in the documented daisy chain take 40 bits in a shared load window because the upstream SBI_OUT feeds the downstream SBI_IN. Six clock outputs do not mean a six-bit frame. Nor does a healthy 100 MHz differential output prove that the second device received the new configuration.

Identify the wiring before counting frames

In the documented star connection, devices share SBI_CLK and SBI_IN but have separate SHFT_LD# signals. Each device receives its own 20 bits when its control allows shifting; a device whose control is low ignores that activity. Two independent 20-bit transfers can therefore place 40 rising edges on the shared clock across two windows. Seeing 40 edges in a long capture does not identify a daisy chain. Capture both load signals.

In a daisy chain, the upstream SBI_OUT physically feeds the downstream SBI_IN and both share the load line. Data moves through the first device into the second, and the two devices commit the contents left in their respective 20-bit registers. Label the near and far devices from the actual netlist, not the board designators.

Wiring or observed stateOne valid windowFirst check
Single device20 active rising edgesCount the edges before load
Two devices in a star20 per selected deviceInspect the separate load controls
Two devices in the documented daisy chain40 in the shared windowTrace upstream OUT to downstream IN
Load control held lowNo effective shift edgesExclude idle activity or other transactions

Do not transmit 20 bits as three complete bytes

The manufacturer's bit-order drawing includes eight bits for Byte 0, eight for Byte 1 and the low four for Byte 2. These byte labels map configuration positions; they do not turn side-band transfers into a three-byte bus transaction. A three-byte software buffer is convenient, but do not clock the four unused bits. Sending three entire bytes per device produces 48 edges for a two-device chain, eight more than required. The extra edges move data within the chain; do not assume the part discards them outside the frame.

At the documented upper side-band clock rate of 25 MHz, one period is 40 ns. Twenty and forty complete periods occupy about 0.8 and 1.6 microseconds respectively. These are clock-burst estimates, not setup, hold, software delay, or end-to-end settling specifications. To isolate a bit-count error, capture the first and last real rising edges at a slower board-supported rate first. Correct the length before changing the rate, so a successful retest has a clear explanation.

Separate the shift edge from the commit edge

Use three landmarks in a capture: SHFT_LD# high opens the shift window; rising SBI_CLK edges sample the incoming bits; after the last bit, the clock is held low and the falling SHFT_LD# edge transfers the shift contents to the output-control register. The functional diagram shows separate shift and output registers. Capture SBI_CLK, the controller's SBI_IN and SHFT_LD#; on a two-device chain also capture the node connecting the devices. A controller write timestamp does not identify the load edge at the receiving device.

Use unused or otherwise safe bench outputs, retain a known-good configuration, and plan a rollback. Send two distinguishable patterns and record which device should get each. Identical payloads can hide an exchange of device positions. Different patterns help distinguish reversed payload groups, a short frame, a padded frame or no propagation to the downstream device. Check OE, SMBus enable and side-band masking only after the transaction itself is verified.

Record the transaction and the observable result separately

For production handoff, keep one set of evidence about the transfer: topology, effective pulse count, sample edge, last clock-low state and load falling edge. Keep another about the result: expected and observed device signatures and the response from any safe output being checked. If firmware reads the SBI output register over SMBus, label the raw latched value separately from the effective intent after applying its mask. Even a correct side-band value does not override other enable paths.

Classify each failure before touching the reference. Missing edges or a missing load edge point to the transaction. Correct edges with no signal at the second device's input point to the connection or probe location. Correct device signatures with an unresponsive output point to the other enable conditions or the selected functional test. A capture does not qualify the clock tree for its downstream standard, but it does stop a short side-band frame from being misdiagnosed as a defective crystal.

A useful log might say, “Far output expected to remain enabled, near output expected to disable; 40 edges seen and both devices loaded; near output changed and far output stayed enabled.” The unchanged far output is not enough to prove the far device can accept a new payload. On a suitable second run, swap which device changes or verify with individually distinguishable readbacks. Restore the original configuration and record that rollback so a bench frame does not become the field default.

FAQ

Why are two separately loaded 20-bit transfers not one 40-bit transfer?

A falling load edge between the two bursts makes them two commits. For the documented daisy chain, shift the full 40 bits in one shared window before loading. Independent star-style selection requires the matching independent load wiring; another pulse on a shared line cannot create it.

Does a steady 100 MHz output show the second device accepted the write?

No. The observed clock may reflect a previous retained state or an unaffected output. Capture the effective edge count and load edge, distinguish the two device signatures, and observe the expected safe output response before attributing success to that transaction.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.