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

Why can the first CC1200 SPI read fail after sleep with a 40 MHz TCXO?

A battery-powered wireless node moves to a 40 MHz temperature-compensated oscillator. Communication works after power-up, but the first status read after sleep sometimes fails. The next read often succeeds. Before slowing SPI, capture when the reference reaches the radio and when the radio allows the transaction. Slower subsequent edges do not fix a first edge that occurred before readiness. The reference waveform and permission to begin serial access are different observations.

Match the wiring to the TCXO output form

TI specifies a dedicated EXT_XOSC input for external clock operation. Ground XOSC_Q1 and leave XOSC_Q2 unconnected in this configuration. When the original two-pin crystal arrangement is used, ground the external clock input instead. Identify the complete assembly variant, including relevant optional links. After rework, verify the signal at the actual external input and confirm which pin the probe is observing.

Two nominally 40 MHz TCXOs can provide CMOS or clipped-sine outputs. TI describes direct coupling for CMOS and a series coupling capacitor for clipped sine with its own amplitude criteria. The listed clipped-sine input range is 0.8 V to 1.5 V peak-to-peak. Verify output loading and the waveform at the receiver. Changing probe loading or leaving components from the previous circuit can affect the measured signal. Record the selected output type and connection so a same-frequency substitution can be evaluated in the correct circuit.

Wait for the device before clocking the first header

The CC120x user's guide says that after taking CSn low, the controller waits for SO to go low before sending the header. CHIP_RDYn indicates SPI readiness. In ordinary idle operation that can look immediate. After reset or return from SLEEP or XOFF, readiness can take longer. Capture oscillator power and enable, CSn, SO, and SCLK in one trace. The trace needs to show that the first rising edge occurs while the ready signal permits it.

For illustration, suppose SO goes low 0.62 ms after CSn. Firmware that sends the first rising edge at 0.40 ms starts 0.22 ms early. A 40 MHz TCXO has a nominal 25 ns period. The two delays correspond to approximately 24800 and 16000 periods, a difference of 8800 periods. This is a time-scale comparison, not a claim about internal counting. Waiting for the documented ready state with a bounded application timeout avoids interpreting an early serial command as a valid read.

Distinguish clock delivery, SPI readiness, and radio operation

Where the board uses the CC1200 external oscillator-enable function, determine how the TCXO's power, enable, and valid output are related. A continuously powered source may coexist with a device still in reset or transition. If the source is enabled only on wake, its first pulse, stable waveform, and SO readiness can occur at different times. An application timeout can report a failure, while the captured sequence identifies which part of startup exceeded expectations.

Test ordinary idle access, full sleep recovery, and any rapid return path the product allows. Read a known register and then verify the required receive behavior. SPI access alone does not establish that the radio has completed its preparations. Qualify any replacement surface-mount 40 MHz TCXO under the real rail ramp and load, then compare the reference waveform, first successful SPI transaction, and application timing.

Run a control on the same board and oscillator with readiness-gated access. Compare against a trace from the previous fixed-delay firmware. If both start after SO is low and one still fails, inspect thresholds, rails, and the actual transaction before attributing the failure to the reference. Save traces for each condition for a repeatable comparison.

Track the wake paths separately in the application log. Measure the first access after full sleep from the current chip-select event. A retry made while already idle starts from a different state. If the logging code overwrites an initial failure with a successful retry, the display can hide a missed operating window. Preserve initial state, first result, retries, and the next valid message. Check that the actual wait uses the current SO sample. After a scheduling interruption, stale readiness from an earlier operation cannot qualify a new transaction.

Include the low-voltage condition as well as the usual operating rail.

References

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.