— Designed for applications that require long battery life
while using standard AA/AAA batteries
— Aver age 20 mA in normal operation (e verything on)
— Aver age 5 mA in idle mode (clock to the CPU stopped,
everything else running)
— Aver age 3 µ A in standby mode (realtime clock on and
everything else stopped)
Performance matching 33-MHz Intel
’486-based
PC
15 Vax -MIPS (Dhrystone
) at 18 MHz
ARM710A microprocessor
— ARM7 CPU
— 8 Kbytes of four-way set-associative cache
— MMU with 64-entry TLB (transition look-aside buff er)
— Little endian
DRAM controller
— Connects up to four banks of DRAM, with each bank
being 32 bits wide and up to 256 Mbytes in size
(cont.)
OVERVIEW
The CL-PS7110 is designed for ultra-low-power
applications such as organizers/PDAs, two-way
pagers, smart phones, and hand-held internet
browsers. The device’s core-logic functionality is
built around an ARM710A microprocessor with 8
Kbytes of four-w a y set-associativ e unified cache .
At 18.432 MHz (for 3-V operation), the CL-PS7110
delivers nearly 15 Vax-MIPS of performance (based
on Dhrystone
Low-Power
System-on-a-Chip
benchmark) — roughly the same
(cont.)
Functional Block Diagram
May 1997Version 1.5
■
■
■
■
■
■
■
■
■
■
CL-PS7110
Low-Power System-on-a-Chip
FEA TURES
(cont.)
ROM/SRAM/flash memory control
— Decodes eight separate memory segments of 256
Mbytes
— Each segment can be configured as 8, 16, or 32 bits
wide and support page-mode access
— Programmable access time for conventional
SRAM/ROM/flash memory
— Expansion device can also be a PC Card (PCMCIA)
controller
Codec interface
— Provides all necessary clocks and timing pulses and
performs serialization of the data stream (or vice versa)
to or from standard telephony codecs
— Data transfer at 64 kbps
Synchronous serial interface
— Supports SPI
1
or Microwire
2
-compatible interface
36-bit general-purpose I/O
— Four 8-bit and one 4-bit GPIO port
— Supports scanning keyboard matrix
1
SPI is a registered trademark of Motorola
2
Microwire is a registered trademark of National Semicon-
ductor
.
.
16C550-style UAR T
— Supports bit rates up to 115.2 kbps
— Contains two 16-byte FIFOs for Tx and Rx
— Supports modem control signals
SIR (slow (9600–115.2 kbps) infrared) encoder
— IrDA (Infrared Data Association) SIR protocol encoder
can be optionally switched into Tx and Rx signals of the
UART up to 115 kbps
DC-to-DC converter interface
— Provides two 96-kHz clock outputs, whose duty ratio are
programmable (from 1-in-16 to 15-in-16)
LCD controller
— Interfaces directly to a single-scan panel monochrome
LCD
— Panel size is progr ammable and is any width (line length)
from 16 to 1024 pixels in 16-pixel increments
— Video frame size programmable up to 128 Kbytes
— Bits per pixel programmable from 1, 2, or 4
— T wo 32-bit palette registers to support 4-, 2-, or 1-bit pixel
values for mapping to any of the 16 g r ayscale values
Two timer counters
Realtime clock (32-bit)
OVERVIEW
level of perf ormance offered by a 33-MHz Intel
(cont.)
’486-
based PC.
As shown in the system block diag ram, simply adding
desired memory and peripherals to the highly integrated CL-PS7110 completes a hand-held organizer/PDA system board. All the interface logic is
integrated on-chip.
The CL-PS7110 is packaged in a 208-pin VQFP
package, with a body size of 28-mm square, lead
pitch of 0.5 mm, and thickness of 1.4 mm.
Memory Interface
There are two main external memory interfaces and
a DMA controller that fetches video display data for
the LCD controller from main DRAM memory .
The SRAM/ROM-style interface has programmable
wait state timings and includes burst-mode capability ,
with eight chip selects decoding eight 256-Mbyte
sections of addressable space. For maxim um flexibility, each bank can be specified to be 8, 16 or 32 bits
wide to enable the use of low-cost memory in a 32-bit
system. The system can have an 8-bit-wide boot
option to optimize memory size.
The DRAM interface allows direct connection of up
to 4 banks of DRAM, each bank containing up to
256 Mbytes. To assure the lowest possible power
consumption, the CL-PS7110 supports self-refresh
DRAMs, which are placed a low-power state by the
device when it enters its low-pow er standb y mode.
Serial Interface
For RS232 serial communications, the CL-PS7110
includes a UAR T with two 16-byte FIFOs f or receiv e
and transmit data. The UART suppor ts bit rates of
up to 115.2 kbps. An IrDA SIR protocol
encoder/decoder can be optionally switched into the
Rx/Tx signals to/from the UAR T to enable these signals to drive an infrared communication interface
directly.
A full-duplex codec interface allows direct connection of a standard codec chip to the CL-PS7110,
allowing storage and playbac k of sound.
2
DATA BOOK v1.5
May 1997
DATA BOOK v1.5
CL-PS7110
LCD MODULE
KEYBOARD
BATTERY
DC-TO-DC
CONVERTERS
ADC
DIGITIZER
IR LED AND
PHOTODIODE
RS232
TRANSEIVER
CODEC
ADDITIONAL I/O
PCMCIA
BUFFERS
PCMCIA
SOCKET
WRITE
CS[4]
CS[5]
EXPRDY
EXPCLK
WORD
DD[3:0]
CL1
CL2
FM
M
D[31:0]
A[27:0]
COL[7:0]
PA[7:0]
DC
INPUT
NMOE
NMWE
NRAS[3]
NRAS[2]
NRAS[1]
NRAS[0]
NCAS[0]
NCAS[1]
NCAS[2]
NCAS[3]
PB[7:0]
PC[7:0]
PD[7:0]
PE[3:0]
NPOR
NPWRFL
BATOK
NEXTPWR
NBATCHG
RUN
WAKEUP
NCS[0]
NCS[1]
DRIVE[1:0]
FB[1:0]
CL-PS7110
ADCCLK
NADCCS
ADCOUT
ADCIN
SMPCLK
LEDDRV
PHDIN
RXD
TXD
DSR
CTS
DCD
PCMCK
PCMSYNC
PCMOUT
PCMIN
CS[6]
CS[7]
NCS[2]
NCS[3]
× 16
DRAM
× 16
DRAM
× 16
DRAM
× 16
DRAM
× 16
FLASH
× 16
FLASH
× 16
ROM
EXTERNAL MEMORY
MAPPED EXPANSION
BUFFERS
BUFFERS
AND
LATCHES
× 16
ROM
× 16
DRAM
× 16
DRAM
× 16
DRAM
× 16
DRAM
POWER
SUPPLY UNIT
AND
COMPARATORS
Low-Power System-on-a-Chip
A CL-PS7110–Based System
A separate synchronous serial interface supports two industry-standard protocols (SPI
and Microwire
devices such as an ADC, allo wing for peripheral
expansion such as the use of a digitizer pen.
) for interfacing to standard
Power Manag ement
The CL-PS7110 is designed for low-power
operation. There are three basic power states:
May 1997
●
Standby — This state is equivalent to the com-
puter being switched off (no display), and the
main oscillator is shut down. Only the realtime
clock is running.
●
Idle — In this state, the device is functioning and
all oscillators are running, but the processor
clock is halted while waiting for an e v ent such as
a key press.
●
Operating — This state is the same as the idle
state, except that the processor clock is running.
3
DATA BOOK v1.5
Low-Power System-on-a-Chip
TABLE OF CONTENTS
LIST OF TABLES..............................................................................................7
LIST OF FIGURES............................................................................................8
Hexadecimal numbers are presented with all letters in uppercase and a lowercase h appended. F or e xample ,
03CAh
are hexadecimal numbers.
Binary numbers are enclosed in single quotation marks when in text. F or example,
‘11’ is a
binary number.
Numbers not indicated by an h or single quotation marks are decimal.
The use of ‘tbd’ indicates values that are ‘to be determined’, ‘n/a’ designates ‘not available’, and ‘n/c’ indicates a pin
that is a ‘no connect’.
14h
and
CONVENTIONS
May 199710
DATA BOOK v1.5
CL-PS7110
32.768-kHz
OSCILLATOR
18.432-MHz
PLL
INTERRUPT
CONTROLLER
POWER
MANAGEMENT
SYNCHRONOUS
SERIAL I/O
STATE
CONTROL
DRAM
CONTROLLER
LCD
CONTROLLER
ARM7
µP CORE
8-KBYTE
CACHE
MMU
COUNTERS
(2)
RTC
CODEC
INTERFACE
ARM710A
INTERNAL DATA BUS
PSU
CONTROL
3.6864 MHz
32.786 kHz
EINT[1–3],
FIQ
BATOK, EXTPWR
PWRFL, BATCHG
PORTS A B C D — 8-BIT
PORT E — 4-BIT
KEYBOARD COLUMN
DRIVES (0–7)
BUZZER DRIVE
DC TO DC
CLK, SYNC, IN,
OUT, SMPCLK
CLK, SYNC IN,
OUT
UART
MUX
ROM/EXPANSION
CONTROL
IRDA
D0–D31
POR, RUN,
RESET,
WAKEUP
EXPCLK, WORD ,
CD[0–7], EXPRDY,
WRITE
MOE, MWE
RAS[0–3], CAS[0–3]
A[0–27],
DRA[0–12]
LCD DRIVE
LED AND PHOTODIODE
RS232 INTERFACE
INTERNAL
GPIO
ADDRESS BUS
Low-Power System-on-a-Chip
1.FUNCTIONAL DESCRIPTION
1.1Overview
The CL-PS7110 is a single-device embedded controller designed to be used in ultra-low-cost applications
such as a hand-held personal organizers and hand-held internet browsers. There are other devices
offered by Cirrus Logic (http://www.cirrus.com) such as fax/modem chipsets, IR chipsets, codecs, etc.,
that can be used around the CL-PS7110 to build a complete hand-held organizer. The CL-PS7110 operates at both 3 V and 5 V. However, the AC timings shown in this data book (v1.5) reflect 3-V operation.
Figure 1-1 shows a simplified functional block diagram of the CL-PS7110. All external memory and
peripheral devices are connected to the 32-bit data bus, using the e xternal 28-bit address bus and control
signals. Bus transfer times can be extended using the EXPRDY signal to lengthen bus cycles. The maximum burst transfer rate of the external bus is approximately 70 Mbytes/sec.
The core-logic functionality is built around an ARM710A microprocessor and 8 Kbytes of cache. At 18.432
MHz (for 3-V operation) and with an on-chip 8-Kbyte cache (four-way set-associative), the CL-PS7110
delivers approximately 15 MIPS of sustained performance (18.4 MIPS peak). This is approximately the
same as a 33-MHz, ’486-based PC.
May 199711
Figure 1-1. Functional Block Diagram
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
The CL-PS7110 design is optimized for low power dissipation at 3-V operation. At 18.432-MHz clock
speed, the device dissipates 66 mW during the ‘operating state’ (all oscillators and processor clock running), 15 mW in the ‘idle state’ (all oscillators running, but processor clock is halted), and 10-µW in the
‘standby state’ (no display and the main oscillator is shut down). For a definition of the three states, refer
to the Section 1.2.19 on page 27.
The CL-PS7110 can interface to up to four banks of DRAM; each bank can be up to 256 Mbytes in size.
There is also an interface for two ROMs, each up to 256 Mbytes, and six expansion devices also up to
256 Mbytes. These expansion devices could be additional ROM or a PC Card controller. The CL-PS7110
has a built-in, high-speed (115 kbps) UART with Rx and Tx FIFOs, and also supports the IrDA SIR protocol.
The CL-PS7110 is fabricated with a 0.6-µm CMOS process and is fully static. The CL-PS7110 is a 208-pin
VQFP with a body size of 28-mm square, a lead pitch of 0.5 mm, and a maximum thickness of 1.5 mm.
1.2General
The CL-PS7110 is built around the ARM710A processor core. For a more detailed description of the
ARM710A, refer to the
CL-PS7110 are:
ARM710A Data Sheet
(http://www.arm.com/). The principle functional blocks in
● ARM710A CPU core
● Memory management unit from the ARM700 and ARM710 processors
● 8 Kbytes of unified instruction and data cache, plus a four-way set-associative cache controller
● Interrupt and fast interrupt controller
● Expansion and ROM interface giving 8 × 256-Mbyte expansion segments with independent wait state control
● DRAM controller supporting Fast Page mode and self-refresh in Standby mode
● 36 bits of general-purpose peripheral I/O
● Telephony codec interface and 16-byte FIFO
● Programmable, 4-bits-per-pixel LCD controller, mapping the video buffer into the main DRAM
● Full-duplex UART and two 16-byte FIFOs, plus logic to implement the IrDA SIR protocol, capable of speeds
up to 115 kbps
● Two 16-bit general-purpose counter timers
● A 32-bit realtime clock and comparator
● DC-to-DC converter interface
● System state control and power management
● Synchronous serial interface for Microwire
● Pin test and device-isolation logic
● External tracing support for debug
● Main oscillator and PLL (phase locked loop) to generate the system clock of 18.432 MHz from a 3.6864-MHz
or SPI peripherals (such as ADCs)
crystal
● A low-power 32.768-kHz oscillator
FUNCTIONAL DESCRIPTION
May 199712
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
1.2.1Clocking
The main bus clock runs at 18.432 MHz and is derived from the output of the 3.6864-MHz oscillator , using
an on-chip PLL to multiply by 10 and then divide by 2 to ensure a proper 50–50 mark space ratio is
achieved. The main bus clock is routed only to the ARM710A, the LCD controller, the memory controller
peripherals, and the baud-rate generator. Clocks required for the other per ipherals are lower frequency,
and are generally not required to be synchronous to the main bus clock. These clocks are centrally generated using ripple count stages where possible to minimize power consumption, and distributed to the
appropriate peripherals.
1.2.2CPU Core
The ARM710A microprocessor is a 32-bit RISC processor directly connected to the 8-Kbyte unified
cache. This cache has 512 lines of four words arranged as a four-way set-associative cache. The cache
is directly connected to the ARM710A microprocessor and caches the
The MMU translates the virtual address into a physical address, it contains a 64-entry TLB (translation
look aside buffer) and is
post cache
, that is, it only translates external memory references (cache misses)
to save power.
Refer to descriptions of the Interrupt Status register (INTSR) and Internal Mask register (INTMR) in the
ARM710A Data Sheet
.
virtual address
from the processor.
1.2.3Interrupt Controller
The ARM710A has two interrupt types: IRQ (interrupt request) and FIQ (fast interrupt request). The interrupt controller in the CL-PS7110 controls interrupts from 16 different sources. Twelve interrupt sources
are mapped to the IRQ input and four sources are mapped to the FIQ input. FIQs have a higher priority
than IRQs; if two interrupts within the same group (IRQ or FIQ) are activ e, software m ust resolve the order
in which they are serviced.
All interrupts are
1) The device asserts the appropriate interrupt request line.
2) If the appropriate bit is set in the Interrupt Mask register, either FIQ or IRQ is asserted by the interrupt con-
troller.
3) If interrupts are enabled, the processor jumps to the appropriate vector.
4) Interrupt dispatch software reads the Interrupt Status register to establish the source(s) of the interrupt, then
calls the appropriate interrupt service routine(s).
5) Software in the interrupt service routine clears the interrupt source by some action specific to the device
requesting the interrupt (for example, reading the UART Rx register).
6) The interrupt service routine can then re-enable interrupts, any other pending interrupts are serviced in a similar way or returned to the interrupt dispatch code, which checks for any more pending interrupts and dispatches them accordingly.
level-sensitive,
that is, they must conform to the following sequence.
May 199713
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
Table 1-1.Interrupt Allocation
CL-PS7110
Low-Power System-on-a-Chip
Interrupt
FIQ0EXTFIQExternal fast interrupt input (NEXTFIQ pin).
FIQ1BLINTBattery low interrupt.
FIQ2WEINTWatch dog expired interrupt.
IRQ14UMSINTInternal UART modem status changed interrupt.
IRQ15SSEOTISynchronous serial interface end of transfer interrupt.
1.2.4Memory Interface and DMA
The CL-PS7110 memory controller is designed for maximum flexibility. Requests for external memory
accesses from the ARM710A are decoded and the appropriate external memory access or inter nal bus
cycle is initiated accordingly.
There are two main external memory interfaces:
● DRAM controller
● Expansion memory controller for SRAM/FLASH/ROM
The CL-PS7110 provides a DMA controller (see Section 1.2.5) that allows video displa y data f or the LCD
controller to be fetched directly from main DRAM memory, independent of internal CL-PS7110 activity.
Bus cycles generated by the CL-PS7110 depend on the requester and the target. The possible requesters
are the ARM710A core, the DMA controller and the DRAM refresh controller . The two types of targets are
DRAM banks and ROM/expansion banks . A data transf er ma y tak e multiple bus cycles . The arbitration for
the bus is at the beginning of a transfer. The priority is fixed with DMA highest, then refresh, followed by
the ARM710A. Once granted the bus, the maximum burst to a ROM/expansion bank is four bus cycles,
regardless of the transfer width. The ARM710A core can produce byte , word, m ulti-w ord accesses. Multi-
FUNCTIONAL DESCRIPTION
May 199714
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
word accesses are produced by cache line fetches and b loc k data tr ansf er instructions. They can be considered a burst of word reads.
Reads
For byte reads , the CL-PS7110 will rotate the data if needed so that, regardless of the width of the memory bank, the addressed byte is in the correct position. The remaining bytes will be filled with zeros. Normally, word accesses to non-word aligned addresses cause an alignment fault. However, if the alignment
fault check in the MMU is not enabled, a word read from an address offset from a word boundary will
cause the data to be rotated into the register as if it were a byte read. Half-word aligned reads will place
the data in correct bytes of the register. Two shift operations are then required to zero-fill or sign extend
the data.
Writes
During byte writes, the data is replicated on each of the four bytes of the data b us. F or DRAM writes, there
is CAS line per byte and only the CAS for the correct b yte is enabled. For writes to byte-wide ROM/e xpansion banks, the nMWE signal is directly used as the write enable. For writable 16-bit ROM/expansion
banks, two write enables must be decoded from the WORD, nMWE and address line A0 (refer to
Figure 1-2). F or writable 32-bit ROM/e xpansion banks, f our write enables must be decoded from the same
signals plus the A1 address line. A byte write always causes a single bus cycle. Word writes to wordaligned addresses are handled by the CL-PS7110, regardless of the width of the ROM/expansion bank.
Accesses to 8- or 16-bit-wide banks will cause multiple bus cycles (refer to Figure 1-3). Word wr ites to
non-word-aligned addresses normally cause a alignment fault. If the alignment fault check in the MMU is
not enabled, non-aligned work writes act as if both low address bits were zero.
May 199715
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
EXPCLK
NCS
CS
NMWE
A
WORD
D
EXPRDY
111111011111
0000
000014400000000000002
XXXXXXXXXXXX4567XXXX0123
NMOE
Low-Power System-on-a-Chip
NOTE: A store of 0X01234567 is split into two 16-bit stores by CL-PS7110 hardware.
Figure 1-2. Word Write to 16-bit SRAM
FUNCTIONAL DESCRIPTION
May 199716
DATA BOOK v1.5
CL-PS7110
EXPCLK
NCS
CS
NMWE
A
WORD
EXPRDY
1111101111111110
0000
000021C00000000000001000000200000030000220
XXXXXXXXXXXXXX67XXXXXX45XXXXXX23XXXXXX01
D
NMOE
Low-Power System-on-a-Chip
NOTE: A store of 0X0123456 is split into four 8-bit stores by CL-PS7110 hardware.
1.2.5Expansion and Memory Controller for SRAM/ROM/Flash Interface
Figure 1-3. Word Write to 8-bit SRAM
Eight separate linear memory or expansion segments are decoded by the CL-PS7110. Each segment is
256 Mbytes in size and can be interf aced by using a conv entional SRAM-like interf ace. Each segment can
be individually programmed to be 8, 16, or 32 bits wide, support Page mode access, and execute from
0–4 wait states. In addition, bus cycles can be extended using the EXPRDY input signal. Two segments
are allocated to ROM program segments and six to memory-mapped expansion. How ev er, this is arbitr ary
and can be redefined. Page mode access is accomplished by running up to four accesses together, this
can significantly improve bus bandwidth to devices, such as ROMs. Sequential Burst mode access is
always faulted (the bus returned to idle) after four
refresh cycles.
accesses,
regardless of bus width to allow DMA and
Each memory area has a single byte control register field, allowing the bus width and access timing to be
programmed. Refer to the description of MEMCFG1 and MEMCFG2 registers on page 47.
May 199717
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
Figure 1-4 shows the usage of such memory segments.
CL-PS7110
D[0:31]
A[0:27]
× 16
FLASH
× 16
ROM
× 16
FLASH
× 16
ROM
EXTERNAL MEMORY
MAPPED EXPANSION
BUFFERS
BUFFERS
AND
LATCHES
NMOE
NMWE
NCS0
NCS1
CS6
CS7
NCS2
NCS3
ADDITIONAL I/O
CL-PS7110
Low-Power System-on-a-Chip
Figure 1-4. Memory Segment Usage
The width of each the ROM/expansion bank is set in its Memory Configuration Register 1 (see
Section 3.2.13). This register is cleared to zero by a power-on reset. The CL-PS7110 boots from
ROM/expansion bank 0. To allow for booting from 8- or 32-bit memory devices, the state of port E bit 0 is
sampled during power-on reset and stored into the BOOT8BIT Mode register. If this bit is low, all zeros in
the width field of a memory configuration register indicates a 32-bit-wide bank and all ones a 8-bit device.
If this bit is high, the decoding of the bus width field is inverted, so all zeros indicates a 8-bit device.This
way, a pull-up or pull-down on port E bit 0 indicates the size of the boot device. For consistency, the
BOOT8BIT Mode has the same effect on all ROM/expansion banks.
The PCMCIA mode is a special case. If the width field of the Memor y Configuration Register 1 is set to
PCMCIA mode, the upper address bits are decoded to determine the bus width and type of access. The
PCMCIA address bits A0 to A25 are driven by CL-PS7110 address bits A0 to A25. CL-PS7110 address
bits A26 and A27 are decoded to specify the type and width of the access. If both are zeros, it is an access
to the 8-bit-wide attribute memory . If only A26 is a one, it is an access to the 16-bit-wide common memory.
If only A27 is a one, it is an access to a 8-bit-wide I/O register . If both are ones, it is an access to a 16-bitwide I/O register.
The ARM710A core only supports byte or word accesses. Normally , w ord accesses are conv erted to multiple bus cycles that match the width of the ROM/e xpansion bank. Word accesses to PCMCIA 16-bit-wide
FUNCTIONAL DESCRIPTION
May 199718
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
I/O registers are the exception. Reading or writing an I/O register may have side effects, so a single 16bit access is needed. A byte access may trigger a side effect before the other byte is transferred, and a
word access could affect neighboring I/O registers. To provide 16-bit-wide accesses, no bus width conversion is done for w ord accesses. Instead, there is a single bus cycle with only data bits D0 to D15 valid.
If alignment fault checking is enabled in the ARM710A core, all word accesses require a word-aligned
address, that is both A0 and A1 must be zero. To access the 16-bit I/O registers that are not at wordaligned addresses (that is, A1 is one), the CL-PS7110 makes special use of address bit 25. F or a PCMCIA
bank, if address bits A25 to A27 are all ones, the A25 output pin is driven low and the A1 output pin is
driven high.This restricts 16-bit accesses to the low 32 Mbytes of the PCMCIA I/O space, but allows
access to all registers in this range.
1.2.6DRAM Controller
The DRAM controller in the CL-PS7110 provides all connections to directly interface up to four banks of
DRAM. Each bank is 32-bits wide and up to 256 Mbytes in size. Four RAS lines are provided, one per
bank and four CAS lines are provided, one per byte line. As the DRAM device size is not programmable,
if devices are used that are smaller than the largest size supported (1 Gbit) this leads to a segmented
memory map, each bank being separated by 256 Mbytes. Segments that are smaller than the bank size
repeat within the bank. Table 1-2 shows the mapping of physical address to DRAM row and column
address. This mapping has been organized to support any DRAM device size from 4 Mbit to 1 Gbit with
a ‘square’ row and column configuration, that is, the number of column addresses is equal to the n umber
of row addresses. If a non-square DRAM is used, fur ther fragmentation of the memory map can occur ;
however, the smallest contiguous segment is always 1 Mbyte.
In addition to supporting standard refresh cycles, self-refresh DRAM is suppor ted such that system
DRAM can be put into a low-power state by the ARM710A before entering its low-power Standby mode.
DMA takes priority over other external memory or I/O accesses under the control of the internal bus arbiter. Requests for more data are received from the FIFO b uff er at the front end of the datapath through the
LCD controller. The DMA request is serviced by providing a quad word of data from the frame buffer that
starts at location zero in main DRAM memory. Meanwhile the CPU continues execution, including
accesses to the other peripherals. Ref er to Section 1.2.10 on page 21 for the description of the LCD controller.
1.2.7PCMCIA Support
As mentioned in Section 1.2.5 (expansion memory controller), there are eight separate linear memory
segments supported and one can use one of the segments to interface with a PCMCIA card.
To design a PCMCIA-card interface to support 3/5-V cards and hot insertion, isolation buffers for address
and data will be required. A sample design is provided in CL-PS7110 Evaluation kit. A PAL (22LV10) is
used to decode PCMCIA card signals out of the CL-PS7110 address and control bus. The PAL equations
are available in the
The DRAM controller contains a programmable refresh counter. The refresh rate is controlled using the
DRAM Refresh Period register (DRFPR).
1.2.8Codec Interface
The codec interface allows a direct connection of a telephony-type codec to the CL-PS7110. It provides
all the necessary clocks and timing pulses and performs serialization of the data stream (or vice versa)
to or from the codec. The interface is full-duplex and contains two separate data FIFOs.
Data is transferred to or from the codec at 64 kbps, either written to or read from the appropriate 16-byte
FIFO. The sound interrupt is generated ev ery 8 bytes transferred (FIFO half full/empty), which means the
interrupt rate is reduced from 8 to 1 kHz with a latency of 1 ms.
1.2.9Synchronous Serial Interface
The synchronous serial interface allows peripheral devices , such as ADCs, that ha ve a SPI- or Micro wirecompatible interface to be directly connected to the CL-PS7110. The clock output frequency (ADCCLK)
is programmable and only active dur ing data transmissions to save power (refer to the Example 1 table
on page 24). The output channel is fed by an 8-bit shift register, and the input channel is captured by a
16-bit shift register. The clock and synchronization pulses are activated by a write to the Output Shift register. During transfers the SSIBUSY (Synchronous Serial Interface Busy) bit in the System Status Flags
register is set. When the transfer is complete and valid data is in the 16-bit read shift register the SSEOTI
interrupt is asserted and the SSIBUSY bit is cleared. An additional sample clock (SMPCLK) can be
enabled independently and is set at twice the transfer clock frequency.
1.2.10 LCD Controller
The LCD controller provides all necessary control signals to directly interface to a single-scan panel multiplexed LCD. The panel size is programmable and can be any width (line length) from 16 to 1024 pixels
in 16-pixel increments. The total video frame size is programmable up to 128 Kbytes. This equates to a
theoretical maximum panel size of 1024 × 256 pixels in 4-bits-per-pixel mode. The LCD controller uses a
9-stage FIFO to buffer the incoming displa y data, which is replenished by hardware DMA under the control
of the CL-PS7110 DMA controller.
The video RAM is mapped into the base of the main DRAM memory area, which is fixed at physical
address 0xC000.0000. The number of bits per pixel is programmable from 1, 2, or 4.
The screen is mapped to the video buffer as one contiguous block where each horizontal line of pixels is
mapped to a set of consecutive bytes or words in the video RAM. The video b uffer can be accessed w ordwide as pixel 0 is mapped to the LSB in the buff er , that is, the pix els are arranged in a little-endian manner .
The pixel bit rate and the LCD refresh rate can be programmed from 18.432 MHz to 576 kHz. The LCD
controller is programmed by writing to the LCD Control register (LCDCON).
The LCD controller also contains two 32-bit palette registers, these allow any 4-, 2-, or 1-bit pixel value to
be mapped to any of the 15 grayscale values available. Any 4-bit logical grayscale value can be mapped
to any of the 16 physical grayscales. The palettes are written to directly as two 32-bit memory-mapped
registers.
Figure 1-5 on page 22 shows the organization of the video map for all combinations of bits per pixel.
May 199721
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
BIT 0BIT 1BIT 2BIT 3BIT 4BIT 5BIT 6BIT 7
PIXEL 1PIXEL 2PIXEL 3PIXEL 4
GRAYSCALE
GRAYSCALE
GRAYSCALEGRAYSCALEGRAYSCALEGRAYSCALE
2 BITS PER PIXEL
4 BITS PER PIXEL
1 BIT PER PIXEL
PIXEL 1PIXEL 2PIXEL 3PIXEL 4
BIT 0BIT 1BIT 2BIT 3BIT 4BIT 5BIT 6BIT 7
PIXEL 1PIXEL 2PIXEL 3PIXEL 4
BIT 0BIT 1BIT 2BIT 3BIT 4BIT 5BIT 6BIT 7
Low-Power System-on-a-Chip
Figure 1-5. Video Buffer Mapping
The refresh rate is not affected by the n umber of bits per pixel. Howe ver, the LCD controller fetches twice
the data per refresh for 4-bits-per-pixel compared to 2-bits-per-pixel. The main reason for reducing the
number of bits per pixel is to reduce the power consumption of the DRAMs in bank 0 where the video
buffer is mapped.
1.2.11 Internal UART and SIR Encoder
The CL-PS7110 contains a built-in UART, which offers similar functionality to the National Semiconduc-
tor
16C550 device. It can support bit rates of up to 115.2 kbps and contains two 16-byte FIFOs for
receive and transmit.
Only three modem-control input signals are supported: CTS, DSR, and DCD. The additional RI input
modem control line is not supported. Output modem control lines (such as, R TS and DTR) are not e xplicitly supported, but can be implemented using bits from the general-purpose PIA ports in the CL-PS7110.
FUNCTIONAL DESCRIPTION
May 199722
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
UAR T operation and line speed are controlled by the U AR T Bit Rate and Line Control (UBRLCR) register .
Three interrupts can be generated by the UART: Rx, Tx, and Modem Status Changed. The Rx interrupt
is asserted when the FIFO becomes half full or if the FIFO is non-empty for longer than three character
length times with no more characters being received. The Tx interrupt is asser ted if the FIFO buffer
reaches half empty. The Modem Status Changed interrupt is generated if either of the modem status bits
change state.
Framing and parity errors are detected as each byte is receiv ed and pushed onto the Rx FIFO . An ov errun
error generates an Rx interrupt immediately. All error bits can be read from the 11-bit-wide data register.
The FIFO can also be programmed to only be 1 byte deep (such as, a conventional UART with double
buffering).
The CL-PS7110 also contains an IrDA SIR protocol encoder . This encoder can be optionally s witched into
the Tx and Rx signals , so that these can be used to directly drive an infr ared interface. If the SIR protocol
encoder is enabled, the UART Tx line is held in the passive state and transitions of the Modem Status
Changed or Rx lines have no effect.
1.2.12 Timer Counters
The CL-PS7110 has two integrated identical timer counters, referred to as TC1 and TC2. Each timer
counter has an associated 16-bit read/write data register and some control bits in the System Control register. Each counter is immediately loaded with the v alue written to the data register . This value is then
remented
on the second active clock edge to arrive after the write (that is, after the fist complete period
of the clock). When the timer counter under-flows (reaches 0) the appropriate interrupt is asserted. The
timer counters can be read at any time. The clock source and mode are selectable by writing to various
bits in the System Control register (clock sources are 512 and 2 kHz).
dec-
The timer counters can operate in two modes: Free-running or Prescale.
1.2.12.1 Free-Running Mode
In Free-running mode, the counter wraps around to 0xFFFF when it under-flows and continues counting
down. Any value written to TC1 or TC2 is decremented on the second edge of the selected clock.
1.2.12.2 Prescale Mode
In Prescale mode, the value written to TC1 or TC2 is automatically reloaded when the counter underflows. Any value written to TC1 or TC2 is decremented on the second edge of the selected clock. This
mode can produce a programmable frequency to drive the buzzer or generate a periodic interrupt.
1.2.13 Realtime Clock
The CL-PS7110 contains a 32-bit RTC (realtime clock). The RTC can be wr itten to and read from in the
same manner as the timer counters, but is 32 bits wide. The R TC is alw a ys cloc k ed at 1 Hz and also contains a 32-bit output-match register, which can be programmed to generate an interrupt when the time in
the RTC matches a specific time written to this register.
1.2.14 DC-to-DC Converter
Two programmable duty ratio 96-kHz clock outputs are provided by the CL-PS7110. These drives are to
be used as DC-to-DC converters in the PSU (power-supply unit) subsystem. These clocks are enabled
by external input pins that are normally connected to the output from comparators monitoring the DC-toDC converter output. The duty ratio (and hence the converter on-time) can be programmed from 1-in-16
May 199723
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
to 15-in-16. The sense of the DC-to-DC converter drive signal (active-high or -low) is determined by latching the state of this drive signal during power-on reset (that is, a pull-up resistor on the drive signal results
in an active-low drive output and vice versa). This allo ws either positive or negative voltages to be generated by the DC-to-DC converter.
An example of how to use the DC-to-DC con v erter is shown below. The objective of Example 1 is to have
constant V
as PD4, PD5, PD6 and PD7 in Figure 1-2 and Figure 1-3) are used to choose various resistor values. The
Drive 1 pin is connected to the base of the biasing transistor. The V
required.The feedback mechanism via the FB1 pin ensures that whenever software changes the pulse
width using the Pump Control register (PMPCON), the voltage level is kept at the desired level for V
for the bias generator of an LCD panel to control the contrast. Four of the GPIO pins (shown
EE
is the maximum voltage that is
EE
EE
.
The same technique could be used for keeping V
for flash at a constant level as shown in Example 2.
PP
Example 1
Following is a sample schematic for a positive and negative VEE control circuitry. The same circuitry may
be applied for the 12-V V
generator. Assume that the nominal VEE voltage for a given LCD is 28 V, and
PP
the range covered is from 27 to 29 V (to assure a sufficient contrast control range).
ResistorNotes
R75Pull down for positive VEE.
R53Pull up for LM339 open-drain output.
R54
R55
R62–65
1. Connect a load resistor over C2 to force approximately 2 mA of current (or whate ver your panel’s typical
value is).
Choose to select a voltage at the + terminal of the comparator at what point the feedback output will switch off
(high), thus turning off the Drive output.
To select voltage level on the + input of the comparator to
application V
This resistor network allows V
under program control. If all outputs are low, V
maximum. Turning on the outputs increases the voltage
at the comparator, and therefore decreases V
REF
(1.5V).
to be programmed
EE
is at the
EE
.
EE
2. Program the Pump Control register to 5, set PD7..4 to high.
3. Set R55 such that VEE is at the minimum 27 V.
4. Set PC7..4 to ‘1111’; VEE should exceed 29 V.
FUNCTIONAL DESCRIPTION
May 199724
DATA BOOK v1.5
CL-PS7110
+V
EE
C2
2.2
µ10 µF
GND
GND
GND
GND
GND
C78
R54
330 k
V
REF
LM339
FB0
DRIVE0
R74
UI3A
DRIVE1
FB1
GND
82
81
87
86
100 k
R75
V
DD
100 k
R53
U19
V
DD
L3
47
µH
R55
R
100 n
806 k
C44
R64
R65
R63
R62
392 k
200 k
100 k
64
PD4
PD5
PD6
PD7
63
62
61
CL-PS7110
FB1
4
5
3
2
3
2
1
4
D12
1N5818
100 k
DRIVE1
-
+
Low-Power System-on-a-Chip
Now the panel can be connected and the contrast fine-tuned by changing the Pump Control register v alue
for the appropriate drive output.
Figure 1-6. Sample Schematic for Positive V
Control Circuitry
EE
Example 2
(1.5 V).
ResistorNotes
R73Pull down for positive VEE.
R53Pull up for LM339 open-drain output.
R54
R56
R62–65
Selects a voltage at the terminal of the comparator, at
which point the feedback output switches off (high), thus
turning off the Drive output.
Selects voltage level on input of comparator to application V
REF
This resistor network allows V
under program control. If all outputs are low, V
maximum. Turning on the outputs increases the voltage
at the comparator, and therefore decreases V
May 199725
to be programmed
EE
is at the
EE
.
EE
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
-V
EE
C2
2.2
µ
10 µF
GND
GND
GND
C78
R54
330 k
V
REF
LM339
FB0
DRIVE0
R74
U13D
DRIVE1
FB1
GND
82
81
87
86
100 k
R75
V
DD
100 k
R53
U19
V
DD
L3
47 µH
R56
R
100 n
806 k
C44
R64
R65
R63
R62
392 k
200 k
100 k
64
PD4
PD5
PD6
PD7
63
62
61
CL-PS7110
FB1
11
10
13
+
D12
1N5818
100 k
DRIVE1
-
+
TR1
PNP
V
DD
V
DD
Low-Power System-on-a-Chip
Figure 1-7. Sample Schematic for Negative VEE Control Circuitry
1.2.15 Keyboard Control
A keyboard can be connected using any of the serial channels. The CL-PS7110 provides a seamless
interface for connecting a scanning keyboard. There are column (COL[0-7]) pins for connecting to the 8
columns of the scanning keyboard. The GPIO pins can be used for row addressing; the GPIO pins 0–8
can be configured as a single 8-bit port (PA[0–7]).
1.2.16 GPIO
There are 36 general-purpose pins on CL-PS7110. These pins are user-configurable as input or output.
The 36 pins can be arranged as 4-byte-wide registers (which can also be read back as a single 32-bit
word), and one nibble-wide port (described as Port A, Port B, Port C, P ort D and Port E in the device pin
diagram). Four of the I/O pins ha ve e xtra-high drive output buff ers to allow direct drive of an LED , f or example.
1.2.17 Buzz er Control
There a single pin for buzzer control. When the BZMOD bit of the SYSCON register (described in
Section 3.2.11) is reset, the bit BZTOG can be used to drive the buzzer directly. Otherwise, Timer 1 can
be programmed to activate the buzzer based on a pre-programmed value.
FUNCTIONAL DESCRIPTION
May 199726
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
1.2.18 Batter y Management
There are four pins for battery management:
BA TOK
This signal is derived from a comparator that is set to switch when the main battery reaches its end-of-life
point. A transition to low will generate an FIQ interrupt. The operating system has to ensure the system
is powered down to Standby mode to not dr ain the battery. Hardw are inside the CL-PS7110 prevents the
system from starting up unless a power-fail condition (NPWRFL deactive) is removed.
NEXTPWR
This input should be driven when an external power supply other than the main battery is powering the
system. Only when this input is high with (NPWRFL deactiv e) the system may exit the standby state. This
prevents the system from attempting to wake up.
BATCHG
When asserted this input will not generate an interrupt. It simply signals that there is no battery present.
It may be generated by an external comparator that senses the battery voltage.
NPWRFL
This input will immediately put the system in standby state. The system is, however, assured that the
DRAM access is completed and put into Self-refresh mode.
1.2.19 State Control
The CL-PS7110 supports three basic power states: standby, idle, and operating
equivalent of the computer being switched ‘off’, that is, no display and the main oscillator shut down. The
idle
state is when the device is functioning, all oscillators are running, but the processor clock is halted
while it waits for an event such as a key press. The operating state is the same as the idle state, except
that the processor clock is running.
In the standby state, all system memory and states are maintained, and the system time is kept up to date.
The main oscillator is disabled and the system is static, except for the low-power (32-kHz) watch crystal
oscillator and divider chain to the realtime clock. The ‘run’ signal is driven low when in the standby state.
When first powered up or reset by the NPOR (Not Power On Reset) signal, the state is forced into the
standby state. This is known as a ‘cold’ reset and is the only completely asynchronous reset to the
CL-PS7110. The transition to the operating state is caused by a rising edge on the wake-up input signal
(the user presses any wake-up keys), or by asserting a selected interr upt. Once self-refresh is enabled
for the DRAMs, any tr ansition to the standby
ping the oscillator.
Once in the operating state, the idle state is entered by writing to a special internal register location in the
CL-PS7110. If an interrupt becomes active in the idle state, execution of the next instruction continues.
state forces the DRAMs to the self-refresh state before stop-
.
The standb y state is the
The system can also be forced into the standby state by hardware if the NPWRFL or NURESET inputs
are forced low. In this case, the tr ansition is synchronized with DRAM cycles to a void an y glitches or short
cycles.
A write to another internal register location causes the transition from the operating state to the standby
state.
May 199727
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
INTERRUPT OR RISING WAKEUP
WRITE TO STANDBY LOCATION, POWER FAIL
OR USER RESET
INTERRUPT, POWER FAIL
OR USER RESET
WRITE TO HALT LOCATION
IDLE
STANDBY
ACTIVE
Low-Power System-on-a-Chip
The system-only transitions to the operating state from the standby state if either the NEXTPWR or
BATOK, and the NPWRFL inputs are high. This prevents the system from attempting to star t when the
power supply is inadequate (for example, when the main batteries are dead).
Figure 1-8 shows a state diagram for the CL-PS7110.
Figure 1-8. State Diagram
1.2.20 Power Management
The CL-PS7110 is designed for battery-based hand-held organizers/PDAs and wireless comm unicators .
Minimizing power dissipation was a key design parameter. This required a holistic design approach in
which many power-saving features provide significant power reduction.
Low power consumption was also a key goal in the development and VLSI implementation of the
ARM710A core, cache and MMU.
Throughout the CL-PS7110, transition-avoidance techniques are used to minimize the power consumption of CMOS switching currents. For example, clocks to unused peripherals are ‘gated-out’ at source
(where possible) rather than simply asserting the reset signal to the blocks. The main clock divider uses
ripple count stages where possible to generate clocks that are not required to be synchronous with the
main bus clock.
There are five FIFOs in the design. To save power and die area, a custom asynchronous ripple-through
design is employed. Parameterized gates are used in the ripple-through data-latching stages of the FIFO
(and in many places in the ARM710A) to optimize loading/drive ratios.
The on-chip oscillators and PLL save significant system power, removing the need for high-frequency
clocks on the main PCB. For memory and I/O devices that require clocking, CL-PS7110 can provide the
18.432-MHz master clock externally, but this is only enabled for the duration of the I/O cycle. The use of
a separate 32.768-kHz oscillator allows the Standby mode power consumption to be much lower than if
the 1-Hz clock has been divided-down from the main oscillator.
In normal operation, the display of video data on the LCD requires a significant proportion of system
power . To help minimize this, the DRAM ro w/column address lines are multiple x ed-out in re verse order on
the high-order bits of the main address bus. This means that the most frequently changing address bits
FUNCTIONAL DESCRIPTION
May 199728
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
are driven onto the least heavily loaded address lines in a typical system, thus reducing overall system
power.
CL-PS7110 uses a system of logic interlocks and timeouts to ensure that the device both enters Standby
mode safely and restarts properly as the main oscillator star ts. If exter nal signals indicate that the main
battery power level is lo w, the system will not attempt to wake up, thus avoiding a possible loss of volatile
memory contents due to the failure of both main and backup batteries.
While the CPU is processing instructions, CL-PS7110 is in its normal operating state. By writing to a register location, the idle state can be entered, with both oscillators still running. In this state, DMA for video
can continue but the processor clock is stopped pending an interrupt.
1.2.21 Software Model for Power Management
The following section shows how to enter various modes:
Idle mode
setup timer1
enable timer1 interrupt
halt the CPU (write to HWHalt register at 0x8000 0800)
On an interrupt (interrupts must be enabled), the system automatically wakes up and returns to operating
mode.
Standby mode
setup RTC Match value
enable RTC match interrupt
Write to STDBY register at 0x8000 0840
On an interrupt (interrupts must be enabled), the system automatically returns to normal operating mode.
1.2.22 Resets
There are three asynchronous resets to the CL-PS7110: NPOR, NPWRFL, and NURESET. If an y of these
are active, a system reset is generated internally. This clears all internal registers in the CL-PS7110 to ‘0’,
except the DRAM Refresh Period register (DRFPR) and the Realtime Clock Data register (RTCDR),
which are only cleared by an active NPOR signal. This also resets the ARM710A and causes it to start
execution at the reset vector when the CL-PS7110 returns to its normal operating mode.
Internal to the CL-PS7110, three different signals are used to reset storage elements: NPOR, NSYSRES,
and RUN. NPOR and RUN are also external signals.
NPOR (Not Power On Reset)
This is the highest-priority reset signal. When activ e-low, it resets all storage elements in the CL-PS7110.
NPOR active forces NSYSRES active and run low. NPOR is usually only active after the CL-PS7110 is
first powered up. NPOR active clears all flags in the status register, apart from the Cold Flag (CLDFLG)
bit, which is set.
May 199729
FUNCTIONAL DESCRIPTION
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
NSYSRES (Not System Reset)
NSYSRES is generated internally to the CL-PS7110 if NPOR, NPWRFL, or NURESET are active.
NSYSRES is the second-highest-priority reset signal, used to asynchronously reset most internal registers in the CL-PS7110. NSYSRES active forces RUN low. NSYSRES resets the CL-PS7110 and forces
it into the standby state with no cooperation from software; the ARM710A is also reset. The memory controller places all DRAMs in Self-Refresh mode, preserving the contents through a system reset. This is
why the DRAM Refresh Period register is not cleared by a system reset.
RUN
The RUN signal is high when the CL-PS7110 is in the operating or idle states , and low when in the standby
state. The main system cloc k (MMCLK) is valid when R UN is high. R UN disab les any peripheral b lock that
is clocked from the main oscillator.
In general, a system reset clears all registers and RUN disab les all peripherals that require a main cloc k.
The following peripherals are disabled by a low level on RUN: UART (inter nal UART and IrDA SIR
encoder), LCD (LCD controller), DCPMP (DC-to-DC converter drive), codec (codec interface) and SSI
(synchronous serial interface).
Word access enable. Driven high during word-wide cycles; low during byte-wide
cycles.
Expansion clock output. Clock output at the same phase and speed as the CPU
clock. Free-running or active only during expansion I/O cycles.
May 199732
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
Table 2-1.External Signal Functions
Function
Power
Management
State Control
Signal
Name
NPWRFLIPower fail input. Active-low de-glitched input to force system into the standby state.
BATOKI
NEXTPWRI
NBATCHGINew battery sense; driven low if battery voltage falls below the ‘no-battery’ threshold.
NPORIPower on reset input. Active-low input completely resets the system.
RUN
WAKEUP
NURESETIUser reset input. Active-low input from user reset button.
PCMCKOCodec clock output.
SignalDescription
Main battery OK input. Falling edge generates a FIQ, a low level in standby inhibits
system start up; de-glitched input.
External power sense. Must be dr iven low if the system is powered by exter nal
source.
OSystem active output; high when system is active or idle; low while in the standby
state.
IWake up input signal. Rising edge forces system into operating state; active after a
power on reset.
(cont.)
Codec Interface
Synchronous
Serial Interface
IrDA and RS232
Interface
PCMSYNCOCodec synchronization, pulse output.
PCMOUTOCodec serial data output.
PCMINICodec serial data input.
ADCCLKOSerial ADC clock output.
SMPLCKOSerial ADC sample clock, can be disabled.
NADCCSOSerial ADC active-low chip select and synchronization output.
ADCOUTOSerial ADC serial data output.
ADCINISerial ADC serial data input.
LEDDRVOInfrared LED drive output.
DD0–DD3 must be pulled-up or -down using a 100-kΩ
resistor.
b
See Table 4-3 on page 70.
PIN INFORMATION
May 199738
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.PROGRAMMING INTERFACE
3.1Memory Map
The lower 2 Gbytes of the address space is allocated to ROM and expansion space; the upper Gbyte of
address space is allocated to DRAM. The remaining Gb yte, less 4K f or internal registers, is not accessible
in the CL-PS7110. Prog ram the MMU in the CL-PS7110 to gener ate an abort exception for access to this
area.
Internal peripherals are addressed through a set of internal memory locations, from hexadecimal address
8000.000–8000.0FFF, are known as the internal registers in the CL-PS7110.
Table 3-1 shows the mapping of the 4-Gbyte address range of the ARM710A microprocessor in the
CL-PS7110.
Table 3-1.Memory Map
F000.0000DRAM BANK 3256 MBYTES
E000.0000DRAM BANK 2256 MBYTES
D000.0000DRAM BANK 1256 MBYTES
C000.0000DRAM BANK 0256 MBYTES
8000.1000NOT USED~1 GBYTE
8000.0000INTERNAL REGISTERS4 KBYTES
7000.0000EXPANSION (CS7)256 MBYTES
6000.0000EXPANSION (CS6)256 MBYTES
5000.0000EXPANSION (CS5)256 MBYTES
4000.0000EXPANSION (CS4)256 MBYTES
3000.0000EXPANSION (CS3)256 MBYTES
2000.0000EXPANSION (CS2)256 MBYTES
1000.0000ROM BANK 1 CS1)256 MBYTES
0000.0000ROM BANK 0 (CS0)256 MBYTES
May 199739
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2Internal Registers
Table 3-2 shows all internal registers in the CL-PS7110. A 4-Kbyte segment of memor y, in the range
8000.0000–8000.0FFF, is reserved for CL-PS7110 internal use. Accesses in this range do not cause any
external bus activity unless Debug mode is enabled. Writes to bits that are not explicitly defined in the
internal area are illegal, and have no effect. Reads from bits not explicitly defined in the internal area are
legal, but read undefined values. All the internal addresses can only be accessed as 32-bit words, and
are always on a word boundary (except for the PIA Port registers, which can be accessed as bytes).
Address bits in the range A0–A5 are not decoded. This means each internal register is valid for 64 bytes
(that is, the SYSFLG register appears at locations 8000.0140–8000.017C). The PIA Port registers are
byte-wide, but can be accessed as a w ord. These registers additionally decode A0 and A1. All addresses
are hexidecimal.
Table 3-2. Internal I/O Memory Locations
AddressNameR/WSizeComments
8000.0000PADRRW8Port A Data register
8000.0001PBDRRW8Port B Data register
8000.0002PCDRRW8Port C Data register
8000.0003PDDRRW8Port D Data register
8000.0040PADDRRW8Port A Data Direction register
8000.0041PBDDRRW8Port B Data Direction register
8000.0042PCDDRRW8Port C Data Direction register
8000.0043PDDDRRW8Port D Data Direction register
8000.0080PEDRRW4Port E Data register
8000.00C0PEDDRRW4Port E Data Direction register
8000.0100SYSCONRW32System Control register
8000.0140SYSFLGRD32System Status Flags register
8000.0180MEMCFG1RW32Expansion and ROM Memory Configuration Register 1
8000.01C0MEMCFG2RW32Expansion and ROM Memory Configuration Register 2
8000.0200DRFPRRW8DRAM Refresh Period register
8000.0240INTSRRD16Interrupt Status register
8000.0280INTMRRW16Interrupt Mask register
8000.02C0LCDCONRW32LCD Control register
8000.0300TC1DRW16Read/write data to TC1
8000.0340TC2DRW16Read/write data to TC2
8000.0380RTCDRRW32Realtime Clock Data register
8000.03C0RTCMRRW32Realtime Clock Match register
PROGRAMMING INTERFACE
May 199740
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
Table 3-2. Internal I/O Memory Locations
AddressNameR/WSizeComments
8000.0400PMPCONRW12DC-to-DC Pump Control register
8000.0440CODRRW8Codec Data I/O register
8000.0480UARTDRRW8UART FIFO Data register
8000.04C0UBLCRRW32UART Bit Rate and Line Control register
8000.0500SYNCIORW16Synchronous Serial I/O Data register
8000.0540PALLSWRW32Least-significant 32-bit word of LCD Palette register
8000.0580PALMSWRW32Most-significant 32-bit word of LCD Palette register
8000.05C0STFCLRWR–Write to clear all start up reason flags
8000.0600BLEOIWR–Write to clear Battery Low interrupt
8000.0640MCEOIWR–Write to clear Media Changed interrupt
8000.0680TEOIWR–Write to clear Tick and Watchdog interrupt
8000.06C0TC1EOIWR–Write to clear TC1 interrupt
8000.0700TC2EOIWR–Write to clear TC2 interrupt
(cont.)
8000.0740RTCEOIWR–Write to clear RTC Match interrupt
8000.0780UMSEOIWR–Write to clear UART Modem Status Changed interrupt
8000.07C0COEOIWR–Write to clear Codec Sound interrupt
8000.0800HALTWR–Write to enter idle state
8000.0840STDBYWR–Write to enter standby state
8000.0880–BFFF.FFFFReserved––Write has no effect; read is undefined
All internal registers in the CL-PS7110 are reset (cleared to ‘0’) by a system reset (NPOR, NRESET, or
NPWRFL become active), except for the DRAM Refresh Period register (DRFPR), which is only reset
when NPOR becomes active. In addition, the Realtime Clock Data register (RTCDR) and Realtime Clock
Match register (RTCMR) are never reset. This ensures that the DRAM contents and system time are preserved through a user reset or power-fail condition.
3.2.1PADR — Port A Data Register
V alues written to this 8-bit read/write register are output on the Port A pins if the corresponding data direction bits are set high (port output). Values read from this register reflect the external state of Port A, not
necessarily the value written to it. All bits are cleared by a system reset.
3.2.2PBDR — Port B Data Register
V alues written to this 8-bit read/write register are output on the Port B pins if the corresponding data direction bits are set high (port output). Values read from this register reflect the external state of Port B, not
necessarily the value written to it. All bits are cleared by a system reset.
May 199741
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2.3PCDR — Port C Data Register
V alues written to this 8-bit read/write register are output on the Port C pins if the corresponding data direction bits are set low (port output). Values read from this register reflect the exter nal state of Port C, not
necessarily the value written to it. All bits are cleared by a system reset.
3.2.4PDDR — Port D Data Register
V alues written to this 8-bit read/write register are output on the Port D pins if the corresponding data direction bits are set low (port output). Values read from this register reflect the exter nal state of Port C, not
necessarily the value written to it. All bits are cleared by a system reset.
3.2.5PADDR — Port A Data Direction Register
Bits set in this 8-bit read/write register select the corresponding pin in Port A to become an output; clearing
a bit sets the pin to input. All bits are cleared by a system reset so that Port A is input by default
3.2.6PBDDR — Port B Data Direction Register
Bits set in this 8-bit read/write register select the corresponding pin in Port B to become an output; clearing
a bit sets the pin to input. All bits are cleared by a system reset so that Port A is input by default.
.
3.2.7PCDDR — Port C Data Direction Register
Bits cleared in this 8-bit read/write register select the corresponding pin in Port C to become an output;
setting a bit sets the pin to input. All bits are cleared b y a system reset so that P ort C is output by default.
3.2.8PDDDR — Port D Data Direction Register
Bits cleared in this 8-bit read/write register select the corresponding pin in Port D to become an output;
setting a bit sets the pin to input. All bits are cleared b y a system reset so that P ort D is output by default.
3.2.9PEDR — Port E Data Register
V alues written to this 4-bit read/write register are output on Port E pins if the corresponding data direction
bits are set high (port output). Values read from this register reflect the external state of Port E, not necessarily the value written to it. All bits are cleared by a system reset.
3.2.10 PEDDR — Port E Data Direction Register
Bits set in this 4-bit read/write register select the corresponding pin in Port E to become an output; clearing
a bit sets the pin to input. All bits are cleared by a system reset so that Port E is input by default.
PROGRAMMING INTERFACE
May 199742
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2.11 SYSCON — System Control Register
The System Control register is a 24-bit read/write register that controls all the general configuration of the
CL-PS7110 as well as modes for peripheral de vices. All bits in this register are cleared by a
The bits in SYSCON are defined in Table 3-3.
Table 3-3.Bits in SYSCON
765430
TC2STC2MTC1STC1MKeyboard scan
15141312111098
SIRENCDENRXCDENTXLCDENDBGENBZMODBZTOGUARTEN
2322212019181716
ReservedIRTXMWAKEDISEXCKENADCKSEL
Keyboard Scan is a 4-bit field that defines the state of the k eyboard column driv es, as shown in Table 3-4.
system reset
.
Table 3-4.Keyboard Scan Field
Keyboard ScanColumn
a
0
a
1
a
2–7
8Column 0 only driven high all others high impedance
9Column 1 only driven high all others high impedance
10Column 2 only driven high all others high impedance
11Column 3 only driven high all others high impedance
12Column 4 only driven high all others high impedance
13Column 5 only driven high all others high impedance
14Column 6 only driven high all others high impedance
15Column 7 only driven high all others high impedance
a
Used for test purposes only.
All driven high
All driven low
All high impedance (tristate)
May 199743
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
TC1MTimer Counter 1 (TC1) mode. Setting this bit sets TC1 to Prescale mode, clearing it
sets Free-running mode.
TC1STimer Counter 1 clock source. Setting this bit sets the TC1 clock source to 512 kHz,
clearing it sets the clock source to 2 kHz.
TC2MTimer Counter 2 (TC2) mode. Setting this bit sets TC2 to Prescale mode, clearing it
sets Free-running mode.
TC2STimer Counter 2 clock source. Setting this bit sets the TC2 clock source to 512 kHz,
clearing it sets the clock source to 2 kHz.
UAR TENInternal UART enable bit. Setting this bit enables the internal UAR T.
BZTOGBit to drive buzzer directly.
BZMODThis bit sets the Buzzer Drive mode . 0 = the buzzer drive is connected directly to the
BZTOG bit. 1 = the buzzer drive is connected to the TC1 under-flo w bit.
DBGENSetting this bit enables Debug mode. In this mode all internal accesses are output as
if they were reads or writes to expansion memory addressed by CS6. CS6 remains
active in its standard address range. In addition, the internal interrupt request and fast
interrupt request signals to the ARM710A microprocessor are output on port E bits 1
and 2 in Debug mode:
CS6 = CS6/internal I/O strobe
PE1 = NIRQ
PE2 = NFIQ
LCDENLCD enable bit. Setting this bit enables the LCD controller.
CDENTXCodec interface enable Tx bit. Setting this bit enables the codec interface for data
transmission to an external codec device.
CDENRXCodec interface enable Rx bit. Setting this bit enables the codec interface for data
reception from an external codec device.
SIRENHP SIR protocol encoding enab le bit. This bit has no eff ect if the UAR T is not enabled.
EXCKENExter nal expansion clock enable. If this bit is set, the EXPCLK is enabled continu-
ously; it is the same speed and phase as the CPU cloc k, and free-run all the time the
main oscillator is running. This bit should not be left set for power consumption reasons. If the system enters the
standby
state, the EXPCLK is undefined. If this bit is
clear, EXPCLK is activ e during memory cycles to the expansion slots that have e xternal wait-state generation enabled.
PROGRAMMING INTERFACE
May 199744
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
ADCKSELMicrowire/SPI peripheral clock speed select. This 2-bit field selects the frequency
of the ADC sample clock, which is twice the frequency of the synchronous serial ADC
interface clock. Table 3-5 shows the av ailab le frequencies.
Table 3-5.ADCCLK Frequencies
ADCKSEL
0084
013216
1012864
11256128
ADC Sample frequency (kHz) —
SMPCLK
ADC interface frequency (kHz) —
ADCCLK
WAKEDISIf this bit is set, switch-on (through the wake-up input) is disab led.
IRTXMIrDA Tx mode bit. This bit controls the IrD A encoding strategy. Clearing this bit means
each ‘0’ bit transmitted is represented as a pulse of width 3/16th of the bit rate period.
Setting this bit means each ‘0’ bit is represented as a pulse of width 3/16th of the
period of 115,000 bit rate clock, that is, 1.6 µs, regardless of the selected bit rate . Setting this bit reduces power consumption, but probably reduces transmission distances.
Bits 21–23Reserved. Write has no effect, alw a ys reads ‘0’.
3.2.12 SYSFLG — System Status Flags Register
The System Status Flags register is a 32-bit read-only register that indicates various system information.
The bits in this register are defined in Table 3-6.
Table 3-6.Bits in the System Status Flags Register
743 210
DIDWUONWUDRDCDETMCDR
15141312111098
CLDFLGPFFLGRSTFLGNBFLGUBUSYDCDDSRCTS
23222116
UTXFFURXFERTCDIV
3130292827262524
VERIDReservedReservedBOOT8BITSSIBUSYCTXFFCRXFE
May 199745
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
MCDRMedia changed direct read. This bit reflects the non-latched status of the media
changed input.
DCDETThis bit is set if the main adapter is powering the system (the inverted state of the
NDCDET input pin).
WUDRWake-up direct read. This bit reflects the non-latched state of the wak e-up signal.
WUONThis bit is set if the system is brought out of standby by a rising edge on the wake-up
signal. It is cleared b y a system reset or b y writing to the HALT or STDBY locations.
DIDDisplay ID nibble . This 4-bit nibble reflects the latched state of the f our LCD data lines.
The state of the four LCD data lines is latched by the LCDEN bit and will alw ays reflect
the last state of these lines before the LCD controller was enab led. These bits identify
the LCD display panel.
CTSThis bit reflects the current status of the clear to send (CTS) modem-control input to
the built-in UART.
DSRThis bit reflects the current status of the data set ready (DSR) modem control input
to the built-in UART.
DCDThis bit reflects the current status of the data carrier detect (DCD) modem control
input to the built in UART.
UBUSYUART transmitter busy. This bit is set while the inter nal UART is busy transmitting
data, it is guaranteed to remain set until the complete byte has been sent, including
all stop bits.
NBFLGNew batter y flag. This bit is set if a low-to-high transition has occurred on the
NBATCHG input; it is cleared b y writing to the STFCLR location.
RSTFLGReset flag. This bit is set if the RESET b utton is pressed, forcing the NURESET input
low . It is cleared by writing to the STFCLR location.
PFFLGPower fail flag. This bit is set if the system has been reset b y the po wer fail input pin,
it is cleared by writing to the STFCLR location.
CLDFLGCold start flag. This bit is set if the CL-PS7110 has been reset with a power on reset;
it is cleared by writing to the STFCLR location.
RTCDIVThis 6-bit field reflects the number of 64-Hz ticks that have passed since the last
increment of the RTC. It is the output of the divide-by-64 chain that divides the 64-Hz
tick clock down to 1 Hz for the RTC. The MSB is the 32-Hz output, the LSB is the 1Hz output.
URXFEUART receiv er FIFO empty. The meaning of this bit depends on the state of the UFI-
FOEN bit in the UAR T Bit Rate and Line Control register. If the FIFO is disabled, this
bit is set when the Rx Holding register is empty . If the FIFO is enabled the URXFE bit
is set when the Rx FIFO is empty.
UTXFFUART transmit FIFO full. The meaning of this bit depends on the state of the UFI-
FOEN bit in the UAR T Bit Rate and Line Control register. If the FIFO is disabled, this
bit is set when the Tx Holding register is full. If the FIFO is enabled the UTXFF bit is
set when the Tx FIFO is full.
PROGRAMMING INTERFACE
May 199746
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
CRXFECodec Rx FIFO empty bit. This is set if the 16-byte codec Rx FIFO is empty.
CTXFFCodec Tx FIFO full bit. This is set if the 16-byte codec Tx FIFO is full.
SSIBUSYSynchronous serial interface busy bit. This bit is set while data is shifted in or out of
the synchronous serial interface, when clear data is valid to read.
BOOT8BITThis bit indicates the default (power-on reset) bus width of the ROM interface. If set,
the initial bus width is 8 bits, if clear it is 32 bits. See Memory Configuration Register
1 for more details on the ROM interf ace b us width. The state of this bit is determined
by the state of P ort E bit 0 during power-on reset. LO W during power-on reset clears
the BOOT8BIT bit and the system boots from a 32-bit ROM, HIGH during power-on
reset sets the BOOT8BIT bit and the system boots from a 8-bit ROM.
ReservedWrite has no effect, always reads ‘0’.
VERIDVersion ID bits. These two bits determine the version identification for the
CL-PS7110. Reads ‘0’ for the first version.
3.2.13 MEMCFG1 — Memor y Configuration Register 1
Expansion and ROM space is selected by one of eight chip selects. Each chip select is active for 256
Mbytes and the timing and bus transfer width can be programmed individually. This is accomplished by
programming 8-byte-wide fields contained in two 32-bit registers, MEMCFG1 and MEMCFG2. All bits in
these registers are cleared by a system reset.
The Memory Configuration Register 1 is a 32-bit read/write register that sets the configuration of the four
expansion and ROM selects NCS0–NCS3. Each select is configured with a 1-byte field, starting with
expansion select 0.
The Memory Configuration Register 2 is a 32-bit read/write register that sets the configuration of the four
expansion and ROM selects CS4–CS7. Each select is configured with a 1-byte field, starting with expansion select 4.
Each of the eight byte fields in the Memory Configuration registers are identical and define the number of
wait states, the bus width, enable EXPCLK output during accesses and enable sequential mode access.
This byte field is defined below.
Table 3-7 defines the bus width field. Note that the effect of this field is dependent on the BOOT8BIT bit,
which can be read in the SYSFLG register. All bits in the Memory Configuration register are cleared by a
system reset and the state of the BOOT8BIT bit is determined by the Port E bit 0 pin on the CL-PS7110
during power-on reset. Pulling P ort E bit 0 either low or high during power-on reset allows the CL-PS7110
to boot from either 32-bit-wide or 8-bit-wide ROMs.
Table 3-7.Values of the Bus Width Field
Bus Width
Field
00032-bit-wide bus accessLow
01016-bit-wide bus accessLow
1008-bit-wide bus accessLow
110PCMCIA modeLow
0018-bit-wide bus accessHigh
011PCMCIA modeHigh
10132-bit-wide bus accessHigh
11116-bit-wide bus accessHigh
BOOT8BIT
Expansion T ransfer
Mode
Port E Bit 0 During Power-On
Reset
When the bus width field is programmed to PCMCIA mode, the bus width and bus conversion is defined
by the state of A27 and A26. Table 3-8 defines the bus width and bus conversion for values of A27 and
A26. Word bus conversion converts an ARM 32-bit word access into a series of byte or 16-bit accesses.
A special case is 16-bit I/O accesses (A26 and A27 high). In this case 32-bit ARM w ord accesses are not
converted into two 16-bit access, this allows individual 16-bit register access. In this mode, D16 to D31 is
invalid and the output expansion address bit 1 is selected by the value of A25. The CL-PS7110 always
outputs ‘0’ on expansion address bit 25, that is, in 16-bit I/O mode, processor address bit 25 becomes
PCMCIA address bit 1, and PCMCIA address bit 25 is ‘0’, limiting the 16-bit I/O address space to 32
Mbytes.
Table 3-8.PCMCIA Mode Bus Width
A26A27
008 bitsYes8-bit attribute memory access
1016 bitsYes16-bit common memory access
018 bitsYes8-bit I/O access
1116 bitsNo16-bit I/O access (see above)
PROGRAMMING INTERFACE
Bus
Width
Word Bus
Conversion
PCMCIA Memory Area
May 199748
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
Table 3-9.Values of the Random Access Wait State Field
Value
004250
013200
102150
111100
No. W ait
states
Required Random Access Speed (ns)
Table 3-10. Values of the Sequential Access Wait State Field
Value
003150
012120
10180
11040
No. W ait
States
Required Sequential Random Access
Speed (ns)
SQAENSequential access enab le. Setting this bit enables sequential accesses that are on a
quad-word boundary to take advantage of faster access times from de vices that support Page mode. The sequential access is faulted after four words, (to allow video
refresh cycles to occur), even if the access is part of a longer sequential access.
CLKENExpansion clock enable. Setting this bit enables the EXPCLK to be active during
accesses to the selected expansion device. This provides a timing reference for
devices that need to extend bus cycles using the EXPRDY input. Back-to-back (but
not necessarily Page mode) accesses result in a continuous clock.
See Chapter 4 for more detail on bus timing.
3.2.15 DRFPR — DRAM Refresh Period Register
The DRAM Refresh Period register is an 8-bit read/write register that enables refresh and selects the
refresh period used by the DRAM controller for its periodic CAS-before-RAS refresh. The value in the
DRAM refresh period register is only cleared by a
power on reset
, that is, the register state is maintained
during a power fail or user reset.
760
RFSHENRFDIV
RFSHENDRAM refresh enable. Setting this bit enab les periodic refresh cycles to be generated
by the CL-PS7110 at a rate set by the RFDIV field. Setting this bit also enables Selfrefresh mode when the CL-PS7110 is in the standby state.
May 199749
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
RFDIVThis 7-bit field sets the DRAM refresh rate. The refresh period is derived from a 128-
kHz clock and is given b y the f ormula:
Frequency (kHz) = 128/(RFDIV + 1), that is,
RFDIV = (128/Refresh frequency (kHz)) − 1Equation 3-1
The maximum refresh frequency is 64 kHz, the minimum is 1 kHz. The RFDIV field should not be programmed with ‘0’ as this results in no refresh cycles being initiated.
3.2.16 INTSR — Interrupt Status Register
The Interrupt Status register is a 16-bit read-only register. This register reflects the current state of the 16
interrupt sources within the CL-PS7110. Each bit is set if the appropriate interrupt is active. The interrupt
assignment is given below.
76543210
EINT3EINT2EINT1CSINTMCINTWEINTBLINTEXTFIQ
15141312111098
SSEOTIUMSINTURXINTUTXINTTINTRTCMITC2OITC1OI
EXTFIQExter nal fast interrupt. This interr upt is active if the NEXTFIQ input pin is forced low
and is mapped to the FIQ input on the ARM710A microprocessor.
BLINTBattery low interrupt. This interrupt is active if no external supply is present (BATOK
is high), and the battery-OK input pin BATOK is forced low. This interrupt is deglitched with a 16-kHz clock so it only generates an interrupt if it is active for longer
than 62.5 ms. It is mapped to the FIQ input on the ARM710A microprocessor and is
cleared by writing to the BLEOI location.
WEINTWatch dog expired interrupt. This interrupt is active on a rising edge of the periodic
64-Hz tick interrupt clock if the tick interrupt is still active , that is, if a tic k interrupt has
not been serviced for a complete tick period. It is cleared by writing to the TEOI location.
MCINTMedia changed interrupt. This interrupt is active after a rising edge on the MEDCHG
input pin has been detected, This input is de-glitched with a 16-kHz clock and only
generates an interrupt if it is active for longer than 62.5 ms. It is mapped to the FIQ
input on the ARM710A microprocessor and is cleared by writing to the MCEOI location.
CSINTCodec sound interrupt. This interrupt is active if the codec interface is enabled and
the codec data FIFO has reached half full or empty (depending on the interface direction). It is cleared b y writing to the COEOI location.
EINT1External interrupt input 1. This interrupt is activ e if the NEINT1 input is activ e (low). It
is cleared by returning NEINT1 to the passive (high) state.
PROGRAMMING INTERFACE
May 199750
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
EINT2External interrupt input 2. This interrupt is activ e if the NEINT2 input is activ e (low). It
is cleared by returning NEINT2 to the passive (high) state.
EINT3External interrupt input 3. This interrupt is active if the EINT3 input is active (high) it
is cleared by returning EINT3 to the passive (low) state.
TC1OITC1 under-flow interrupt. This interrupt becomes active on the next falling edge of
the timer counter 1 clock after the timer counter has under-flowed (reached ‘0’). It is
cleared by writing to the TC1EOI location.
TC2OITC2 under-flow interrupt. This interrupt becomes active on the next falling edge of
the timer counter 2 clock after the timer counter has under-flowed (reached ‘0’). It is
cleared by writing to the TC2EOI location.
RTCMIRTC compare match interrupt. This interrupt becomes active on the next rising edge
of the 1-Hz realtime clock (one second later) after the 32-bit time written to the realtime clock match register exactly matches the current time in the R TC. It is cleared b y
writing to the RTCEOI location.
TINT64-Hz tick interrupt. This interrupt becomes activ e on ev ery rising edge of the internal
64-Hz clock signal. This 64-Hz clock is derived from the 15-stage ripple counter that
divides the 32.768-kHz oscillator input down to 1 Hz for the realtime cloc k. This interrupt is cleared by writing to the TEOI location.
UTXINTInter nal UART transmit FIFO half-empty interrupt. The function of this interrupt
source depends on whether the UART FIFO is enabled. If the FIFO is disabled
(FIFOEN bit is clear in the UAR T Bit Rate and Line Control register), this interrupt is
active when there is no data in the UART Tx Data Holding register, and cleared by
writing to the UART Data register. If the FIFO is enab led this interrupt is active when
the UAR T Tx FIFO is half or more empty , and is cleared b y filling the FIFO to at least
half full.
URXINTInternal UART receive FIFO half-full interrupt. The function of this interrupt source
depends on whether the UAR T FIFO is enab led. If the FIFO is disabled this interrupt
is active when there is valid Rx data in the UART Rx Data Holding register, and is
cleared by reading this data. If the FIFO is enabled this interrupt is active when the
UAR T Rx FIFO is half or more full or if the FIFO is non empty and no more characters
are received for a 3-char acter time-out period. It is cleared by reading all the data from
the Rx FIFO.
UMSINTInternal UAR T modem status changed interrupt. This interrupt is activ e if either of the
two modem status lines (CTS or DSR) change state. It is cleared by writing to the
UMSEOI location.
SSEOTISynchronous serial interface end-of-transfer interr upt. This interr upt is active after a
complete data transfer to and from the e xternal ADC has completed. It is cleared by
reading the ADC data from the SYNCIO register.
May 199751
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2.17 INTMR — Interrupt Mask Register
The Interrupt Mask register is a 16-bit read/write register used to selectively enable any of the 16 interrupt
sources within the CL-PS7110. The four shaded (see following table) interrupts all generate a fast interrupt request to the ARM710A microprocessor; this causes a jump to processor virtual address
0000.0001C. All other interrupts generate a standard interrupt request; this causes a jump to processor
virtual address 0000.00018. See Table 1-1 on page 14 for the interrupt allocation. Setting the appropriate
bit in this register enables the corresponding interrupt. All bits are cleared by a
76543210
EINT3EINT2EINT1CSINTMCINTWEINTBLINTEXTFIQ
15141312111098
SSEOTIUMSINTURXINTUTXINTTINTRTCMITC2OITC1OI
3.2.18 LCDCON — LCD Control Register
The LCD Control register is a 32-bit read/write that controls the size of the LCD screen and the operating
mode of the LCD controller operates in. Ref er to Section 1.2.10 for more inf ormation on video buff er mapping and the LCD controller.
Video buffer sizeThe video buffer size field is a 13-bit field that sets the total number of bits × 128 (quad
words) in the video display buffer. This is calculated from the formula:
Video buffer siz e = (Total bits in video b uff er / 128) − 1
For example, for a 640 × 240 LCD and 4 bits per pixel the size of the video buffer =
640 × 240 × 4 = 614400 bits
Video buffer siz e field = (614400 / 128) − 1 = 4799 or 0x12BF h.
Line lengthThe line length field is a 6-bit field that sets the number of pixels in one complete line.
This field is calculated from the formula: Line length = (No. pixels in line / 16) − 1
For example , f or 640 × 240 LCD Line length = (640 / 16) − 1 = 39 or 0x27 h.
PROGRAMMING INTERFACE
May 199752
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
Pixel prescaleThe pixel prescale field is a 6-bit field that sets the pixel rate prescale. The pixel rate
is derived from a 36.864-MHz clock and is calculated from the formula:
Pixel rate (MHz) = 36.864 / (pixel prescale + 1)
The pixel rate should be chosen to give a complete screen refresh frequency of
approximately 70 Hz to av oid flic ker. F requencies abo ve 70 Hz should be a v oided as
they consume additional power. The pixel prescale value can be expressed in terms
of the LCD size by the f ormula:
Pixel prescale = (526628 / T otal pixels in displa y) − 1
The value should be rounded down to the nearest whole number. ‘0’ is illegal and will
result in no pixel clock.
For example: A 640 × 240 LCD , pix el prescale = 526628 / (640 × 240) − 1 = 2.428 (2)
This gives an actual pixel r ate of 36.864E6 / 2 + 1 = 12.288 MHz
Which gives an actual refresh frequency of 12.288E6 / (640 × 240) = 80 Hz.
NOTE:As the CL2 low pulse time is doubled after every CL1 high pulse (see Figure 4-7),
this refresh frequency is only an approximation; the accur ate formula is 12.288E6 /
((640 × 240) + 120) = 79.937 Hz.
AC prescaleThe AC prescale field is a 5-bit number that sets LCD AC bias frequency. This fre-
quency is the required AC bias frequency for a given manufacturer’s LCD plate . This
frequency is derived from the frequency of the line clock (CL1). The ‘M’ signal toggles
after n+1 counts of the line clock (CL1) where n is the number programmed into the
AC prescale field. This number must be chosen to match the manufacturer’s recommendation (normally 13), but must not be exactly divisible by the number of lines in
the display.
GSENGra yscale enable bit. Setting this bit enables gra yscale output to the LCD. When this
bit is cleared, each bit in the video map directly corresponds to a pixel in the display.
GSMDGrayscale mode bit. Clearing this bit sets the controller to 2 bits per pixel (4 gray-
scales). Setting sets the controller to 4 bits per pixel (15 grayscales).
3.2.19 TC1D — Timer Counter 1 Data Register
The Timer Counter 1 Data register is a 16-bit read/write register that sets and reads data to TC1. Any
value written is decremented on the next rising edge of the clock.
3.2.20 TC2D — Timer Counter 2 Data Register
The Timer Counter 2 Data register is a 16-bit read/write register that sets and reads data to TC2. Any
value written is decremented on the next rising edge of the clock.
3.2.21 RTCDR — Realtime Clock Data Register
The Realtime Clock Data register is a 32-bit read/write register that sets and reads the binary time in the
RTC. Any value written is incremented on the next rising edge of the 1-Hz clock. All bits in the Realtime
Clock Data register are only cleared by an active NPOR.
3.2.22 RTCMR — Realtime Clock Match Register
The Realtime Clock Match register is a 32-bit read/write register that sets and reads the binary match time
to RTC. Any value written is compared to the current binary time in the RTC, if they match it asserts the
RTCMI interrupt source.
May 199753
PROGRAMMING INTERFACE
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2.23 PMPCON — Pump Control Register
The DC-to-DC Converter Pump Control register is a 12-bit read/write-only register that sets and controls
the variable mark space ratio drives f or two DC-to-DC converters. All bits in this register are cleared by a
system reset.
1187430
Drive 1 pump ratioDrive 0 from mains ratioDrive 0 from battery ratio
Drive 0 from battery This 4-bit field controls the on time for the drive 0 DC-to-DC pump while the system
is powered from batteries. Setting these bits to ‘0’ disables this pump, setting these
bits to ‘1’ allows the pump to be driven in a 1:16 duty ratio , 2 in a 2:16 duty r atio , etc.,
up to a 15:16 duty ratio. An 8:16 duty ratio results in a square wave of 96 kHz. The
NEXTPWR input is used to switch between the two on times f or ‘drive0’.
Drive 0 from mainsThis 4-bit field controls the on time for the drive 0 DC-to-DC pump while the system
is powered from mains (the DC jack input). Setting these bits to ‘0’ disables this pump;
setting these bits to ‘1’ allows the pump to be driven in a 1:16 duty ratio, 2 in a 2:16
duty ratio, etc., up to a 15:16 duty ratio. An 8:16 duty ratio results in a square w av e of
96 kHz. The NEXTPWR input switches between the two on times f or drive 0.
Drive 1 pump ratioThis 4-bit field controls the on time for the drive 1 DC-to-DC pump . Setting these bits
to ‘0’ disables this pump , setting these bits to ‘1’ allows the pump to be driven in a 1:16
duty ratio, 2 in a 2:16 duty ratio , etc., up to a 15:16 duty ratio . An 8:16 duty ratio results
in a square wave of 96 kHz.
The state of the output drive pins is latched during power on reset, this latched value is used to determine
the polarity of the drive output. The sense of the DC-to-DC converter control lines is summarized in
Table 3-11.
Table 3-11. Sense of DC-to-DC Converter Control Lines
Initial State of Drive ‘n’ during
POR
LowActive high+VE
HighActive low-VE
Sense of Drive ‘n’Polarity of Bias Voltage
3.2.24 CODR — Codec Interface Data Register
The CODR register is an 8-bit read/write register. Data written to or read from this register is pushed or
popped onto the appropriate 16-byte FIFO buffer. Data from this buffer is then serialized and sent to or
received from the codec sound device . The codec interrupt CSINT is generated repetitively at 1/8th of the
byte transfer r ate and the state of the FIFOs can be read in the System Flags register . The net data transfer rate to/from the codec device is 8 Kbytes per second giving an interrupt rate of 1 kHz.
PROGRAMMING INTERFACE
May 199754
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2.25 UARTDR — UART Data Register
The UAR TDR register is an 11-bit read and 8-bit write register f or all data transfers to or from the internal
UART.
Data written to this register is pushed onto the 16-byte data Tx holding FIFO if the FIFO is enab led; if not,
it is stored in a 1-byte holding register. This write initiates transmission from the UART.
The UART Data Read register comprises the 8-bit data byte received from the UART together with three
bits of error status. Data read from this register is popped from the 16-byte data Rx FIFO if the FIFO is
enabled, if not it is read from a 1-byte buffer register containing the last byte received by the UART. Data
received and error status is automatically pushed onto the Rx FIFO if it is enabled. The Rx FIFO is 10 bits
wide by 16 deep.
109870
OVERRPARERRFRMERRRx data
FRMERRUART framing error . This bit is set if the U ART detected a framing error while receiv-
ing the associated data byte. Framing errors are caused by non-matching word
lengths or bit rates.
PARERRUART parity error. This bit is set if the UART detected a parity error while receiving
the data byte.
OVERRU AR T overrun error . This bit is set if more data is receiv ed by the U ART and the FIFO
is full. The Overrun Error bit is not associated with any single character and so is not
stored in the FIFO, if this bit is set, the entire contents of the FIFO is inv alid and should
be cleared. This error bit is cleared by reading the UAR TDR register.
3.2.26 UBRLCR — UART Bit Rate and Line Control Register
The UAR T Bit Rate and Line Control register is a 19-bit read/write register . Writing to this register sets the
bit rate and mode of operation for the internal UART.
Bit rate divisorThis 12-bit field set the bit rate. The bit rate divider is fed by a clock frequency of
3.6864 MHz, it is then further divided internally by 16 to give the bit rate . The formula
to give the divisor value f or any bit r ate is: Divisor = (230400 / bit rate) - 1. A value of
‘0’ in this field is illegal. Table 3-12 shows some example bit rates with the corre-
sponding divisor value.
May 199755
PROGRAMMING INTERFACE
DATA BOOK v1.5
Table 3-12. Internal UART Bit Rates
Divisor ValueBit Rate
1115200
276800
357600
538400
1119200
1514400
239600
952400
1911200
2094110
CL-PS7110
Low-Power System-on-a-Chip
BREAKSetting this bit driv es the Tx output active (high) to generate a break.
PRTENParity enable bit. Setting this bit enab les parity detection and generation.
EVENPRTEven parity bit. Setting this bit sets par ity generation and checking to even par ity,
clearing it sets odd parity . This bit has no eff ect if the PR TEN bit is clear.
XSTOPExtra stop bit. Setting this bit causes the UART to transmit two stop bits after each
data byte, clearing it transmits one stop bit after each data byte .
FIFOENSet to enable FIFO buff ering of Rx and Tx data. Clear to disab le the FIFO , that is, set
its depth to one byte.
WRDLENThis 2-bit field selects the word length according to Table 3-13.
Table 3-13. UART Word Length
The least- and most-significant Word-LCD Palette registers make up a 64-bit read/write register, which
maps the logical pixel value to a physical grayscale level. The 64-bit register is made up of 16 × 4-bit nibbles, each nibble defines the grayscale level associated with the appropriate pixel value. If the LCD controller is operating in two bits per pixel, only the lo wer four nibbles are valid D[15:0] in the least-significant
PROGRAMMING INTERFACE
May 199756
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
word), similarly one bit per pixel means only the lower two nibbles are valid D[7:0] in the least-significant
word). The pixel-to-grayscale level assignments are shown in Table 3-14 and Table 3-15.
Table 3-14. Least-Significant Word Palette Assignments
31:2827:2423:2019:1615:1211:87:43:0
Grayscale
value for
pixel value 7
Grayscale
value for
pixel value 6
Grayscale
value for
pixel value 5
Grayscale
value for
pixel value 4
Grayscale
value for
pixel value 3
Grayscale
value for
pixel value 2
Grayscale
value for
pixel value 1
Grayscale
value for
pixel value 0
PALMSW Most-Significant Word-LCD Palette Register
See PALLSW description in Section 3.2.27.
Table 3-15. Most-Significant Word Palette Assignments
31:2827:2423:2019:1615:1211:87:43:0
Grayscale
value for
pixel value
15
Grayscale
value for
pixel value
14
Grayscale
value for
pixel value
13
Grayscale
value for
pixel value
12
Grayscale
value for
pixel value
11
Grayscale
value for
pixel value
10
Grayscale
value for
pixel value 9
Grayscale
value for
pixel value 8
The actual physical color and pixel duty ratio for the grayscale values is shown in Table 3-16. Note that
colors 8–15 are the inverse of colors 7–0 respectively; this means that colors 7 and 8 are identical. The
steps in the grayscale are nonlinear b ut ha v e been chosen to give a close approximation to perceived linear grayscales. The is due to the eye being more sensitive to changes in gray level close to 50% gray.
3.2.28 SYNCIO Synchronous Serial Interface Data Register
SYNCIO is a 16-bit read/write register. The data written to the SYNCIO register configures the SSI, and
the least-significant byte is serialized and transmitted out of the synchronous serial interface to configure
an external ADC, bit D7 (the MSB) first. The transfer clock automatically star ts at the programmed frequency, and a synchronization pulse is issued. The ADCIN pin is sampled on every clock edge, and the
result is shifted in to the SYNCIO read register.
During data transfer the SSIBUSY bit is set high, at the end of a transf er the SSEO TI interrupt is asserted.
This interrupt is cleared by reading the SYNCIO register. The data read from the SYNCIO register is the
last
sixteen bits shifted out of the ADC. The length of the data frame can be programmed b y writing to the
SYNCIO register, this allo ws many diff erent ADCs to be accommodated. Table 3-17 defines the bits in the
SYNCIO register.
ADC configuration8-bit configuration data to be sent to the ADC.
Frame length
SMCKEN
TXFRMEN
The 5-bit Frame length field is the total number of shift cloc ks required to complete a data tr ansfer.
For many ADCs this is 25, 8 for configuration byte + 1 null bit + 16 bits.
Setting this bit enables a free-running sample clock at the programmed ADC clock frequency to be
output on the SMPLCK pin.
Setting this bit causes an ADC data transfer to be initiated; the v alue in the ADC configur ation field
is shifted out to the ADC, and depending on the frame length programmed, a number of bits is captured from the ADC. If the SYNCIO register is written to with the TXFRMEN bit low, no ADC transfer occurs, but the Frame length and SMCKEN bits are affected.
3.2.29 STFCLR — Clear All Star t Up Reason Flags Location
A write to this location clears all the start-up reason flags in the System Flags Status register (SYSFLG).
3.2.30 BLEOI — Batter y Low End of Interrupt
A write to this location clears the interrupt generated by a low battery (falling BATOK with NEXTPWR
high).
PROGRAMMING INTERFACE
May 199758
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
3.2.31 MCEOI — Media Chang ed End of Interrupt
A write to this location clears the interrupt generated by a rising edge of the MEDCHG input pin.
3.2.32 TEOI — Tick End of Interrupt Location
A write to this location clears the current pending tick interrupt and watchdog interrupt.
3.2.33 TC1EOI TC1 — End of Interrupt Location
A write to this location clears the under-flow interrupt generated by TC1.
3.2.34 TC2EOI TC2 — End Of Interrupt Location
A write to this location clears the under-flow interrupt generated by TC2.
3.2.35 RTCEOI — RTC Match End Of Interrupt
A write to this location clears the RTC match interrupt.
3.2.36 UMSEOI — UART Modem Status Changed End of Interrupt
A write to this location clears the modem status changed interrupt.
3.2.37 COEOI — Codec End of Interrupt Location
A write to this location clears the sound interrupt (CSINT).
3.2.38 HALT — Enter Idle State Location
idle
A write to this location places the system into the
interrupt is generated. A write to this location while there is an active interr upt has no effect. If the
state by halting the clock to the processor until an
idle
state is entered with no interrupts enabled, there is no mechanism for e xiting the state except f or a system
reset.
3.2.39 STDBY — Enter Standby State Location
A write to this location places the system into the
standby
state by halting the main oscillator. It automatically switches the DRAMs to self-refresh if the RFSHEN bit is set in the DRAM Refresh Period register.
All transitions to the
standby
state are synchronized with DRAM cycles. A write to this location while there
is an active interrupt has no effect.
May 199759
PROGRAMMING INTERFACE
DATA BOOK v1.5
4.ELECTRICAL SPECIFICATIONS
4.1Absolute Maximum Ratings
DC supply voltage−0.5 volts to +6 volts
CL-PS7110
Low-Power System-on-a-Chip
DC input/output voltage−0.5 volts to V
DC input current± 20 mA
Storage temperature−40°C to +125°C
Lead temperature+300°C
+ 0.5 volts
DD
4.2Recommended Operating Conditions
DC supply voltage+3.0 volts to +3.6 volts
DC input/output voltage0 to V
DC input current± 15 mA
Operating temperature0°C to +70°C
DD
ELECTRICAL SPECIFICATIONS
May 199760
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
4.3DC Characteristics
All characteristics are specified at VDD = 3.0 to 3.6 volts and VSS = 0 volts over an operating temperature
of 0°C to +70°C.
Table 4-1.DC Characteristics
SymbolParameterMINMAXUnitsConditions
VIHCMOS input high voltage0.7 × V
VILCMOS input low voltage−0.30.2 × V
VT+
VT-
Schmitt trigger positive going
threshold
Schmitt trigger negative going
threshold
1.522.26V
0.721.29V
VDD + 0.3V
DD
DD
V
VHSTSchmitt trigger hysteresis0.641.13VVIL to VIH
VOH
VOL
CMOS output high voltage
Output drive 1 and 2
Output drive 3 and 4
CMOS output low voltage
Output drive 1 and 2
Output drive 3 and 4
V
− 0.3
DD
V
− 1.0
DD
V
− 1.0
DD
0.1
0.5
0.5
V
V
V
V
V
V
IOH = 0.8 mA
IOH = 3 mA
IOH = 12 mA
IOL = -0.8 mA
IOL = -3 mA
IOL = -12 mA
IINInput leakage current−10+10µAVIN = V
IOZOutput tristate leakage current
a
−10+10µAVOUT = VDD or GND
CINInput capacitance5pF
COUTOutput capacitance5pF
CI/OTransceiver capacitance5pF
Initial 100 ms from power up,
32-kHz oscillator not stable,
IDD
startup
Startup current consumption50µA
POR signal at VIL, all other I/O
static, VIH = V
GND ± 0.1 V
or GND
DD
± 0.1 V , VIL =
DD
IDD
standby
Standby current consumption20µA
all other I/O static, VIH = VDD ±
0.1 V, VIL = GND ± 0.1 V
Both oscillators running, CPU
Just 32-kHz oscillator running,
IDD
IDD
idle
operating
Idle current consumption5mA
Operating current consumption50mA
static, LCD refresh active, VIH
= V
± 0.1 V, VIL = GND ± 0.1
DD
V
All system active, running typi-
cal program
Minimum standby voltage for
VDD
standby
a
Assumes buffer has no pull-up or pull-down resistors.
May 199761
Standby supply voltage2.2V
state retention and RTC operation only
ELECTRICAL SPECIFICATIONS
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
4.4AC Characteristics
All characteristics are specified at VDD = 3.0 to 3.6 volts and VSS = 0 volts over an operating temperature
of 0°C to +70°C. Parameters marked with an asterisk (*) are not fully tested.
Table 4-2.AC Characteristics
SymbolParameterMINMAXUnits
t
1
t
2
t
3
t
4
t
5
t
6
t
7
t
8
t
9
t
10
t
11
t
12
t
13
t
14
t
15
t
16
t
17
t
18
t
19
t
20
t
21
t
22
t
23
t
24
t
25
t
EXTRD
t
EXWR
t
RC
Falling CS to data bus High-Z0*25*ns
Address change to valid write data035ns
DATA in to falling EXPCLK setup time18–ns
DATA in to falling EXPCLK hold time0–ns
EXPRDY to falling EXPCLK setup time18–ns
Falling EXPCLK to EXPRDY hold time050ns
Rising NMWE to data invalid hold time5–ns
Sequential data valid to falling NMWE setup time−1010ns
Row address to falling NRAS setup time5–ns
Falling NRAS to row address hold time25–ns
Column address to falling NCAS setup time2–ns
Falling NCAS to column address hold time25–ns
Write data valid to falling NCAS setup time2–ns
Write data valid from falling NCAS hold time50–ns
LCD CL2 low time803,475ns
LCD CL2 high time803,475ns
LCD Rising CL2 to rising CL1 delay025ns
LCD Falling CL1 to rising CL2803,475ns
LCD CL1 high time803,475ns
LCD Falling CL1 to falling CL22006,950ns
LCD Falling CL1 to FRM toggle30010,425ns
LCD Falling CL1 to M toggle−1020ns
LCD Rising CL2 to display data change−1020ns
Falling EXPCLK to address valid–30ns
Initial data valid to falling NMWE setup time5–ns
Zero-wait-state memory read access time70–ns
Zero-wait-state memory write access time70–ns
DRAM cycle time150–ns
ELECTRICAL SPECIFICATIONS
May 199762
DATA BOOK v1.5
CL-PS7110
EXPCLK
BUS HELD
t
5
t
1
t
6
t
4
t
3
t
24
NMOE
A[27:0]
D[31:0]
DATA INDATA IN
WORD
NCS[3:0]
CS[7:4]
EXPRDY
t
EXRD
t
EXRD
t
3
t
4
Consecutive expansion read cycles with minimum wait states
Low-Power System-on-a-Chip
Table 4-2.AC Characteristics
t
RAC
t
t
CAS
t
t
t
CSR
t
RAS
RP
CP
PC
Access time from RAS70–ns
RAS precharge time70–ns
CAS pulse width20–ns
CAS precharge in Page mode12–ns
Page mode cycle time45–ns
CAS set-up time for auto refresh15–ns
RAS pulse width80 *–ns
(cont.)
NOTES:
1) t
Figure 4-1. Expansion and ROM Read Timing
= 80 ns for minimum wait states and a main oscillator frequency of 18.432 MHz. This time can be
EXRD
May 199763
ELECTRICAL SPECIFICATIONS
DATA BOOK v1.5
CL-PS7110
EXPCLK
BUS HELD
t
5
t
8
t
6
t
2
NMWE
A[27:0]
D[31:0]
WRITE DATA
WORD
NCS[3:0]
CS[7:4]
EXPRDY
t
7
Consecutive expansion write cycles with minimum wait states
t
2
t
EXWR
t
EXWR
t
8
t
24
WRITE DATA
Low-Power System-on-a-Chip
extended by integer multiples of the clock per iod (54 ns), by either driving EXPRDY low and or by programming a number of wait states. EXPRDY is sampled on the falling edge of EXPCLK before the data transfer,
if low at this point the transfer is delayed by one clock period where EXPRDY is sampled again. EXPCLK
need not be referenced when driving EXPRDY but is shown for clarity.
2) Consecutive reads with sequential access enabled are identical e xcept that the sequential access w ait state
field is used to determine the number of wait states.
NOTES:
1) t
= 80 ns maximum for zero wait states. This time can be extended by integer multiples of the clock
EXWR
Figure 4-2. Expansion and ROM Write Timing
period (54 ns), by either driving EXPRDY low and or by programming a number of wait states. EXPRDY is
sampled on the falling edge of EXPCLK before the data tr ansf er, if low at this point the transfer is delay ed by
one clock period where EXPRDY is sampled again. EXPCLK need not be referenced when driving EXPRDY
but is shown for clarity.
2) Consecutive writes with sequential access enabled are identical except that the sequential access w ait state
field is used to determine the number of wait states.
3) Zero wait states for sequential writes is not supported, one state automatically is added.
ELECTRICAL SPECIFICATIONS
May 199764
DATA BOOK v1.5
CL-PS7110
t
10
t
9
DRA[12:0]
t
RC
MCLK
ROWCOLROWCOL 1COL 2COL n
RAS[3:0]
CAS[3:0]
D[31:0]
NMOE
NMWE
WORD
WRITE
t
RAS
t
RP
t
PC
t
CP
t
CAS
t
11
t
12
12n
DRAM word read followed by Page mode read (MCLK shown for reference only)
Low-Power System-on-a-Chip
Figure 4-3. DRAM Read Cycles
NOTES:
1) tRC (read cycle time) = 160 ns maximum
2) t
3) tRP (RAS precharge time) = 80 ns maximum
4) t
(access time from RAS) = 80 ns maximum
RAC
(CAS pulse width) = 25 ns maximum
CAS
5) tCP (CAS precharge in Page mode = 25 ns maximum
6) tPC (Page mode cycle time) = 50 ns minimum at maximum
7) Word reads shown, for byte reads only one of CAS[3:0] is active, CAS0 for byte 0, etc.
May 199765
ELECTRICAL SPECIFICATIONS
DATA BOOK v1.5
Low-Power System-on-a-Chip
DATA OUT 2DATA OUT 1
t
13
CAS[3:0]
D[31:0]
NMOE
WORD
DRA[12:0]
RAS[3:0]
WORD write followed by sequential word write to DRAM (MCLK shown for reference only)
2) If FRM is high during the CL1 pulse, this marks the first line in the display.
3) CL2 low time is doubled during the CL1 high pulse.
May 199769
ELECTRICAL SPECIFICATIONS
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
4.5I/O Buffer Characteristics
All I/O buffers on the CL-PS7110 are CMOS threshold input bidirectional b uff ers e xcept the oscillator and
power pads. Notional input signals only enable the output buffer during Pin Test mode. All output buffers
are disabled during System Test (High-Z) mode . All buffers ha ve a standard CMOS threshold input stage
apart from the Schmitt inputs and CMOS, slew-rate-controlled output stages to reduce system noise.
Table 4-3 defines the I/O buffer output characteristics.
1) All propagation delays are specified at 50% VDD to 50% VDD; all rise times are specified as 10% VDD to 90% VDD,
and all fall times are specified as 90% VDD to 10% VDD.
2) Pull-up current = 50 µA typical at VDD = 3.3 volts.
Propagation Delay
(MAX)
Rise Time
(MAX)
Fall Time
(MAX)
Load
4.6Test Modes
The CL-PS7110 supports a number of hardware-activated test modes; these are activated by the pin
combinations shown in Table 4-4. All latched signals will only alter test modes while NPOR is low, and
their state is latched on the rising edge of NPOR. This allows these signals be used normally during various test modes; f or example , the NURESET input can be used normally when the device is set into Functional Test (EPB) mode.
Table 4-4.CL-PS7110 Hardware Test Modes
Test Mode
Normal operation (32-bit boot)00X11
Normal operation (8-bit boot)01X11
Alternative test ROM boot1XX11
Oscillator/PLL bypassXXX10
Functional T est (EPB)XX101
Oscillator/PLL T estXX001
Pin T estXX100
System Test (all High-Z)XX000
ELECTRICAL SPECIFICATIONS
Latched
MEDCHG
Latched
PE0
Latched
NURESET
NTEST0NTEST1
May 199770
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
Within each test mode a selection of pins are used as multiplex ed outputs or inputs to provide/monitor the
test signals unique to that mode.
4.6.1Oscillator and PLL Bypass Mode
This mode is selected by NTEST0 = 1, NTEST1 = 0.
In this mode all the internal oscillators and PLL are disabled and the appropriate crystal oscillator pins
become the direct external oscillator inputs bypassing the oscillator and PLL. MOSCIN m ust be driven b y
a 36.864-MHz clock source and RTCOUT by a 32.768-kHz source. In addition the OSCEN (oscillator
enable) signal is multiplexed out on Port C bit 0 to control the external oscillator. It is driven logic to level
low to disable the oscillator. The functionality of the CL-PS7110 is not affected in any other way during
this test mode.
4.6.2Functional (EPB) Test Mode
This mode is selected by NTEST0 = 0, NTEST1 = 1, Latched NURESET = 1
Functional EPB (embedded peripheral bus) Test mode is used f or the running test patterns, both through
the EPB external test interface and for any other patter ns. It is for testing individual peripherals and the
ARM710A microprocessor. The PLL is automatically bypassed in this mode . In this mode v arious pins are
used as control inputs or outputs; these are listed in Table 4-5.
Table 4-5.EPB Test Mode Signal Assignment
SignalI/OPinFunction
TSTAIPA0EPB test control A
TSTBIPA1EPB test control B
TSTSTARTIPA2Fast start speed up RTC divider chain
TSTDIRCLKIPA3Insertion point for EPB test clock
TSTVCOUNTIPA4Video Address counter increments faster
TACKOwordEPB test acknowledge output
4.6.3Oscillator and PLL Test Mode
This mode is selected by NTEST0 = 0, NTEST1 = 1, Latched NURESET = 0
This test mode enables the main oscillator and output various buff ered clock and test signals derived from
the main oscillator, PLL, and 32-kHz oscillator. All internal logic in the CL-PS7110 is static and isolated
from the oscillators with the exception of the 6-bit ripple counter used to generate 576-kHz and the realtime clock divide chain. P ort A is used to drive the inputs of the PLL directly and the various clock and PLL
outputs are monitored on the COL pins. Table 4-6 defines the CL-PS7110 signal pins used in this test
mode.
May 199771
ELECTRICAL SPECIFICATIONS
DATA BOOK v1.5
Table 4-6.Oscillator and PLL Test Mode Signals
SignalI/OPinFunction
a
TSEL
XTALON
PLLON
DN0IPA2Selects other frequencies from PLL with DN0
DN1
PLLBPIPA0Bypasses PLL
RTCCLKOCOL0Output of RTC oscillator
CLK1OCOL11-Hz clock from RTC divide chain
OSC36OCOL236-MHz PLL main output
CLK576KOCOL4576 kHz divided-down as above
a
a
a
IPA5PLL test select
IPA4Enable to oscillator circuit
IPA3Enable to PLL circuit
IPA1Selects other frequencies from PLL with DN1
CL-PS7110
Low-Power System-on-a-Chip
VTESTOCOL5Analog output of VCO loop filter
VREFOCOL6VCO output for test
a
These inputs are INVERTED before being passed to the PLL to ensure that the default state of the port
(all ‘0’) maps onto the correct default state of the PLL (TSEL = 1, XTALON = 1, PLLON = 1, D0 = 0, D1
= 1, PLLBP = 0). This state produces the correct frequencies as shown in Table 4-6. Any other combina-
tions are for testing the oscillator and PLL and should not be used in the circuit.
4.6.4Pin Test Mode
This mode is selected by NTEST0 = 0, NTEST1 = 0, Latched NURESET = 1.
This test mode allows a simple ICT tester to check if all pins on the CL-PS7110 are correctly soldered to
the PCB. This mode does this by back-driving each pin in turn, and checking the response on one designated pin (the COL7 pin).
A parity bit is generated and output on the COL7 pin; this parity bit is the XOR of the input from ever y
CL-PS7110 signal pin except for the tw o test inputs. The input pad of each signal is f ed into this XOR gate
regardless of signal type. Externally driving (back-driving) any signal pin from its reset state causes a transition of the COL7 pin. Table 4-6 defines the rest state for all CL-PS7110 output pins. As Pin Test mode
is entered, the states of all CL-PS7110 inputs are latched, and forced back out on the pins . Thus ALL pins
(except the two test pins) are configured as outputs in this mode. This ensures only a ‘good’ solder joint
passes the pin test. When not in Pin Test mode, the XOR chain is disabled and cannot toggle to save
power.
It is essential in Pin Test mode that the NURESET pin is kept in the default (HIGH) state except when it
is being tested itself. This ensures that NPOR can be saf ely included in the pin test chain without aff ecting
the test mode.
ELECTRICAL SPECIFICATIONS
May 199772
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
4.6.5High-Z (System) Test Mode
This mode selected by NTEST0 = 0, NTEST1 = 0, Latched NURESET = 0.
This test mode asynchronously disables all output buff ers on the CL-PS7110; this has the effect of remo v-
ing the CL-PS7110 from the PCB so that other devices on the PCB can be tested. The internal state of
the CL-PS7110 is not altered directly by this test mode.
4.6.6Test ROM Mode
This mode is entered by holding the MEDCHG input high during the transition from low to high of the
NPOR input pin. If Test ROM mode is enabled the processor boots from an alternative 8-bit test ROM.
The effect of this test mode is to reverse the decoding for all expansion selects. Table 4-7 shows this
decoding. In addition the sense of bit 1 in the Memory Configuration register is reversed so that 00 = 8bit access, Table 4-7 lists the chip select address ranges , and Table 4-8, the bus width field combinations
during Test ROM mode. This has the effect of making the boot ROM an 8-bit device connected to CS7.
Table 4-7.Chip Select Address Ranges During Test ROM Mode
Address RangeExpansion Chip Select in Test ROM Mode
0000.0000–0FFF.FFFFCS7
1000.0000–1FFF.FFFFCS6
2000.0000–2FFF.FFFFCS5
3000.0000–3FFF.FFFFCS4
4000.0000–4FFF.FFFFNCS3
5000.0000–5FFF.FFFFNCS2
6000.0000–6FFF.FFFFNCS1
7000.0000–7FFF.FFFFNCS0
Table 4-8.Expansion and ROM Interface Bus Width During Test ROM Mode
Bus Width Field in ROM Test Mode Expansion Transfer Mode
008-bit-wide bus access
01PCMCIA mode
1032-bit-wide bus access
1116-bit-wide bus access
May 199773
ELECTRICAL SPECIFICATIONS
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
4.6.7Software-Selectable T est Functionality
When bit 11 of the SYSCON register is set HIGH, all internal EPB accesses are output on the main
address and data buses as though they were e xternal accesses to the address space addressed by CS6.
Hence CS6 handles a dual role: It is active as the strobe for internal accesses and for any accesses to
the standard address range for CS6. Additionally in this mode, the following internal signals are multiplexed out of the device on port pins:
SignalI/OPinFunction
NIRQOPE1NIRQ interrupt to CPU
NFIQOPE2NFIQ interrupt to CPU
NOTE: Port E defaults to input so PE1 and PE2 has to be programmed to output mode to observe NIRQ and NFIQ
on these signals.
ELECTRICAL SPECIFICATIONS
May 199774
DATA BOOK v1.5
CL-PS7110
Pin 1 Indicator
29.60 (1.165)
30.40 (1.197)
0.17 (0.007)
0.27 (0.011)
27.80 (1.094)
28.20 (1.110)
0.50
(0.0197)
BSC
29.60 (1.165)
30.40 (1.197)
27.80 (1.094)
28.20 (1.110)
1.35 (0.053)
1.45 (0.057)
0
° MIN
7
° MAX
0.09 (0.004)
0.20 (0.008)
1.40 (0.055)
0.45 (0.018)
0.75 (0.030)
0.05 (0.002)
1.00 (0.039) BSC
Pin 1
Pin 208
1.60 (0.063)
0.15 (0.006)
CL-PS7110
208-Pin VQFP
Low-Power System-on-a-Chip
5.PACKAGE SPECIFICATIONS
5.1208-Pin VQFP Package Outline Drawing
NOTES:
1) Dimensions are in millimeters (inches), and controlling dimension is millimeter.
2) Drawing above does not reflect exact package pin count.
3) Before beginning any new design with this de vice, please contact Cirrus Logic for the latest pac kage information.
May 199775
PACKAGE SPECIFICATIONS
DATA BOOK v1.5
6.ORDERING INFORMATION
CL – PS7110 – VC – A
Cirrus Logic, Inc.
Product Line:
Part Number
Package Type:
Temperature Range:
Revision
†
C = Commercial — 0–70°C
V = Very-Low-Profile Quad Flat Pack
†
Contact Cirrus Logic for up-to-date information on revisions.
Portable Products
I = Industrial — -25–70°C
The order number for the device is:
CL-PS7110
Low-Power System-on-a-Chip
ORDERING INFORMATION
May 199776
DATA BOOK v1.5
CL-PS7110
Low-Power System-on-a-Chip
BIT INDEX
Numerics
64-Hz tick interrupt (TINT) 51
A
AC prescale 53
B
Battery low interrupt (BLINT) 50
Bit rate divisor 55
Bit to drive buzzer (BZTOG) 44
BOOT8BIT 47
BREAK 56
Buzzer Drive (BZMOD) 44
Data carrier detect (DCD) 46
Data set ready (DSR) 46
Debug enable (DBGEN) 44
Display ID nibble (DID) 46
DRAM refresh enable (RFSHEN) 49
DRAM refresh rate (RFDIV) 50
Drive 0 from battery 54
Drive 0 from mains 54
Drive 1 pump ratio 54
London, England
TEL: 44/1727-872424
FAX: 44/1727-875919
Headquartered in Fremont, California, Cirrus Logic is a leading manufacturer of advanced integrated cir cuits for
desktop and portable computing, telecommunications, and consumer electronics. The Company applies its systemlevel expertise in analog and digital design to innovate highly integrated, software-rich solutions.
Cirrus Logic has developed a broad portfolio of products and technologies for applications spanning
multimedia, graphics, communications, system logic, mass storage, and data acquisition.
The Cirrus Logic formula combines innovative architectures in silicon with system design expertise. We deliver
complete solutions — chips, software, evaluation boards, and manufacturing kits — on-time, to help you win in the
marketplace.
Cirrus Logic’s manufacturing strategy ensures maximum product quality, availability, and value for our
customers.
Talk to our systems and applications specialists; see how you can benefit from a new kind of semiconductor
company.
Copyright 1997 Cirrus Logic Inc. All rights reserved.
Cirrus Logic Inc. has made best efforts to ensure that the information contained in this document is accurate and reliable. However, the infor mation is
subject to change without notice. No responsibility is assumed by Cirrus Logic Inc. for the use of this information, nor for infringements of patents or other
rights of third parties. This document is the property of Cirrus Logic Inc. and implies no license under patents, copyrights, or trade secrets. No part of this
publication may be copied, reproduced, stored in a retriev al system, or tr ansmitted, in an y form or by any means, electronic, mechanical, photographic, or
otherwise, or used as the basis for manufacture or sale of any items without the prior wr itten consent of Cirrus Logic Inc. Cirrus, Cirrus Logic, AccuPak,
Clear3D, DirectVPM, DIVA, FastPath, FasText, FeatureChips, FilterJet, Get into it, Good Data, Laguna, Laguna3D, MediaDAC, MotionVideo, RSA,
SimulSCAN, S/LA, SMASH, SofT arget, Systems in Silicon, TextureJet, TVTap, UXART, Video P ort Manager, VisualMedia, VPM, V -P ort, V oy ager, Wa vePort,
and WebSet are trademarks of Cirrus Logic Inc., which may be registered in some jurisdictions. Other trademarks in this document belong to their
respective companies. CRUS and Cirrus Logic International, Ltd. are trade names of Cirrus Logic Inc.
Cirrus Logic Inc.
3100 West Warren Ave., Fremont, CA 94538
Publications Ordering:
World Wide W eb:
800/359-6414 (USA) or 510/249-4200
http://www.cirrus.com
TEL: 510/623-8300 FAX: 510/252-6020447110-002
Loading...
+ 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.