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: program include <br>
+
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>
  
 
= Feedback and Contributing  =
 
= Feedback and Contributing  =

Revision as of 10:52, 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

Under Construction