Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

User:Pau pajuelo

175 bytes added, 15:44, 13 August 2012
m
no edit summary
'''Exp_ilms0015:''' It is a startup program for IGEP New York. It attach lis31v02d with Spi driver.
{| bordercellspacing="1" widthcellpadding="2001" cellspacingborder="1" cellpaddingwidth="1200"
|-
| [[Image:Spi linux schematic.png|501x600px]]
Go to $(Kernel path)/arch/arm/mach-omap2/exp-ilms0015.c and edit the next fields in bold words.
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
|
By default, poky-media-create (See: [http://labs.isee.biz/index.php/How_to_create_a_SD-card_with_the_latest_software_image Poky firmware with Kernel 2.6.37.y]) configured as igep0030, gives support only for IGEP Expansions Paris and Berlin. We need to configure igep.ini and gives support to IGEP New York:
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
|  ; Machine configuration
Once you copy your new Kernel binaries and edit igep.ini. Power up your board, log in and check your changes:
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
|
=== Read accelerometer axes ===
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
| Finally we are going to read gravity force: LIS3DH has ±2g/±4g/±8g/±16g dynamically selectable full scale (See chapter 8.11). The axes values are expressed in two’s complement in 16 bits (See chapters 8.16, 8.17 and 8.18).
The next table shows results at different positions:
{| bordercellspacing="1" widthcellpadding="6001" cellspacingborder="1" cellpaddingwidth="1600"
|-
| Position
'''Exp_ilms0015:''' It is a startup program for IGEP New York. It attach lis31v02d with Spi driver.
{| bordercellspacing="1" widthcellpadding="2001" cellspacingborder="1" cellpaddingwidth="1200"
|-
| [[Image:Spi linux schematic.png|501x600px]]
Go to $(Kernel path)/arch/arm/mach-omap2/exp-ilms0015.c and edit the next fields in bold words.
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
|
By default, poky-media-create (See: [http://labs.isee.biz/index.php/How_to_create_a_SD-card_with_the_latest_software_image Poky firmware with Kernel 2.6.37.y]) configured as igep0030, gives support only for IGEP Expansions Paris and Berlin. We need to configure igep.ini and gives support to IGEP New York:
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
|  ; Machine configuration
Once you copy your new Kernel binaries and edit igep.ini. Power up your board, log in and check your changes:
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
|
=== Read accelerometer axes ===
{| bordercellspacing="1" widthcellpadding="5001" cellspacingborder="1" cellpaddingwidth="1500"
|-
| Finally we are going to read gravity force: LIS3DH has ±2g/±4g/±8g/±16g dynamically selectable full scale (See chapter 8.11). The axes values are expressed in two’s complement in 16 bits (See chapters 8.16, 8.17 and 8.18).
The next table shows results at different positions:
{| bordercellspacing="1" widthcellpadding="6001" cellspacingborder="1" cellpaddingwidth="1600"
|-
| Position
= How to install Eclipse (under construction) =
= Getting started with IGEPv2 Expansion<br> =  
{{Table/IGEP Technology Devices
}}
<br> __TOC__
= Overview =
This is the 1/3 chapter of IGEPv2 Expansion Tutorial Guide.
In this first chapter, we will learn how to connect some expansion peripherals.
= Requirements =
The IGEPv2 Expansion connects to the IGEPv2 Board through J990, JA41, JA42, JC30 and J960 connectors. Some IGEPv2 Expansion may include three jumpers, you should remove it because they are designed for test and lab purposes. Just take a look on the figure below to mount it:<br>
{| borderalign="1center" aligncellspacing="center1" widthcellpadding="2001" cellspacingborder="1" cellpaddingwidth="1200"
|-
| [[Image:Igepv2expconnectoigepv2.PNG|268px]]<br>
'''Know more'''<br>
IGEPv2 Expansion integrates LCD backlight driver (TPS61081) and touch screen controller (TSC2046), a 4-wire touch screen controller which supports a low voltage I/O interface from 1.5V to 5.25V.
== Serial port ==
'''Know more'''
This peripheral (UART 3) can be used to debug system using kernel traces, getting a remote prompt, etc. <br> <br> <br>
== VGA monitor ==
'''Basic'''&nbsp;
{| borderalign="1right" aligncellspacing="right1" widthcellpadding="3631" cellspacingborder="1" cellpaddingwidth="1363"
|-
| [[Image:Igepv2expconnecttovga.jpg|150px]]
|}
IGEPv2 Expansion integrates a VGA connector, the output VGA signal is equal to HDMI connector. Plug a monitor with VGA&nbsp;input.
'''Know more'''
This output is controled by ADV7125KSTZ140 Integrated Circuit.
<br> <br> <br>
== CAN bus ==
This output is controled by MICROCHIP MCP2515. J703 is a 3.5 mm pitch terminal blocks 4 Positions:
{| bordercellspacing="1" widthcellpadding="3501" height="113" cellspacingborder="1" cellpaddingwidth="1350"
|-
| Signal Name
'''Basic'''
{| borderalign="1right" aligncellspacing="right1" widthcellpadding="2001" cellspacingborder="1" cellpaddingwidth="1200"
|-
| [[Image:IGEP0022 Modem with antenna.png|200px]]
*Power consumption (typical values)
&nbsp;&nbsp;&nbsp; - Power off: ‹ 62 uA<br>&nbsp;&nbsp;&nbsp; - Idle (registered, power saving): 1.6 mA @ DRX=9 <br> <br> <br>
== Composite Video Decoder ==
}}
<br>
= What can i do with igepv2 expansion =
This is the 2/3 chapter of IGEPv2 Expansion Tutorial Guide.
We will learn some basic tasks such add support to IGEPv2 Expansion, control some peripherals, etc.<br>
= What can I do<br> =
*You will successfully started the console.
<br>
 {| bordercellspacing="1" widthcellpadding="2001" cellspacingborder="1" cellpaddingwidth="1200"
|-
| [[Image:IGEPV2EXPCHMDB9.png|250px]]
'''Know more'''
[[How to use UARTs|Read this tutorial]] to learn about UARTs.
== How to use TFT and Touchscreen ==
vi /tmp/temp/igep.ini </pre>
*In Seiko screen add the following line:
 <pre>omapdss.def_disp=lcd-70</pre> 
*In Powertip screen add the following line:
 <pre>omapdss.def_disp=lcd-43</pre> 
*Save changes and reboot your IGEP Device to finish it.<br>
buddy.modem=yes
*Save changes (ESC -> &gt;&nbsp;:wq -> &gt; Enter) and reboot your IGEP Device
*Power up the modem. You can power off using again these commands:
<pre>echo 0 &gt; /sys/class/gpio/gpio140/value
Press any key to end call
'''NOTE:''' If "NO CARRIER" message appears, check your coverage or use an antenna.
==== Sending a SMS<br> ====
If you want to cancel or restart the message press ESC.<br>
'''NOTE:''' If "NO CARRIER" message appears, check your coverage or use an antenna.
'''NOTE:''' Don't use special characters in SMS text message like &lt;`´'"&gt;.<br>
*Now you can see in your IGEP screen a result similar like this
{| width="200" cellspacing="1" cellpadding="1" border="1" width="200"
|-
| [[Image:Igepv2expgstreamercapture.jpg|400px]]
'''Know more'''<br>
You can use other programs like [[Labs.isee.biz/index.php/How to setup tvp5151 video decoder#Play|yavta]]
== How to use EEPROM ==
'''Basic'''
The IGEP0022 expansion board provides an AT24C01B serial EEPROM memory which is connected to the OMAP via I2C (register 50).<br>
Use i2c-tools to manage it: 
<pre>i2cget &lt;bus&gt; &lt;chip&gt; &lt;register&gt;
i2cset &lt;bus&gt; &lt;chip&gt; &lt;register&gt; &lt;value&gt;</pre>
For example, the following writes the value 0x22 to register 0x10 of device 0x50 on i2c bus 2:
 
<pre>i2cset -f -y 2 0x50 0x10 0x22
i2cget -f -y 2 0x50 0x10</pre> '''Know more'''
See also: i2dump(8), i2cget(8) and i2cset(8) man page
== How to use CAN bus (under construction) ==
{{#lst:How to use CAN bus|IGEPv2 EXPANSION}} {{Template:Navigation/IGEP Technology Guides/What can I do/Ending}} {{Table/IGEP Technology Devices
|Tech_Family={{#lst:Template:Links|IGEPv2_EXPANSION_Tech_Family}}
|Tech_ID={{#lst:Template:Links|IGEPv2_EXPANSION_Tech_ID}}
|ISEE_Hardware={{#lst:Template:Links|IGEPv2_EXPANSION_ISEE_Hardware}}
}}
 
<section begin=How to create a SD-card with the latest software image />this is a chapter<section end=How to create a SD-card with the latest software image />
[[Category:IGEP_Technology_Devices_Guides]]
4,199
edits