A point-to-point sensor bench receives messages through a CC1200 with a 40 MHz passive crystal. Short packets generally pass. A longer packet or higher bit rate sometimes leaves the host with only the beginning. Register reads during idle look normal. Capture the receive FIFO threshold, actual service time and FIFO errors. A threshold says bytes have accumulated. A streaming receiver needs to know how much space remains and how late the host can begin servicing it.
Convert the threshold to remaining capacity
The user guide specifies separate 128-byte receive and transmit FIFOs and a different threshold relationship for each. A receive setting of 95 corresponds to 96 bytes present. Only 32 slots remain. Reading the transmit column gives the wrong receive margin. Record whether the GPIO is configured for the pure threshold or the alternative threshold-and-packet indication, since they have different meanings.
Assume a configured receive data portion enters the queue at 200,000 bit/s with eight bits per stored byte. The nominal time for 32 more bytes is 32 × 8 ÷ 200000, or 1.28 ms. This is the scale from reaching threshold to filling the remaining space. Begin draining before the space is exhausted. Appended status, existing occupancy and burst behavior can alter the real margin. Use actual incoming byte behavior instead of treating the 40 MHz passive crystal frequency as the air data rate.
Distinguish starting late from shifting slowly
At a measured 4 MHz SPI clock, one standard burst header byte and 32 data bytes take a nominal 66 µs. This is only the continuous shift time. Interrupt scheduling, bus ownership and gaps in transfer can delay removal. Measure threshold to chip select, to the first returned byte and to the end of the read separately. A fast shift clock cannot compensate for a delay longer than the remaining FIFO margin.
Try two thresholds with the same packet format and receive rate. A lower threshold leaves more empty space but may require more service events. A higher one consolidates transfers while reducing scheduling margin. Exercise actual interrupt contention and bus use. Deliberately lengthen an ordinary host operation and use packet identifiers to locate where reception loses data.
Read any short tail after the threshold service
After packet end, remaining bytes can be below threshold. Software waiting only for another threshold crossing may leave the tail behind. Check packet completion and actual occupancy. The guide distinguishes a complete count register from a short field that saturates. Save which one the driver reads. Account for any length byte and appended status according to the active packet mode before calling the resulting bytes application payload.
In a separate test, delay service long enough to verify error handling. The device enters a receive FIFO error condition on overflow, and recovery follows the documented state rules. Record bytes received, short reads and the next packet before resetting anything. Keep source payload and setup fixed on a suitable short-range or shielded bench to distinguish queue behavior from RF link variation.
Use one packet with the queue initially drained, then consecutive packets with the shortest real gap. If only continuous traffic fails, do not assume the second packet starts with an empty FIFO. A fixed host read size can leave bytes behind when lengths vary. Use packet identifiers and actual byte counts to separate this case from a link error.
Measure at the receiver as well as the source when interrupt or SPI signals cross a buffer or cable. If the radio reports overflow and the host never saw threshold, inspect the notification path. If the host saw it and could not get the bus, measure scheduling. Use one timebase to correlate the two events.
Compare equal test payloads with and without configured append status. Keep queue byte count and application byte count together with service timing.
Record the 40 MHz passive crystal, effective reference configuration, receive rate, threshold, maximum service latency and packet sequence. Check the same set after changing the crystal or data rate. A new host also needs a contention test even with unchanged radio settings. Acceptance should establish complete retrieval under the intended load.
