An nRF52832 Bluetooth tag lights up and prints its firmware version over the serial port, but a phone only sees it on the next advertising round. Would another 32 MHz crystal bring the first packet back? Start by finding out whether the radio had a stable crystal reference when it tried to transmit. The processor can print its startup message while running on the internal oscillator. A useful diagnosis traces the clock request, the point at which the radio starts preparing to send, and the first packet observed over the air.
Why the schematic says 32 MHz and the chip specification says 64 MHz
Follow XC1 and XC2 on the schematic. These pins connect to a passive 32 MHz quartz crystal. The chip's high-frequency crystal oscillator, labeled HFXO, sustains the oscillation and uses the crystal as a reference to supply a nominal 64 MHz clock. When the chip enters its working state, the 64 MHz on-chip oscillator, labeled HFINT, can provide the high-frequency clock while the crystal circuit is idle or starting. Both sources have the same nominal output frequency. They have different accuracy and serve different purposes. Nordic requires the HFXO to be running when the RADIO peripheral is used.
The 32 MHz figure belongs on the bill of materials for the quartz part. The 64 MHz figure belongs in the clock tree. The board may also have a 32.768 kHz crystal on XL1 and XL2 for the low-frequency clock. Record each crystal's schematic designator, pin names, frequency, and units on the purchasing specification. The part across XC1 and XC2 is a passive quartz crystal driven by the chip, so use that description on a request for quotation. The word “oscillator” on its own can lead to quotes for a powered component with a clock output. Nordic specifies an AT-cut quartz crystal operated in parallel resonance for this circuit. Nordic nRF52832 clock control and electrical specifications · Nordic nRF52832 pin assignments
Screen the electrical limits before approving a footprint match
The HFXO table lists a maximum crystal load capacitance, CL, of 12 pF and maximum shunt capacitance, C0, of 7 pF. Load capacitance is the effective external capacitance the crystal sees across its terminals. Shunt capacitance is part of the crystal itself. The table gives a maximum of 100 µW in the drive-level row. Drive level describes power in the operating crystal. Obtain the part's allowable drive specification and check that the circuit operates within it. The power dissipated on the assembled board has to be established for that circuit.
Equivalent series resistance, or ESR, describes the crystal's loss at resonance. The oscillator circuit has to overcome that loss for a small oscillation to grow after startup. Nordic gives resistance limits at specific shunt capacitances. The rows list 60 Ω at 7 pF, 80 Ω at 5 pF, and 100 Ω at 3 pF. Read C0 and ESR together. For example, a candidate with C0 of 7 pF and a guaranteed ESR limit of 70 Ω exceeds the relevant Nordic limit. A candidate with C0 of 3 pF and a guaranteed limit of 90 Ω passes that particular screen. These are example specifications. For a part between tabulated conditions, use an applicable conservative limit or have the manufacturer confirm the comparison.
A quote that lists “35 Ω typical” leaves purchasing without a guaranteed upper bound for screening the order. Ask for the specification for the full order code and check the temperature and test conditions attached to its limits. Two 32 MHz crystals in nominal 3.2 × 2.5 mm packages can also have different land patterns or different requirements for the case pads. Compare the package drawing, terminals, board footprint, and assembly instructions. Put the frequency limits, CL, C0, guaranteed ESR, drive specification, and package drawing on the same approval record. Nordic HFXO electrical limits and crystal requirements
How two 12 pF capacitors go with an 8 pF crystal
Nordic's reference circuit for the QFAA and QFAB packages lists X1 as a 32 MHz, 2.0 × 1.6 mm crystal with 8 pF load capacitance and ±40 ppm total tolerance. C1 and C2 are each 12 pF. The crystal connects between two nodes, with one capacitor from each node to ground. The two branches appear in series when viewed from across the crystal. The 8 pF entry is the total load specified for the quartz part. The 12 pF entries are the values of the individual fitted capacitors.
In Nordic's calculation, add the fitted capacitor, board stray capacitance, and chip input capacitance on each side to obtain branch capacitances A and B. The effective load is approximately A × B ÷ (A + B). For equal branches, the result is half the capacitance of one branch. With 12 pF fitted, 4 pF of typical chip input capacitance, and board stray capacitance temporarily set to zero to show how the values relate, each branch is 16 pF and the effective load is 8 pF. If your board adds an estimated 1 pF per side, keeping the two 12 pF capacitors produces about 8.5 pF. A calculated starting point for 8 pF on that board is 16 − 4 − 1 = 11 pF per side.
Suppose the replacement crystal specifies 10 pF at its stated frequency. The estimated 8.5 pF load on the existing assembly can pull that replacement's frequency away from nominal. The same model gives a starting estimate of 20 − 4 − 1 = 15 pF per side for a 10 pF load. Treat a change to those capacitors as a circuit change. Verify both the stable frequency and startup time on the assembled board. Pads, traces, input capacitance, and probes can all contribute at this scale. Nordic also recommends keeping fast-switching digital traces away from the crystal. Nordic nRF52832 reference schematics, bills of materials, and layout guidance · Nordic Product Specification v1.9, page 105, load capacitance equation
Check accuracy after startup
Nordic lists ±40 parts per million (ppm) for Bluetooth Low Energy (BLE) applications and ±60 ppm for proprietary 2.4 GHz radio applications in the nRF52832 HFXO table. At the crystal's 32 MHz reference, ±40 ppm works out to 32,000,000 × 40 ÷ 1,000,000, or ±1,280 Hz. The same fractional error corresponds to about 96.08 kHz on a 2.402 GHz carrier. Use the frequency of the signal being measured when converting between ppm and hertz. A carrier measurement also depends on the radio test mode, the instrument's frequency reference, and the applicable test method.
A quotation marked “±10 ppm” may describe only initial tolerance at the specified temperature and load. To see how the error budget works, allow ±10 ppm for initial tolerance, ±15 ppm for variation across the operating temperature range, ±5 ppm for aging over the stated service life, and ±8 ppm for board load error. Adding those limits for the same-direction worst case gives ±38 ppm, leaving 2 ppm against a ±40 ppm requirement. Increase the load term to ±12 ppm and the result is ±42 ppm, even if a room-temperature sample happens to measure close to nominal. These figures illustrate the calculation. When the crystal specification provides a combined tolerance, confirm which terms it covers, then account for each term once. Allow for any uncovered board effects and measurement uncertainty. Nordic HFXO frequency requirements for BLE and proprietary radio
Put the clock request and the first packet on the same timeline
- Record the clock request at t₀. Note whether the HFXO was already running. In a standalone test that owns the CLOCK peripheral, check for other users, handle any event flag left over from the previous cycle, then trigger
TASKS_HFCLKSTART. TheHFCLKRUNregister can show whether the task was triggered. That tells you where to place the request marker. - Record the readiness indication at t₁. In bare-metal firmware, associate the first valid
EVENTS_HFCLKSTARTEDwith this request and interpret it using the silicon errata. InHFCLKSTAT,STATEdescribes whether the high-frequency clock is running, whileSRCdistinguishes internal RC, meaning resistor-capacitor, from the crystal source. The errata also govern when the status read is meaningful. If the protocol stack owns the clock, instrument its supported request and readiness interfaces and let the stack manage clock ownership. - Record the first radio enable at t₂. On the direct transmit path,
TXENbegins radio ramp-up. RADIO'sREADYevent indicates that the peripheral is ready to send, andSTARTinitiates transmission. On a stack-managed product, instrument an observable point the stack supports and correlate it with a packet capture. An application call asking the stack to advertise is a separate timestamp. - Record the first captured packet at t₃. Use a Bluetooth packet sniffer that covers the configured advertising channels. Identify the unit and test run from the address and a test marker in the payload where practical. Align the capture with the board trace when comparing timing. A phone screen combines scanning windows, duplicate filtering, and display latency. For a first-packet verification, record when capture began and which channels the receiver observed.
Nordic lists an HFXO startup time of 0.36 ms in the typical column. With the transmit channel configured, the radio timing table gives a typical 140 µs from TXEN to READY in normal ramp-up and 40 µs in fast ramp-up. If the two stages occur strictly in sequence, the typical figures give 360 + 140 = 500 µs to radio readiness in normal mode or 360 + 40 = 400 µs in fast mode. This arithmetic helps size an initial timing estimate. It covers only those two stages. Include scheduling, the advertising event and the start of transmission when defining the product deadline. For acceptance, measure from the product's specified wake trigger to the actual packet under the required conditions. Nordic CLOCK events, status fields, and typical oscillator startup time · Nordic RADIO transmit sequence and timing table
Check what the ready indication means on that silicon revision
Nordic's Engineering A erratum 68 lists build codes QFAA-AA0 and QFAA-AC0. Nordic also lists erratum 68 for Revision 3 build codes QFAA-Gx0, QFAB-Gx0, and CIAA-Gx0. When the 32 MHz crystal takes longer than 400 µs to start, EVENTS_HFCLKSTARTED can precede a stable clock. Nordic directs designers to verify the worst-case startup time. Where startup can exceed 400 µs, the software must use a timer to allow sufficient settling time before using peripherals that require the HFXO. Base the wait on verified startup behavior and the errata for the actual device. The 400 µs condition in this erratum is independent of the numerical result of the fast-mode example above.
Revision 3 erratum 201 describes a separate behavior. When the high-frequency clock uses the crystal, the startup event can occur twice and HFCLKSTAT can read incorrectly after startup. Nordic's workaround is to disregard subsequent startup events and status reads after the first startup event for that cycle. Nordic identifies nRF5 SDK version 15.0.0 and S132 SoftDevice version 6.0.0 among the releases that include this workaround. Record the actual chip marking, stack or driver version, and applicable workarounds with the trace. Handling the duplicate notification still leaves the independent settling-time check under erratum 68. Nordic Engineering A erratum 68 · Nordic Revision 3 erratum 68 · Nordic Revision 3 erratum 201
Use the trace to decide whether to qualify the replacement
- The radio enable comes before verified readiness. Check the stack callback sequence, clock ownership, and leftover event flags. A connected debugger or a serial logger left running can change sleep and wake behavior. Where practical, use a logic analyzer on a general-purpose output pin or save compact markers in memory and retrieve them after the run.
- Ready never arrives within the test window. Check whether the request reached the correct clock-management layer and whether the event was handled. Preserve timeouts in the data. Compare power at the chip, fitted capacitor values, joints, and crystal traces against a known good board. If probing the crystal directly is necessary, use a low-capacitance setup and compare behavior with the probe disconnected. A fault that changes when the probe is attached is a meaningful observation.
- The clock and radio markers line up, but the capture misses the packet. Check the listening channels, transmit settings, payload, antenna match, and capture setup. Tie the board markers to receiver observations. A dedicated radio mode can help measure frequency error. Verify final first-packet behavior using the advertising sequence that ships in the product.
Keep an original-crystal group and a candidate group. Match board revision, controller revision, firmware, assembly process, and test method as closely as practical. Run the first packet after a true power-up and after the intended long sleep, then run a separate check with the HFXO already active. A near-instant timestamp on a reused clock measures the reuse path. If the candidate also requires two different load capacitors, record the full configuration and use controlled comparisons to understand the source of any timing change.
Cover the product's specified temperature and supply ranges, including the relevant power-up or wake conditions. Save per-run timestamps, slowest observed intervals, timeouts, first-packet captures, and frequency measurements. Record the number of units and the lots covered. A candidate that passes continuous advertising but exceeds the first-packet deadline after a real wake stays pending while engineering traces the delay.
Purchasing can sign off once the exact order code has documented electrical limits and the correct package, operating range, and specification revision. Engineering can sign off once boards with that crystal and load network, on the specified silicon and firmware, meet both the actual wake-to-first-packet deadline and the stable-frequency budget. Link each approval to the tested configuration so a later buyer or quality engineer can see precisely which assembly was qualified.
