Cirrus Logic EDB9302A User Manual

Enhanced Universal Platform
System-on-Chip Processor
EDB9302A
EP9302
Engineering Development Board
http://www.cirrus.com
©Copyright 2006 Cirrus Logic, Inc. OCT ’06
DS653DB1
EDB9302A
Technical Reference Manual
CORPORATE HEADQUARTERS
Cirrus Logic, Inc. 2901 Via Fortuna Austin, Texas 78746 United States Phone: (512) 851-4000 Phone: (800) 888-5016
INTERNATIONAL OFFICES
ASIA PACIFIC
Cirrus Logic Intl. Ltd. 20F, Ocean Building 80 Shanghai Street Kowloon, Hong Kong China Phone: (852) 2376-0801 Phone: (852) 2314-9920 Fax: (852) 2375-1202
JAPAN
Cirrus Logic K.K. Aioi Sonpo, Building 6F 5-6 Niban-cho Chiyoda-ku Tokyo, 102-0084 Japan Phone: +81 (3) 5226-7390 Fax: +81 (3) 5226-7677
EUROPE
Cirrus Logic (UK) Ltd. Park House, Mere Park, Dedmere Road Marlow, Bucks, SL7 1FJ, England Phone ++49 89 818 974 65 Switchboard +44 1628 891300 Fax +44 1628 891988
2 ©Copyright 2006 Cirrus Logic, Inc. DS653DB1
EDB9302A
Technical Reference Manual

Table of Contents

1. EDB9302A Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
2. Introducing the EDB9302A Engineering Development Board . . . . . . . . . . . . . . . . . . . . . . .6
2.1 Identifying What's on the Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3. Getting Started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8
3.1 Before you Begin... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.2 Attaching Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Before Applying Power... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4. EDB9302A Circuit Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9
4.1 Circuit Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Page 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Page 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Page 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Page 4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Page 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Page 6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Page 7 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Page 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Page 9 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Page 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Page 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Page 12 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5. Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13
5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
5.2 Download Utility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6. Developer’s User Forum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
7. Other Useful Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Web Sites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Processor Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Application Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Board Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Code Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Appendix A. Schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16
Appendix B. Programming Linux Images into Flash from a Windows® PC . . . . . . . . . . .29
Materials and Equipment Needed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Downloading Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Windows PC Ethernet Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
TFTP Server Setup (Setup may vary depending on TFTP server used) . . . . . . . . . . . . . . . . . . . . . . . . . . 31
HyperTerminal Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .33
Board Programming Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Programming Software into the Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
DS653DB1 ©Copyright 2006 Cirrus Logic, Inc. 3
EDB9302A
Technical Reference Manual
Figure 1. EDB9302A Board.......................................................................................................................5
Figure 2. EDB9302A Top View .................................................................................................................7
Figure 3. Block Diagram............................................................................................................................9
Figure 4. Schematic Page 1 - Block Diagram .........................................................................................17
Figure 5. Schematic Page 2 - Processor & Memory ...............................................................................18
Figure 6. Schematic Page 3 - Peripherals ..............................................................................................19
Figure 7. Schematic Page 4 - UARTs & USB .........................................................................................20
Figure 8. Schematic Page 5 - mP Power ................................................................................................ 21
Figure 9. Schematic Page 6 - SDRAM & Flash ......................................................................................22
Figure 10. Schematic Page 7 - JTAG & CFG ......................................................................................... 23
Figure 11. Schematic Page 8 - Ethernet .................................................................................................24
Figure 12. Schematic Page 9 - Expansion Connector ............................................................................25
Figure 13. Schematic Page 10 - USB2.0 Slave ......................................................................................26
Figure 14. Schematic Page 11 - Audio ...................................................................................................27
Figure 15. Schematic Page 12 - Power Supply ...................................................................................... 28

List of Figures

4 ©Copyright 2006 Cirrus Logic, Inc. DS653DB1
EDB9302A
Technical Reference Manual

1. EDB9302A Kit Contents

Each EDB9302A kit comes with the following:
• EDB9302A Development Board
• Null Modem Serial Cable
• Power Supply: +12V, 5A, 110V/220V with AC Power Cord
• Quick Start Guide
• Registration Card
• DC10-to-DB9 Cable
•IAR™ Evaluation CD
• Quick Start Guide
• Board Registration Card
• Trial Software Download Information Card
All documentation, schematics, software, utilities, and related information is available from the download section of the Cirrus Logic ARM Developer's web site, http://arm.cirrus.com
.
Figure 1. EDB9302A Board
DS653DB1 ©Copyright 2006 Cirrus Logic, Inc. 5
EDB9302A
Technical Reference Manual

