Olimex iMX233- OLinuXino- NANO User guide

iMX233- OLinuXino- NANO
Open-source single-board Linux computer
USER’S MANUAL
Revision D, December 2013
Designed by OLIMEX Ltd, 2013
All boards produced by Olimex LTD are ROHS compliant
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

DISCLAIMER

The information in this document is provided in connection with Olimex products. No license, express or implied or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Olimex products.
This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://www.creativecommons.org/licenses/by-sa/3.0/.
This hardware design by Olimex LTD is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
The software is released under GPL.
It is possible that the pictures in this manual differ from the latest revision of the board.
The product described in this document is subject to continuous development and improvements. All particulars of the product and its use contained in this document are given by OLIMEX in good faith. However all warranties implied or expressed including but not limited to implied warranties of merchantability or fitness for purpose are excluded. This document is intended only to assist the reader in the use of the product. OLIMEX Ltd. shall not be liable for any loss or damage arising from the use of any information in this document or any error or omission in such information or any incorrect use of the product.
This evaluation board/kit is intended for use for engineering development, demonstration, or evaluation purposes only and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons handling the product must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user is not exclusive. Olimex assumes no liability for applications assistance, customer product design, software performance, or infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE COMPONENTS USED TO CREATE IMX233-OLINUXINO-NANO. THEY ARE CONSIDERED SUITABLE ONLY FOR IMX233-OLINUXINO-NANO.
Page 2 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual
Table of Contents
DISCLAIMER ............................................................................................................. 2
CHAPTER 1 OVERVIEW ......................................................................................... 5
1. Introduction to the chapter ....................................................................................................... 5
1.1 Features ..................................................................................................................................... 5
1.2 The OLinuXino family ............................................................................................................ 6
1.2 Target market and purpose of the board ............................................................................... 7
1.3 Organization ............................................................................................................................. 7
CHAPTER 2 SETTING UP THE OLINUXINO BOARD ...................................... 8
2. Introduction to the chapter ....................................................................................................... 8
2.1 Electrostatic warning ............................................................................................................... 8
2.2 Requirements ........................................................................................................................... 8
2.3 Powering the board .................................................................................................................. 9
2.4 Prebuilt software ...................................................................................................................... 9
2.5 Using BitBurner ..................................................................................................................... 10
2.6 Building the Linux image ...................................................................................................... 10
2.7 How to setup the I2C, SPI, UART ........................................................................................ 10
CHAPTER 3 OLINUXINO BOARD DESCRIPTION .......................................... 11
3. Introduction to the chapter ..................................................................................................... 11
3.1 Layout (top view) ................................................................................................................... 11
3.2 Layout (bottom view) ............................................................................................................. 11
CHAPTER 4 THE iMX233 MICROCONTROLLER ........................................... 12
4. Introduction to the chapter ..................................................................................................... 12
4.1 The microcontroller ............................................................................................................... 12
CHAPTER 5 CONTROL CIRCUITY AND HARDWARE MODULES ............. 15
5. Introduction to the chapter ..................................................................................................... 15
5.1 Reset ........................................................................................................................................ 15
5.2 Clock ....................................................................................................................................... 15
5.3 Power supply circuit .............................................................................................................. 16
CHAPTER 6 CONNECTORS AND PINOUT ....................................................... 17
6. Introduction to the chapter ..................................................................................................... 17
6.1 Debugging interfaces ............................................................................................................. 17
6.1.1 U_DEBUG ....................................................................................................................... 17
6.1.2 JTAG debug .................................................................................................................... 18
6.2 SD/MMC slot .......................................................................................................................... 19
6.3 UEXT module ......................................................................................................................... 20
6.4 CON1 and CON2 - GPIO connectors .................................................................................. 22
6.5 USB HOST connector ............................................................................................................ 24
6.6 External power pins ............................................................................................................... 25
Page 3 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual
6.7 Battery connector ................................................................................................................... 25
6.8 Boot mode positions ............................................................................................................... 26
6.9 Jumper description ................................................................................................................ 27
6.9.1 CH/CS and DH/DS ......................................................................................................... 27
6.9.2 CSS/CSH ......................................................................................................................... 27
6.9.3 Boot mode selecting jumpers ........................................................................................ 27
6.10 Additional hardware components ...................................................................................... 28
6.11 Accessories ............................................................................................................................ 28
6.11.1 USB-SERIAL-CABLE-F ............................................................................................. 28
CHAPTER 7 BLOCK DIAGRAM AND MEMORY ............................................. 29
7. Introduction to the chapter ..................................................................................................... 29
7.1 Memory addresses ................................................................................................................. 29
7.2 Processor block diagram ....................................................................................................... 30
7.3 Physical memory map ........................................................................................................... 31
CHAPTER 8 SCHEMATICS ................................................................................... 32
8. Introduction to the chapter ..................................................................................................... 32
8.1 Eagle schematic ...................................................................................................................... 32
8.2 Physical dimensions ............................................................................................................... 32
CHAPTER 9 REVISION HISTORY AND SUPPORT .......................................... 33
9. Introduction to the chapter ..................................................................................................... 33
9.1 Document revision ................................................................................................................. 33
9.2 Board revision ........................................................................................................................ 34
9.3 Useful web links and purchase codes ................................................................................... 34
9.4 Product support ..................................................................................................................... 35
Page 4 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

