1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-22 23:54:04 +02:00
ben-wpan/prod/atben
Werner Almesberger 251a749515 prod/: cleaned up atben clock frequency test
- prod/Common (begin), prod/atben: added clock reference file argument
- prod/atben (xtal_ben): use atrf-xtal options -b and -p to determine
  whether the clock frequency is correct
2011-05-19 16:45:22 -03:00

28 lines
323 B
Bash
Executable File

#!/bin/sh
. ./Common
gpio_ben()
{
step "GPIO scan"
todo
}
xtal_ben()
{
step "Crystal frequency"
cmd "$LOCAL_EXEC atrf-xtal -d $LOCAL_DUT -b \\\`cat $CLKREF\\\` -p 50 100"
expect_re ppm # we catch any problems via the exit code
}
begin ben.profile ben.xtal
# power ?
gpio_ben
identify
xtal_ben
spectrum
transmit