Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

What can I do with IGEP0022

90 bytes removed, 09:09, 11 October 2011
no edit summary
= How to use Telit Modem =
The IGEP0022 expansion board provides a Telit [http://telit.com/en/products/gsm-gprs.php?p_ac=show&p=47 GE865] GSM/GPRS&nbsp;modem which is connected to the OMAP via some GPIO pins and UART 2.<br>
Here you have the official manuals from the manufacturer's webpage:<br>
Insert a valid SIM card to the SIM card reader of your IGEP0022.
Now, you must add the following line at the kernel file (igep.ini) in order to enable GE865 support&nbsp;:
<pre>buddy.modem=yes</pre>
<br>
Once the modem is on, you can interact with it via UART 2. You can use Microcom to comunicate with it from the serial debug console:
<pre>microcom -s 115200 /dev/ttyS1</pre>
(Note:&nbsp;GE865 has auto baud rate detection, so you can use a different speed)<br>
To check the modem status use the command::<br>
In order to use your GSM/GPRS you should connect the antenna as it is explained in the [[Getting Started with IGEP0022 board#GSM/GPRS antenna |Getting Started with IGEP0022]] article.
Now unlock it by inserting your SIM&nbsp;card PIN&nbsp;number. Use the command:<br>
<pre>at+cpin=&lt;PIN&gt;</pre>
If you correctly inserted the PIN&nbsp;number, the answer should be OK.
(Note: If you fail more than 3 times, your SIM&nbsp;card will lock and you will have to insert PUK number.)
Now you are ready to use the GSM/GPS modem.
== Examples ==
If you successfully '''followed the the previous instructions''', you are ready to test the GSM/GPRS&nbsp;modem. Here are some examples of simple&nbsp;commands:
You can check the complete list of AT&nbsp;commands at the Official manufacturer [http://telit.com/module/infopool/download.php?id=522 Software User Guide].
=== Test received signal strength<br> ===
*Have successfully connected the TFT Screen as explained at the [[Getting Started with IGEP0022 board#TFT_and_Touchscreen|Getting Started Guide]] or at the [http://igep.es/index.php?option=com_content&view=article&id=99&Itemid=129&dir=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2_EXPANSION%2FHW_User_Manuals&download_file=%2Fvar%2Fwww%2Fvhosts%2Figep.es%2Fhttpdocs%2Fdownloads%2F01-ISEE_Products%2FIGEPv2_EXPANSION%2FHW_User_Manuals%2FMAN-PR-IGEP.0022-001.01.HW_USER_MANUAL.pdf Official Hardware Reference Manual]<br>
*A camera or any device with PAL output video to RCA&nbsp;connector.<br>
<br>
<pre>./media-ctl --set-format '"tvp5150 2-005c":0 [UYVY 720x628]'
</pre>
Connect a video camera or any device with PAL&nbsp;output to the Composite Video RCA input connector of the IGEP0022.
Use gstreamer as live stream to capture video from your video source.<br>
Now setup the gstreamer pipeline:<br>
<pre>gst-launch-0.10 -v v4l2src device=/dev/video2 queue-size=1&nbsp;! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=628&nbsp;! omapfbsink</pre>
If everything was fine you will see the live video at the screen.
= How to use CAN bus =
The IGEP0022 expansion board provides a CAN&nbsp;interface using MCP2515.<br>
Several tools are provided by socketCAN to use this controller:
*canplayer: send CAN frames from a file to a CAN interface.
In order to test the CAN&nbsp;interface you can connect IGEP0022 to a CAN device or network or to another IGEP0022 board.<br>
In the last case, you have to connect the two boards like this:<br>
If this is your first time accessing CAN bus, check J702 jumper is not connected before follow this tutorial. If you don't have this jumper, don't worry because its function is only for testing.
Now you can set up the interface (on all boards when using multiple IGEP0022 <span lang="en" id="result_box" class="short_text"><span title="Click for alternate translations" class="hps">connected to a CAN&nbsp;network simultaneously)</span></span>:<br>
/sbin/ip link set can0 up type can bitrate 125000
If you want to receive CAN&nbsp;data, use:
candump can0
0
edits