CHAPTER 1 OVERVIEW

1. Introduction to the chapter

Thank you for choosing the OLinuXino single-board computer from Olimex! This document provides a user’s guide for the Olimex OLinuXino board. As an overview, this chapter gives the scope of this document and lists the board’s features. The differences between the members of the OLinuXino family are mentioned. The document’s organization is then detailed.
The OLinuXino development board enables code development of applications running on the iMX233 microcontroller, manufactured by Freescale Semiconductor.
OLinuXino is an open-source, open-hardware project and all documentation is available to the customer.

1.1 Features

iMX233 ARM926J processor at 454Mhz
64 MB RAM
SD-card connector for booting the Linux image
1 USB high speed host
Three buttons
Green LED
UEXT connector for connection of different peripheral modules
2 row x 24 pins - GPIO for easier connection of other hardware
U_DEBUG pin headers
3.7V Li-Po battery connector and built-in battery charger
Breadboard compatible
JTAG pads for bare-board programming
PCB dimensions: 3.00" x 0.8" (76.2mm x 20.3mm)
Nominal dimensions: 3.40'' x 0.8'' (86.4mm x 20.3mm)
Weight: 0.5 ounce (~14 grams)
Page 5 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

1.2 The OLinuXino family

The design of all the iMX233 boards follows the same pattern which makes the transition between different Olimex iMX233 boards easier.
However, there are significant differences in the dimensions, the peripherals available and the power options between the different boards.
Table of comparison
OLinuXino-NANO OLinuXino-MICRO OLinuXino-MINI OLinuXino-MAXI
Processor
iMX233 @ 454Mhz iMX233 @ 454Mhz iMX233 @ 454Mhz iMX233 @ 454Mhz
Ram [MB]
64 64 64 64
# USB hosts
1 1 3 2
100/150 Mbit Ethernet*
No/WIFI option**
No/WIFI option** No/WIFI
option***
Yes/WIFI option**
GPIO connector
60pins 60pins 40pins 40pins
# of buttons
3 3 2 2
Reset button
Yes Yes Yes Yes
DC power supply
5V 5V 6V-16V 6V-16V
Dimensions
3.00'' x 0.80'' 3.40'' x 1.70'' 3.70'' x 2.65'' 3.70'' x 2.65''
Breadboarding
Yes Yes No No
Audio IN connector
No No Yes Yes
Audio OUT connector
No No Yes Yes
UEXT connector
Yes No Yes Yes
Power jack
No**** Yes Yes Yes
VGA connector
No Yes Yes Yes
* 100Mbit Ethernet for the wired network of OLinuXino-MAXI. 150Mbit for the WIFI following
811.02n standard.
** All three boards have the option to work with MOD-WIFI_RTL8188, which is USB WIFI modem with RTL8188CU chip and can be purchased separately. MOD-WIFI_RTL8188 can be connected to any of the OLinuXino boards via the USB.
*** OlinuXino-MINI has additional option of having RTL8188CU hardware mounted! If you wish RTL8188CU embedded in the device you should purchase OLinuXino-MINI-WIFI. Choosing the embedded WIFI option will leave your USB-HOSTs available for use.
**** There is an easy access to the power pin holes, however. Especially, if you use a breadboard.
Page 6 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

1.2 Target market and purpose of the board

The boards from the OLinuXino family are ready to use, easy to setup and are suitable for embedded programming enthusiasts, Linux hobbyists, gadget fans and also professionals (since its low cost makes it very good solution for application orientated embedded systems). The main usage of the board is software embedded development without the urge of understanding perfectly the hardware.
The dimensions, the light weight and the breadboard capabilities of iMX233-OLinuXino-NANO make it a perfect Linux board for embedding in custom devices. This of course comes at the cost of the lack of some peripherals included in the bigger iMX233 Olimex-made boards. It is generally advice to get one of the other iMX233 boards for research and development and use the NANO for the stage when you have to implement the product.
The board has a LiPo connector and battery charger – the microcontroller can work solely on battery power supply.
However, when powering the board with a LiPo battery, please note that the USB host will not be able to power your USB devices since neither the microcontroller is able to step-up the low input voltage (from the battery) to 5V, neither there is additional circuit for such a step-up.
Customers have full access to the technical documentation of the board. The software is released under General Purpose License and the board is considered open-hardware.

1.3 Organization

Each section in this document covers a separate topic, organized as follow:
Chapter 1 is an overview of the board usage and features Chapter 2 provides a guide for quickly setting up the board Chapter 3 contains the general board diagram and layout Chapter 4 describes the component that is the heart of the board: the iMX233
microcontroller
Chapter 5 is an explanation of the control circuitry associated with the microcontroller to
reset. Also shows the clocks on the board
Chapter 6 covers the connector pinout, peripherals and jumper description Chapter 7 shows the memory map Chapter 8 provides the schematics Chapter 9 contains the revision history, useful links and support information
Page 7 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

