Reason for entry
The Users Guide has changed from Revision 3 (UM3) to Revision 4 (UM4).
Significant Changes:
1. Typographical errors corrected.
2. Manual adapted for 90 MHz operation.
3. Crystal and PLL precision increased to 4 decimal points where applicable.
4. Distinction between 18-74 MHz (PLL) “mode” and precise “operation” frequency made. Example, at 90.3168
operating frequency the processor is in PLL, or 18-74 MHz, mode with a higher PLL Multiplier value.
5. Programming example on page 10-1 updated for consistency.
Updated Tables and Figures:
1. Revision 3, Chapter 5, ADCKSEL table on page 5-5 to 5-6 updated (Revision 4, new table is Table 5-3 on page 5-6.)
2. Revision 3, Chapter 8, Wait State tables on page 8-4 updated (Revision 4, new tables are Tabl e 8 -3 and Table 8-4 on
page 8-4.)
3. Revision 3, Chapter 9, Figure 9-2 on page 8-4, LCD Data to Pixel Mapping updated (Revision 4, new figure is Figure
9-2 on page 9-6.)
4. Revision 3, Chapter 15, Table 15-A on page 15-3, ADC Interface Operation Frequencies updated (Revision 4, new
table is Table 15-2 on page 15-3.)
5. Revision 3, Chapter 16, Table 16-A on page 16-3, Matrix for Programming the MUX updated (Revision 4, new table
is Table 16-2 on page 16-3.)
6. Revision 3, Chapter 16, Figure 16-2 on page 18-5), Digital Audio Clock Generation updated (Revision 4, new figure
is Figure 16-2 on page 16-3.)
7. Revision 3, Chapter 16, Table 16-D on page 16-5, Programmable Audio Divisors for 74 MHz updated (Revision 4,
new table is Table 16-5 on page 16-5.)
8. Revision 4, Chapter 16, Table 16-6 on page 16-6, Programmable Audio Divisors for 90 MHz added.
9. Revision 4, Chapter 17, Table 17-2 on page 17-2, UART Bit Rate at 90 MHz added.
Note: In the online version of this manual, you can click on cross-references that appear in blue text to jump
to the targetedreference.
Contacting Cirrus Logic Support
For all product questions and inquiries contact a Cirrus Logic Sales Representative.
To find the one nearest to you go to www.cirrus.com
IMPORTANT NOTICE
Cirrus Logic, Inc. and its subsid iaries ("Cirrus") believe that the information contained in this document is accurate and reliab le. However, the
information is subj ect to change without notice and is provided "AS IS" without warranty of any kind (express or implied). Customers are advised
to obtain the latest v ersion of relevant information to verify, before placing orders, that information be ing relied on is current and complete. All
products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to
warranty, patent infringement, and limitation of liability. No responsibility is assumed by Cirrus for the use of this information, including use of this
information as the basis for manufacture or sale of any items, or for infringement of patents or other rights of third parties. This document is the
property of Cirrus and by furnishing this information, Cirrus grants no license, express or implied under any patents, mask work rights,
copyrights, trademarks, trade secrets or other intellectual property rights. Cirrus owns the copyrights associated with the information contained
herein and gives consent for copies to be made of the information only for use within your organization with respect to Cirrus integrated circuits
or other products of Cirrus. This consent does not extend to other copying such as copying for general distribution, advertising or promotional
purposes, or for creating any work for resale.
CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY,
OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). CIRRUS PRODUCTS ARE NOT DESIGNED,
AUTHORIZED OR WARRANTED FOR USE IN AIRCRAFT SYSTEMS, MILITARY APPLICATIONS, PRODUCTS SURGICALLY IMPLANTED
INTO THE BODY, LIFE SUPPORT PRODUCTS OR OTHER CRITICAL APPLICATIONS (INCLUDING MEDICAL DEVICES, AIRCRAFT
SYSTEMS OR COMPONENTS AND PERSONAL OR AUTOMOTIVE SAFETY OR SECURITY DEVICES). INCLUSION OF CIRRUS
PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER’S RISK AND CIRRUS DISCLAIMS AND
MAKES NO WARRANTY, EXPRESS, STATUTORY OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR PARTICULAR PURPOSE, WITH REGARD TO ANY CIRRUS PRODUCT THAT IS USED IN SUCH A MANNER. IF THE
CUSTOMER OR CUSTOMER’S CUSTOMER USES OR PERMITS THE USE OF CIRRUS PRODUCTS IN CRITICAL APPLICATIONS,
CUSTOMER AGREES, BY SUCH USE, TO FULLY INDEMNIFY CIRRUS, ITS OFFICERS, DIRECTORS, EMPLOYEES, DISTRIBUTORS AND
OTHER AGENTS FROM ANY AND ALL LIABILITY, INCLUDING ATTORNEYS’ FEES AND COSTS, THAT MAY RESULT FROM OR ARISE IN
CONNECTION WITH THESE USES.
Cirrus Logic, Cirrus, the Cirrus Logic logo designs, MaverickKey ar e trademarks of Cirrus Logic, Inc. All other brand and product names in this
document may be trademarks or service marks of their respective owners.
Microsoft Windows and Microsoft are registered trademarks of Microsoft Corporation.
LINUX is a registered trademark of Linus Torvalds.
Features .............................................................................................................................................................. 2-1
CPU Register Definitions................................................................................................................................. 2-7
CPU Clocks ................................................................................................................................................. 2-9
CPU State Control.................................................................................................................................... 2-12
State Control Register Descriptions ............................................................................................................. 2-13
Enter the Standby State Register (STDBY)..................................................................................... 2-13
Enter the Idle State Register (HALT) ............................................................................................... 2-14
Power Up Sequence................................................................................................................................. 2-14
Features .............................................................................................................................................................. 3-1
Programming Example .................................................................................................................................... 3-1
Features .............................................................................................................................................................. 4-1
Features .............................................................................................................................................................. 5-1
System Register List ......................................................................................................................................... 5-2
Features .............................................................................................................................................................. 6-1
Features .............................................................................................................................................................. 7-1
Programming Example .................................................................................................................................... 7-2
System Initialization..................................................................................................................................7-2
Features .............................................................................................................................................................. 8-1
SRAM / Expansion Bus Register List ............................................................................................................ 8-1
Programming Example .................................................................................................................................... 8-1
Features .............................................................................................................................................................. 9-1
Programming Example .................................................................................................................................... 9-2
Color LCDs ................................................................................................................................................. 9-6
Features ............................................................................................................................................................ 10-1
Register List ..................................................................................................................................................... 10-1
Programming Example .................................................................................................................................. 10-1
Features ............................................................................................................................................................ 11-1
General Purpose I/O (GPIO) Register List................................................................................................. 11-1
Features ............................................................................................................................................................ 12-1
LED Flasher Register List .............................................................................................................................. 13-1
Features ............................................................................................................................................................ 14-1
Features ............................................................................................................................................................ 15-1
SSI Port Register List ...................................................................................................................................... 15-1
Features ............................................................................................................................................................ 16-1
DAI Interface ............................................................................................................................................ 16-4
Features ............................................................................................................................................................ 17-1
UART and SIR Encoder Register List .......................................................................................................... 17-1
Programming Example .................................................................................................................................. 17-1
SIR Encoder .............................................................................................................................................. 17-4
UART and SIR Encoder Register Descriptions...........................................................................................17-5
UART Data Registers (UARTDR1 and UARTDR2) ......................................................................... 17-5
Bit Rate and Line Control Registers (UBRLCR1 and UBRLCR2) ................................................... 17-6
Contents
Appendix A. Boot Code
Index ................................................................................................................................................................... 1-1
Table 16-2: Matrix for Programming the MUX........................................................................................... 16-3
Table 16-3: Pin Sharing for Multiplexor....................................................................................................... 16-4
Table 16-4: Communication Interface Performance................................................................................... 16-4
Table 16-5: Programmable Audio Divisors at 74 MHz ............................................................................. 16-5
EP7309/11/12 User’s Manual - DS508UM4xi
Copyright Cirrus Logic, Inc. 2003
Table 16-6: Programmable Audio Divisors at 90 MHz ............................................................................. 16-6
Table 17-1: UART and SIR Encoder Registers ............................................................................................17-1
Table 17-2: UART Bit Rates at 90 MHz ........................................................................................................ 17-2
Table 17-3: UART Bit Rate in PLL Clock Mode (74 MHz) ........................................................................ 17-3
Table 17-4: UART Bit Rate from 13 MHz Clock ......................................................................................... 17-3
Table 17-5: Word Length Selection............................................................................................................... 17-6
EP7309/11/12 User’s Manual - DS508UM4xii
Copyright Cirrus Logic, Inc. 2003
EP7309/11/12 User’s Manual - DS508UM4xiii
Copyright Cirrus Logic, Inc. 2003
Overview
Processor
Chapter 1
1Introduction
This chapter describes the EP73xx ARM processor, mem ory map, registers, an d
signals. See the data sheet that is associated with a specific EP73xx device for more
informationaboutpinassignmentsforthatproduct.
The EP73xx incorporates an ARM 32-bit RISC m icro controller that controls a wide
range of on-chip peripherals.The ARM720T includes a a 8 Kbytes unified cache and a
MMU compatible with operating systems like Windows
®
CE and Linux®.
11
1
Peripherals
See the A RM 720T Technical Reference Manual, as cited on page 1-12.
On-chip EP73xx peripherals are product-specific for each chip. The supersetof
available features includes:
• 48 Kbytes of on-chip SRAM th at can be shared b etween the LCD controller
and general application use
• Memory interfaces (chip selects) for up to six independent 256 M byte
expansion segments with programmable width and wait states
• 27 general purpose Input/Outputs.
• Digital Audio Interface (DAI) to interface with CD-quality DACs and
CODECs
• Interrupt Controller
• Advanced system state controller and power management
• Two full-duplex 16550 A compatible UARTs with 16-byte transmit and
receive FIFOs.
• IrDA SIR protocol controller capable of speeds up to 115.2 kbps
• Programmable LCD controller for 1,2 or 4-bit-per-pixel with 16-level
grayscaler and frame buffer start address.
• On-chip boot ROM programmed for serial port download of boot code.
EP7309/11/12 User’s Manual - DS508UM41-1
Copyright Cirrus Logic, Inc. 2003
Introduction
• Two 16-bit general purpose timer counters
• 32-bit RTC (Real-Time-Clock) timer and comparator
• Dedicated LED flasher pin driven from the RTC with programmable du ty
ratio (Multiplexed with GPIO pin)
1
• Two synchronous serial interfaces for M icro-wire or SPI interfaces s uch as
ADCs, one supporting both the master and slave and other supporting
only master mode.
• Two programmable PWM (Pulse Width Modulation) interfaces
• SDRAM i nterface for direct interface to a maximum of two external banks
of SDRAM memory. Each bank can be up to 256 Mbit in size and
configurable for 32 or 16-bit wide accesses.
• PLL (Phase Lock Loop) oscillator for generating core speeds of 18-90 MHz
from an external 3.6864 MHz crystal.
• Low power 32.768 kHz RTC (Real Time Clock)
• MaverickKey - Unique and Random IDs for SDMI compliance
Memory Map and Register List
The lower 2 GByte of the address space is allocated to memory. The 64 MByte of
address space from 0xC000.0000 to 0xCFFF.FFFF is allocated to SDRAM. About
1.5 GBytes of address space, less 8 Kbytes for internal registers, is not accessible in the
EP73xx. The M MU in the EP73xx should be programmed to g enerate an abort
exception for access to this area.
Internal peripherals are addressed through a set of internal memory l oca tions from
hex address 0x8000.0000 to 0x8000.3FFF. These are known as the internal registers in
the EP73xx. In Table 1-1 also shows how the 4-Gbyte address range of the ARM720T
processor (as configured within this chip) is mapped in the EP73xx. The external boot
ROM is not fully decoded (i.e., the b oot code will repeat within the 256-Mbyte space
from 0x7000.0000 to 0x8000.0000). See Table 6-1 on page 6-2 for the m emory map
when booted from on-chip boot ROM. The SRAM is fully decoded up to a maximum
size of 48 Kbytes. Access to any location above this range will be wrapped to within
the range.
Global Memory Map
Table 1-1: EP73xx Memory Map in External Boot Mode
AddressContentsSize
0xF000.0000Reserved256 Mbytes
0xE000.0000Reserved256 Mbytes
0xD000.0000Reserved256 Mbytes
0xC000.0000SDRAM64 Mbytes
1-2EP7309/11/12 User’s Manual - DS508UM4
Copyright Cirrus Logic, Inc. 2003
Table 1-1: EP73xx Memory Map in External Boot Mode (Continued)
AddressContentsSize
0x8000.4000Unused~1 Gbyte
0x8000.0000Internal registers8 Kbytes
0x7000.0000Boot ROM (nCS[7])128 bytes
0x6000.0000SRAM (nCS[6])48 Kbytes
0x5000.0000 Expansion (nCS[5])256 Mbytes
0x4000.0000Expansion (nCS[4])256 Mbytes
0x3000.0000Expansion (nCS[3])256 Mbytes
0x2000.0000Expansion (nCS[2])256 Mbytes
0x1000.0000ROM Bank 1 (nCS[1])256 Mbytes
0x0000.0000ROM Bank 0 (nCS[0])256 Mbytes
Internal Register Map
Table 1-2 on page 1-4 shows the Internal Registers of the EP73xx when the CPU is
configured to a little endian memory system. Table 1-3 on page 1-6 shows the
differences that occur when the CPU is configuredto a big endian memorysystemfor
byte-wide access to Ports A, B, an d D. All the internal registers are inherently little
endian (i.e., the least significant byte is attached to bits 7 to 0 of the data bus). Hence,
the system Endianness affects the addresses required for byte accesses to the internal
registers, resulting in a reversal of th e byte address required to read/write a
particular byte within a register.
Introduction
11
1
There is no effect on the register addresses for word accesses. Bits
internal address bus are only decoded for Ports A, B, and D (to allow read/write to
individual ports). For all other registers,bits
will return the whole register contents onto the E P 73xx’s intern al bus, from where the
appropriate byte (according to the en dianness) will be read by the CPU. To avoid the
additional c omplexity, it is preferable to perform all internal register accesses as word
operations, except for ports A to D which are explicitly designed to operate with byte
accesses, as well as with w ord ac cesses.
An 8 Kbytes segment of memory in the range 0x8000.0000 to 0x8000.3FFF is reserved
for internal use in the EP73xx. Accesses in this range will not cause any external bus
activity unless debug mode is enabled. Writes to bits that are not explicitly defined in
the internal area are legal and will have no effect. Reads from bits not explicitly
defined in the internal area are legal but will read undefined values. A ll the internal
addresses s hould only be ac cessed as 32-bit words an d are always on a word
boundary, except for the GPIO port registers, which can be accessed as bytes. A ddress
bits in the range
internal register is valid for 64 bytes (i.e., the SYSFLG1 register appears at locations
0x8000.0140 to 0x8000.017C). There are some gaps in the register map for backward
compatibility reasons, but registers located next to a gap are still only decoded for
64 bytes.
The GPIO port registers are byte-wide and can be accessed as a word but not as a halfword. These registers additionally decode
notation.
A[0-5] are not decoded (except for Ports A–D), this means each
A[0-1] arenot decoded, s o that byte reads
A[0-1]. All addresses are in hexadecimal
A[0-1] of the
EP7309/11/12 User’s Manual - DS508UM41-3
Copyright Cirrus Logic, Inc. 2003
1
Introduction
Note: All byte-wideregisters should be accessed as words (except Port A to Port D
registers, which are designed to work in both word and byte modes).
All registers bit alignment starts from the LSB of the register (i.e., they are all
right shift justified). The registers which interact with the 32 kHz clock or which
could change during readback (i.e., RTC data registers, SYSFLG1 register
(lower 6-bits only), the TC1D and TC2D data registers,port registers, and
interrupt status registers), should be read twice and comparedto ensure that a
stable value has been read back.
All internal registers in the EP73xx are reset (cleared to zero) by a system reset (i.e.,
nPOR, nRESET,ornPWRFL signals becoming active), and the Real Time Clock data
register (RTCDR) and match register (RTCMR), which are only reset by
nPOR
becoming active. This ensures that the system time preserved through a user reset or
power fail condition. In the following register descriptions, little endian is assumed.
0x8000.2440UNIQID0R3232-bit unique ID for the EP73xx devicepage 5-13
0x8000.2600DAI64Fs0RW32DAI 64Fs Control Registerpage 16-11
0x8000.2610PLLWW8Write Register for PLL Multiplierpage 2-11
0x8000.A5A8PLLRRRead Register for PLL Multiplierpage 2-11
0x8000.2700RANDID00R32Bits 31-0 of 128-bit random ID for the EP73xx devicepage 5-13
0x8000.2704RANDID10R32Bits 63-32 of 128-bit random ID for the EP73xx devicepage 5-13
0x8000.2708RANDID20R32Bits 95-64 of 128-bit random ID for the EP73xx devicepage 5-13
0x8000.270CRANDID30R32Bits 127-96 of 128-bit random ID for the EP73xx devicepage 5-13
All other address
space that is not
assigned to a
register listed in
this table
Reserved
All addresses that are outside the address space of the
registers listed in this table are reserved. The undefined
areas contain test registers used during manufacturing
tests. Writes to this area should never be attempted
during normal operation as this may cause unexpected
behavior. Any read from this register will be undefined.
0X8000.00C3PEDDR0RW3Port E Data Direction Register
0x8000.0000PDDR0RW8Port D Data Register
0x8000.0001——8Reserved
0x8000.0002PBDR0RW8Port B Data Register
0x8000.0003PADR0RW8Port A Data Register
0x8000.0040PDDDR0RW8Port D Data Direction Register
0x8000.0041——8Reserved
0x8000.0042PBDDR0RW8Port B Data Direction Register
0x8000.0043PADDR0RW8Port A data Direction Register
Pin Description
Table 1-4 on page 1-7 describes the function of all external signals to the EP 73xx. Note
that all output signals and all I/O pins ( when acting as ou tputs) are High-Z capable.
This is to enable the High-Z test modes to be supported.
1-6EP7309/11/12 User’s Manual - DS508UM4
Copyright Cirrus Logic, Inc. 2003
External Signal Functions
Table 1-4: External Signal Functions
FunctionSignal NameSignalDescription
Introduction
11
Data busD[0-31]I/O32-bit system data bus for memory, SDRAM, and I/O interface
A[0-31]O32 bits of system byte address during memory and expansion cycles
DRA[0-14] are multiplexed with A[27-13] for SDRAM memory accesses. A27
corresponds to DRA0 on SDRAM device. This offers additional power savings since
Address bus
Memory Interface
A[27-13]/
DRA[0-14]
BA[0-1]/
A[13-14]
nMOE/nSDCASOROM expansion OP enable/ SDRAM CAS control signal
nMWE/nSDWEOROM expansion write enable/ SDRAM write enable control signal
nCS[0-5]OChip select; active low, SRAM-like chip selects for expansion
SDQM[0-1]OLDQM; lower byte masks for SDRAM accesses
SDQM[2-3]OUDQM; upper byte masks for SDRAM/ multiplexed with PD[6-7]. See GPIO section
SDCS[0-1]OSDRAM chip selects
EXPRDYI
WRITE/nSDRASO
the lightest loading is expected on the high order ROM address lines.
Whenever the EP73xx is in the Standby State, the external address and data buses
O
are driven low. The RUN signal is used internally to force these buses to be driven
low. This is done to prevent peripherals that are powered-down from draining current.
Also, the internal peripheral’s signals get set to their Reset State.
I/O A13 and A14, during SDRAM accesses, become bank select pins BA0 and BA1.
Expansion port ready; external expansion devices dr ive this low to extend the bus
cycle. This is used to inser t wait states for an external bus cycle.
Transfer Direction for expansion bus/SDRAM RAS control signal during SDRAM
access
To do write accesses of different sizes Word and Half-Word must be externally
decoded. The encoding of these signals is as follows:
1
Access SizeWordHalf-Word
Word10
Half-Word01
WORD/
HALFWORD
EP7309/11/12 User’s Manual - DS508UM41-7
O
The core will generate an address. When doing a read, the ARM core will select the
appropriate byte channels. When doing a write, the correct bytes will have to be
enabled depending on the above signals and the least significant bits of the address
bus.
The ARM architecture does not support unaligned accesses. For a read using x 32
memor y, it is assumed that you will ignore bits 1 and 0 of the address bus and
perform a word read (or in power critical systems decode the relevant bits depending
on the size of the access). If an unaligned read takes place, the core will rotate the
resulting data in the register. For more information on this behavior see the LDR
instruction in the ARM7TDMI data sheet.
Copyright Cirrus Logic, Inc. 2003
Byte00
1
Introduction
Table 1-4: External Signal Functions (Continued)
FunctionSignal NameSignalDescription
Expansion clock rate is the same as the CPU clock for 13 MHz and 18 MHz. It runs
External ClockEXPCLKI/O
nMEDCHG/
nBROM
Interrupts
Power
Management
State Control
nEXTFIQIExternal active low fast interrupt request input
EINT[3]IExternal active high interrupt request input
nEINT[1-2]ITwo general purpose, active low interrupt inputs
nPWRFL
nEXTPWRI
nBATCHG
RUN/CLKENO
WAKEUP
1
1
BATOK
1
nPORI
1
at 36.864 MHz for 36,49 and 74 MHz modes; in 13 MHz mode this pin is used as the
clock input.
Media changed input; active low, deglitched. Used as a general purpose FIQ
interrupt during normal operation. It is also used on power up to configure the
I
processor to either boot from the internal Boot ROM, or from external memory.
When low, the chip will boot from the internal Boot ROM.
IPower fail input; active low, deglitched input to force system into the Standby State
Main battery OK input; falling edge generates a FIQ, a low level in the Standby State
I
inhibits system star t up; deglitched input
External power sense; must be driven low if the system is powered by an external
source
New battery sense; driven low if battery voltage falls below the "no-battery"
I
threshold; it is a deglitched input
Power-on reset input. This signal is not deglitched. When active it completely resets
the entire system, including all the RTC registers. Upon power-up, the signal must be
held active low for a minimum of 100 µsec. after V
operation, nPOR needs to be held low for at least one clock cycle of the selected
clock speed (i.e., when running at 13 MHz, the pulse width of nPOR needs to be >
77 nsec).
Note that nURESET, TEST[0], TEST[1], PE[0], PE[1], PE[2], DRIVE[0], DRIVE[1],
nMEDCHG, are all latched on the rising edge of nPOR.
This pin is programmed to either output the RUN signal or the CLKEN signal. The
CLKENSL bit is used to configure this pin. When RUN is selected, the pin will be
high when the system is active or idle, low while in the Standby State. When CLKEN
is selected, the pin will only be driven low when in the Standby State (For RUN, see
Table 1-6 on page 1-10).
Wake up is a deglitched input signal. It must also be held high for at least 125 µsec to
guarantee its detection. Once detected it forces the system into the Operating State
from the Standby State. It is only active when the system is in the Standby State.
This pin is ignored when the system is in the Idle or Operating State. It is used to
I
wakeup the system after first power-up, or after software has forced the system into
the Standby State. WAKEUP will be ignored for up to two seconds after nPOR goes
HIGH. Therefore, the external WAKEUP logic must be designed to allow it to rise and
stay HIGH for at least 125 usec, two seconds after nPOR goes HIGH.
User reset input; active low deglitched input from user reset button.
has settled. During normal
DD
DAI, CODEC or
SSI2 Interface
(See Table 1-5 on
page 1-10 for pin
assignment and
direction following
multiplexing)
nURESET
SSICLKI/ODAI/CODEC/SSI2 clock signal
SSITXFRI/ODAI/CODEC/SSI2 serial data output frame/synchronization pulse output
SSITXDAODAI/CODEC/SSI2 serial data output
SSIRXDAIDAI/CODEC/SSI2 serial data input
SSIRXFRI/O
1
I
This pin is also latched upon the rising edge of nPOR and read along with the input
pins nTEST[0-1] to force the device into special test modes. nURESET does not
reset the RTC.
SSI2 serial data input frame/synchronization pulse
DAI/CODEC external clock input
1-8EP7309/11/12 User’s Manual - DS508UM4
Copyright Cirrus Logic, Inc. 2003
Table 1-4: External Signal Functions (Continued)
FunctionSignal NameSignalDescription
ADCCLKOSerial clock output
ADC
Interface
(SSI1)
IrDA and
RS232
Interfaces
LCD
Keyboard &
Buzzer drive
LED Flasher
General
Purpose I/O
PWM
Drives
nADCCSOChip select for ADC interface
ADCOUTOSerial data output
ADCINISerial data input
SMPCLKOSample clock output
LEDDRVOInfrared LED drive output (UART1)
PHDINIPhoto diode input (UART1)
TXD[1-2]ORS232 UART1 and 2 TX outputs
RXD[1-2]IRS232 UART1 and 2 RX inputs
DSRIRS232 DSR input
DCDIRS232 DCD input
CTSIRS232 CTS input
DD[0-3]I/O
CL[1]OLCD line clock
CL[2]OLCD pixel clock
FRMOLCD frame synchronization pulse output
MOLCD AC bias drive
COL[0-7]OKeyboard column drives (SYSCON1)
BUZOBuzzer drive output (SYSCON1)
PD[0]/
LEDFLSH
PA[0-7]I/OPort A I/O (bit 6 for boot clock option); also used as keyboard row inputs
PB[0-7]I/OPort B I/O. All eight Port B bits can be used as GPIOs.
PD[0-5]I/OPort D I/O / PD0 multiplexed at LEDFLSH. See above.
PD[6-7]/SDQM
[0-1]
PE[0]/
BOOTSEL[0]
PE[1]/
BOOTSEL[1]
PE[2]/
CLKSEL
DRIVE[0-1]I/O
FB[0-1]IPWM feedback inputs
LCD serial display data; pins can be used on power up to read the ID of some LCD
modules (See Table 1-6 on page 1-10).
LED flasher driver — multiplexed with Port D bit 0. This pin can provide up to 4 mA
O
of drive current.
I/OPort D I/O/dedicated byte mask select for SDRAM
Port E I/O (3 bits only). Can be used as general purpose I/O dur ing normal
I/O
operation.
During power-on reset, PE[0] and PE[1] are inputs and are latched by the rising edge
I/O
of nPOR to select the memory width that the EP73xx will use to read from the boot
code storage device (i.e., external 8-bit-wide FLASH bank).
During power-on reset, PE[2] is latched by the rising edge of nPOR to select the
I/O
clock mode of operation (i.e., either the PLL or external 13 MHz clock mode).
PWM drive outputs. These pins are inputs on power up to determine what polarity
the output of the PWM should be when active. Otherwise, these pins are always an
output (See Table 1-6 on page 1-10).
Introduction
11
1
EP7309/11/12 User’s Manual - DS508UM41-9
Copyright Cirrus Logic, Inc. 2003
1
Introduction
Table 1-4: External Signal Functions (Continued)
FunctionSignal NameSignalDescription
TDIIJTAG data in
TDOOJTAG data out
Boundary
Scan
TestnTEST[0-1]I
Oscillators
No ConnectsN/CNo connects should be left as no connects; do not connect to ground
1. All deglitched inputs are via the 16.384 kHz clock. Each deglitched signal must be held active for at least two clock
periods. Therefore, the input signal must be active for at least ~125 µs to be detected cleanly.
The RTC crystal must be populated for the device to function properly.
TMSIJTAG mode select
TCLKIJTAG clock
nTRSTIJTAG async reset
Test mode select inputs. These pins are used in conjunction with the power-on
latched state of nURESET to select between the various device test models.
MOSCIN
MOSCOUT
RTCIN
RTCOUT
I
Main 3.6864 MHz oscillator for 18.432 MHz–90.3168 MHz PLL
O
I
Real Time Clock 32.768 kHz oscillator
O
DAI/CODEC/SSI2 Pin Multiplexing
Table 1-5: SSI/CODEC/DAI Pin Multiplexing
SSI2CODECDAIDirectionStrength
SSICLK PCMCLKSCLKI/O 1
SSITXFRPCMSYNCLRCKI/O1
SSITXDAPCMOUTSDOUTOutput1
SSIRXDAPCMINSDINInput
SSIRXFRp/u*MCLKI/O1
* p/u = use an ~10 k pull-up
The selection between SSI2 an d the CO DEC is controlled by the state of the SER SEL
bit in SYSCON2 (See SYSCON2 System Control Register 2). The choice between the
SSI2, CODEC, and the DAI is controlled by the DAISEL bit in SYSCON3 (See “System
Control Register 3 (SYSCON3)” on page 5-8).
Output B i-Directional Pins
Table 1-6: Output Bi-Directional Pins
RUN
The RUN pin is looped back in to skew the address and data bus from each other.
Drive [0-1]
DD[0-3]
The above output pins are implemented as bi-directional pins to enable the output side of the pad to be monitored and
1-10EP7309/11/12 User’s Manual - DS508UM4
Drive 0 and 1 are looped back in on power up to determine what polarity the output of the PWM should be when
active.
DD[0-3] are looped back on power up to bits 7:4 of the SYSFLG1 register. Pin values are latched upon the enabling of
the LCD Controller via the LCDEN bit. This is useful for reading the panel ID of some LCD modules. When some LCD
modules are reset, they will output a panel ID onto these pins. See the SYSFLG1 register for more information.
hence provide more accurate control of timing or duration.
• ARM System-on-Chip Architecture, 2nd Edition, b y Steve Furberu
Note: Click on the ARM Documentationsite to view more documents.
1-12EP7309/11/12 User’s Manual - DS508UM4
Copyright Cirrus Logic, Inc. 2003
Introduction
The 7312 processor u tilizes the ARM720T wh ich is based on the ARM7TDMI RISC
(Reduced Instruction Set Computer) core running at a dynamically programmable
speed from 18-90 MHz. This chapter discusses the key features of the ARM core.
Features
Key features include:
22
Chapter 2
2CPU Core
2
• ARM7TDMI CPU core (which supports the logic for the Th um b instruction
set, core debug, enhanced multiplier, JTAG, and the Embedded ICE)
running at a dynamically programmable clock speeds.
• Memory Management Unit (MMU) compatible with the ARM710 core
(providing address translation and a 64-entry translation lookaside buffer)
with added supp ort for Windows CE.
• 8 Kbytes of unified instruction an d data cache with a four-way set
associative cache controller.
ldrr0 , =0x80000000 ; base address for Standby and Idle(Halt) registers
movr1, #0xAA ; value to be written to registers
strr1, [r0,#0x0840] ; write to Standby - system will now enter Standby
strr1, [r0,#0x0800] ; write to Idle(Halt) - system, will now enter Idle
;
state
state
EP7309/11/12 User’s Manual - DS508UM42-3
Copyright Cirrus Logic, Inc. 2003
CPU Core
Operational Overview
Using the Von Neumann (load/store) architecture, the ARM720T core h as a three
stage instruction pipeline to increase the speed of the instruction execution within the
processor. The fetch-decode-execute of concurrent instructions are done in parallel
requiring approximately 1.9 CPI (cycles per instruction).
2
The core provides a 8 Kbytes un ified cache and a memory managem ent unit (MMU).
The MMU supports a two-level page table arrangement and controls the cache and
write buffer for each page created.
ARM720T core has 37 32-bit registers: 1-program counter, 1-current program status
register, 5-saved program status registers, 30-general purpose registers. The core also
supports 16 co-processor registers for control of the on-chip cache, MMU, and buffers.
Thecoresupportstwoinstructionsets,ARMandThumbforfull32-bitor16-bit
instruction decoding. State switching between ARM and Thumb, and register
assignments for each, are detailed in the ARM720T document provided by ARM. The
core supports both big as well as little-endian modes.
The core contains an embedded debug architecture. The 5-pin JTAG port will allow
the host s ystem to convert debugger commands into JTAG commands for the
purpose of hardware c ontrol to do th e following:
• Set breakpoints and watchpoints
•HalttheARMprocessor
• Access internal registers
• Access system memory
MMU
The MMU (Memory M anagement Unit) does the following
• Translates virtual addresses to physical addresses
• Controls memory access permissions, cache and write buffer accesses for
each page.
The MMU consists of a TLB (translation look aside buffer) an d hardware for page
table accesses as well as the access control logic.
Memory is divided by the MMU i n the following m anner:
• Sections: 1 Mbyte memory blocks
• Large Page: 64 Kbytes memory b locks which allows mapping of large
region with only a single entry in the TLB.
• Small Page: 4 Kbytes memory blocks
Based on the entry for the section or page, the cache and write buffer wi ll be either
enabled or disabled for that region of memory.
2-4EP7309/11/12 User’s Manual - DS508UM4
Copyright Cirrus Logic, Inc. 2003
Loading...
+ 128 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.