Difference between revisions of "What can I do with IGEP SMARC iMX6"
From IGEP - ISEE Wiki
(Created page with '{{Table/IGEP Technology Devices |Tech_Family={{#lst:Template:Links|IGEP_SMARC_iMX6_Tech_Family}} |Tech_ID={{#lst:Template:Links|IGEP_SMARC_iMX6_Tech_ID}} |Name={{#lst:Template:Li…') |
|||
Line 28: | Line 28: | ||
userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands: | userspace. LEDs appear in /sys/class/leds/ and you can turn on and off with following commands: | ||
+ | <pre> | ||
$ echo 1 > /sys/class/leds/igep\:red\:led1/brightness | $ echo 1 > /sys/class/leds/igep\:red\:led1/brightness | ||
$ echo 1 > /sys/class/leds/igep\:red\:led0/brightness | $ echo 1 > /sys/class/leds/igep\:red\:led0/brightness | ||
$ echo 0 > /sys/class/leds/igep\:red\:led1/brightness | $ echo 0 > /sys/class/leds/igep\:red\:led1/brightness | ||
$ echo 0 > /sys/class/leds/igep\:red\:led0/brightness | $ echo 0 > /sys/class/leds/igep\:red\:led0/brightness | ||
− | + | </pre> | |
+ | <pre> | ||
$ echo 1 > /sys/class/leds/igep\:green\:led1/brightness | $ echo 1 > /sys/class/leds/igep\:green\:led1/brightness | ||
$ echo 1 > /sys/class/leds/igep\:green\:led0/brightness | $ echo 1 > /sys/class/leds/igep\:green\:led0/brightness | ||
$ echo 0 > /sys/class/leds/igep\:green\:led1/brightness | $ echo 0 > /sys/class/leds/igep\:green\:led1/brightness | ||
$ echo 0 > /sys/class/leds/igep\:green\:led0/brightness | $ echo 0 > /sys/class/leds/igep\:green\:led0/brightness | ||
+ | </pre> | ||
+ | |||
+ | The base has two user (red/blue). Can't use them in the same time. | ||
+ | |||
+ | <pre> | ||
+ | $ echo 1 > /sys/class/leds/base\:blue\:led0/brightness | ||
+ | $ echo 1 > /sys/class/leds/base\:red\:led0/brightness | ||
+ | $ echo 0 > /sys/class/leds/base\:blue\:led0/brightness | ||
+ | $ echo 0 > /sys/class/leds/base\:red\:led0/brightness | ||
+ | </pre> | ||
+ | |||
A detailed guide on how use GPIO-LEDS can be found by following this link: [[How to handle the gpio-LED]] | A detailed guide on how use GPIO-LEDS can be found by following this link: [[How to handle the gpio-LED]] | ||
Line 42: | Line 55: | ||
== CAN BUS == | == CAN BUS == | ||
+ | '''under construction''' | ||
== How to use UART (RS485) == | == How to use UART (RS485) == | ||
Line 50: | Line 64: | ||
== CAN BUS == | == CAN BUS == | ||
− | + | '''under construction''' | |
== Audio == | == Audio == | ||
− | + | '''under construction''' | |
== Boot SATA == | == Boot SATA == | ||
− | + | '''under construction''' | |
== Boot emmc == | == Boot emmc == | ||
− | + | '''under construction''' | |
== Install firmware emmc == | == Install firmware emmc == | ||
− | + | '''under construction''' | |
== EEPROM == | == EEPROM == | ||
− | + | '''under construction''' | |
== SPINOR == | == SPINOR == | ||
− | + | '''under construction''' | |
== IO expansion == | == IO expansion == | ||
− | + | '''under construction''' | |
== wifi == | == wifi == | ||
− | + | '''under construction''' | |
== HDMI resolution == | == HDMI resolution == | ||
+ | '''under construction''' | ||
+ | == modem USB == | ||
− | + | '''under construction''' | |
{{Template:Navigation/IGEP Technology Guides/What can I do/Ending}} | {{Template:Navigation/IGEP Technology Guides/What can I do/Ending}} | ||
[[Category:IGEP Technology Devices Guides]] | [[Category:IGEP Technology Devices Guides]] |
Revision as of 11:51, 13 May 2016
| |
| |||||||||
Overview
This is the 2/3 chapter of the Getting Started with IGEP SMARC iMX6 Tutorial Guide.
In this second chapter, we will learn some basics tasks. Upon completion, you will be ready to continue with chapter 3/3 that explains more advanced tasks.
Contents
[hide]
What can I do
You must logged in the board.
Handle the GPIO-LEDS
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/igep\:red\:led1/brightness $ echo 1 > /sys/class/leds/igep\:red\:led0/brightness $ echo 0 > /sys/class/leds/igep\:red\:led1/brightness $ echo 0 > /sys/class/leds/igep\:red\:led0/brightness
$ echo 1 > /sys/class/leds/igep\:green\:led1/brightness $ echo 1 > /sys/class/leds/igep\:green\:led0/brightness $ echo 0 > /sys/class/leds/igep\:green\:led1/brightness $ echo 0 > /sys/class/leds/igep\:green\:led0/brightness
The base has two user (red/blue). Can't use them in the same time.
$ echo 1 > /sys/class/leds/base\:blue\:led0/brightness $ echo 1 > /sys/class/leds/base\:red\:led0/brightness $ echo 0 > /sys/class/leds/base\:blue\:led0/brightness $ echo 0 > /sys/class/leds/base\:red\:led0/brightness
A detailed guide on how use GPIO-LEDS can be found by following this link: How to handle the gpio-LED
CAN BUS
under construction
How to use UART (RS485)
This How-To is meant to be a starting point for people to learn to use RS-485 port on IGEP devices as quickly and easily as possible. We use IGEP YOCTO Firmware and RS485 example which describe how to setup and write data on the RS-485 port.
A detailed guide on how use UARTS can be found by following this link: How to use RS485
CAN BUS
under construction
Audio
under construction
Boot SATA
under construction
Boot emmc
under construction
Install firmware emmc
under construction
EEPROM
under construction
SPINOR
under construction
IO expansion
under construction
wifi
under construction
HDMI resolution
under construction
modem USB
under construction
You have successfully completed this chapter of the guide.
| |
![]() |
If you have any question, don't ask to ask at the IGEP Community Forum or the IGEP Community Chat | ![]() |