Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

ATRF230 or 231 production testing

ATRF230 or 231 production testing

2011-01-11 by David VanHorn

I'm interested to know, from anyone who actually has this device in
production, how you are doing frequency setting.

I'm thinking in terms of a counter driven by IEEE488, and some sort of
automated process to tweak the on-chip cap values to dial in the
oscillator.
It's not clear to me whether it is better to measure the 16 MHz test
pin, or the RF carrier, or both.

Achieving 10ppm accuracy out the door is the end goal.

Re: [AVR-Chat] ATRF230 or 231 production testing

2011-01-11 by wagnerj@proaxis.com

Hello, David -

No direct experience on these chips, but with some RF hardware, generally.

If you measure the output frequency, you will need to insure that none of
the frequency hopping is going on. That MAY require different code for
testing or a special "test mode" with all that turned off. Testing the
output does insure that the PLL multiplier is what you expect it to be,
however, I would think that prototype testing should insure this and that
production testing of this parameter might not be needed.

Testing the output frequency could also be problematic if you have a fixed
antenna. You would probably need a second antenna and maybe a broadband
amplifier to get enough signal to count. If the antenna port has a
connector, then its not so much of an issue.

Measuring the 16MHz reference would depend on whether or not there is a
buffered output version of that signal. I would NOT connect directly to
one of the oscillator pins as that will definitely shift the frequency.
10ppm is 10Hz/MHz so, applied to 16MHz, that means tuned within 160Hz.

Jim Wagner
Oregon Research Electronics
Show quoted textHide quoted text
> I'm interested to know, from anyone who actually has this device in
> production, how you are doing frequency setting.
>
> I'm thinking in terms of a counter driven by IEEE488, and some sort of
> automated process to tweak the on-chip cap values to dial in the
> oscillator.
> It's not clear to me whether it is better to measure the 16 MHz test
> pin, or the RF carrier, or both.
>
> Achieving 10ppm accuracy out the door is the end goal.
>

Re: [AVR-Chat] ATRF230 or 231 production testing

2011-01-12 by Kasper Pedersen

On 01/11/2011 05:24 PM, David VanHorn wrote:
>
> I'm interested to know, from anyone who actually has this device in
> production, how you are doing frequency setting.
>
I have a board with an AT32UC3A0512 and an AT86RF231. And another with 
an ARM9 and an AT86RF231.

When the board powers up in the test fixture, it looks for a 32kHz 
signal on an input. This is supplied by the test fixture.
A piece of code in the UC3 measures the frequency of the CPU clock 
against the 32kHz signal, and at the same time measures the 1MHz signal 
coming from the RF231 against the CPU clock. This takes 0.5 seconds for 
a 0.1 ppm measurement. The sum of the two is the error of the 1MHz 
output against the 32kHz reference.
Both inputs are normal IO pins. I only track phase error against 
predicted phase so I do not need to capture all the edges.

First the center setting is measured. Depending on whether the setting 
should be higher or lower, the lowest or highest setting is measured, 
then the sensitivity is calculated (frequency change per adjustment 
step), and the optimum setting calculated and stored to flash.

1 second to calibrate, +/-5ppm including the test fixture reference 
which is a well cared for DS3231. A reasonable OCXO and divider would 
make a better reference, but I was pressed for time. Maybe divide down 
the 10MHz output of the factory floor reference (the best counter)?

The work is in the measurement routine, it took me several hours to get 
this right. But, involving a PC and GPIB would also have taken time.

idea:
I was thinking of doing over-the-air calibration by timestamping 
packets. The symbol time is 16 usec, but the uncertainty after 
despreading much less. So that should be feasible too. One node to 
generate a mark, and another node with a good clock to say "The mark we 
all just heard arrived at time T." Sort of the way IEEE1588 does it.

/Kasper Pedersen


[Non-text portions of this message have been removed]

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.