Difference between revisions of "UIO-4034"

From ESS-WIKI
Jump to: navigation, search
Line 32: Line 32:
 
$ candump can0 &
 
$ candump can0 &
 
$ cansend can1 1F334455#1122334455667788</pre>
 
$ cansend can1 1F334455#1122334455667788</pre>
 +
 +
== '''RSB-3720&nbsp;測試方法''' ==
 +
 +
'''<br/>RS-232(COM3):'''
 +
<pre>  RS-232 x2 (ttymxc1 & ttymxc3)
 +
# stty -F /dev/ttymxc1 -echo -onlcr 115200
 +
# cat /dev/ttymxc1 &
 +
# echo "Serial Port Test" > /dev/ttymxc1
 +
</pre>
 +
 +
[[File:RSB-3720 4034 232 pic1.png]]
 +
 +
'''RS-232(COM4)'''
 +
<pre># stty -F /dev/ttymxc3 -echo -onlcr 115200
 +
# cat /dev/ttymxc3 &
 +
# echo "Serial Port Test" > /dev/ttymxc3</pre>
 +
 +
[[File:RSB-3720 4034 232 pic2.png]]
 +
 +
'''CAN'''
 +
<pre># ip link set can0 up type can bitrate 125000
 +
# ifconfig can0 up
 +
# ip link set can1 up type can bitrate 125000
 +
# ifconfig can1 up
 +
 +
# candump can0 &
 +
# cansend can1 1F334455#1122334455667788</pre>

Revision as of 09:33, 29 October 2021

接口布局和尺寸(Layout and Sizes)

RTENOTITLE

RTENOTITLE


RTENOTITLE

Specifications 

RTENOTITLE

RTENOTITLE

RSB-3430 測試方法

Note: RS-232: /dev/ttymxc2   
          RS-485: pin1 data- & pin2 data+ (ttyUSB0)

RS-232 

$ stty -F /dev/ttymxc2 -echo -onlcr 115200 crtscts
$ cat /dev/ttymxc2 &
$ echo "Serial Port Test" > /dev/ttymxc2

CAN Bus 

$ ip link set can0 up type can bitrate 125000
$ ifconfig can0 up
$ ip link set can1 up type can bitrate 125000
$ ifconfig can1 up

$ candump can0 &
$ cansend can1 1F334455#1122334455667788

RSB-3720 測試方法


RS-232(COM3):

  RS-232 x2 (ttymxc1 & ttymxc3)
# stty -F /dev/ttymxc1 -echo -onlcr 115200
# cat /dev/ttymxc1 &
# echo "Serial Port Test" > /dev/ttymxc1

RSB-3720 4034 232 pic1.png

RS-232(COM4)

# stty -F /dev/ttymxc3 -echo -onlcr 115200
# cat /dev/ttymxc3 &
# echo "Serial Port Test" > /dev/ttymxc3

RSB-3720 4034 232 pic2.png

CAN

# ip link set can0 up type can bitrate 125000
# ifconfig can0 up
# ip link set can1 up type can bitrate 125000
# ifconfig can1 up

# candump can0 &
# cansend can1 1F334455#1122334455667788