2. Introducing the EDB9302A Engineering Development Board

This document will describe the features and basic operation of the EDB9302A board developed by Cirrus Logic. Detailed information regarding the operation and programming of the EP9302 device are covered by the EP9302 datasheet and User's Guide on the Cirrus Logic web site.
The EDB9302A is a convenient and easy-to-operate evaluation platform. It has been designed to provide the majority of the EP9302 functions on a small 6" x 4" base board. These features include:
• EP9302 Processor Running at 200MHz
• 64MByte SDRAM
• 16MByte NOR Flash Memory
• Two USB 2.0 Full-speed Host Ports
• USB 2.0 High-speed Device Interface
• Audio Out
• Audio In
•Two UARTs
• 10/100 Ethernet Interface
•JTAG
• Consumer IR (CIR)
• Expansion Connectors
• 5-channel ADC
Two high-density connectors have been provided to allow for daughter card expansion. The full memory bus is connected to one of the connectors and any peripherals not on the development board are attached to the other connector. In addition, some features such as Ethernet MII interface have been brought out to the peripheral connector as well.

2.1 Identifying What's on the Board

Figure 2 shows the top side of the EDB9302A. The accompanying legend identifies the main components of the board.
6 ©Copyright 2006 Cirrus Logic, Inc. DS653DB1
EDB9302A
Technical Reference Manual
K
V
J
I
E
H
FG
L
D
U
M N
A
C
W
O P
R
S
T
B
Q
Figure 2. EDB9302A Top View
A. EP9302 Processor B. Processor Status LEDs - one Red and one
Green C. USB 2.0 High-speed Device IC (ISP1581) D. SDRAM - 16-bit device E. Memory Bus Expansion Connector F. Main Power Switch, S2 G. 12V Power Connector H. 3.3V Voltage Regulator - switching, 3A I. Serial Boot Pushbutton - labeled "SERIAL
BOOT" J. Reset Pushbutton - labeled "/POR"
L. UART0, DB9 Male M. USB Device Connector N. Etherne t Co nnector O. Dual, Stacked USB Host Connector P. Audio Out Connector Q. Audio In Connector R. Peripheral Bus Expansion Connector S. ADC Connector T. JTAG Connector U. Commercial IR V. RTC and Battery Backup W. Power Status LEDs
K. UART1 Header - 5x2
One item not listed above is the Flash device. It is located on the bottom side of the board, under item C. There are no jumpers on the board. The only "jumper" is the serial boot pushbutton. This button is used
when the developer wants to use the Cirrus Logic download utility to put new code into Flash memory.
DS653DB1 ©Copyright 2006 Cirrus Logic, Inc. 7
EDB9302A
Technical Reference Manual

3. Getting Started

3.1 Before you Begin...

The developer will find it useful to have some additional hardware not provided in the EDB9302A kit. Items such as a USB keyboard and a set of powered speakers can make using the EDB9302A and the software installed on the board more enjoyable.
Caution: Make sure you are in a static-free environment and are following proper
procedures for handling ESD-sensitive electronic equipment.

3.2 Attaching Cables

Before attaching cables to the board make sure you know where pin 1 for each of the connectors is located. Most connectors are keyed. However, some connectors use 2 x n headers, allowing the cable to be plugged in backwards. Prime examples of this are the ADC and JTAG connectors.
There is silkscreen on the PCB identifying each connector and its pin 1 location. Make sure to pay attention to the markings on the PCB for the pin 1 location. The pin 1 identifier is marked by either a number or a triangle.

3.3 Before Applying Power...

In order to use the EDB9302A the user must first connect the peripherals to the EDB9302A as described in the following procedure.
1. Place the EDB9302A on a static-free surface.
2. Make sure power switch S2 is in the OFF position.
3. Connect the 12V power supply provided to the board at J10.
4. Connect null modem serial cable provided in the kit from DB9 connector J2 to a serial port on a PC
or notebook (if so equipped).
5. Launch a terminal program, such as minicom or HyperTerminal. Configure the PC com port for:
38400 baud, 8 data bits, no parity, 1 stop bit, no flow control for WinCE and 57600 baud for Linux.
6. Connect the board to a network that has a DHCP server or to a router with DHCP capabilty enabled.
7. Connect a USB keyboard.
8. Turn power switch S2 to the ON position and the board will boot and start to display information in
the HyperTerminal window.
NOTE: The WinCE 5.0 binary is not provided on the support web site. If you erase the image on the
board, you will have to download the BSP provided by Cirrus Logic and compile it using Platform Builder. Due to changes in distribution policy, the Microsoft trial CD/DVD that was formerly included in the kit is no longer available. Please refer to the card in the kit that describes how to download the Microsoft trial software from the Microsoft web site.
8 ©Copyright 2006 Cirrus Logic, Inc. DS653DB1
EDB9302A
Technical Reference Manual

