========================================================================
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): FAIL
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)'
------------------------------------------------------------------------
name cfg exp got
PB0 R 1 1
PB1/P16 R 1 1
PB2/P15 R 1 1
PB3/P14 R 1 1
PB4/SLP_TR Z 0 0
PB5 R 1 1
PB6/LED 0 - 0
PB7 R 1 1
PC0 R 1 1
PC1/P13 Z - 0
PC2 R 1 1
PC3(NC) Z - 0
PC4 R 1 1
PC5 Z - 0
PC6 R 1 1
PC7/nRST_RF Z 1 1
PD0/IRQ_RF Z 0 0
PD1/nSS Z 1 1
PD2/MISO Z - 0
PD3/MOSI Z 0 1 ***
PD4 R 1 1
PD5/SCLK Z 0 0
PD6 R 1 1
PD7 R 1 1
at "HHHHoHxH.HxHxHxHh.ohzoHoHH", next "# reset state (H)"
------------------------------------------------------------------------
exit code 1