0
edits
Changes
From IGEP - ISEE Wiki
no edit summary
{{Table/IGEP Technology Devices| cellspacingTech_Family="0" cellpadding="5" border="1" align="center" width="100%" style="text-align{{#lst:Template: left;"Links|-IGEPv2_Tech_Family}}| bgcolorTech_ID="#cccccc" |'''IGEPv2 - Part 2/3'''|-| It is recommended that you '''follow the [[{{#lst:Template:Links|IGEPv2_Community_Guides_1IGEPv2_Tech_ID}}|previous chapters]]''' of this guide before continuing with this tutorial.|} {{Navigation/IGEP Technology Guides
|Name={{#lst:Template:Links|IGEPv2_Name}}
|Image={{#lst:Template:Links|IGEPv2_Image}}
|ISEE_MainPage={{#lst:Template:Links|IGEPv2_ISEE_MainPage}}
|ISEE_Hardware={{#lst:Template:Links|IGEPv2_ISEE_Hardware}}
}}
You must logged in the board.
* 115200
* 8N1
* no flow control (either software or hardware)
The board has two user bicolor (green/red) leds available that can be controlled. In its simplest form, you can control of LEDs from
userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands:
$ echo 1 > /sys/class/leds/d440\:green/brightness
$ echo 1 > /sys/class/leds/d440\:red/brightness
== Handle generic GPIO ==
See [[How_to_use_GPIOs|GPIOs HOWTO]] to know details about that.
Quick example could be:
<pre>echo 156 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio156/direction
echo 0 > /sys/class/gpio/gpio156/value</pre>
The software provided by ISEE board has a script another UART available on J960 connector (UART1). This UART is shared with RS485 so it's incompatible use both interfaces at the same time. For that flashes the content of your MicroSD Card reason to the flash memory in your IGEPv2use UART1 for RS232 comunications you should disable RS485 interface.You can do this [[How_do_I_edit_my_kernel_command_line | adding following kernel cmdline parameter]]
Now when you write a character in you PC serial port, the character should appear in the target board.
Note that the board has been designed to use Line In this tutorial we are going for the audio input which means users need to connect via an ethernet cable. To to that, you need add some type of pre-amp for a microphone to set an IP in IGEPv2 (host) and start work or use a SSH session in your PC (client)powered microphone. Let's do itFor a pre-amp for a microphone you can use MAX9812.
You can record audio in with the application arecord, for example:
Following output is expected on console:
boundary : 1073741824
When ever you think you want to stop recording just press CTRL+C == Get sound out (audio out) == Connect an external output audio device to the 3.5mm jack Audio Out connector in the board, such as external stereo powered speakers. The amplifiers for the headset output are disabled by default, so the first thing you'll do is enable these amplifiers with: $ amixer set -D hw:0 'Headset' 0dB $ amixer set -D hw:0 'HeadsetL Mixer AudioL2' on $ amixer set -D hw:0 'HeadsetR Mixer AudioR2' on Then you can easily play a *.wav sound with the application Aplay, for example: $ aplay audio-in.wav == How to use wifi == If you have a wireless network adapter in your computer you can also connect to the board using the ad hoc network connection that the firmware configures byu default. Use your wireless manager to connect to the wireless network called in the form IGEP_xx After connecting, a DHCP IP address should be adquired. Now you can access, for example with ssh, to the target board connecting to the 192.168.7.1 address. $ ssh root@192.168.6.1 A detailed guide on how use wifi can be found by following this link: [[Using IGEP WLAN to communicate]] == How to use bluetooth == A detailed guide on how use bluetooth can be found by following this link: [[How to setup Marvell bluetooth]] == How to use the SD card == You can connect a micro SD card for storage. After plugin the SD card the kernel should detect the card and automount in /media directory. == How to use the USB OTG == In order to act in host mode and add some peripherals like keyboard, mouse or pendrives you require a special cable that grounds the ID pin. Since the OTG port only provides 100mA of power a USB hub is recommended. Though a common USB Standard-A to Mini-B type cable the port acts as a device. In this mode you can connect to the board using the USB Ethernet Gadget. Use this cable between your computer and the target board and connect with: $ ssh root@192.168.7.1 A detailed guide on how use wifi can be found by following this link: [[Using USB ethernet gadget to communicate]]
{{Template:Navigation/IGEP Technology Devices Guides/Next Step|Name={{#lst:Template:Links|IGEPv2_Name}}|Community_MainPage={{#lst:Template:Links|IGEPv2_Community_MainPage}}|Next_Step=Start developing under IGEP TechnologyWhat can I do/Ending}}
[[Category:IGEP Technology Devices Guides]]