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

ADS1220 still samples after a 4.096 MHz crystal oscillator is replaced with 4 MHz. Why does mains rejection get worse?

Readable data after changing ADS1220 to a 4 MHz external oscillator does not establish that 50 Hz and 60 Hz rejection still meets the original conditions. The digital filter notches and data rate scale with clock frequency. For the rejection listed in the manufacturer's electrical specifications, use the 4.096 MHz external clock condition and check data rate and filter settings. Passing on data availability alone can hide a fault until deployment.

1. It changes more than acquisition speed

Industrial scales, temperature measurements, and other slow sensors often need to reject power-line pickup. The digital filter has deep attenuation around selected frequencies. Change its clock and those centers move. The mains frequency does not follow the ADC's clock. The sensor's useful DC reading can still appear normal.

ItemNominal scaling
Reference condition4.096 MHz
New-to-original clock ratio4.000 / 4.096 = 0.9765625
Original 50 Hz notchEstimated at 48.828 Hz after the change
Original 60 Hz notchEstimated at 58.594 Hz after the change

Those are frequency-axis estimates, not measured attenuation for a product board. Determine actual residual 50 Hz pickup from the applicable response or a measurement rather than inferring a fixed decibel loss from distance to the center. Data rate scales as well, but the nominal setting is not a precise measurement of the output interval.

2. Verify that the filter setting is valid for the current mode

The 50/60 filter field is not for arbitrary rates. The register description specifies it for normal mode at the 20 SPS setting or duty-cycle mode at 5 SPS; use 00b for other rates. 01b selects simultaneous 50 Hz and 60 Hz rejection, 10b selects 50 Hz only, and 11b selects 60 Hz only. Read back mode, data-rate setting, and filter field. A checkbox in the user interface does not establish their effective combination.

Successful conversion and correct filtering are separate tests

First establish that there are new samples and that values respond to a known input. Then measure residual interference at each required frequency. Leave the analog configuration unchanged, test the specified reference condition as a baseline, then repeat with the replacement clock under the same stimulus. Interface reads and a steady display do not prove rejection. Better rejection also does not prove that rate, noise, and response satisfy the application.

If the host changes rate by operating stage, read the registers during actual measurement, not only at startup. The problem may begin when the device changes gain or speed after self-test. Save before, during, and after records. The display's update rate might also reflect host averaging instead of the ADC setting.

3. Run a controlled low-voltage bench test

Use an isolated low-voltage source within analog input limits to apply a small stimulus separately at 50 Hz and 60 Hz. Do not connect mains to an ADC input. Keep amplitude, common-mode level, gain, reference, wiring, and measurement window fixed. To observe notch movement, sweep near each frequency and save raw records, not just autoscaled plots. Wiring and common-mode coupling can change results, so record the fixture too.

A working internal clock does not qualify any external frequency

The datasheet notes that the internal oscillator varies with temperature, moving the notches and output rate accordingly. If notch placement is critical, check the specified external clock conditions. One sample working on the internal oscillator does not establish the same attenuation across temperatures or lots. Confirm which clock the ADC actually uses; output from a new oscillator on the board does not prove that it drives conversion.

A correct 4.096 MHz reading also leaves pin routing, input levels, and startup or resume timing to be verified. Compare the waveform with register and interference measurements. If a shared clock comes from another module, test that module's reset, software update, and power-saving states.

4. Put an exact frequency on the purchasing specification

If the application depends on published mains rejection, specify 4.096 MHz rather than rounding to 4 MHz. Epson SG-8200CG is a programmable oscillator family whose stated frequency range covers this band. That is a sourcing lead, not a confirmed programmed order code, electrical match, or stock claim. Confirm the programmed frequency and full order details, then check device levels, supply, load, and startup. A passive crystal alone does not provide an active CMOS input waveform.

If the board has another 4 MHz source, distinguish the references by designator and function. Approximate labels can invite an incorrect production substitution. Keep full part identification alongside incoming sample frequency checks, and qualify line rejection separately for each acquisition mode rather than repeating the claim for unsupported faster settings.

5. Deliver two distinct results

Record actual clock input, operating mode, configured rate, filter field, and supply conditions. Also save stimulus conditions and residual results for each of 50 Hz and 60 Hz. If a comparison does not reproduce expectations, confirm stimulus, reference, mode, and wiring before blaming the oscillator or investigating board noise.

If the real interference frequency varies, test the nominal points and nearby offsets within the relevant range. Define whether the test is for the whole system or the converter filter alone; the former includes cables and the analog front end. Keep raw timestamps and configuration IDs, and compare outputs processed in the same way. For products sold in different regions, record results at both line frequencies instead of extrapolating from one.

Sampling at 4 MHz does not preserve the original rejection. Use the specified 4.096 MHz and filter configuration, then test the actual interference behavior.

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.