A CC2500 wireless sensor can sleep most of the time and open the receiver briefly at regular intervals. A bench test in continuous receive mode may show good signal strength and packet reception, yet Wake on Radio can leave an occasional packet waiting until the next listen. Measuring the correct frequency at the 26 MHz surface-mount crystal during continuous operation verifies the reference in that state. To diagnose a missed packet, trace sleep, oscillator restart, receiver readiness, and preamble detection.
Allow time between the two wake events
In the CC2500 data sheet, Event 0 turns on the digital regulator and starts the crystal oscillator when the radio is asleep. Event 1 follows after a delay selected by WORCTRL.EVENT1 and requests receive operation. The radio state transition can add more time before reception becomes possible. For example, the synthesizer may have to calibrate on the transition from idle to receive. Count the Event 0 repetition interval, the delay to Event 1, and the usable receive window separately.
With a 26 MHz surface-mount crystal and WOR_RES set to zero, the nominal timing interval is 750 divided by 26 MHz, or about 28.846 microseconds. An EVENT0 value of 17,334 gives a nominal period of 500.019 milliseconds. An EVENT1 field of seven selects 48 periods, or about 1.385 milliseconds. A field of five selects 24 periods, or about 0.692 milliseconds. Changing seven to five advances the second event by about 0.692 milliseconds. The half-second repetition period remains the same. Compare the register decoding before estimating the delay from the field value.
TI's AN047 discusses oscillator startup when selecting the Event 1 delay. Suppose a particular board at low temperature requires 0.85 milliseconds to reach stable idle after powering down its oscillator. This illustrative startup exceeds 0.692 milliseconds, while a 1.385-millisecond wait leaves approximately 0.535 milliseconds over that startup observation. The receive state and a packet test still determine actual readiness. An oscillator frequency reading at room temperature cannot establish this margin.
Identify the start of the sleep interval
In sleep the radio uses its low-power RC oscillator, retaining the last valid calibration. When awake with the crystal oscillator running, the timer can use a divided crystal clock and, when enabled, refresh the RC calibration. Sleep timing under varying temperature or supply therefore depends on more than the measured frequency of the 26 MHz surface-mount crystal. Confirm that the RC oscillator is enabled and that firmware changes have preserved the intended calibration and awake time.
TI also specifies a sleep interval of about 11.08 milliseconds or longer for the 26 MHz configuration. Measure from actual entry into sleep to the next scheduled Event 0. If this interval is too short, the next Event 0 can occur about 3.69 milliseconds early, equivalent to 128 nominal timing periods. A 500-millisecond configured repetition interval does not rule this out. After a successful reception, the MCU might spend most of the remaining interval processing the packet before allowing the radio to sleep again.
Test the receive window on the board
The application note gives 0x24 as a GDO pin function selection for Event 0. Record this marker and use a supply-current trace to locate waking activity and actual return to low power. Sweep the timing of short test packets to find the usable receive window. Repeated SPI status polling can disturb the sleep behavior being examined. Also avoid inserting a capacitive probe into the crystal circuit for the initial comparison.
Verify the RF path first with the same packets in continuous receive mode. Then reenable Wake on Radio and move the transmission time earlier and later relative to Event 0. Record adjacent Event 0 times, the earliest time after Event 0 at which packets are received reliably, the shortest sleep interval, and the first cycle after a successful packet. If the event spacing is stable with the 26 MHz surface-mount crystal but early preambles are missed, inspect the receiver readiness and packet timing. If primarily the first cycle after a packet wakes early, inspect the path by which the MCU returns the radio to sleep.
Run two sequences to distinguish an RC timing trend from a single shortened sleep interval. In the first, transmit nothing and record a series of adjacent Event 0 markers over the intended temperature and supply range. In the second, send one packet on a designated cycle and have the host follow its normal receive path. Watch for a discrete change on the next cycle. Use the same packet marker, firmware revision, and crystal part number in both records.
One more case can look like insufficient startup time. Tightening receive timeout also reduces the time available for RC calibration while awake. TI gives a typical calibration duration of about two milliseconds. Its application note shows that a short receive window can lead the radio to spend additional time in idle to finish a calibration before sleeping. If the change is intended to save energy, integrate supply current over the complete cycle and include this idle interval. Keep the antenna, channel, and test transmit power constant so that a change in the RF link does not obscure the timing comparison.
