Advantech RSB-4220 handleiding
Handleiding
Je bekijkt pagina 36 van 72

RSB-4220 User Manual 30
2.5.10 RS232 Test
RSB-4220 supports 6 UARTs. Of these, /dev/ttyo0 is reserved for the debug port
(RSB-4220 CN5), while the remaining UART ports can be assigned by the user.
2.5.10.1 UART1 to UART5 RS232 Test
Switch SW8 to set UART1 to work with RS232, and the short TX with RX of UART1
to UART5.
root@am335x-adv:/unit_tests# ./AutoRun_uart232
=====test rs232!=====
rs232 number: 5
/dev/ttyO1 PASS!
/dev/ttyO2 PASS!
/dev/ttyO3 PASS!
/dev/ttyO4 PASS!
/dev/ttyO5 PASS!
+--------------------+
| [RS232] Test Pass! |
2.5.10.2 UART1 RS422 Test
1. Switch SW8 to set UART1 to work with RS422, short 422_RXD- with 422-
485_TXD-, and short 422_RXD+ with 422-485_TXD+.
2. Run program to test UART1 RS422 function.
root@am335x-adv:/unit_tests# ./AutoRun_uart422 -p /dev/ttyO1 -t 1
==========test RS422 for RSB4220============
Open uart /dev/ttyO1 PASS ....
->Writing: hello world!
->Reading: hello world!
->TX/RX Signal pass
+-----------------------------------+
| UART RS422 Testing PASS |
+-----------------------------------+
Bekijk gratis de handleiding van Advantech RSB-4220, stel vragen en lees de antwoorden op veelvoorkomende problemen, of gebruik onze assistent om sneller informatie in de handleiding te vinden of uitleg te krijgen over specifieke functies.
Productinformatie
Merk | Advantech |
Model | RSB-4220 |
Categorie | Niet gecategoriseerd |
Taal | Nederlands |
Grootte | 6307 MB |