4. EDB9302A Circuit Description

This chapter makes reference to the schematics in Appendix A and discusses the main circuit functionality of each schematic page. A detailed block diagram of the EDB9302A Engineering Development Board is shown below.
JTAG 20 pin
Memory
Expansion
120 pin
Vout=1.8, 3.3, 5.0
POWER
Vin = +12V
Reset and
voltage
monitoring
SDRAM
32 MByte
16-bit
USB 2.0
Device
(High Speed)
RTC
battery backed
CIR
UART1
10 pin
Ethernent
RJ45
Serial
EEPROM
Peripheral Expansion
120 pin
Flash
16MByte
16-bit
Audio In
Audio Out
EP9302
ADC
10 pin
Dual USB 2.0
Host
(Full Speed)
UART0
DB9 w/control
Figure 3. Block Diagram
Detailed information regarding the EP9302 processor and interfaces can be found at www.cirrus.com. The details of this device will not be discussed in this document. Refer to the EP9302 datasheet, User's Guide, and other information on the web site for more information.
DS653DB1 ©Copyright 2006 Cirrus Logic, Inc. 9
EDB9302A
Technical Reference Manual

4.1 Circuit Operation

The major circuit operation for each page of the schematic will be discussed.
Note: Refer to http://arm.cirrus.com for the latest board schematics. Look under the download link at the top of the
page.

Page 1

Block diagram and revision history.

Page 2

There are two main clock inputs to the EP9302 device. One is the 14.7456 MHz crystal oscillator and the other is the 32.768 kHz real time clock (RTC).
The 14.7456 MHz clock can be generated from a crystal circuit as shown in the schematics, or optionally from a 14.7456 MHz oscillator. If a 14.7456 MHz oscillator is used, then only the XTALI pin is driven and the drive level of the clock must be 3.3 V.
The RTC clock may be generated by the circuit shown in the schematics, or optionally an RTC oscillator. Due to the cost of RTC oscillators, the circuit shown in the schematics is used. An external oscillator is made by using an unbuffered '04 inverter. It is very important to use an unbuffered inverter in this application. Using a buffered inverter may make the circuit oscillate in the ~MHz range or not start at all. Refer to application note AN265.
The two LEDs connected to the EP9302 device are used to indicate processor health during boot and general status of the board.
The reset output, RSTON (active-low signal) is buffered by U25. There is a resistor option for the RSTON signal to be either driven by this buffer or bypassed. If the reset signal is not going to be buffered, U25 must be removed and R117 installed. By default, RSTON is buffered.

Page 3

This block shows the peripheral connections from the EP9302 processor. This page also shows the ADC connector, JP7.

Page 4

Main items on this page are the USB 2.0 Full-speed Host, USB power, UART, and Commercial IR (CIR) circuits.
The USB Host circuits are connected directly from the EP9302 to U3 and U4 and then on to the stacked USB connector, J1. U3 and U4 provide termination for the USB signals and ESD protection. Power for the USB Host ports comes from the +5V switching regulator and is protected with poly fuses rated for 0.5 A each.
The board has both UARTs brought out. The main UART interface, UART0, is connected to a standard male DB9 connector and provides for full modem control. The other UART interface is connected to a 5x2 header. There is an option for installing a zero-ohm resistor if the developer needs to provide +5V power to an external device. The pinout of the headers matches common IDC10-to-DB9 cables. One such cable is included with the kit. All UART signals are level shifted from TTL to RS-232.
The CIR uses an enhanced GPIO (EGPIO) line to communicate to the EP9302 device.
10 ©Copyright 2006 Cirrus Logic, Inc. DS653DB1
EDB9302A
Technical Reference Manual

Page 5

This is the power section for the EP9302 device. The ADC and PLL supplies are filtered. There is no reason to filter the 3.3 and the 1.8V power rails.

Page 6

