From d2fda376d4a1b7522cccb3e9e3062ab2e70550d4 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Wed, 18 May 2011 17:49:58 -0300 Subject: [PATCH] prod/doc/analysis.html: added precision clock measurement for atben --- prod/doc/analysis.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/prod/doc/analysis.html b/prod/doc/analysis.html index fc476ca..8149c6a 100644 --- a/prod/doc/analysis.html +++ b/prod/doc/analysis.html @@ -89,6 +89,31 @@ enables USB.

Precision measurements

+The clock frequency of atben can be measured with an accuracy +of about +/- 100 ppm using the program atrf-xtal. atrf-xtal +runs directly on the Ben and measures the duration of packet transmissions. +The transmission time depends on the bit clock which is in turn derived +from the oscillator. +

+atrf-xtal requires exclusive access to the atben. If a +proxy is running, it has to be removed first. +

+killall atrf-proxy
+atrf-xtal 100
+
+The number reported is the number of poll loops the CPU counted. This +value should be compared to a reference count obtained with a known to +be good atben board and the same Ben at a comparable temperature. +

+ +
DifferenceAction +
> +/- 50 ppmCorrect operation +
< -80 ppmCheck soldering of capacitors; + check for contamination around crystal +
> +120 ppmidem +
OtherDivergence can be compensated by adjusting trim value +
+


Up: Production and testing