mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-20 04:03:09 +02:00
prod/atben: changed 'l' to 'o' in all patterns
This commit is contained in:
parent
33b0400e53
commit
e7dfb38fce
29
prod/atben
29
prod/atben
@ -18,35 +18,35 @@ gpio_ben()
|
|||||||
|
|
||||||
step "GPIO scan (P_ON)"
|
step "GPIO scan (P_ON)"
|
||||||
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT -p \
|
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT -p \
|
||||||
zzlzhl '# reset state' \
|
zzozho '# reset state' \
|
||||||
0zlzhl '# test SCLK' \
|
0zozho '# test SCLK' \
|
||||||
zz1zhl '# test SLP_TR' \
|
zz1zho '# test SLP_TR' \
|
||||||
zzl0hl '# test MOSI' \
|
zzo0ho '# test MOSI' \
|
||||||
zzlz0l '# test nSEL'\""
|
zzoz0o '# test nSEL'\""
|
||||||
doit
|
doit
|
||||||
|
|
||||||
# TRX_OFF state (transceiver pull-up/downs inactive)
|
# TRX_OFF state (transceiver pull-up/downs inactive)
|
||||||
|
|
||||||
step "GPIO scan (TRX_OFF)"
|
step "GPIO scan (TRX_OFF)"
|
||||||
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT \
|
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT \
|
||||||
hzHhhl '# TRX_OFF state' \
|
hzHhho '# TRX_OFF state' \
|
||||||
0zHhhl '# test SCLK' \
|
0zHhho '# test SCLK' \
|
||||||
hz0hhl '# test SLP_TR' \
|
hz0hho '# test SLP_TR' \
|
||||||
hzH0hl '# test MOSI' \
|
hzH0ho '# test MOSI' \
|
||||||
hzHh0l '# test nSEL'\""
|
hzHh0o '# test nSEL'\""
|
||||||
doit
|
doit
|
||||||
|
|
||||||
# INT
|
# INT
|
||||||
|
|
||||||
step "GPIO scan (INT)"
|
step "GPIO scan (INT)"
|
||||||
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT -p \
|
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT -p \
|
||||||
xxxxxl '# reset state' \
|
xxxxxo '# reset state' \
|
||||||
0x04=1 '# TRX_CTRL_1.IRQ_POLARITY = 1' \
|
0x04=1 '# TRX_CTRL_1.IRQ_POLARITY = 1' \
|
||||||
xxxxxh '# test INT (1)' \
|
xxxxxh '# test INT (1)' \
|
||||||
xxxx0h '# test INT (2)' \
|
xxxx0h '# test INT (2)' \
|
||||||
xxxx1h '# restore nSEL' \
|
xxxx1h '# restore nSEL' \
|
||||||
0x04=0 '# TRX_CTRL_1.IRQ_POLARITY = 0' \
|
0x04=0 '# TRX_CTRL_1.IRQ_POLARITY = 0' \
|
||||||
xxxxhl '# test INT again'\""
|
xxxxho '# test INT again'\""
|
||||||
doit
|
doit
|
||||||
|
|
||||||
# SLP_TR
|
# SLP_TR
|
||||||
@ -55,11 +55,10 @@ gpio_ben()
|
|||||||
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT \
|
cmd "$LOCAL_EXEC \"atrf-gpio -d $LOCAL_DUT \
|
||||||
00!85 '# write 0x55 to the buffer' \
|
00!85 '# write 0x55 to the buffer' \
|
||||||
00/85 '# read back the buffer value' \
|
00/85 '# read back the buffer value' \
|
||||||
xx1hxl '# enter SLEEP' \
|
xx1hxo '# enter SLEEP' \
|
||||||
xx0hxl '# leave SLEEP' \
|
xx0hxo '# leave SLEEP' \
|
||||||
00/0xff '# read back the buffer value'\""
|
00/0xff '# read back the buffer value'\""
|
||||||
doit
|
doit
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user