======================================================================== Enumeration: PASS usbwait -t 5 20b7:1540 && echo okay ------------------------------------------------------------------------ okay ======================================================================== LED: PASS echo >/dev/tty; echo 'Press [P]ass if the LED blinks, [F]ail if not' >/dev/tty; atrf-gpio -c -p xxxxxx1x.xxxxxxxx.xxxxxxxx delay=50 xxxxxx0x.xxxxxxxx.xxxxxxxx delay=200 ------------------------------------------------------------------------ ======================================================================== GPIO scan (P_ON): PASS atrf-gpio -d usb -p HHHHoHxH.HxHxHxHh.ohzoHoHH '# reset state (H)' HHHH0HxH.HxHxHxHh.ohzoHoHH '# test SLP_TR (0)' HHHHoH0H.HxHxHxHh.ohzoHoHH '# test LED (0)' HHHHoHxH.HxHxHxHh.LhzoHoHH '# test IRQ_RF (0)' HHHHoHxH.HxHxHxHh.o0zoHoHH '# test nSEL (0)' HHHHoHxH.HxHxHxHh.ohz0HoHH '# test MOSI (0)' HHHHoHxH.HxHxHxHh.ohzoH0HH '# test SCLK (0)' 0000o0x0.0x0x0x0h.ohzo0o00 '# reset state (0)' 000010x0.0x0x0x0h.ohzo0o00 '# test SLP_TR (1)' 0000o010.0x0x0x0h.ohzo0o00 '# test LED (1)' 0000o0x0.0x0x0x0h.o1zo0o00 '# test nSEL (1)' 0000o0x0.0x0x0x0h.ohz10o00 '# test MOSI (1)' 0000o0x0.0x0x0x0h.ohzo0100 '# test SCLK (1)' ------------------------------------------------------------------------ ======================================================================== GPIO scan (TRX_OFF): PASS atrf-gpio -d usb HHHH0HzH.HxHxHxHh.oHzHHHHH '# TRX_OFF state (H)' HHHH0H0H.HxHxHxHh.oHzHHHHH '# test LED' HHHH0HzH.HxHxHxHh.o0zHHHHH '# test nSEL' HHHH0HzH.HxHxHxHh.oHz0HHHH '# test MOSI' HHHH0HzH.HxHxHxHh.oHzHH0HH '# test SCLK' ------------------------------------------------------------------------ ======================================================================== GPIO scan (INT): PASS atrf-gpio -d usb -p xxxxxxxx.xxxxxxxx.oxxxxxxx '# reset state' 0x04=1 '# IRQ_POLARITY = 1' xxxxxxxx.xxxxxxxx.hxxxxxxx '# test INT (1)' xxxxxxxx.xxxxxxxx.h0xxxxxx '# test INT (2)' xxxxxxxx.xxxxxxxx.h1xxxxxx '# restore nSEL' 0x04=0'# IRQ_POLARITY = 0' xxxxxxxx.xxxxxxxx.o1xxxxxx '# test INT again' ------------------------------------------------------------------------ ======================================================================== GPIO scan (SLP_TR): PASS atrf-gpio -d usb 02=9 delay '# enter PLL_ON' 02:9/0x1f '# verify state' frame '# one-byte frame' 0xf: '# clear interrupts' 0xe=8 '# enable TRX_END intr' xxxxxxxx.xxxxxxxx.oxxxxxxx '# confirm INT' slp_tr delay '# send frame' xxxxxxxx.xxxxxxxx.hxxxxxxx '# check INT' ------------------------------------------------------------------------ ======================================================================== GPIO scan (nRST): PASS atrf-gpio -d usb 02:8/0x1f '# verify TRX_OFF' reset '# reset transceiver' 02:0/0x1f '# verify P_ON' ------------------------------------------------------------------------ ======================================================================== Identification: PASS atrf-id -d usb ------------------------------------------------------------------------ 20b7:1540 protocol 0.1 hw 2 (ATmega32U2) #79 Sun Jun 5 22:01:35 ART 2011 AT86RF231, part 0x03 version 2 manufacturer xxxx001f (Atmel) ======================================================================== Crystal frequency: FAIL atrf-xtal -d usb -p 50 ------------------------------------------------------------------------ -120.01 ppm (outside bounds) ------------------------------------------------------------------------ exit code 1