Vantron
| Embedded in your success, Embedded in your better life
World-leading provider of embedded/IoT products and solutions
VT-SBC-3588 | User Manual 34
The following is a summary of the commands for the serial connectors in different modes.
RS232 mode
UART 0
Transmit data
# gpioset gpiochip6 3=0
# gpioset gpiochip6 2=1
# echo "Test string" > /dev/ttyS0
Receive data
# gpioset gpiochip6 3=0
# gpioset gpiochip6 2=1
# cat /dev/ttyS0
UART 1
Transmit data
# gpioset gpiochip6 7=0
# gpioset gpiochip6 6=1
# echo "Test string" > /dev/ttyS1
Receive data
# gpioset gpiochip6 7=0
# gpioset gpiochip6 6=1
# cat /dev/ttyS1
UART 3
Transmit data
# gpioset gpiochip6 5=0
# gpioset gpiochip6 4=1
# echo "Test string" > /dev/ttyS3
Receive data
# gpioset gpiochip6 5=0
# gpioset gpiochip6 4=1
# cat /dev/ttyS3
UART 4
Transmit data
# gpioset gpiochip7 4=0
# gpioset gpiochip7 5=1
# echo "Test string" > /dev/ttyS4
Receive data
# gpioset gpiochip7 4=0
# gpioset gpiochip7 5=1
# cat /dev/ttyS4
UART 7
Transmit data
# gpioset gpiochip7 6=0
# gpioset gpiochip7 7=1
# echo "Test string" > /dev/ttyS7
Receive data
# gpioset gpiochip7 6=0
# gpioset gpiochip7 7=1
# cat /dev/ttyS7
UART 8
Transmit data
# gpioset gpiochip6 1=0
# gpioset gpiochip6 0=1
# echo "Test string" > /dev/ttyS8
Receive data
# gpioset gpiochip6 1=0
# gpioset gpiochip6 0=1
# cat /dev/ttyS8