Difference between revisions of "Peripherals Summary"

From IGEP - ISEE Wiki

Jump to: navigation, search
Line 1: Line 1:
 
= Overview  =
 
= Overview  =
  
This article pretends explain the capabilities of most used peripherals in IGEPv2.<br>
+
This article pretends introduce the capabilities of most used peripherals in IGEPv2, with a brief explanation and program examples to make easy to learning it.<br>
  
 
= Feedback and Contributing  =
 
= Feedback and Contributing  =

Revision as of 12:46, 24 November 2011

Overview

This article pretends introduce the capabilities of most used peripherals in IGEPv2, with a brief explanation and program examples to make easy to learning it.

Feedback and Contributing

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

Peripherals

UART

UART (universal asynchronous receiver/transmitter) convert parallel data from system bus to serial data through a port. At the destination, a second UART re-assembles this data. Each UART contains a shift register which is the fundamental method of conversion between serial and parallel forms. External signals may be of many different forms, IGEPv2 can handle RS232 and RS485 but not all pads have these standards, Omap UART peripheral use CMOS level voltage (1V8). Omap UART peripheral use four signals:

- UART TX: Transmit signal.

- UART RX: Receive signal.

- UART RTS: Ready to send, used in RS485 and unidirectional  communication.

- UART CTS: Clear to send, used in RS485 and unidirectional  communication.

The speed transmion data is mesured in bauds per second, for example Kernel console params uses 115200 bps (equivalent to 14 Kbytes per second). The speed can set up from 300 bauds to 3686400 bauds.

More information: http://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter

How to use UARTs

GPIO

GPIO (General Purpose Input/Output) is a generic pin on a chip whose behavior (including whether it is an input or output pin) can be controlled (programmed) through software. Some Omap GPIO characteristics are:

- Set the data input and output direction
- Configure GPIO pin to high or low states.
- Configure GPIO pins for interrupt control
- Enable and disable interrupts
- Enable and disable wakeup capability per GPIO pin.

Omap use CMOS voltage levels (1V8) and the pads are connected directly to it.

More information go:

- http://en.wikipedia.org/wiki/GPIO

- http://omappedia.org/wiki/GPIO

How to use GPIOs Example: What can I do with IGEP0020#How_to_handle_the_gpio-LED.27s

SPI

Under construction

How to use SPI

BSP

Under contruction

MMC

Under contruction

I2C

How to use I2C


Under construction