The SDRAM interface is comprised of one 16-bit SDRAM device to form a 16-bit SDRAM bus. The SDRAM is connected to /SDCS0 and is located at physical memory address 0xC000_0000.
The Flash interface is made from a single 16-bit device. It uses a "multi-cell" Flash device. The Flash device is connected to /CS6 and is located at physical memory address 0x6000_0000. The reference design uses only one Flash device. The Flash device installed is a 128 Mbit, 16 Mbyte, device.
The serial EEPROM is a 4 Mbit device and may be used for serial "SPI Boot" or for storing the Ethernet MAC address. SPI Boot is not used as the default boot method but may be used by the developer if it fits his/her application. Details about SPI Boot are in the EP9302 User's Guide. The serial EEPROM is
accessed only if the EGPIO7 line is configured to the proper level. The SPI frame signal and the
EGPIO7 "enable" signal are OR'ed to create the enable for the serial EEPROM device. EGPIO7 must be low in order to communicate to the serial EEPROM. Other devices on the SPI bus must be enabled in a similar manner but not enabled simultaneously.

Page 7

The JTAG interface is connected to a 2x10 header, JP3. This connector is wired for the Multi-ICE debugger.
There are 10 signals that determine how the EP9302 will boot and operate. They are all shown on this page except for BOOT1. BOOT1 is connected to GND. BOOT1 is used for factory testing only. The other nine signals are either pulled up or down external to the EP9302 device. The boot configuration shown sets the EP9302 device to perform an Internal Async boot from a 16-bit-wide memory.
The “Serial Boot” pushbutton, S1, is used to configure the board to perform a serial boot. A serial boot is used to program the Flash device with the Cirrus Logic download utility. Instead of using jumpers, a pushbutton is used. Simply hold the pushbutton down while pressing and releasing the reset pushbutton, S3. Continue to hold S1 until the red LED turns off. Once the red LED is off, release S1.
The ISL1208 is connected to the EP9302 to provided an external, battery backed RTC clock. This device has 2 bytes of battery backed SRAM. The battery is a common lithium coin cell and easily removable if desired.

Page 8

The Micrel KS8721Bl PHY is used to provide the 10/100 Mbit Ethernet interface. The PHY is attached to the EP9302 device MII interface. The PHY also connects to RJ45 connector, J3. The Ethernet connector has integrated magnetics and status LEDs. The Micrel PHY requires external power filtering of the 2.5V supply it produces.
DS653DB1 ©Copyright 2006 Cirrus Logic, Inc. 11
EDB9302A
Technical Reference Manual

Page 9

The two connectors provide a daughter card interface for making custom circuits. J4 is the Memory Expansion connector and J5 is the Peripheral Expansion connector.
The entire memory bus is connected to J5. It is recommended that the bus signals be buffered if adding additional memory. However if a CPLD or FPGA is attached there is no reason to buffer. Use proper engineering practices when using the high-speed memory bus with daughter cards.
The Peripheral Expansion bus has the signals for features not implemented on the EDB9302A board and for commonly used signals.

Page 10

An external USB 2.0 High-speed Peripheral device is provided. The USB device allows a Host to see the board as a Mass Storage device. The USB interface chip is connected to the lower 16-bits of the memory bus.

Page 11

Audio is supported by a Cirrus Logic CS4271 device. Two-channel audio out and line-level audio in is
2
supported. The audio device communicates to the EP9302 through the I
S interface and audio clocks are generated by the EP9302. The audio in is line level, it is not a microphone-level input. Like the serial EEPROM, the CS4271 is controlled by the SPI frame signal and EGPIO6. EGPIO6 must be low in order
to communicate to the CS4271 device. As mentioned before, only one SPI™ device can be enabled at a
time.

Page 12

Power and reset circuits are shown on this page. Most of the changes made to this revision of the EDB9302A board were made in this section. The most important change made is that the board is now powered from a +12V power supply.
The board has two connectors for input power. J10 is the standard power connector and is where the power supply provided in the kit attaches. However, a 3x1 header, J11 is also available to supply power to the board.
The 3.3V power rail is generated from a 3A, adjustable, switching regulator, U27. The 5V power rail is generated from an identical 3A switching regulator, U28. The 5V supply requires a diode, D7. The 3.3V supply does not require this diode.
The 1.8V power rail is generated from an 800mA linear regulator. Both the 3.3V and 1.8V power rails are are monitored by U22 and it will issue a reset if either supply falls below the threshold voltage.
The reset pushbutton can connect directly to the voltage monitor reset input or to a supplementary reset­detect circuit. Refer to AN258 for more information. This circuit is implemented by U24 and some passive devices. In general, this circuit is not required with EP9302 Rev E2 devices and may be removed if desired. It is installed by default. If removed, R109 needs to be installed if the use of the reset pushbutton is desired.
12 ©Copyright 2006 Cirrus Logic, Inc. DS653DB1
Loading...
+ 28 hidden pages