Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Passive Crystals and Oscillator Circuits

CC1101: which channel settings must be recalculated after changing the crystal from 26 MHz to 27 MHz?

Suppose a repair buyer finds a 27 MHz crystal in the same package as the 26 MHz part used on an aging telemetry board. Before approving it, ask which installed radios the repaired board must still talk to. The CC1101 can operate with a crystal in the 26 to 27 MHz range. Its radio registers also use that reference frequency in their calculations. A change of nominal frequency can therefore affect the crystal circuit, the firmware and interoperability with the installed gateway. All three belong on the same change record.

Read back the settings of a known working board

Use a production unit that still communicates with the field gateway and capture its register values after initialization. Record any fields the firmware rewrites when it changes channel. FREQ2, FREQ1 and FREQ0 hold the base-frequency word, FREQ. CHANNR gives the channel number and the spacing fields in MDMCFG1 and MDMCFG0 set the frequency increment for each channel. A label such as “433 MHz” or a preset filename can leave all three ambiguous. If the production configuration applies frequency correction, record where that value comes from and when it takes effect. The arithmetic below sets that correction to zero.

With the reference frequency fXOSC in hertz, the base frequency is fXOSC × FREQ ÷ 216. Channel spacing is fXOSC × (256 + CHANSPC_M) × 2CHANSPC_E ÷ 218. Add the spacing multiplied by the channel number to the base frequency. Both terms scale by 27 ÷ 26 if the reference changes and all the fields stay fixed. A carrier near 433 MHz therefore moves to about 449.65 MHz, a shift of about 16.65 MHz. For a discrepancy of that size, check the reference frequency and the settings before spending time on the crystal load capacitors.

Channel zero can be right while the far end drifts

Suppose the nominal plan starts at 433.000 MHz with 200 kHz spacing. For each reference frequency, round the calculated base word to the nearest integer and find the allowed spacing mantissa and exponent that give the closest value to 200 kHz. The entries below are calculated with ideal nominal references. Compare the numbers against the exported radio profile before going to the bench.

Configuration in the exampleBase wordSpacing E/MSpacingChannel 0Channel 10Channel 20
Original 26 MHz reference0x10A7622/248199.951 kHz432.999817 MHz434.999329 MHz436.998840 MHz
27 MHz with base word recalculated0x10097B2/248207.642 kHz432.999893 MHz435.076309 MHz437.152725 MHz
27 MHz with base and spacing recalculated0x10097B2/229199.814 kHz432.999893 MHz434.998032 MHz436.996170 MHz

After changing only the base word, channel zero is within about 0.107 kHz of the target. Channel 20 is about 152.7 kHz above its 437.000 MHz target. Recomputing the spacing brings channel 20 to about 3.83 kHz below target. Base and spacing both have finite resolution. When the installed system places tight limits on particular channels, compare candidate register combinations across the whole permitted channel set. Record errors against the nominal plan and against the actual centers of the installed equipment as separate columns.

Review the receiver settings before signing off

Take a nominal data rate of 38.4 kBaud as a second worked example. Using section 12 of the data sheet, DRATE_E = 10 and DRATE_M = 131 give about 38.383 kBaud at 26 MHz. The same fields at 27 MHz give about 39.860 kBaud. Recalculating the mantissa to 117 with exponent 10 gives about 38.418 kBaud. Regenerate the complete profile and include the data rate, receive filter bandwidth, intermediate frequency and deviation used by the chosen modulation in the comparison. The receive bandwidth affects offset tolerance and rejection of neighboring signals. Confirm sensitivity and packet errors against the requirements for the existing product. Save the version of the configuration tool along with the register export.

Check the operating band against the reference being fitted. The data sheet raises the lower limit of the 387–464 MHz band to 392 MHz when a 27 MHz crystal is used. An installed system working at 390 MHz therefore needs a different decision even if the arithmetic produces the desired number. Update the frequency-programming registers while the radio is in IDLE. Verify the synthesizer calibration required at power-on and before a new frequency or channel is used. If firmware uses automatic calibration, confirm its trigger and completion before evaluating a capture.

Reserve a working field unit for the release test

In a shielded or suitable conducted test setup, compare the low, commonly used and high channels with a frequency reference and record the actual register values. Then exchange traffic in both directions with a radio that still runs the approved field configuration. Two samples programmed with the same incorrect table can communicate with each other. Include supply and temperature corners in the test record alongside the measurement reference, channel, transmit direction and packet error rate.

Budget the reference uncertainty at both ends as well. Suppose each radio has an illustrative limit of ±38 ppm over temperature and service life. This corresponds to about ±16.45 kHz at 433 MHz, or about 32.9 kHz of relative offset if the two references reach opposite limits. Allow separately for differences in channel quantization and decide the permissible combined offset using the actual receiver bandwidth, data rate and interoperability tests. A matched pair passing a room-temperature test gives little information about these corners.

Purchasing can first look for a second source in the approved 26 MHz configuration. Compare complete ordering codes, lands, specified load capacitance, ESR at the exact frequency, permissible drive and the full tolerance budget. If engineering selects 27 MHz, bind approval to the specific crystal, the two load capacitor values, the board revision and the firmware profile. Retest frequency, cold start and wake-up for a change of load option. For fixed gateways that cannot be upgraded in the field, use interoperability with the old equipment to decide whether two repair stocks would be interchangeable.

See sections 4, 7.3, 12, 13, 21 and 22.1 of the TI CC1101 data sheet SWRS061I. To compare the crystal's load-capacitance option with the capacitors on the board, see MERLIN’s load capacitance guide (Chinese).

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.