Difference between revisions of "UIO-4030/TEST"
From ESS-WIKI
Line 2: | Line 2: | ||
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | {| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | ||
|- | |- | ||
− | | style="width: 20%;text-align: center;vertical-align: top;" | [[File: | + | | style="width: 20%;text-align: center;vertical-align: top;" | [[File:RSB-4810.png|RTENOTITLE]] |
| style="width:80%; vertical-align: top;padding-left: 5px;" | | | style="width:80%; vertical-align: top;padding-left: 5px;" | | ||
{| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | {| border="0" cellpadding="5" cellspacing="0" style="width:100%;" | ||
Line 41: | Line 41: | ||
|} | |} | ||
− | <p style="text-align: right;padding-right:0px;padding-bottom:10px;padding-top:10px;">[http://ess-wiki.advantech.com.tw/view/ | + | <p style="text-align: right;padding-right:0px;padding-bottom:10px;padding-top:10px;">[http://ess-wiki.advantech.com.tw/view/RISC <span style="color:#994895;border:solid 1px #994895; padding:10px 20px;text-decoration: none;">Find Other Products</span>]</p> |
|} | |} | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= RSB-3720 = | = RSB-3720 = | ||
Line 128: | Line 106: | ||
[[File:RSB-3720 GPIOp4.png|RTENOTITLE]] | [[File:RSB-3720 GPIOp4.png|RTENOTITLE]] | ||
− | == <br/> <br/> < | + | == <br/> <br/> Test<!-- == '''接口布局和尺寸(Layout and Sizes)''' --><!-- '''[[File:UIO-4030 photo 2021-10-27 141551.jpg|RTENOTITLE]]'''--><!-- [[File:UIO-4030 photo1 2021-10-27 141634.jpg|RTENOTITLE]]--> <!--[[File:UIO-4030 photo3 2021-10-27 141714.jpg|RTENOTITLE]]--> == |
+ | |||
+ | = RSB-3430 = | ||
+ | |||
+ | 從這填資料 | ||
+ | |||
+ | = RSB-3710 = | ||
+ | |||
+ | <headertabs></headertabs> |
Revision as of 04:37, 23 June 2023
[edit]
RSB-3720 Testing method (RSB-3720 測試方法 )
RS-232(COM3):
# stty -F /dev/ttymxc1 -echo -onlcr 115200 # cat /dev/ttymxc1 & # echo "Serial Port Test" /dev/ttymxc1
RS-485
Note:
Adam-4520
Data- : Pin1
Data+ : Pin2
Remember to set up RS-485 before test.
# stty -F /dev/ttyUSB0 speed 115200 ignbrk -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke # cat /dev/ttyUSB0 & # echo "Serial Test" > /dev/ttyUSB0
GPIO
Note:
input pin#5: gpio 504(DB9-1)
output pin#6: gpio 505(DB9-6)
input pin#7: gpio 506(DB9-2)
output pin#8: gpio 507(DB9-7)
input pin#9: gpio 508(DB9-3)
output pin#10: gpio 509(DB9-8)
input pin#11: gpio 139(DB9-4)
output pin#12: gpio 138(DB9-9)
# echo 504 > /sys/class/gpio/export # echo 505 > /sys/class/gpio/export # echo out > /sys/class/gpio/gpio2/direction # echo in > /sys/class/gpio/gpio1/direction # cat /sys/class/gpio/gpio1/value # echo 1 > /sys/class/gpio/gpio2/value # cat /sys/class/gpio/gpio1/value
# echo 506 > /sys/class/gpio/export # echo 507 > /sys/class/gpio/export # echo out > /sys/class/gpio/gpio4/direction # echo in > /sys/class/gpio/gpio3/direction # cat /sys/class/gpio/gpio3/value # echo 1 > /sys/class/gpio/gpio4/value # cat /sys/class/gpio/gpio3/value
# echo 508 > /sys/class/gpio/export # echo 509 > /sys/class/gpio/export # echo out > /sys/class/gpio/gpio6/direction # echo in > /sys/class/gpio/gpio5/direction # cat /sys/class/gpio/gpio5/value # echo 1 > /sys/class/gpio/gpio6/value # cat /sys/class/gpio/gpio5/value
# echo 139 > /sys/class/gpio/export # echo 138 > /sys/class/gpio/export # echo out > /sys/class/gpio/gpio8/direction # echo in > /sys/class/gpio/gpio7/direction # cat /sys/class/gpio/gpio7/value # echo 1 > /sys/class/gpio/gpio8/value # cat /sys/class/gpio/gpio7/value
Test
從這填資料