We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c1_hardware_uart [2016/11/14 17:04]
charles.park
en:c1_hardware_uart [2016/11/14 17:19] (current)
odroid [How to use enable another UART /dev/ttyS1 on 40 Pin Header]
Line 44: Line 44:
 Send characters via minicom. Send characters via minicom.
  
-=== How to use UART(/dev/ttyS1on 40 Pin Header === +==== How to enable another ​UART /dev/ttyS1 on 40 Pin Header ​==== 
-== Pin Map : GPIOX.4[29, TXD], GPIOX.5[18, RXD] ==+=== Pin Map : GPIOX.4[29, TXD], GPIOX.5[18, RXD] ===
  
-1. Need package ​install+<WRAP center round important 100%> 
 +To use the UART(/​dev/​ttyS1),​ you first need to update the kernel version to "​3.10.104"​ or higher. 
 +  sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade 
 +</​WRAP>​ 
 + 
 +1. Install the device-tree compiler ​package
 <​code>​ <​code>​
 sudo apt-get install device-tree-compiler sudo apt-get install device-tree-compiler
 </​code>​ </​code>​
  
-2. Download dts file from github.+2. Download dts file from our github.
 <​code>​ <​code>​
 wget https://​github.com/​hardkernel/​linux/​raw/​odroidc-3.10.y/​arch/​arm/​boot/​dts/​meson8b_odroidc.dts wget https://​github.com/​hardkernel/​linux/​raw/​odroidc-3.10.y/​arch/​arm/​boot/​dts/​meson8b_odroidc.dts
Line 62: Line 67:
 </​code>​ </​code>​
  
-4. find uart_ao & edit+4. find uart_ao & add uart_0 definition.
 <​code>​ <​code>​
 ... ...
Line 96: Line 101:
 </​code>​ </​code>​
  
-5. find pinmux & edit+5. find pinmux & add uart_0 pin mux.
 <​code>​ <​code>​
 ... ...
Line 135: Line 140:
 </​code>​ </​code>​
  
-=== Pin Map : UART pin on the 4-pin CON5 connector ===+==== Pin Map : UART pin on the 4-pin CON5 connector ​====
 <​code>​ <​code>​
 _____UART____ _____UART____
Line 148: Line 153:
 3.3V LVTTL 3.3V LVTTL
  
-=== Automatically configure the UART settings. ===+==== Automatically configure the UART settings. ​====
 This is an example of default setting for a GPS module which has a 9600bpsN81 UART interface.\\ This is an example of default setting for a GPS module which has a 9600bpsN81 UART interface.\\
 Add the following to the end of /​etc/​rc.local (before the exit 0)\\ Add the following to the end of /​etc/​rc.local (before the exit 0)\\
Line 154: Line 159:
 This way the tty port is setup for use with the gps on system boot, without user interaction.\\ This way the tty port is setup for use with the gps on system boot, without user interaction.\\
 \\ \\
-=== Tips for UART port ===+==== Tips for UART port ====
 [[http://​forum.odroid.com/​viewtopic.php?​f=115&​t=17279|How to enable the RTS/CTS]] [[http://​forum.odroid.com/​viewtopic.php?​f=115&​t=17279|How to enable the RTS/CTS]]
en/c1_hardware_uart.1479112484.txt.gz · Last modified: 2016/11/14 17:04 by charles.park
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0