VAR-SOM-AM33 RS232: Difference between revisions

From Variscite Wiki
(Created page with "!UNDER CONSTRUCTION!")
 
No edit summary
Line 1: Line 1:
!UNDER CONSTRUCTION!
!UNDER CONSTRUCTION!
{{PageHeader|VAR-SOM-AM33 - RS-232 Port}} {{DocImage|category1=VAR-SOM-AM33|category2=Yocto}} __toc__
1. Perform a loopback at RS-232 port by shorting pins 2 & 3 in DB9 connector J24 on the carrier board, or connect to another computer.</br>
2. Enable UART1 when on-SOM Bluetooth is not mounted. Type the following commands in the Linux shell to enable:
<pre>
$ echo 20 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio20/direction
$ echo 0 > /sys/class/gpio/gpio20/value
</pre>
3. Start minicom.
<pre>
$ minicom -D/dev/ttyO1 -b115200 -8
</pre>
4. Type a few characters at the minicom and see that the loopback is working.

Revision as of 10:24, 21 January 2016

!UNDER CONSTRUCTION!

VAR-SOM-AM33 - RS-232 Port

1. Perform a loopback at RS-232 port by shorting pins 2 & 3 in DB9 connector J24 on the carrier board, or connect to another computer.

2. Enable UART1 when on-SOM Bluetooth is not mounted. Type the following commands in the Linux shell to enable:

$ echo 20 > /sys/class/gpio/export
$ echo out > /sys/class/gpio/gpio20/direction
$ echo 0 > /sys/class/gpio/gpio20/value

3. Start minicom.

$ minicom -D/dev/ttyO1 -b115200 -8

4. Type a few characters at the minicom and see that the loopback is working.