Difference between revisions of "How to use UARTs"

From IGEP - ISEE Wiki

Jump to: navigation, search
Line 3: Line 3:
 
This How-To is meant to be a starting point for people to learn use UART for IGEP v2 devices as quickly and easily as possible. In this how-to, we use a program'''(upload source code)''', executed twice in separated progres at the same IGEP.  Its function is get a number from UART, increase it and send result via other UART, the result will be a infinite loop between 2 UARTs. This program was tested in [http://releases.linaro.org/platform/linaro-m/headless/final/linaro-m-headless-tar-20101108-2.tar.gz Linaro Headless] with [[Linux Kernel 2.6.35.y|Kernel 2.6.35.y]].  
 
This How-To is meant to be a starting point for people to learn use UART for IGEP v2 devices as quickly and easily as possible. In this how-to, we use a program'''(upload source code)''', executed twice in separated progres at the same IGEP.  Its function is get a number from UART, increase it and send result via other UART, the result will be a infinite loop between 2 UARTs. This program was tested in [http://releases.linaro.org/platform/linaro-m/headless/final/linaro-m-headless-tar-20101108-2.tar.gz Linaro Headless] with [[Linux Kernel 2.6.35.y|Kernel 2.6.35.y]].  
  
Note: This program have a debug option using GPIOs to debug via <span lang="en" class="short_text" id="result_box"><span class="hps">oscilloscope</span></span> the Kernel latencies between "write" and "select" functions.<br>
+
Note: This program have a debug option using GPIOs to debug via <span lang="en" id="result_box" class="short_text"><span class="hps">oscilloscope</span></span> the Kernel latencies between "write" and "select" functions.<br>  
  
 
= Feedback and Contributing  =
 
= Feedback and Contributing  =
Line 9: Line 9:
 
At any point, if you see a mistake you can contribute to this How-To.  
 
At any point, if you see a mistake you can contribute to this How-To.  
  
= Preparing IGEP <br> =
+
= Preparing IGEP =
 +
 
 +
=== Check UARTs ===
 +
<br>
 +
=== Wire connectors ===
  
 
'''Under Construction'''  
 
'''Under Construction'''  
  
 
[[Category:Communications]] [[Category:Work_in_progress]] [[Category:How_to_forge]]
 
[[Category:Communications]] [[Category:Work_in_progress]] [[Category:How_to_forge]]

Revision as of 10:53, 19 January 2012

Overview

This How-To is meant to be a starting point for people to learn use UART for IGEP v2 devices as quickly and easily as possible. In this how-to, we use a program(upload source code), executed twice in separated progres at the same IGEP.  Its function is get a number from UART, increase it and send result via other UART, the result will be a infinite loop between 2 UARTs. This program was tested in Linaro Headless with Kernel 2.6.35.y.

Note: This program have a debug option using GPIOs to debug via oscilloscope the Kernel latencies between "write" and "select" functions.

Feedback and Contributing

At any point, if you see a mistake you can contribute to this How-To.

Preparing IGEP

Check UARTs


Wire connectors

Under Construction