We're no longer updating This wiki!!

UART interface using the IO-Port #1

This page introduces how you can UART Interface using the IO-Port #1

J4 - 2×4 pins(IO Port #1)

Pin Number Expansion Net Name Export Number Pin Number Expansion Net Name Export Number
1XEINT_8 (GPX1.0) #199 21.8V Power
3XEINT_9 (GPX1.1) #200 4XURXD_0 (UART_0_RXD) /dev/ttySAC0
5XEINT_13 (GPX1.5) #204 6XUTXD_0 (UART_0_TXD) /dev/ttySAC0
7Ground 85V0 Power

How to test your UART0 of IO-Port #1

You need to prepare below items.

  • ODROID-U3
  • USB-UART Module Kit
  • jumper wire x4
  • serial comunication utility on your Host PC

1. You will connect jumper wire to IO-Port #1.
This picture is that jumper is connected.

IO-PORT UART Block Diagram

2. HOST PC setup.
You will open USB Module Devices on your HOST PC.
Ubuntu
Install Serial comunication utility.

sudo apt-get install minicom

After check your usb serial node, Open serial port.

ls /dev/ttyUSB*
sudo minicom -b 115200 -D /dev/ttyUSB0

3. Target board(ODROID-U3) setup.
Set a serial node on your ODROID-U3

stty -F /dev/ttySAC0 115200

4. ODROID-U3 → HOST PC test.
ODROID-U3

echo 1 > /dev/ttySAC0

5. HOST PC → ODROID-U3 test.
ODROID-U3

cat /dev/ttySAC0

HOST PC
Send characters via minicom.

en/u3_ioport_uart.txt · Last modified: 2015/02/06 18:25 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0