CHAPTER 2 SETTING UP THE OLINUXINO BOARD

2. Introduction to the chapter

This section helps you set up the OLinuXino development board for the first time. Please consider first the electrostatic warning to avoid damaging the board, then discover the hardware and software required to operate the board.
The procedure to power up the board is given, and a description of the default board behavior is detailed.

2.1 Electrostatic warning

OLinuXino is shipped in a protective anti-static package. The board must not be exposed to high electrostatic potentials. A grounding strap or similar protective device should be worn when handling the board. Avoid touching the component pins or any other metallic element.

2.2 Requirements

In order to set up the A20-OLinuXino-MICRO optimally one or more additional items may be used. They might be generally placed in three categories:
Required - items that are needed in order to achieve minimum functionality; Recommended – items that is good to have in order to be able to interact with the most important
of the features of the board;
Additional – items that provide access to additional features or expand the features of the board.
Required items:
- 5V source of power with 1A maximum amperage OR suitable 3.7V Li-Pol battery
- Personal computer + USB-SERIAL-CABLE-F – needed for debugging (if you lack RS232/COM port or another RS232-USB cable).
- SD card with Linux image (the latest official image might be downloaded for free from the respective Olimex wiki article)
Note that the board arrives without SD card or Linux image. You can purchase a card with Linux separately. It is recommended that the user has basic Linux experience.
Recommended items:
- a breadboard – for easier access to the GPIO signals via jumper wires without the need of soldering
Additional items:
- JTAG parallel interface programmer – if you wish to bare program the board
- A number of extension modules that can add functionality or interface to the board on the UEXT connector; these can be explored here: https://www.olimex.com/Products/Modules/
Some of the suggested items may be purchased by Olimex, for instance:
Page 8 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual
SY0605E - power supply adapter 5V/1A for iMX233-OLinuXino-NANO (50Hz utility frequency ­for EU residents only) SY0605E-CHINA - cheaper power supply adapter 5/1A for iMX233-OLinuXino-NANO (50Hz utility frequency - for EU residents only)
iMX233-OLinuXino-SD - SD card with the Linux image USB-SERIAL-CABLE-F - USB serial console cable female (check “6.1.1 UART Debug” for info
how to connect it to the board) BREADBOARD-1 – relatively small breadboard (82x52x10mm) that allows easy access to the GPIO pins via jumper wires (no soldering required)

2.3 Powering the board

The board may be powered via a 3.7V Li-Pol battery connected to the LIPO BAT connector or using a 5V external power supply on pins 1 and 2 of CON2 connector. When powering the board from CON2 it should be supplied with a 5V with a maximum current of 1A.
Note that there is a built-in battery charger the iMX233 processor.
When the board is powered only by a 3.7V battery the USB would NOT be able to power USB devices since there IS NO step-up convertor (to 5V).
It is a good idea to have a power supply providing minimum of 0.2 A.
If measuring the current consumption it should be around 0.06A before initializing all the peripherals. The consumption raises to 0.12A if performing a task without additional peripherals connected.
If Linux enters seep mode the consumption goes down to 0.01A.

2.4 Prebuilt software

Note that the boards arrive without Linux or SD card. The Linux image can be purchased separately on a SD card or you can built and write it yourself.
Currently the official iMX233 Linux image is based on Debian. It replaced the Archlinux distributions used before.
When we program the boards we change the default position of the following HW_OCOTP_ROM0 fuses of the processor:
SD_MBR_BOOT(3) - Blown SD_POWER_GATE_GPIO(21:20) – 10-PWM3
For burning the fuse position we use the BitBurner software. This operation is discussed in details before. Proceed with great caution when burning fuses since it is irreversible operation.
Page 9 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

2.5 Using BitBurner

IMPORTANT! MODIFYING THE FUSES IS IRREVERSIBLE PROCESS! BURNING THE WRONG FUSES MIGHT DAMAGE OLINUXINO IRREVERSIBLY! BURNING WRONG FUSES MIGHT CAUSE BOOT PROBLEMS!
BURN FUSES AT OWN RISK!
The bit burning is done via the USB of the computer connected to the USB HOST connector OLINUXINO board and the BitBurner software. To be able to burn the fuses you will need to make a custom cable that connects a USB with the USB of your connector.

2.6 Building the Linux image

Notes on building the Linux image might be found at the following blog post:
http://olimex.wordpress.com/2012/07/05/building-debian-linux-distribution-for-imx233-olinuxino/

2.7 How to setup the I2C, SPI, UART

There are number of examples with our extension module board to achieve those connections on the UEXT. The examples might be used as an example for I2C, SPI or UART communication. You can find them at our GitHub page:
https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233
Page 10 of 35
OLIMEX© 2013 iMX233-OLinuXino-NANO user's manual

CHAPTER 3 OLINUXINO BOARD DESCRIPTION

3. Introduction to the chapter

Here you get acquainted with the main parts of the board. Note the names used on the board differ from the names used to describe them. For the actual names check the OLinuXino board itself.

3.1 Layout (top view)

3.2 Layout (bottom view)

Page 11 of 35
Loading...
+ 24 hidden pages