Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
VT-SBC-3399 | User Manual 26
3.1
Interface Definition
3.1.1
Serial port
VT-SBC-3399 offers 2 RS232 connectors and 1 RS485 connector. One RS232 connector
(UART4) has its signal derived from the CPU, corresponding to device node ttyS4. The other
RS232 connector and RS485 connector are expanded from an independent chipset,
corresponding to device nodes ttyACM1 and ttyACM0.
Use the following commands to test the status of the serial port for the purpose of serial
communication (USRT4 for instance):
1.
Set the baud rate:
# stty -F /dev/
ttyS4
speed 115200
2.
Send data
0xaa
to the port:
# echo
0xaa
> /dev/
ttyS4
3.
Receive data:
# cat /dev/
ttyS4
3.1.1
USB interface
Input the following commands to check/configure the USB interface.
1.
Check the information of USB interfaces:
# lsusb
2.
Mount a USB device to /mnt directory:
# mount /dev/xxx /mnt
3.
Check the mounted content:
# ls /mnt
4.
Unmount the USB device:
# umount /dev/xxx
1
UART4
RS485
RS232