Freescale Semiconductor M9328MX21ADSE User Manual

M9328MX21ADSE
Application Development System
User’s Manual
Document Number: UMS-21100
Rev. A
07/2006
Chapter 1 General Information
1.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 M9328MX21ADSE Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.3 System and User Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.4 M9328MX21ADSE Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.5 ADS Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-4
Chapter 2 Configuration and Operation
2.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2 Configuring Board Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2.1 Peripheral Selection Switch (S1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.2 Mode/User Switch (S2) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.3 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.3.1 Functional Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.3.2 On-Board Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.3.3 Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.3.4 USB On-The-Go Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.5 UART and IrDA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.6 Ethernet. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.3.7 Touchscreen ADC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.3.8 CD Quality CODEC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.3.9 Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-9
2.3.10 Memory Mapped I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-10
2.3.11 Audio Indicator (Buzzer) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.3.12 LED Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.4 Using The Board Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.5 Add-On Module Connections and Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.5.1 Using the TFT LCD Display Panel. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-15
2.5.2 Using the Keypad . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.5.3 Using a NAND Flash Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.5.4 Using a SD/MMC Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.5.5 Using Image Sensor Daughter Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.5.6 Using the PCMCIA Daughter Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
2.5.7 Using the TV Encoder Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-17
Chapter 3 Support Information
3.1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.2 CPU to Base Board Connectors PX1, PX2, PY1, and PY2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.3 CPU to Option Card Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-12
3.4 UART/RS-232 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
3.4.1 UART1 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-18
3.4.2 UART4 Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-19
3.4.3 External UART Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 1
3.5 Multi-ICE Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-20
3.6 Ethernet Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-21
3.7 USB OTG Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
3.8 NAND Flash Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-22
3.9 External Keypad Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-25
3.10 LCD Panel Connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-26
3.11 TV Encoder Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-27
3.12 SD/MMC Connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
3.13 Extension and Image Sensor Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-28
3.14 Disposal Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-33
M9328MX21ADSE User’s Manual, Rev. A
2 Freescale Semiconductor
About This Book
This manual explains how to connect and operate the M9328MX21ADS i.MX21 Application Development System.
Audience
The audience for this manual is handheld communication device designers. It is assumed that users are engineers or technicians with experience using development systems.
Organization
The manual consists of three chapters.
Chapter 1 General Information introduces the user to the features and capabilities of the ADS.
Chapter 2 Configuration and Operation contains configuration information, connection descriptions, and other operational information that may be useful during the development process.
Chapter 3 Support Information contains connector pin assignments, connector signal descriptions, and other useful information about the ADS.
Revision History
The following table summarizes changes to this document since the previous release (Rev. A).
Revision History
Location Revision
Conventions
Units and measures in this manual conform to the International System of Units (SI) as defined by National Institute of Standards and Technology Special Publication 811.
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor P-1
Definitions, Acronyms, and Abbreviations
The following acronyms and abbreviations are used in this manual. This list does not include signal, register, and software mnemonics.
ADS Application Development System
CD Compact Disk
CMOS Complementary Metal Oxide Semiconductor
CODEC Code/Decode
CPU Central Processing Unit
DCE Data Communications Equipment
DIN Deutsches Institut für Normung
DIP Dual In-line Package
DTE Data Terminal Equipment
DUART Dual Universal Asynchronous Receiver/Transmitter
I2C Inter-Integrated Circuit
ICE In-Circuit Emulator
I/O Input/Output
IrDA Infrared Data Association
JTAG Joint Test Access Group
LCD Liquid Crystal Display
LED Light Emitting Diode
MB Megabyte
MCU Microcontroller Unit
MMC Multi-media Card
NAND Negative AND
OTG On the Go
PC Personal Computer
PCMCIA Personal Computer Memory Card International Association
SD SanDisk (Smart Media)
SDRAM Synchronous Dynamic Random Access Memory
SI System International (international system of units and measures)
SSI Synchronous Serial Interface
TFT Thin Film Transistor
UART Universal Asynchronous Receiver/Transmitter
USB Universal Serial Bus
VDC Volts Direct Current
M9328MX21ADSE User’s Manual, Rev. A
P-2 Freescale Semiconductor

Chapter 1 General Information

1.1 Description

The M9328MX21ADSE helps you develop applications for the i.MX21 MCU.
The ADS has 19 connectors and sockets that support application software, target board debugging, and optional circuit cards. A separate LCD display panel and a separate keypad are supplied with the ADS. When you connect the LCD panel and keypad to the ADS Base board, they align with each other.

1.2 M9328MX21ADSE Features

ADS features include:
i.MX21 Multimedia Application Processor
Two clock-source crystals, 32.768 KHz and 26 MHz
Power connector for +5.0-volts in from an external regulated power supply, an in-line fuse, and a power on/off switch.
Voltage regulators that step down the 5.0 VDC input to Vcc (3.0 VDC), 2.5 VDC, 1.8 VDC and
1.5 VDC
Multi-ICE debug support
Two 8 MB × 16-bit Burst Flash memory devices configured as one 32 MB, 32-bit device
Two 16 MB × 16-bit SDRAM devices configured as one 64 MB, 32-bit device
High speed expansion connectors for adding optional cards.
Two-board system: modular CPU board plugs into Base board; Base board has connections for LCD display panel and keypad
Memory mapped expansion I/O
Software readable board revisions
Configuration and user definable DIP switches
SD/MMC memory card connector
Two RS-232 transceivers and DB9 connectors (one configured for DCE and one for DTE operation) supporting on-chip UART ports
External UART with RS-232 transceiver and DB9 connector
IrDA transceiver that conforms to Specification 1.4 of the Infrared Data Association
USB OTG (On The Go) interface transceiver and USB mini AB connector
Separate LCD panel assembly that connects to the Base board and interfaces directly with the ADS
Touch panel controller for use with the LCD
Separate keypad unit with 36 push button keys
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 1-1
General Information
Separate CMOS Image Sensor Card
Audio CODEC includes an 11.28 MHz crystal oscillator, a 3.5 mm audio input jack, a 3.5 mm microphone jack, and a 3.5 mm headphone jack
Cirrus Logic CS8900A-CQ3Z Ethernet controller, with RJ-45 connector for connecting to a system hub
Two 32 × 3-pin DIN expansion connectors with most i.MX21 I/O signals
Variable resistor for emulation of a battery voltage level
NAND Flash card (Plugs into CPU Board)
LED indicators for power, external bus activity, Ethernet activity, and two LEDs for user defined status indiction
Universal power supply with 5.0-volt output @ 2.4 Amperes
USB cable
RS-232 serial cable
Two RJ-45 Ethernet cables, network, and crossover

1.3 System and User Requirements

To use the ADS, you need:
An IBM PC or compatible computer that has:
— A Windows® 98, Windows ME, Windows XP, Windows 2000, or Windows NT® (version
4.0) operating system
— A parallel port and a Multi-ICE device (not included)
•A + 5 VDC power supply @ 2.4 A, with a 2 mm female (inside positive) power connector (included)
CAUTION
Never supply more than +5.5-volts power to your M9328MX21ADSE. Doing so can damage board components.

1.4 M9328MX21ADSE Diagram

Figure 1-1 shows the connectors and other major parts of the ADS Base board and CPU board.
M9328MX21ADSE User’s Manual, Rev. A
1-2 Freescale Semiconductor
General Information
+5V IN
P8
5V PWR VCC PWR STAT2 STAT1 BUS ACT
BUZZER
F1 2A
SW2 RESET
LED1 LED2 LED3 LED4 LED7
P10
LINE IN
P11 MIC IN
P12
HEADPHONE
OFF
ON
SW1
LED6 LED5
LINK ACT
S2
1 2 3 4 5 6 7 8
S1
1 2 3 4 5 6 7 8
P9
ETHERNET
BOOT0 BOOT1 BOOT2 BOOT3 CLKMODE0 CLKMODE1 SW1 IRQ SW2 READ
UART1_ON UART4_ON IrDA_ON NEXUS_EN JTAG_CTRL TONE_OUT PEN_CS_B PEN_IRQ_B
EXP CON 2
P3 P2 P1
EXT UART DCE UART4 DTE UART1 DCE USB OTG
ACT
SD2_D0
DTR
J3
SD2_D1
DSR
NC
NC
SD2_D2
J4
RI
CD
NC
3 2
SD2_D3
J5
1
J6
CPU BOARDBASE BOARD
PX1/PY1
MULTI-ICE
J7 ONE WIRE
P20
PE2PE3
EXP CON 1
PM1
PM2
NAND FLASH CARD
U5
CPU
J3J1 J2
PK1
U6
U8
PK2
PX2/PY2
PE1
CSI
P4
U7
U9
U16
VR1
BATT EM
P7
IrDA
LCD CON
P13
TV ENCODER
CON
P5
KEYPAD CON
P6
SD/MMC
Figure 1-1. M9328MX21ADSE Application Development System
Important board components on the CPU card are:
U5 — i.MX21 MCU
PX1, PX2 — connections to the Base board (bottom side)
PK1, PK2 — connections to option cards
P20 — ARM Multi-ICE connector
PM1 & PM2 — NAND Flash card connectors
J1, J2, J3 — Power interruption jumpers for measuring CPU current consumption
Important board components on the Base board are:
PY1, PY2 — connections to the CPU board
P1 — RS-232 DB9 connector for the processor’s UART1, DCE pinout
P2 — RS-232 DB9 connector for the processor’s UART4, DTE pinout
P3 — RS-232 DB9 connector for the External UART, DCE pinout
P4 — USB OTG connector
P5 — Keypad module connector
P6 — SD/MMC card connector
P7 — LCD/touch panel connector
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 1-3
General Information
P8 — 5.0-volt input power connector
P9 — RJ-45 Ethernet connectors
P10 — Line In to audio CODEC
P11 — Microphone In to audio CODEC
P12 — Headphone Out to audio CODEC
P13 — TV Encoder connector
PE1 — Connector to an Image Sensor card
PE2, PE3 — I/O Extension connectors
S1 — Peripheral enable and JTAG select DIP switches
S2 — Boot mode, clock mode, and user defined DIP switches
SW1 — Power switch
SW2 — Reset switch
LED1 — 5 volt power LED (green)
LED2 — 3 volt power LED (green)
LED3 and LED4 — General-purpose LEDs (orange)
LED5, LED6 — Ethernet activity LEDs (green, orange)
LED7 — external bus activity LED (red)
U16 — IrDA transceiver
VR1 — emulate the battery voltage level
J3, J4, J5 and J6 — Modem control enable jumpers for RS-232 DTE interface on P2
J7 — One wire interface

1.5 ADS Specifications

Table 1-1 shows M9328MX21ADSE specifications.
Table 1-1. Specifications
Characteristic Specifications
Clock speed (SDRAM/FLASH) CPU 266MHz, System 133MHz
Ports 10Base-T (RJ-45), RS-232 serial, USB OTG
Temperature: operating storage
Relative humidity 0 to 90% (noncondensing)
Power requirements 4.5V
0° to +50° C
-40° to +85° C
5.5 VDC @ 2.4 A
Dimensions 7.15 x 9.45 in (18.2 x 24.1 cm)
M9328MX21ADSE User’s Manual, Rev. A
1-4 Freescale Semiconductor
Configuration and Operation

Chapter 2 Configuration and Operation

2.1 Introduction

This section contains configuration information, connection descriptions, and other operational information that may be useful during the development process.

2.2 Configuring Board Components

Table 2-1 is a summary of configuration settings. The following paragraphs provide additional information about configuring and using the ADS.
Table 2-1. Component Configuration Settings
Component Position Effect
System Power Switch, SW1 Move this switch to the ON position to enable the power source
BOARD
EDGE
SW1
OFF
connected to P8 to power the system. Factory setting is OFF.
ON
System Reset Switch, SW2 Push to reset the M9328MX21ADSE.
SW2
Peripheral Selection Switch, S1
Mode Switch, S2
Power Headers (on CPU card) J1, VCC (3.0 V)
S1
1
ON
2
3
4 5 6 7 8
S1
S2
1
ON
2
3
4 5 6 7 8
S2
12
The UART1 and UART4 transceivers are forced enabled, the IrDA module is enabled by software, Nexus is disabled, ARM mode JTAG is selected, and the buzzer is connected to PWMO. The LCD touch panel signals are connected. Factory setting is shown. Subsection 2.2.1 explains other settings for this switch.
Configures 32-bit Burst Flash as the boot device and the Default clock bypass mode is selected. Factory setting is shown Subsection 2.2.2 explains other settings for this switch.
Connects specified power signal. Factory Setting
(Leave jumper installed during normal use.) J2, 1.8 V J3, 1.5 V
12
Connect ammeter across pins to measure processor current
consumption from the specified power source.
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 2-1
Configuration and Operation
Component Position Effect
Table 2-1. Component Configuration Settings (continued)
Modem Control Enable Jumpers (on Base board) J3, DTR J4, DSR J5, CD J6, RI
123
123
The specified RS-232 control signal of P2 connects to the specified
I/O signal.
J3 - DTR (pin 4) is controlled by SD2_D0 (output)
J4 - DSR (pin 6) can be read on SD2_D1 (input)
J5 - CD (pin 1) can be read on SD2-D2 (input)
J6 - RI (pin 9) can be read on SD2-D3 (input)
The specified RS-232 control signal of P2 is not connected to any I/O
signal and cannot be controlled or read.
J3 - DTR is forced active (positive), SD2_D0 is unused
J4 - DSR cannot be read, SD2_D1 is unused
J5 - CD cannot be read, SD2_D2 is unused
J6 - RI cannot be read, SD2_D3 is unused

2.2.1 Peripheral Selection Switch (S1)

S1 is a DIP switch that consists of eight slide switches. Seven of the switches enable and disable software control of the UART transceivers, the IrDA buffers, the Nexus buffer, the touch panel controls, and the buzzer. One switch selects JTAG operation mode.
Table 2-2 shows S1 functionality.
Table 2-2. S1 Switch Settings
Switch Name Setting Effect
S1-1, UART1_ON
S1-2, UART4_ON
S1-3, IrDA_ON
S1-4, NEXUS_EN
S1-5, JTAG _CTRL
S1-6, TONE_OUT
S1-7, PEN_CS_B
S1-8, PEN_IRQ_B
*PENIRQ_B is not connected to anything.
ON Forces the UART1 transceiver to be enabled.
OFF UART1_EN_B bit controls the UART1 transceiver
ON Forces the UART4 transceiver to be enabled.
OFF UART4_EN_B bit controls the UART4 transceiver
ON Forces the IrDA module buffers to be enabled.
OFF IrDA_EN bit controls the IrDA buffers
ON Internal test only.
OFF Set to OFF for debugging purposes.
ON Internal test only.
OFF ARM Multi-ICE mode selected after TRST.
ON The buzzer is controlled by the PWMO output.
OFF PWMO is disconnected from the buzzer circuit.
ON CSPI_SS0 controls the chip enable of the Touch controller.
OFF Disables CSPI_SS0 control of the Touch controller chip enable.
ON UART3_CTS is connected to PENIRQ_B out of the Touch controller.
OFF UART3_CTS is not connected to PENIRQ_B out of the Touch controller.*
Figure 2-1 shows an example configuration. The switches are set so that the UART1 transceiver and the IrDA module are forced enabled; the UART4 transceiver can be enabled by software; and the NEXUS buffer and buzzer are disabled. In addition, ARM mode JTAG is selected and the LCD touch control signals are enabled.
M9328MX21ADSE User’s Manual, Rev. A
2-2 Freescale Semiconductor
Configuration and Operation
1
ON
2
36 4 5
7 8
UART1_ON UART4_ON
IrDA_ON NEXUS_ON, (Set to OFF) JTAG_CTRL, (Set to OFF) TONE_OUT PEN_CS_B PEN_IRQ_B
S1
Figure 2-1. Switch S1

2.2.2 Mode/User Switch (S2)

S2 is a DIP switch that consists of eight slide switches. S2-1 to S2-4 configure boot mode and S2-5 and S2-6 control the clock bypass modes. These switch settings take effect only on power up or after a reset. S2 also provides two user definable switches (S2-7 and S2-8). S2-7 can be used to cause an interrupt when switched (SW1_IRQ through signal UART3_CTS).
Table 2-3 lists the settings for the boot-mode subswitches, S2-1 through S2-4.
.
Table 2-3. Boot Mode Switch Settings
Boot Mode, Device
Internal bootstrap ROM (USB/UART) ON ON ON ON/OFF
NAND, 8-bit, 2KB per page ON ON OFF ON
NAND, 16-bit, 2KB per page ON ON OFF OFF
NAND, 16-bit, 512bytes per page ON OFF ON ON
CS0, 16-bit, D[15:0] ON OFF ON OFF
CS0, 32-bit ON OFF OFF ON
NAND 8-bit, 512bytes per page ON OFF OFF OFF
BOOT3
S2-4
BOOT2
S2-3
BOOT1
S2-2
BOOT0
S2-1
Figure 2-2 shows an example configuration. S2-1 through S2-4 configure the system to boot from the 8-bit NAND Flash. S2-5 and S2-6 are always set to OFF. S2-7 and S2-8 are set for user-defined functions.
1
ON
2 36 4 5
7 8
S2
BOOT0 BOOT1
BOOT2 BOOT3 CLKMODE0, (Set to OFF) CLKMODE1, (Set to OFF) SW1 IRQ SW2 READ
Figure 2-2. Switch S2
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 2-3
Configuration and Operation

2.3 Operation

This section describes how the system functions and how to use the boards.

2.3.1 Functional Block Diagram

Figure 2-3 shows the functional interconnections of the ADS in a block diagram format.
Base Board
Power Connector,
Power Switch & fuse
3V regulator, CPU
Rese t signal
LEDs & Buzzer
Boot mode,
UARTs, IrDA
selectio n
1-wire Interface
Silicon & Boar d
revision register
S/W readable DIP sw itches
Line In
Mic In
Speaker
Out
Audio
CODEC
IO pins , PWM
OWIRE
se lect logi c
Decoder & Chip
UART1,
UART2 &
IrDA
UART signals
Addr /Data Bu s
SSI
NAND Flash
Peri pheral s ignals
Expansion
Connector 2
Ext.
UART
UART
contr oller
Ethernet
port
Ethernet
contr oller
USBOTG s ignalsAddr /Data BusAddr /Data Bus
CPU Board
Connector
NF C signal s
SDRAM
Burst F lash
Addr /Data bus
Hi gh Speed Connector s
2.5V , 1.8V and
1.5V regulator s
Peri pheral s ignals CSI si gnals MM C/SD si gnals
Expansion
Connector 1
Multi-ICE
connector
i.MX21
Addr /Data bus
IO pins
Transceiver
Base board c onnectors
Image sensor
conne ctor
USB series
mini-AB
conne ctor
USB OTG
Transceiver
MMC/SD
connector
LCDC
Tou ch scree n
contr oller
Batter y Level
Measurement
Emulation
I2C
KPP
LCD
TV
Encoder
Keypad
Connector
LCD Board
White
LED
connector
conne ctor
driver
(240x320 pixels) & Touch
TFT LCD DC­DC converter
LCD panel
scree n
Keypad Board
Figure 2-3. Functional Block Diagram of M9328MX21ADSE

2.3.2 On-Board Memory

Figure 2-4 and Figure 2-5 show the on-board memory interface. The M9328MX21ADSE is equipped with 8M x 32-bit Burst Flash and 16M x 32-bit SDRAM. The chip selects CS0 Burst Flash and SDRAM chip selects, respectively.
M9328MX21ADSE User’s Manual, Rev. A
2-4 Freescale Semiconductor
and CS2 (CSD0) are used for
V
CC
CS0
A2...A24
BCLK
OE
LBA
DQM3_EB3
FLASH_RST RESET
D0.15
CC
CC
CS WP ACC
RDYECB
A0...A22
CLK OE AVD WE
D0..15
V
V
Configuration and Operation
8MX16-Bit Burst Flash
8MX16-Bit Burst Flash
WEDQM1_EB1
D0.15D16..31
CS2
SDCKE0
SDCLK
RAS CAS
WE
A2..A18
BA0
A19
A20 DQM1_EB1 DQM0_EB0
D0..15
DQM2_EB2
Figure 2-4. Burst Flash Interface
V
CC
CS CKE CLK RAS CAS WE
A0..10
A11 BA0 BA1 LDQM UDQM
D0..15
LDQMDQM3_EB3 UDQM
D0..15D16..31
Figure 2-5. SDRAM Interface
16MX16-Bit SDRAM
16MX16-Bit SDRAM

2.3.3 Memory Map

Table 2-4 shows the memory map for external peripherals on the ADS board. Because the Burst Flash and the Ethernet Controller do not take up the entire address space of the associated chip selects, software can access the same physical memory location at more than one range of addresses. For instance, SDRAM uses
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 2-5
Configuration and Operation
the entire 64 MB address space allowed for CSD0, but the Burst Flash occupies only 32 MB of the 64 MB space available to CS0, so it appears in two different ranges of addresses. CS1 covers 16 MB allowing many repetitions of the memory mapped peripherals.
Peripheral Chip Select Address Range (HEX) Act Mem Size
Table 2-4. M9328MX21ADSE Memory Map
SDRAM CSD0
Burst FLASH CS0
Ethernet Controller CS1
External DUART CS1
Read CPU and
Base board versions
CS1
CS1
0xC000_0000 to 0xC3FF_FFFF 64 MB
0xC800 0000 to 0xC9FF_FFFF 32 MB
0xCC00 0000 to 0xCC00_000F* 16 BYTES
0xCC20 0000 to 0xCC20_000F* 16 BYTES
Read 0xCC40_0000*
D7-D0 = CPU, D15-D8 = Base board
2 BYTES
Write to 0xCC80_0000* (Output) 2 BYTES
Memory Mapped I/O
CS1
Read 0xCC80_0000* (Input) 2 BYTES
* For I/O operations only D15 - D0 are used

2.3.4 USB On-The-Go Interface

The i.MX21 USB OTG Device Module interfaces with a Phillips ISP1301BS USB transceiver connected to P4, a mini AB USB connector. The interface can function as either a USB host or USB device. The interface includes a Maxim MAX3355EUD+ USB power supply chip which can provide power on the USB bus in host mode. This power supply chip is enabled by the USB_PWR signal. For details on the operation of the USB interface, refer to the i.MX21 data sheet. Figure 2-6 shows the USB interface connection.
i.MX21
USB_PWR
ISP1301BS
D-
D+
VBUS
ID
VBUS
IDIN
IDOUT
SHDN
MAX3355EUD+
P4
USB Device
USB MINI AB
Figure 2-6. USB OTG Interface

2.3.5 UART and IrDA

Figure 2-7 shows how to connect the UART and IrDA circuits.
M9328MX21ADSE User’s Manual, Rev. A
2-6 Freescale Semiconductor
i.MX21
UART1_TXD1
UART1_RXD1
UART1_RTS1
UART1_CTS1
USBH1_TXDM USBH1_RXDP
USBH1_RXDM
USBH1_RXDP
SD2_D1
SD2_D2
SD2_D3
SD2_D0
TXD4 RXD4 RTS
CTS
DSR
CD
I*
R
DTR
*
*
*
RS232 Transceiver
EN
RS232 Transceiver
EN
P1
UART1
DCE
P2
UART4
DTE
V
CC
GND
V
S1-1
CC
S1-2
Configuration and Operation
Software Enable via MMIO Latch
UART3_TXD
UART3_RXD
* If enabled by jumper
Buffer
IrDA
EN
EN
GND
V
CC
GND
Software Enable via MMIO Latch
S1-3
Software Enable via MMIO Latch
Figure 2-7. UARTs and IrDA Interface

2.3.6 Ethernet

The ADS is equipped with a Cirrus Logic CS8900A-CQ3Z Crystal LAN ISA Ethernet Controller that can interface with the i.MX21. The CS8900A-CQ3Z has 10BaseT transmit and receive filters and operates in I/O mode. Figure 2-8 shows the Ethernet interface.
M9328MX21ADSE User’s Manual, Rev. A
Freescale Semiconductor 2-7
Configuration and Operation
i.MX21
BA1..3
D0..15
CS_LAN
B_OE
B_RW
B_DQM3_EB3
UART3_RTS
V
CC
CS8900A-CQ3Z
SA8 SA9
SA0 SA4..7 SA10..19
SA1..3
D0..15
AEN
IOR
IOW
SBHE
INTRQ0
CHIPSEL
Transformer
Figure 2-8. Ethernet Interface
Isolation
P9
RJ45 Connector

2.3.7 Touchscreen ADC

The ADS is equipped with an Analog Devices AD7873BRQZ ADC. The ADC communicates with the touchscreen of the LCD on the Base board. Variable resistor VR1 on the Base board can be used to change the VBAT input voltage to the ADC. The i.MX21 communicates with the ADC via the CSPI1 interface. Setting S1-7 to ON connects CSPI1_SS0 to the ADC chip select. Setting S1-8 to ON connects the ADC interrupt out to UART3_CTS. Figure 2-9 shows the ADC interface.
V
CC
i.MX21
UART3_CTS
CSPI1_SS0
CSPI1_SCLK
CSPI1_MISO
CSPI1_MOSI
S1
8
7
AD7873BRQZ
PENIRQ
CS
DCLK
DOUT
DIN
VREF
VBAT
X-
VR1
P7
X+
Y+
Y-
LCD CONNECTOR
Figure 2-9. ADC Interface
M9328MX21ADSE User’s Manual, Rev. A
2-8 Freescale Semiconductor
Configuration and Operation

2.3.8 CD Quality CODEC

The ADS has a Wolfson WM8731SEDS 32-bit linear low power stereo CODEC with a built-in headphone driver (U24). The CODEC is controlled by the i.MX21, which sends the digital audio data via an SSI2 interface and control data via an I2C interface.
The CODEC has stereo line and mono microphone level audio inputs as well as stereo headphone outputs. It features a mute function, programmable line level volume control, and a bias voltage output suitable for an electret type microphone. Table 2-5 shows the CODEC connectors and describes their basic functions.
Table 2-5. Audio Connectors
Connector Descriptions
P10 Stereo line in jack
P11 Dynamic microphone input jack
P12 Headphone jack for audio out
The WM8731SEDS data sheet is available at http://www.wolfsonmicro.com/

2.3.9 Keypad

The ADS includes an external keypad module that connects to the Base board. The keys provide tactile feedback. The i.MX21 keypad interface reads the pad via the KCOL[5:0] and KROW[5:0] signals. the interface has chording diodes to prevent ghost key presses. The keys are labeled with numeric, cursor control, soft key, and spare key functions, but the actual functionality is determined by user software. The default keypad can be replaced by a custom design. The UART2 signals that are multiplexed internally with the KCOL[7,6] and KROW[7,6] signals are brought out to keypad connector P5. This allows the use of an 8x8 keypad matrix. Table 2-6 shows the key switch connections to the keypad signals by function name (as labeled on the PCB) and the switch reference designators.
KCOL5 KCOL4 KCOL3 KCOL2 KCOL1 KCOL0
KROW5
KROW4
KROW3
KROW2
APP1
SW1
APP2
SW7
DOWN
SW13
VOL UP
SW19
Table 2-6. Keypad Layout and Connections
SEND
SW2
HOME
SW8
APP3
SW14
APP4
SW20
KEY 1
SW3
LEFT
SW9
1 -
SW15
4 GHI
SW21
UP
SW4
ACTION
SW10
2 ABC
SW16
5 JKL SW22
KEY 2
SW5
RIGHT
SW11
3 DEF SW17
6 MNO
SW23
END SW6
BACK SW12
EXTRA 2
SW18
EXTRA 3
SW24
KROW1
KROW0
Freescale Semiconductor 2-9
VOL DOWN
SW25
POWER
SW31
EXTRA 1
SW26
RECORD
SW32
M9328MX21ADSE User’s Manual, Rev. A
7 PQRS
SW27
*
SW33
8 TUV
SW28
0 +
SW34
9 WXYZ
SW29
#
SW35
EXTRA 4
SW30
EXTRA 5
SW36
Configuration and Operation

2.3.10 Memory Mapped I/O

The ADS uses Memory Mapped I/O to add I/O functions without using the I/O resources of the processor. The following paragraphs describe the I/O functions.
2.3.10.1 Input I/O
A memory read of hex address 0xCC80_0000 inputs the state of the ADS signals connected to latches U5 and U7. Table 2-7 shows which signal is associated with each data bit.
Table 2-7. Input Buffer Signals
BIT Signal Description
BIT 0 SD_WP Secure Data Write Protect
BIT 1 SW_SEL Software readable switch
BIT 2 RESET_E_UART External UART Reset
BIT 3 RESET_BASE Ethernet controller Reset
BIT 4 CSI_CTL2 Image Sensor control 2
BIT 5 CSI_CTL1 Image Sensor control 1
BIT 6 CSI_CTL0 Image Sensor control 0
BIT 7 UART1_EN UART1 transceiver enable
BIT 8 UART4_EN UART4 transceiver enable
BIT 9 LCDON LCD enable
BIT 10 IRDA_EN IrDA transceiver enable
BIT 11 IRDA_FIR_SEL Reserved
BIT 12 IRDA_MD0_B IrDA SD/Mode (inverted)
BIT 13 IRDA_MD1 Reserved
BIT 14 LED4_ON LED 4 control
BIT 15 LED3_ON LED 3 control
M9328MX21ADSE User’s Manual, Rev. A
2-10 Freescale Semiconductor
Loading...
+ 44 hidden pages