M13L15A2/SA0
K16K12A3/SA1LOWLOW12 mA
K15K13A4/SA2LOWLOW12 mA
K14K16A5/SA3LOWLOW12 mA
J8J13A6/SA4LOWLOW12 mA
J16J11A7/SA5LOWLOW12 mA
J14J16A8/SA6LOWLOW12 mA
J9H15A9/SA7LOWLOW12 mA
H16H10A10/SA8LOWLOW12 mA
H14H12A11/SA9LOWLOW12 mA
G16G15A12/SA10LOWLOW12 mA
G14G10A13/SA11LOWLOW12 mA
G13G11A14/SA12LOWLOW12 mA
F16F16A15/SA13LOWLOW12 mA
A8A7A27/SCRST
D8C8nOEAsynchronous Memory Output EnableHIGHHIGH12 mA
C8F8nWE0Asynchronous Memory Write Byte Enable 0HIGHHIGH12 mA
D10D9nWE3Asynchronous Memory Write Byte Enable 3HIGHHIGH8 mA
B10E9CS6/SCKE1_2
C10A10CS7/SCKE0
G9A11SCKE3Synchronous Memory Clock Enable 3LOWLOW12 mA
A10B10SCLKSynchronous Memory ClockLOWLOW
C14C13nSCS0Synchronous Memory Chip Select 0HIGHHIGH12 mA
D13A15nSCS1Synchronous Memory Chip Select 1HIGHHIGH12 mA
E11D11nSCS2Synchronous Memory Chip Select 2HIGHHIGH12 mA
A12E10nSCS3Synchronous Memory Chip Select 3HIGHHIGH12 mA
C12A13nSWESynchronous Memory Write EnableHIGHHIGH12 mA
C11B11nCAS
PIN
SIGNALDESCRIPTION
• Asynchronous Address Bus
• Synchronous Address Bus
• Asynchronous Address Bus
• Synchronous Device Bank Address 0
• Asynchronous Address Bus
• Synchronous Device Bank Address 1
Asynchronous Address BusLOWLOW12 mA
• Asynchronous Memory Address Bus
• Smart Card Interface I/O (Data)
• Asynchronous Memory Address Bus
• Smart Card Interface Clock
• Asynchronous Memory Address Bus
• Smart Card Interface Reset
• Asynchronous Memory Chip Select 6
• Synchronous Memory Clock Enable 1 OR 2
• Asynchronous Memory Chip Select 7
• Synchronous Memory Clock Enable 0
Synchronous Memory Column Address
Strobe Signal
RESET
STATE
LOWLOW12 mA
LOWLOW12 mA
LOWLOW12 mA
LOW: A25LOW12 mA
LOW: A26LOW12 mA
LOW: A27LOW12 mA
LOW: CS6LOW12 mA
LOW: CS7LOW12 mA
HIGHHIGH12 mA
STANDBY
STATE
OUTPUT
DRIVE
20 mA
(sink)
12 mA
(source)
612/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Table 1. Functional Pin List (Cont’d)
PBGA
CABGA
PIN
F9C11nRASSynchronous Memory Row Address Strobe Signal HIGHHIGH12 mA
A9C9DQM0Synchronous Memory Data Mask 0HIGHHIGH12 mA
B9A9DQM1Synchronous Memory Data Mask 1HIGHHIGH12 mA
D9B9DQM2Synchronous Memory Data Mask 2HIGHHIGH12 mA
E9A8DQM3Synchronous Memory Data Mask 3HIGHHIGH12 mA
J5K1PA0/LCDVD16
K1K2PA1/LCDVD17
K2K3PA2
K3K4PA3
K5K6PA4
L1K5PA5
L2L1PA6
L3L2PA7
L4L3PB0/UARTRX1
L5M1PB1/UARTTX3
L7M2PB2/UARTRX3
M2M3
M4L5
N1N1
N2N2
N3M4PB7/SMBCLK
P1P1PC0/UARTTX1
P2P2PC1/LCDPS
R1R1
K6M5PC3/LCDREV
L8P3PC4/LCDSPS
T1N4PC5/LCDCLS
PIN
SIGNALDESCRIPTION
• GPIO Port A
• LCD Data bit 16. This CLCDC output signal is
always LOW.
• GPIO Port A
• LCD Data bit 17. This CLCDC output signal is
always LOW.
• External FIQ Interrupt. Interrupts can be level or
edge triggered and are internally debounced.
• GPIO Port F
• External IRQ Interrupts. Interrupts can be level
or edge triggered and are internally debounced.
• GPIO Port F
• External IRQ Interrupt. Interrupts can be level or
edge triggered and are internally debounced.
• GPIO Port F
PF4/INT4/
SCVCCEN
PF5/INT5/
SCDETECT
PF6/INT6/
PCRDY1
PF7/INT7/
PCRDY2
• External IRQ Interrupt. Interrupts can be level or
edge triggered and are internally debounced.
• Smart Card Supply Voltage Enable
• GPIO Port F
• External IRQ Interrupt. Interrupts can be level or
edge triggered and are internally debounced.
• Smart Card Detection
• GPIO Port F
• External IRQ Interrupt. Interrupts can be level or
edge triggered and are internally debounced.
• Ready for Card 1 for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port F
• External IRQ Interrupt. Interrupts can be level or
edge triggered and are internally debounced.
• Ready for Card 2 for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port G
• Output Enable for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port G
• Write Enable for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
RESET
STATE
LOW: PC6No Change12 mA
LOW: PC7No Change12 mA
LOW: PD0
Input: PE0LOW if 8-bit
Input: PF0
(Schmitt)
Input: PF1
(Schmitt)
Input: PF2
(Schmitt)
Input: PF3
(Schmitt)
Input: PF4
(Schmitt)
Input: PF5
(Schmitt)
Input: PF6
(Schmitt)
Input: PF7
(Schmitt)
LOW: PG0No Change8 mA
LOW: PG1No Change8 mA
STANDBY
STATE
LOW if
Dual-Panel
LCD is
Enabled;
otherwise,
No Change
LCD is
Enabled,
otherwise
No Change
No Change8 mA
No Change8 mA
No Change8 mA
No Change8 mA
LOW if SCI
is Enabled;
otherwise,
No Change
No Change8 mA
No Change8 mA
No Change8 mA
OUTPUT
DRIVE
12 mA
12 mA
8 mA
812/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Table 1. Functional Pin List (Cont’d)
PBGA
CABGA
PIN
L6P4PG2/nPCIOR
M6R3PG3/nPCIOW
N6T2PG4/nPCREG
M7P5PG5/nPCCE1
M8R4PG6/nPCCE2
N4T3PG7/PCDIR
P4P6
R4T4
T4M7
N7T5
P8R6
P5R7
PIN
SIGNALDESCRIPTION
PH0/
PCRESET1
PH1/CFA8/
PCRESET2
PH2/
nPCSLOTE1
PH3/CFA9/
PCMCIAA25/
nPCSLOTE2
PH4/
nPCWAIT1
PH5/CFA10/
PCMCIAA24/
nPCWAIT2
• GPIO Port G
• I/O Read Strobe for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port G
• I/O Write Strobe for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port G
• Register Memory Access for PC Card (PCMCIA
or CompactFlash) in single or dual card mode
• GPIO Port G
• Card Enable 1 for PC Card (PCMCIA or
CompactFlash) in single or dual card mode.
This signal and nPCCE2 are used by the PC
Card for decoding low and high byte accesses.
• GPIO Port G
• Card Enable 2 for PC Card (PCMCIA or
CompactFlash) in single or dual card mode.
This signal and nPCCE1 are used by the PC
Card for decoding low and high byte accesses.
• GPIO Port G
• Direction for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port H
• Reset Card 1 for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• GPIO Port H
• Address Bit 8 for PC Card (CompactFlash) in
single card mode
• Reset Card 2 for PC Card (PCMCIA or
CompactFlash) in dual card mode
• GPIO Port H
• Enable Card 1 for PC Card (PCMCIA or
CompactFlash) in single or dual card mode.
This signal is used for gating other control signals to the appropriate PC Card.
• GPIO Port H
• Address Bit 9 for PC Card (CompactFlash) in
single card mode
• Address Bit 25 for PC Card (PCMCIA) in single
card mode
• Enable Card 2 for PC Card (PCMCIA or
CompactFlash) in dual card mode. This signal
is used for gating other control signals to the
appropriate PC Card.
• GPIO Port H
• WAIT Signal for Card 1 for PC Card (PCMCIA
or CompactFlash) in single or dual card mode
• GPIO Port H
• Address Bit 10 for PC Card (CompactFlash) in
single card mode
• Address Bit 24 for PC Card (PCMCIA) in single
card mode
• WAIT Signal f o r Ca r d 2 for PC Card (PCMCIA
or CompactFlash) in dual card mode
RESET
STATE
LOW: PG2No Change8 mA
LOW: PG3No Change8 mA
LOW: PG4No Change8 mA
LOW: PG5No Change8 mA
LOW: PG6No Change8 mA
LOW: PG7No Change8 mA
Input: PH0No Change8 mA
Input: PH1No Change8 mA
Input: PH2No Change8 mA
Input: PH3No Change8 mA
Input: PH4No Change8 mA
Input: PH5No Change8 mA
STANDBY
STATE
OUTPUT
DRIVE
Preliminary Data Sheet12/8/03 9
LH7A40032-Bit System-on-Chip
Table 1. Functional Pin List (Cont’d)
PBGA
CABGA
PIN
R5P7
T5T6
R6T7LCDFPLCD Frame Synchronization pulseLOWLOW12 mA
R8R9LCDLPLCD Line Synchronization pulseLOWLOW12 mA
P9P9
N9N9LCDDCLKLCD Data ClockLOWLOW12 mA
P7M8LCDVD0
R7P8LCDVD1
T7R8LCDVD2
N8T8LCDVD3
T15T16USBDPUSB Data Positive (Differential Pair)InputInput
T16R16USBDNUSB Data Negative (Differential Pair)InputInput
E7C7nPWME0
D7A6nPWME1
C7B6PWM0
B7B5PWM1
C4A2ACBITCLK
D5A1ACOUT
B4B2ACSYNC
A4E6ACIN
A3C3
B3B1
A2D4
E2E1UARTCTS2
E3F3UARTDCD2
E5G4UARTDSR2UART2 Data Set Ready SignalInputInput
F2G5UARTIRTX1IrDA TransmitLOWLOW8 mA
F3G6UARTIRRX1
F4F1UARTTX2UART2 Transmit Data OutputHIGHHIGH8 mA
PIN
SIGNALDESCRIPTION
PH6/
AC97RESET
PH7/nPCSTATRE
LCDENAB/
LCDM
MMCCLK/
MMSPICLK
MMCCMD/
MMSPIDIN
MMCDATA/
MMSPIDOUT
• GPIO Port H
• Audio Codec (AC97) Reset
• GPIO Port H
• Status Read Enable for PC Card (PCMCIA or
CompactFlash) in single or dual card mode
• LCD TFT Data Enable
• LCD STN AC Bias
LCD Video Data BusLOWLOW12 mA
DC-DC Converter Pulse Width
Modulator 0 Enable
DC-DC Converter Pulse Width
Modulator 1 Enable
DC-DC Converter Pulse Width
Modulator 0 Output during normal operation and
Polarity Selection input at reset
DC-DC Converter Pulse Width
Modulator 1 Output during normal operation and
Polarity Selection input at reset
• Audio Codec (AC97) Clock
• Audio Codec (ACI) Clock
• Audio Codec (AC97) Output
• Audio Codec (ACI) Output
• Audio Codec (AC97) Synchronization
• Audio Codec (ACI) Synchronization
• Audio Codec (AC97) Input
• Audio Codec (ACI) Input
• MultiMediaCard Clock (20 MHz MAX.)
• MultiMediaCard SPI Mode Clock
• MultiMediaCard Command
• MultiMediaCard SPI Mode Data Input
• MultiMediaCard Data
• MultiMediaCard SPI Mode Data Output
UART2 Clear to Send Signal. This pin is an output for JTAG boundary scan only.
UART2 Data Carrier Detect Signal. This pin is output for JTAG boundary scan only.
IrDA Receive. This pin is an output for JTAG
boundary scan only.
RESET
STATE
Input: PH6No Change8 mA
Input: PH7No Change8 mA
LOW:
LCDENAB
InputInput
InputInput
InputInput8 mA
InputInput8 mA
InputInput
LOWLOW8 mA
LOWLOW8 mA
InputInput
LOW:
MMCCLK
Input:
MMCCMD
Input:
MMCDATA
InputInput
InputInput
InputInput
STANDBY
STATE
LOW12 mA
LOW8 mA
Input8 mA
Input8 mA
OUTPUT
DRIVE
75 mA
(NOM.)
75 mA
(NOM.)
1012/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Table 1. Functional Pin List (Cont’d)
PBGA
CABGA
PIN
J7G3UARTRX2
H4J3SSPCLKSynchronous Serial Port ClockLOWLOW8 mA
J1J6SSPRXSynchronous Serial Port ReceiveInputInput
J2J7SSPTXSynchronous Serial Port TransmitLOWLOW8 mA
LOW if Dual-Panel LCD is Enabled; otherwise,
No Change
Preliminary Data Sheet12/8/03 23
LH7A40032-Bit System-on-Chip
Table 5. 256-Ball CABGA Package Numerical Pin List
CABGA PINSIGNALRESET STATESTANDBY STATE
P7PH6/AC97RESETInput: PH6No Change
P8LCDVD1LOWLOW
P9LCDENAB/LCDMLOW: LCDENABLOW
P10PD2/LCDVD10LOW: PD2No Change
P11VDDNo Change
P12VDDA
P13nTEST1Input with Pull-upInput with Pull-up
P14nCS0HIGHHIGH
P15nTEST0Input with Pull-upInput with Pull-up
P16nCS1HIGHHIGH
The LH7A400 microcontroller features the
ARM922T cached core with an Advanced High Performance Bus (AHB) interface. The processor is a member of the ARM9T family of processors. For more
information, see the ARM document, ‘ARM922T Technical Reference Manual’, available on ARM’s website
at www.arm.com.
Clock and State Controller
The clocking scheme in the LH7A400 is based
around two primary oscillator inputs. These are the
14.7456 MHz input crystal and the 32.768 kHz real time
clock oscillator. See Figure 3. The 14.7456 MHz oscillator is used to generate the main system clock
domains for the LH7A400, where as the 32.768 kHz is
used for controlling the power down operations and
real time clock peripheral. The clock and state controller provides the clock gating and frequency division
necessary, and then supplies the clocks to the processor and to the rest of the system. The amount of clock
gating that actually takes place is dependent on the
current power saving mode selected.
DMA
AC97
IR
BMI
BATTERY
CODEC
DC to DC
VOLT AGE
GENERATION
CIRCUITRY
LH7A400-3
The 32.768 kHz clock provides the source for the
Real Time Clock tree and power-down logic.This clock
is used for the power state control in the design and is
the only clock in the LH7A400 that runs permanently.
The 32.768 kHz clock is divided down to 1 Hz using a
ripple divider to save power. This generated 1 Hz clock
is used in the Real Time Clock counter.
The 14.7456 MHz source is used to generate the
main system clocks for the LH7A400. It is the source
for PLL1 and PLL2, it acts as the primary clo ck to the
peripherals and is the source clock to the Programmable clock (PGM) divider.
PLL1 provides the main clock tree for the chip, it
generates the following clocks: FCLK, HCLK and
PCLK. FCLK is the clock that drives the ARM922T
core. HCLK is the main bus (AHB) clock, as such it
clocks all memory interfaces, bus arbitrators and the
AHB peripherals. HCLK is generated by dividing FCLK
by 1, 2, 3, or 4. HCLK can be gated by the system to
enable low power operation. PCLK is the peripheral
bus (APB) clock. It is generated by dividing HCLK by
either 2, 4, or 8.
PLL2 is used to generate a fixed frequency of
48 MHz for the USB peripheral.
Preliminary Data Sheet12/8/03 25
LH7A40032-Bit System-on-Chip
14.7456 MHz
MAIN OSC.
32.768 kHz
RTC OSC.
STATE CONTROLLER
DIVIDE REGISTER
HCLK
Figure 3. Clock and State Controller Block Diagram
Power Modes
The LH7A400 has three operational states: Run,
Halt, and Standby. In Run mode, all clocks are hardware-enabled and the processor is clocked. Halt mode
stops the processor clock while waiting for an event
such as a key press, but the dev ice contin ues to fu nction. Finally, Standby equates to the computer being
switched ‘off’, i.e. no display (LCD disabled) and the
main oscillator is shut down. The 32.768 kHz oscillator
operates in all three modes.
Reset Modes
There are three external signals that can generate
resets to the LH7A400; these are nPOR (power on
reset), nPWRFL (power failure) and nURESET (user
reset). If any of these are active, a system reset is generated internally. A nPOR reset performs a full system
reset. The nPWRFL and nURESET resets will perform
a full system reset except for the SDRAM refresh control, SDRAM Global Configuration, SDRAM Device
Configuration and the RTC peripheral r egisters. The
SDRAM controller will issue a self-refresh command to
external SDRAM before the system enters this reset
(the nPWRFL and nURESET resets only, not so for the
nPOR reset). This allows the system to maintain its
Real Time Clock and SDRAM contents. On coming out
of reset, the chip enters Standby mode. Once in Run
mode the PWRSR register can be interrogated to determine the nature of the reset, and the trigger source,
after which software can then take appropriate actions.
FCLK
HCLK
(TO PROCESSOR CORE)
/2, /4, /8PCLKs
LH7A400-4
Data Paths
The data paths in the LH7A400 are:
• The AMBA AHB bus
• The AMBA APB bus
• The External Bus Interface
• The LCD AHB bus
• The DMA busses.
AMBA AHB BUS
The Advanced Microprocessor Bus Architecture
Advanced High-performance Bus (AMBA AHB) bus is a
high speed 32-bit-wide data bus. The AMBA AHB is for
high-performance, high clock frequency system modules.
Peripherals that have high bandwidth requirements
are connected to the LH7A400 core processor using
the AHB bus. These include the external and internal
memory interfaces, the LCD registers, palette RAM
and the bridge to the Advanced Peripheral Bus (APB)
interface. The APB Bridge transparently converts the
AHB access into the slower speed APB accesses. All
of the control registers for the APB peripheral s are programmed using the AHB - APB bridge interface. The
main AHB data and address lines are configured using
a multiplexed bus. This removes the need for tri-state
buffers and bus holders, and simplifies bus arbitra tio n.
2612/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
AMBA APB BUS
The AMBA APB bus is a lower-speed 32-bit-wide
peripheral data bus. The speed of this bus is selectable
to be a divide-by-2, divide-by-4 or divide-by-8 of the
speed of the AHB bus.
EXTERNAL BUS INTERFACE
The External Bus Interface (EBI) provides a 32-bit
wide, high speed gateway to external memory devices.
The memory devices supported include:
• Asynchronous RAM/ROM/Flash
• Synchronous DRAM/Flash
• PCMCIA interfaces
• CompactFlash interfaces.
The EBI can be controlled by either the Asynchronous memory controller or Synchronous memory controller. There is an arbiter on the EBI input, with priority
given to the Synchronous Memory Controller int erface.
LCD AHB BUS
The LCD controller has its own local memory bus
that connects it to the system’s embedded m emory and
external SDRAM. The function of this local data bus is
to allow the LCD controller to perform its video refresh
function without congesting the AHB bus. This leads to
better system performance and lower power consumption. There is an arbiter on both th e embedded memory
and the synchronous memory controller. In b oth cases
the LCD bus is given priority.
DMA BUSES
The LH7A400 has a DMA system that conn ects t he
higher speed/higher data volume APB peripherals
(MMC, USB and AC97) to the AHB bus. This enables
the efficient transfer of data between these peripherals
and external memory without the intervention of the
ARM922T core. The DMA engine d oes not support
memory to memory transfers.
Memory Map
The LH7A400 system has a 32-bit-wide address bus.
This allows it to address up to 4GB of memory. This
memory space is subdivided into a number of memory
banks; see Figure 4. Four of these banks (each of
256MB) are allocated to the Synchronous memory controller. Eight of the banks (again, each 256MB) are allo cated to the Asynchronous memory controller. Two of
these eight banks are designed for PCMCIA systems.
Part of the remaining memory space is allocated to the
embedded SRAM, and to the control registers of the
AHB and APB. The rest is unused.
The LH7A400 can boot from either synchronous or
asynchronous ROM/Flash. The selection is determined
by the value of the MEDCHG pin at Power On Reset as
shown in Table 6. When booting from synchronous
memory, then synchronous bank 4 (nSCS3) is mapped
into memory location zero. When booting from asynchronous memory, asynchronous memory bank 0
(nSCS0) is mapped into memory location zero.
Figure 4 shows the memory map of the LH7A400
system for the two boot modes.
Once the LH7A400 has booted, the boot code can
configure the ARM922T MMU to remap the low memory space to a location in RAM. This allows the user to
set the interrupt vector table.
Table 6. Boot Modes
BOOT MODE
8-bit ROM 0 0 0
16-bit ROM 0 1 0
32-bit ROM 1 0 0
32-bit ROM 1 1 0
16-bit SFlash
(Initializes Mode Register)
16-bit SROM
(Initializes Mode Register)
32-bit SFlash
(Initializes Mode Register)
32-bit SROM
(Initializes Mode Register)
LATCHED
BOOT-
WIDTH1
0 0 1
0 1 1
1 0 1
1 1 1
LATCHED
BOOT-
WIDTH0
LATCHED
MEDCHG
Interrupt Controller
The LH7A400 interrupt controller is designed to control the interrupts from 28 different sources. Four interrupt sources are mapped to the FIQ input of the
ARM922T and 24 are mapped to the IRQ input. FIQs
have a higher priority than the IRQs. If two interrupts
with the same priority become active at the same time,
the priority must be resolved in software.
When an interrupt becomes active, the interrupt controller generates an FIQ or IRQ if the corresponding
mask bit is set. No latching of interrupts takes place in
the controller. After a Power On Reset all mask register
bits are cleared, therefore masking all interrupts.
Hence, enabling of the mask register must be done by
software after a power-on-reset.
The external bus interface allows the ARM922T,
LCD controller and DMA engine access to an external
memory system. The LCD controller has access to an
internal frame buffer in embedded SRAM and an extension buffer in Synchronous Memory for large displays.
The processor and DMA engine share the main system
bus, providing access to all external memory devices
and the embedded SRAM frame buffer.
An arbitration unit ensures that control over the
External Bus Interface (EBI) is only granted when an
existing access has been completed. See Figure 5.
Embedded SRAM
The amount of Embedded SRAM contained in the
LH7A400 is 80KB. This Embedded memory is designed
to be used for storing code, data, or LCD frame data
and to be contiguous with external SDRAM. The 80KB
is large enough to store a QVGA panel (320 × 240) at 8
bits per pixel, equivalent to 70KB of information.
Containing the frame buffer on chip reduces the
overall power consumed in any application that uses
the LH7A400. Normally, the system has to perform
external accesses to acquire this data. T he LCD controller is designed to automatically use an overflo w
frame buffer in SDRAM if a larger screen size is
required. This overflow buffer can be located on any
4KB page boundary in SDRAM, allowing software to
set the MMU (in the LCD controller) page tables such
that the two memory areas appear contiguous. Byte,
Half-Word and Word accesses are permissible.
Asynchronous Memory Controller
The Asynchronous memory controller is incorporated as part of the memory controller to provide an
interface between the AMBA AHB system bus and
external (off-chip) memory devices.
The Asynchronous Memory Controller prov ides support for up to eight independently configura ble memory
banks simultaneously. Each memory bank is capable
of supporting:
•SRAM
•ROM
• Flash EPROM
• Burst ROM memory.
Each memory bank may use devices using either 8-,
16-, or 32-bit external memory dat a paths. The memory
controller can be configured to support either littleendian or big-endian operation.
and asynchronous page mode read accesses to
fast-boot block flash memory.
2812/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
SDRAM
SDRAM
EXTERNAL TO
THE LH7A400
SRAM
ROM
INTERNAL TO
THE LH7A400
DATA
ADDRESS
and
CONTROL
EXTERNAL
BUS
INTERFACE
(EBI)
LCD
AHB
ASYNCHRONOUS
ARBITER
ARM922T
STATIC
MEMORY
CONTROLLER
(SMC)
PCMCIA/CF
SUPPORT
SYNCHRONOUS
DYNAMIC
MEMORY
CONTROLLER
(SDMC)
80KB
EMBEDDED
SRAM
LCD MEMORY
MANAGEMENT
UNIT (MMU)
ARBITERARBITER
ARBITER
COLOR LCD
CONTROLLER
(CLCDC)
AD-TFT
LCD TIMING
CONTROLLER
ADVANCED
HIGH-PERFORMANCE
BUS (AHB)
Figure 5. External Bus Interface Block Diagram
DMA
CONTROLLER
LH7A400-8
Preliminary Data Sheet12/8/03 29
LH7A40032-Bit System-on-Chip
The Asynchronous Memory Controller has six main
functions:
• Memory bank select
• Access sequencing
• Wait states generation
• Byte lane write control
• External bus interface
• CompactFlash or PCMCIA interfacing.
Synchronous Memory Controller
The Synchronous memory controller provides a high
speed memory interface to a wide variety of Synchronous memory devices, including SDRAM, Synchronous Flash and Synchronous ROMs.
The key features of the controller are:
• LCD DMA port for high bandwidth
• Up to four Synchronous Memory banks that can be
independently set up
• Special configuration bits for Synchronous ROM
operation
• Ability to program Synchronous Flash devices using
write and erase commands
• On booting from Synchronous ROM, (and optionally
with Synchronous Flash), a configuration sequence is
performed before releasing the processor from reset
• Data is transferred between the controller and the
SDRAM in quad-word bursts. Longer transfers withi n
the same page are concatenated, forming a seamless burst
• Programmable for 16- or 32-bit data bus size
• Two reset domains are provided to enable SDRAM
contents to be preserved over a ‘soft’ reset
• Power saving Synchronous Memory SCKE and
external clock modes provided.
MultiMediaCard (MMC)
The MMC adapter combines all of the requirements
and functions of an MMC host. The adapter supports
the full MMC bus protocol, defined by the MMC Definition Group’s specification v.2.11. The controller can
also implement the SPI interface to the cards.
INTERFACE DESCRIPTION AND MMC OVERVIEW
The MMC controller uses the three-wire serial data
bus (clock, command, and data) to transfer data to and
from the MMC card, and to configure and acquire status
information from the card’s registers.
MMC bus lines can be divided into three groups:
• Power supply: VDD and VSS
• Data Transfer: MMCCMD, MMCDATA
• Clock: MMCLK.
MULTIMEDIACARD ADAPTER
The MultiMediaCard Adapter implements MultiMediaCard specific functions, serves as the bus master for the
MultiMediacard Bus and implements the standard interface to the MultiMediaCard Cards (card initialization,
CRC generation and validation, comma nd/response
transactions, etc.).
Smart Card Interface (SCI)
The SCI (ISO7816) interfaces to an external Smart
Card reader. The SCI can autonomously control data
transfer to and from the smart ca rd. Transmit and
receive data FIFOs are provided to reduce the required
interaction between the CPU core and the peripheral.
SCI FEATURES
• Supports asynchronous T0 and T1 transmission
protocols
• Supports clock rate conversion factor F = 372, with
bit rate adjustment factors D = 1, 2, or 4 supported
• Eight-character-deep buff er ed Tx an d Rx pa th s
• Direct interrupts for Tx and Rx FIFO level monitoring
• Interrupt status register
• Hardware-initiated card deactivation sequence on
detection of card removal
• Software-initiated card deactivation sequence on
transaction complete
• Limited support for synchronous Smart Cards via
registered input/output.
PROGRAMMABLE PARAMETERS
• Smart Card clock frequency
• Communication baud rate
• Protocol convention
• Card activation/deactivation time
• Check for maximum time for first character of
Answer to Reset - ATR reception
• Check for maximum duration of ATR character
stream
• Check for maximum time of receipt of first character
of data stream
• Check for maximum time allowed between characters
• Character guard time
• Block guard time
• Transmit/receive character retry.
3012/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Direct Memory Access Controller (DMA)
The DMA Controller interfaces streams from the fol-
lowing three peripherals to the system memory:
• USB (1 Tx and 1 Rx DMA Channel)
• MMC (1 Tx and 1 Rx DMA Channel)
• AC97 (3 Tx and 3 Rx DMA Channels).
Each has its own bi-directional peripheral DMA bus
capable of transferring data in both directions simultaneously. All memory transfers take place via the main
system AHB bus.
DMA Specific features are:
• Independent DMA channels for Tx and Rx
• Two Buffer Descriptors per channel to avoid poten-
tial data under/over-flows due to software introduced
latency
• No Buffer wrapping
• Buffer size may be equal to, greater than or less than
the packet size. Transfers can automatically switch
between buffers.
• Maskable interrupt generation
• Internal arbitration between DMA Channels and
external bus arbiter.
• For DMA Data transfer sizes, byte, word and quad-
word data transfers are supported.
A set of control and status registers are available to
the system processor for setting up DMA operations
and monitoring their status. A system interrupt is generated when any or all of the DMA channels wish to
inform the processor that a new buffer needs to be allocated. The DMA controller services three peripherals
using ten DMA channels, each with its own peripheral
DMA bus capable of transferring data in both directions
simultaneously.
The MMC and USB peripherals each use two DMA
channels, one for transmit and one for receive. The
AC97 peripheral uses six DMA channels (three transmit and three receive) to allow different sample frequency data queues to be handled with low software
overheads. The DMA Controller does not su pport
memory to memory transfers.
USB Device
The features of the USB are:
• Fully compliant to USB 1.1 specification
• Provides a high level interface that shields the firm-
ware from USB protocol details
• Compatible with both OpenHCI and Intel’s UHCI
standards
• Supports full-speed (12 Mbps) functions
• Supports Suspend and Resume signalling.
Color LCD Controller
The LH7A400’s LCD Controller is programmable to
support up to 1,024 × 768, 16-bit color LCD panels. It
interfaces directly to STN, color STN, TFT, AD-TFT,
and HR-TFT panels. Unlike other LCD controllers, the
LH7A400’s LCD Controller incorporates the timing conversion logic from TFT to HR-TFT, allowing a direct
interface to HR-TFT and minimizing external chip count.
The Color LCD Controller features suppo rt for:
• Up to 1,024 × 768 Resolution
• 16-bit Video Bus
• STN, Color STN, AD-TFT, HR-TFT, TFT panels
• Single and Dual Scan STN panels
• Up to 15 Gray Shades
• Up to 64,000 Colors
AC97 Advanced Audio Codec Interface
The AC97 Advanced Audio Codec controller
includes a 5-pin serial interface to an ex ternal audio
codec. The AC97 LINK is a bi-directional, fixed rate,
serial Pulse Code Modulation (PCM) digital stream,
dividing each audio frame into 12 outgoing and 12
incoming data streams (slots), each with 2 0-bit sa mple
resolution.
The AC97 controller contains logic that controls the
AC97 link to the Audio Codec and an interface to the
AMBA APB.
Its main features include:
• Serial-to-parallel conversion for data received from
the external codec
• Parallel-to-serial conversion for data transmitted to
the external codec
• Reception/Transmission of control and status infor-
mation via the AMBA APB interface
• Supports up to 4 different codec sampling rates at a
time with its 4 transmit and 4 receive channels. The
transmit and receive paths are buffered with internal
FIFO memories, allowing data to be stored independently in both transmit and receive modes. The outgoing data for the FIFOs can be written via either the
APB interface or with DMA channels 1 - 3.
Preliminary Data Sheet12/8/03 31
LH7A40032-Bit System-on-Chip
Audio Codec Interface (ACI)
The ACI provides:
• A digital serial interface to an off-chip 8-bit CODEC
• All the necessary clocks and timing pulses to perform serialization or de-serialization of the data
stream to or from the CODEC device.
The interface supports full duplex operation and the
transmit and receive paths are buffered with internal
FIFO memories allowing up to 16 bytes to be stored
independently in both transmit and receive modes.
The ACI includes a programmable frequency divider
that generates a common transmit and receive bit clo ck
output from the on-chip ACI clock input (ACICLK).
Transmit data values are output synchronous with the
rising edge of the bit clock output. Receive data values
are sampled on the falling edge of the bit clock output.
The start of a data frame is indicated b y a synchronization output signal that is synchronous with the bit clock.
Synchronous Serial Port (SSP)
The LH7A400 SSP is a master-only interface for
synchronous serial communication with device peripheral devices that has either Motorola SPI, National
Semiconductor MICROWIRE or Texas Instruments
Synchronous Serial Interfaces.
The LH7A400 SSP performs serial-to-parallel conversion on data received from a peripheral device. The
transmit and receive paths are buffered with internal
FIFO memories allowing up to eight 16-bit values to be
stored independently in both transmit and receive
modes. Serial data is transmitted on SSPTXD and
received on SSPRXD.
The LH7A400 SSP includes a programmab le bit rate
clock divider and prescaler to generate the serial output
clock SCLK from the input clock SSPCLK. Bit rates are
supported to 2 MHz and beyond, subject to choice of
frequency for SSPCLK; the maximum bit rate will usually be determined by peripheral devices.
UART/IrDA
The LH7A400 contains three UARTs, UART1,
UART2, and UART3.
The UART performs:
• Serial-to-Parallel conversion on data received from
the peripheral device
• Parallel-to-Serial conversion on data transmitted to
the peripheral device.
The transmit and receive paths are buffered with internal FIFO memories allowing up to 16 bytes to be stored
independently in both transmit and receive modes.
The UART can generate:
• Four individually maskable interrupts from the
receive, transmit and modem status logic blocks
• A single combined interrupt so that the output is
asserted if any of the individual interrupts are
asserted and unmasked.
If a framing, parity or break error occurs durin g
reception, the appropriate error bit is set, and is stored
in the FIFO. If an overrun condition occurs, the overrun
register bit is set immediately and the FIFO data is pr evented from being overwritten. UART1 also supports
IrDA 1.0 (15.2 kbit/s).
The modem status input signals Clear to Send
(CTS), Data Carrier Detect (DCD) and Data Set Ready
(DSR) are supported on UART2 and UART3.
Timers
Two identical timers are integrated in the LH7A400.
Each of these timers has an associated 16-bit read/write
data register and a control register. Each timer is loaded
with the value written to the data register immediately,
this value will then be decremented on the next active
clock edge to arrive after the write. When the timer
underflows, it will immediately assert its appropriate
interrupt. The timers can be read at any time. The clock
source and mode is selectable by writing to various bits
in the system control register. Clock sources are
508 kHz and 2 kHz.
Timer 3 (TC3) has the same basic operation, but is
clocked from a single 7.3728 MHz source. It has the
same register arrangement as Timer 1 and Timer 2, providing a load, value, control and clear register. Once the
timer has been enabled and is written to, unlike the
Timer 1 and Timer 2, will decrement the timer on the
next rising edge of the 7.3728 MHz clock after the data
register has been updated. All the timers can operate in
two modes, free running mode or pre-scale mode.
FREE-RUNNING MODE
In free-running mode, the timer will wrap around to
0xFFFF when it underflows and continue counting down.
PRE-SCALE MODE
In pre-scale (periodic) mode, the value written to
each timer is automatically re-loaded when the timer
underflows. This mode can be used to produce a programmable frequency to drive the bu zzer or generate a
periodic interrupt.
3212/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Real Time Clock (RTC)
The RTC can be used to provide a basic alarm function or long time-base counter. This is achieved by generating an interrupt signal after counting for a
programmed number of cycles of a real-time clock
input. Counting in one second intervals is achieved by
use of a 1 Hz clock input to the RTC.
Battery Monitor Interface (BMI)
The LH7A400 BMI is a serial communication interface specified for two types of Battery Monitors/Gas
Gauges. The first type employs a single wire interface.
The second interface employs a two-wire multi-master
bus, the Smart Battery System Specification. If both
interfaces are enabled at the same time , the Single
Wire Interface will have priority. A brief overview of
these two interface types are given here.
SINGLE WIRE INTERFACE
The Single Wire Interface performs:
• Serial-to-parallel conversion on data received from
the peripheral device
• Parallel-to-serial conversion on data transmitted to
the peripheral device
• Data packet coding/decoding on data transfers
(incorporating Start/Data/Stop data packets)
The Single Wire interface uses a command-based
protocol, in which the host initiates a data transfer by
sending a WriteData/Command word to the Battery
Monitor. This word will always contain the Command
section, which tells the Single Wire Interface device the
location for the current transaction. The most significant bit of the Command deter mines if the trans action
is Read or Write. In the case of a Write transaction,
then the word will also contain a WriteData section with
the data to be written to the peripheral.
SMART BATTERY INTERFACE
The SMBus Interface performs:
• Serial-to-Parallel conversion on data received from
the peripheral device
• Parallel-to-Serial conversion of data transmitted to
the peripheral device.
The Smart Battery Interface uses a two-wire multimaster bus (the SMBus), meaning that more than one
device capable of controlling the bus can be connected
to it. A master device initiates a bus transfer and provides
the clock signals. A slave device can receive data provided by the master or it can provide data to the master.
Since more than one device may attempt to take control
of the bus as a master, SMBus provides an arbitration
mechanism, by relying on the wired-AND connection of
all SMBus interfaces to the SMBus.
DC-to-DC Converter
The features of the DC-DC Converter interface are:
• Dual drive PWM outputs, with independent closed
loop feedback
• Software programmable configuration of one of 8
output frequencies (each being a fixed divide of the
input clock).
• Software programmable configuration of duty cycle
from 0 to 15/16, in intervals of 1/16.
• Output polarity (for positive or negative voltage generation) is hardware-configured during power-o n
reset via the polarity select inputs
• Each PWM output can be dynamically switched to
one of a pair of preprogrammed frequency/duty
cycle combinations via external pins.
Watchdog Timer (WDT)
The Watchdog Timer provides hardware protection
against malfunctions. It is a programmable timer that is
reset by software at regular intervals. Failure to reset
the timer will cause a FIQ interrupt. Failure to service
the FIQ interrupt will then generate a System Reset.
The WDT features are:
• Driven by the system clock
• 16 programmable time-out per iods: 2
clock cycles
• Generates a system reset (resets LH7A400) or a
FIQ Interrupt whenever a time-out period is reached
• Software enable, lockout, and counter-reset mecha-
nisms add security against inadvertent writes
• Protection mechanism guards against
interrupt-service-failure:
– The first WDT time-out triggers FIQ and asserts
nWDFIQ status flag
– If FIQ service routine fails to clear nWDFIQ, then
the next WDT time-out triggers a System Reset.
16
through 2
31
General Purpose I/O (GPIO)
The LH7A400 GPIO has eight ports, each with a
data register and a data direction register. It also has
added registers including Keyboard Scan, PINMUX,
GPIO Interrupt Enable, INTYPE1/2, GPIOFEOI and
PGHCON.
The data direction register determines whether a
port is configured as an input or an output while the
data register is used to read the value of the GPIO pins.
The GPIO Interrupt Enable, INTYPE1/2, and GPIOFEOI registers are used to control edge-triggered
Interrupts on Port F. The PINMUX register controls
what signals are output of Port D and Port E when they
are set as outputs, while the PGHCON controls the
operations of Port G and H.
Preliminary Data Sheet12/8/03 33
LH7A40032-Bit System-on-Chip
ELECTRICAL SPECIFICATIONS
Absolute Maximum Ratings
PARAMETERMINIMUM MAXIMUM
DC Core Supply Voltage (VDDC)-0.3 V2.4 V
DC I/O Supply Voltage (VDD)
DC Analog Supply Voltage (VDDA)
-0.3 V
-0.3 V
4.6 V
2.4 V
Storage Temperature-55°C125°C
NOTE: These ratings are only for transient conditions. Operation at
or beyond absolute maximum rating conditions may affect
reliability and cause permanent damage to the device.
Recommended Operating Conditions
PARAMETERMINIMUM TYPICAL MAXIMUMNOTES
DC Core Supply Voltage (VDDC)1.62 V1.8 V1.98 V1
DC I/O Supply Voltage (VDD)3.0 V3.3 V3.6 V2
DC Analog Supply Voltage for PLLs (VDDA)1.62 V1.8 V1.98 V
Clock Frequency (Commercial)10 MHz200 MHz3, 4, 5
Clock Frequency (Industrial)10 MHz195 MHz3, 4, 5
Operating Temperature (Commercial)0°C25°C70°C
Operating Temperature (Industrial)-40°C25°C+85°C
NOTES:
1. Core Voltage should never exceed I/O Voltage.
2. USB is not functional below 3.0 V.
3. Using 14.756 MHz Main Oscillator Crystal and 32.768 kHz RTC Oscillator Crystal.
4. VDDC = 1.62 V to 1.98 V.
5. VDD = 3.0 V to 3.6 V.
3412/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
DC/AC SPECIFICATIONS
(COMMERCIAL AND INDUSTRIAL)
Unless otherwise noted, all data provided under
commercial DC/AC specifications are based on -40°C
to +85°C, VDDC = 1.62 V to 1.98 V, VDD = 3.0 V to
3.6 V, VDDA = 1.62 V to 1.98 V.
DC Specifications
SYMBOLPARAMETERMIN. TYP. MAX. UNITCONDITIONSNOTES
VIHCMOS and Schmitt Trigger Input HIGH Voltage2.0V
VILCMOS and Schmitt Trigger Input LOW Voltage0.8V
VHSTSchmitt Trigger Hysteresis0.25VVIL to VIH
CMOS Output HIGH Voltage, Output Drive 12.6VIOH = -2 mA
VOH
VOL
IINInpu t Leakage Current-1010µAVIN = VDD or GND
IOZOutput Tri-state Leakage Current-1010µAVOUT = VDD or GND
ISTARTUP Startup Current50µA2
CINInput Capacitance4pF
COUTOutput Capacitance4pF
Output Drive 22.6VIOH = -4 mA
Output Drive 32.6VIOH = -8 mA
Output Drive 4 and 52.6VIOH = -12 mA1
CMOS Output LOW Voltage, Output Drive 10.4VIOL = 2 mA
Output Drive 20.4VIOL = 4 mA
Output Drive 30.4VIOL = 8 mA
Output Drive 40.4VIOL = 12 mA
Output Drive 50.4VIOL = 20 mA1
NOTES:
1. Output Drive 5 can sink 20 mA of current, but sources 12 mA of current.
2. Current consumption until oscillators are stabilized.
AC Test Conditions
PARAMETERRATINGUNIT
DC I/O Supply Voltage (VDD)3.0 to 3.6V
DC Core Supply Voltage (VDDC)1.62 to 1.98V
Input Pulse LevelsVSS to 3V
Input Rise and Fall Times2ns
Input and Output Timing Reference LevelsVDD/2V
Preliminary Data Sheet12/8/03 35
LH7A40032-Bit System-on-Chip
CURRENT CONSUMPTION BY OPERATING MODE
Current consumption can depend on a number of
parameters. To make this data more usable, the values
presented in Table 7 were derived under th e conditions
presented here.
Maximum Specified Value
The values specified in the MAXIMUM column were
determined using these operating cha ra ct er istics:
• All IP blocks either operating or enabled at maximum
frequency and size configuration
• Core operating at maximum power configuration
• All voltages at maximum specified values
• Maximum specified ambient temperature.
Typical
The values in the TYPICAL column were determined
using a ‘typical’ application under ‘typical’ environmental
conditions and the following operating characteristics:
In addition to the modal current consumption, Table
8 shows the typical current consumption for each of the
on-board peripheral blocks. The values were determined with the peripheral clock running at maximum
frequency, typical conditions, and no I/O loads. This
current is supplied by the 1.8 V power supply.
Table 8. Peripheral Current Consumption
PERIPHERALTYPICALUNITS
AC971.3mA
UART (each)1.0mA
RTC0.005mA
Timers (each)0.1mA
LCD (+I/O)5.4 (1.0)mA
MMC0.6mA
SCI23mA
PWM (each)<0.1mA
BMI-SWI1.0mA
BMI-SBus1.0mA
SDRAM (+I/O)1.5 (14.8)mA
USB (+PLL)5.6 (3.3)mA
ACI0.8mA
Table 7. Current Consumption by Mode
SYMBOLPARAMETERTYP. MAX. UNITS
ACTIVE MODE
ICORECurrent drawn by core132180mA
IIOCurrent drawn by I/O1558mA
HALT MODE (ALL PERIPHERALS DISABLED)
ICORECurrent drawn by core4044mA
IIOCurrent drawn by I/O11mA
STANDBY MODE (TYPICAL CONDITIONS ONLY)
ICORECurrent drawn by core38µA
IIOCurrent drawn by I/O4µA
3612/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
AC Specifications
All signals described in Table 9 relate to transitions after a reference clock signal. The illustration in
Figure 6 represents all cases of these sets of measurement parameters.
The reference clock signals in this design are:
• HCLK, internal System Bus clock (‘C’ in timing data)
• PCLK, Peripheral Bus clock
• SSPCLK, Synchronous Serial Port clock
• UARTCLK, UART Interface clock
• LCDDCLK, LCD Data clock from the
LCD Controller
• ACBITCLK, AC97 clock
• SCLK, Synchronous Memory clock.
All signal transitions are measured from the 50%
point of the clock to the 50% point of the sig nal.
REFERENCE
CLOCK
tOVXXX
For outputs from the LH7A400, tOVXXX (e.g. tOVA)
represents the amount of time for the outpu t to become
valid from a valid address bus, or rising edge of the
peripheral clock. Maximum requirements for tOVXXX
are shown in Table 9.
The signal tOHXXX (e.g. tOHA) represents the
amount of time the output will be held valid from the valid
address bus, or rising edge of the peripheral clock. Minimum requirements for tOHXXX are listed in Table 9.
For Inputs, tISXXX (e.g. tISD) represents the amount
of time the input signal must be valid after a valid
address bus, or rising edge of the peripheral clock. Maximum requirements for tISXXX are shown in Table 9.
The signal tIHXXX (e.g. tIHD) represents the
amount of time the output must be held valid from the
valid address bus, or rising edge of the peripheral
clock. Minimum requirements are shown in Table 9.
tOHXXX
OUTPUT
SIGNAL (O)
INPUT
SIGNAL (I)
tISXXX tIHXXX
7A400-28
Figure 6. LH7A400 Signal Timing
Preliminary Data Sheet12/8/03 37
LH7A40032-Bit System-on-Chip
Table 9. AC Signal Characteristics
SIGNALTYPELOADSYMBOLMIN.MAX.DESCRIPTION
ASYNCHRONOUS MEMORY INTERFACE SIGNALS (+ wait states × C)
tISDAT 5 nsMMC Data Setup
tIHDAT 5 nsMMC Data Hold
tISCMD5 nsMMC Command Setup
tIHCMD5 nsMMC Command Hold
AC97 INTERFACE SIGNALS
tOVAC9715 nsAC97 Output Valid/Sync Valid
tOHAC9710 nsAC97 Output Hold/Sync Hold
tISAC9710 nsAC97 Input Setup
tIHAC972.5 nsAC97 Input Hold
SYNCHRONOUS SERIAL PORT (SSP)
AUDIO CODEC INTERFACE (ACI)
tOSTBDTBD
tOHTBDTBDACOUT Hold
tISTBDTBDACIN Setup
tIHTBDTBDACIN Hold
ACOUT delay from rising clock
edge
NOTES:
1. ‘nC’ in the MIN./MAX. columns indicates the number of system clock (HCLK) periods after valid address.
2. For Output Drive strength specifications, refer to Table 1.
Preliminary Data Sheet12/8/03 39
LH7A40032-Bit System-on-Chip
SMC Waveforms
Figure 7 shows the waveform and timing for an
External Asynchronous Memory Write. Note that the
deassertion of nWE can preceed the deassertion of
01234
HCLK
(See Note 2)
A[27:0]
(See Note 1)
D[31:0]
nCSx, CSx
nWE[3:0]
NOTES:
1. A[24:0] when SCI used.
2. HCLK is an internal signal, shown for reference only.
tOVD
DATA
tOHD
tOVCSW
tOHCS
tOVWE
tOHWE
Figure 7. External Asynchronous Memory Write
nCS by a maximum of one HCLK, or at minimum, can
coincide (see Table 9). Figure 8 shows the waveform
and timing for an External Asynchronous Memory
Read, with one Wait State.
ADDRESS
tOHWECS
LH7A400-20
0123
HCLK
(See Note)
A[25:0]
D[31:0]
tOVCSR
nCSx, CSx
NOTE: HCLK is an internal signal, shown for reference only.
nOE
tOVOE
Figure 8. External Asynchronous Memory Read
ADDRESS
tISD
DATA
tIHD
tOHCS
tOHOE
LH7A400-21
4012/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Synchronous Memory Controller Waveforms
Figure 9 shows the waveform and timing for a Synchronous Burst Read (page already open). Figure 10
shows the waveform and timing for Synchronous memory to Activate a Bank and Write.
t
SCLK
SCLK
t
OHXXX
t
OVXXX
tOVA
READ
BANK,
COLUMN
t
OVA
SDRAMcmd
nDQM
SA[13:0],
SB[1:0]
D[31:0]
NOTES:
1. SDRAMcmd is the combination of nRAS, nCAS, nSWE, and nSCSx.
2. tOVXXX represents tOVRA, tOVCA, tOVSVW, or tOVSC.
3. tOHXXX represents tOHRA, tOHCA, tOHSVW, or tOHSC.
4. DQM[3:0] is static LOW.
5. SCKE is static HIGH.
Figure 9. Synchronous Burst Read
tSCLK
SCLK
tOVC
tISD tIHD
DATA n
DATA n + 1
DATA n + 2
DATA n + 3
LH7A400-23
SCKE
tOVXXX
SDRAMcmd
tOHXXX
ACTIVEWRITE
tOVA
SA[13:0],
SB[1:0]
BANK,
ROW
BANK,
COLUMN
tOVA
D[31:0]
DATA
tOVD
NOTES:
tOHD
1. SDRAMcmd is the combination of nRAS, nCAS, nSWE, and nSCSx.
2. tOVXXX represents tOVRA, tOVCA, tOVSVW, or tOVSC. Refer to the AC timing table.
3. tOHXXX represents tOHRA, tOHCA, tOHSVW, or tOHSC.
4. DQM[3:0] is static LOW.
LH7A400-24
Figure 10. Synchronous Bank Activate and Write
Preliminary Data Sheet12/8/03 41
LH7A40032-Bit System-on-Chip
PC Card (PCMCIA) Waveforms
Figure 11 shows the waveforms and timing for a
PCMCIA Read Transfer, Figure 12 shows the waveforms and timing for a PCMCIA Write Transfer.
HCLK
A[25:0]
nPCREG
nPCCEx
(See Note 2)
PCDIR
D[15:0]
tOVDREG
tOVCEx
tOVPCD
tISD
PRECHARGE
TIME
(See Note 1)
ADDRESS
tOHDREG
tOHCEx
DATA
tIHD
ACCESS
TIME
(See Note 1)
HOLD
TIME
(See Note 1)
nPCOE
NOTES:
1. Precharge time, access time, and hold
time are programmable wait-state times.
2.
nPCCE1
nPCCE2
0
0
1
1
TRANSFER TYPE
0
Common Memory
1
Attribute Memory
0
1
I/O
None
tOVOE
tOHOE
LH7A400-11
Figure 11. PCMCIA Read Transfer
4212/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
HCLK
A[25:0]
nPCREG
nPCCEx
(See Note 2)
PCDIR
D[15:0]
tOVDREG
tOVCEx
tOVPCD
tOVD
PRECHARGE
TIME
(See Note 1)
ADDRESS
tOHDREG
tOHCEx
DATA
tOHD
ACCESS
TIME
(See Note 1)
HOLD
TIME
(See Note 1)
nPCWE
NOTES:
1. Precharge time, access time, and hold
time are programmable wait-state times.
2.
nPCCE1
nPCCE2
0
0
1
1
TRANSFER TYPE
0
Common Memory
1
Attribute Memory
0
1
I/O
None
tOVWE
tOHWE
LH7A400-12
Figure 12. PCMCIA Write Transfer
Preliminary Data Sheet12/8/03 43
LH7A40032-Bit System-on-Chip
MMC Interface Waveforms
Figure 13 shows the waveforms and timing for an
MMC command or data Write, and Figure 14 shows
the waveforms and timing for an MMC command or
data Read.
MMCCLK
MMCCMD
tOVCMD
MMCDAT
tOVDATtOHDAT
Figure 13. MMC Command/Data Write
MMCCLK
AC97 Interface Waveforms
Figure 15 shows the waveforms and timing for the
AC97 interface Data Setup and Hold.
tOHCMD
LH7A400-14
MMCCMD
MMCDAT
ACBITCLK
ACOUT/ACSYNC
ACIN
tISCMD
tISDAT tIHDAT
tIHCMD
Figure 14. MMC Command/Data Read
tACBITCLK
tOVAC97
tISAC97 tIHAC97
tOHAC97
Figure 15. AC97 Data Setup and Hold
LH7A400-15
LH7A400-16
4412/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Audio Codec Interface Waveforms
Figure 16 and Figure 17 show the timing for the
ACI. Transmit data is clocked on the rising edge of
ACBITCLK (whether transmitted by the LH7A404 ACI
ACBITCLK
ACSYNC/ACOUT
ACIN
Figure 16. ACI Signal Timing
or by the external codec chip); receive data is clocked
on the falling edge. This allows full-speed, full duplex
operation.
tOS
tOH
tIS tIH
LH7A400-169
ACBITCLK
ACSYNC
ACIN/ACOUT
76BIT54321076
ACIN/ACOUT
SAMPLED ON
FALLING EDGE
LH7A400-181
Figure 17. ACI Datastream
Preliminary Data Sheet12/8/03 45
LH7A40032-Bit System-on-Chip
Clock and State Controller (CSC)
Waveforms
Figure 18 shows the behavior of the LH7A400 when
coming out of Reset or Power On. Figure 19 shows external reset timing, and Table 10 gives the timing parameters. Figure 20 depicts signal timing following a Reset.
Figure 21 shows the recommended components for
the SHARP LH7A400 32.768 kHz external oscillator
circuit. Figure 22 shows the same for the 14.7456 MHz
external oscillator circuit. In both figures, the NAND
gate represents the internal logic of the chip.
Table 10. Reset AC Timing
PARAMETERDESCRIPTIONMIN. MAX.UNIT
tOSC3232 kHz Oscillator Stabilization Time after Power On*550ms
tPORHnPOR Hold Time after tOSC320ms
tOSC1414.7456 MHz Oscillator Stabilization Time after Wake UP4ms
tPLLLPhase Locked Loop Lockup Time250µs
tURESET/tPWRFLnURESET/nPWRFL Pulse Width (once sampled LOW)2System Clock Cycles
NOTE: *VDDC = VDDCmin
VDDCmin
VDDC
XTAL32
XTAL14
nPOR
nURESET
nPWRFL
tOSC32
tPORH
tOSC14
LH7A400-25
Figure 18. Oscillator Start-up
tURESET
tPWRFL
LH7A400-26
Figure 19. External Reset
4612/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
WAKEUP
(asynchronous)
≤ 7.8125 ms
CLKEN
7.8125 ms
HCLK
Figure 20. Signal Timing After Reset
INTERNAL TO
THE LH7A400
EXTERNAL TO
THE LH7A400
START UP
ENABLE
XTALINXTALOUT
Y1
32.768 kHz
R1
18 MΩ
C1
15 pF
GND
STABLE CLOCK
LH7A400-175
C2
18 pF
GND
NOTES:
1. Y1 is a parallel-resonant type crystal. (See table)
2. The nominal values for C1 and C2 shown are for
a crystal specified at 12.5 pF load capacitance (CL).
3. The values for C1 and C2 are dependent upon
the cystal's specified load capacitance and PCB
stray capacitance.
4. R1 must be in the circuit.
5. Ground connections should be short and return
to the ground plane which is connected to the
processor's core ground pins.
Figure 22. 14.7456 MHz External Oscillator Components and Schematic
4812/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
Printed Circuit Board Layout Practices
LH7A400 POWER SUPPLY DECOUPLING
The LH7A400 has separate power and ground pins
for different internal circuitry se ctions. The VDD and
VSS pins supply power to I/O buffers, while VDDC and
VSSC supply power to the core logic, and VDDA/VSSA
supply analog power to the PLLs.
Each of the VDD and VDDC pins must be provided
with a low impedance path to the corresponding board
power supply. Likewise, the VSS and VSSC pins must
be provided with a low impedance path to the board
ground.
Each power supply must be decoupled to ground
using at least one 0.1 µF high frequency capacitor
located as close as possible to a VDDx, VSSx pin pair
on each of the four sides of the chip. If room on the circuit board allows, add one 0.01 µF h igh frequency
capacitor near each VDDx, VSSx pair on the chip.
To be effective, the capacitor leads and associated
circuit board traces connecting to the chip VDDx, VSSx
pins must be kept to less than half an inch (12.7 mm)
per capacitor lead. There must be one bulk 10 µF
capacitor for each power supply placed near one side
of the chip.
REQUIRED LH7A400 PLL, VDDA, VSSA FILTER
The VDDA pins supplies power to the chip PLL circuitry. VSSA is the ground return path for the PLL circuit. These pins must have a low-pass filter attached as
shown in Figure 23.
The Schottky diode shown in the schematic must
have a low forward drop specification to allow VDDA to
quickly transition through the entire input voltage range.
The power pin VDDA path must be a single wire
from the IC package pin to the high frequency capacitor, then to the low frequency capacitor, and finally
through the series resistor to the board power supply.
The distance from the IC pin to the high frequency
capacitor must be kept as short as possible.
Similarly, the VSSA path is from the IC pin to the
high frequency capacitor, then to the low frequency
capacitor, keeping the distance from the IC pin to the
high frequency cap as short as possible.
CAUTION
Note that the VSSA pin specifically does not have a connection to the circuit board ground. The LH7A400 PLL circuit has
an internal DC ground connection to VSS (GND), so the external VSSA pin must NOT be connected to the circuit board
ground, but only to the filter components.
VDDC
(SOURCE)
100 Ω
22 µF
+
0.1 µF
VDDC
LH7A400
VDDA
VSSA
LH7A400-189
Figure 23. VDDA, VSSA Filter Circuit
UNUSED INPUT SIGNAL CONDITIONING
Floating input signals can cause excessive power
consumption. Unused inputs without internal pull-up or
pull-down resistors should be pulled up or down externally, to tie the signal to its inactive state.
Some GPIO signals may default to inputs. If the pins
that carry these signals are unused, software can program these signals as outputs, eliminating the need for
pull-ups or pull-downs. Power consumption may be
higher than expected until software completes programming the GPIO. Some LH7A400 inputs have in ternal pull-ups or pull-downs. If unused, these inputs do
not require external conditioning.
OTHER CIRCUIT BOARD LAYOUT PRACTICES
All outputs have fast rise and fall times. Printed circuit trace interconnection length must therefore be
reduced to minimize overshoot, undershoot and reflections caused by transmission line effects of these fast
output switching times. This recommendation particularly applies to the address and data buses.
When considering capacitance, calculations must
consider all device loads and capacitances due to the
circuit board traces. Capacitance due to the traces will
depend upon a number of factors, including the trace
width, dielectric material the circuit board is made from
and proximity to ground and power planes.
Attention to power supply decoupling and printed circuit board layout becomes more critical in systems with
higher capacitive loads. As these capacitive loads
increase, transient currents in the power supply and
ground return paths also increase.
Preliminary Data Sheet12/8/03 49
LH7A40032-Bit System-on-Chip
PACKAGE SPECIFICATIONS
256-BALL PBGA
TOP VIEW
A1 BALL
PAD
CORNER
2.90
A1 BALL PAD
INDICATOR, 1.0 DIA.
AVAILABLE
MARKING
AREA
˚ CHAMFER
45
4 PLACES
BOTT OM VIEW
(256 solder balls)
17.00
15.00
6.00
2.90
11.64 MAX.
16
14 12 10 8642
15 13 11 9753
1.00
1.00 REF.
+0.70
-0.05
A1 BALL
PAD CORNER
A
6.00
1.21 TYP.
1
A
B
C
D
E
F
G
H
J
K
L
M
N
P
R
T
1.21 TYP.
(4X)0.20
-0.05
+0.70
11.64 MAX.
15.00
SIDE VIEW
17.00
30˚
TYP.
B
C0.35
C0.25
C0.15
C
+0.10
φ0.50
-0.10
φ0.30 M
φ0.10 M
SEATING PLANE
CACB
1.00 REF.
0.50 R, 3 PLACES
NOTE: Dimensions in mm.
1.00
0.80 ±0.05
1.76 ±0.21
0.40 ±0.10
1.56 ±0.06
256PBGA
Figure 24. 256-Ball PBGA Package Specification
5012/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
256-BALL CABGA
(4X)0.10
TOP VIEW
A1 BALL
PAD CORNER
BOTT OM VIEW
(256 solder balls)
1.0
14 12 10 8166
15 13 11 9753
0.80
14.00
A
B
14.00
C0.10
C0.12
2
4
1
A
B
C
D
E
F
G
H
J
K
L
M
N
P
R
T
SIDE VIEW
C
φ0.46 TYP.
φ0.15 M
φ0.08 M
6
SEATING PLANE
C5ACB
1.0
0.80
0.36 ±0.04
0.70 ±0.05
1.70 MAX.
NOTE: Dimensions in mm.
256CABGA
Figure 25. 256-Ball CABGA Package Specification
Preliminary Data Sheet12/8/03 51
LH7A40032-Bit System-on-Chip
ORDERING INFORMATION
Table 11. Ordering Information
PART NUMBERPACKAGE
LH7A400N0B000PBGA
LH7A400N0E000CABGA
LH7A400N0C000*Scribed Die
LH7A400N0W000*Probed Wafer
NOTE: *Requires Factory Approval.
SPEED (MHz)
AT TEMP. (°C)
200 at 0+70
195 at -40+85
200 at 0+70
195 at -40+85
200 at 0+70
195 at -40+85
200 at 0+70
195 at -40+85
CONTENT REVISIONS
This document contains the following changes to
content, causing it to differ from previous versions.
Table 12. Record of Revisions
DATE
8-19-2003
11-15-03
PAGE
NO.
3-11Table 1
12Table 3Signal ordering corrected
12-18 Table 4Table title added to differentiate between PBGA and CABGA packages
18-24 Table 5CABGA numerical pin list table added
39Figure 7 and Figure 8 ‘CSx’ added to figures
41-42 Figures 11 and 12PCDIR signal corrected in PCMCIA timing diagrams
44
45-47
49Figure 23Figure added for CABGA package
34
37-38 Table 9Minor corrections to type.
39Table 9Added ACI timing.
49Figure 24PBGA package drawing adde d.
51Table 11Added ordering information
PARAGRAPH OR
ILLUSTRATION
1Features256-ball CABGA package added
CABGA Pins added; VDDA1/VDDA2 combined to VDDA; VSSA1/VSSA2
combined to VSSA
Table 10 and
Figure 16
Figures 19-21 and
Printed Circuit Board
Layout Practices
1Text
2Figure 1Updated to show ALI Interface
‘Recommended
Operating Conditions’
tOSC14 added to both table and figure; XTAL14 added to figure;
tPLLL added to table
Figures and text added
Corrected minor text errors; added separate Commercial and Industrial
temperature specification.
Broke out “Commercial” and “Industrial” speed ranges.
SUMMARY OF CHANGES
5212/8/03Preliminary Data Sheet
32-Bit System-on-ChipLH7A400
SPECIFICATIONS ARE SUBJECT TO CHANGE WITHOUT NOTICE.
Suggested applications (if any) are for standard use; See Important Restrictions for limitations on special applications. See Limited
Warranty for SHARP’s product warranty. The Limited Warranty is in lieu, and exclusive of, all other warranties, express or implied.
ALL EXPRESS AND IMPLIED WARRANTIES, INCLUDING THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR USE AND
FITNESS FOR A PARTICULAR PURPOSE, ARE SPECIFICALLY EXCLUDED. In no event will SHARP be liable, or in any way responsible,
for any incidental or consequential economic or property damage.
NORTH AMERICA
SHARP Microelectronics of the Americas
5700 NW Pacific Rim Blvd.
Camas, WA 98607, U.S.A.
Phone: (1) 360-834-2500
Fax: (1) 360-834-8903
www.sharpsma.com
TAIWAN
SHARP Electronic Components
(Taiwan) Corporation
8F-A, No. 16, Sec. 4, Nanking E. Rd.
Taipei, Taiwan, Republic of China
Phone: (886) 2-2577-7341
Fax: (886) 2-2577-7326/2-2577-7328
CHINA
SHARP Microelectronics of China
(Shanghai) Co., Ltd.
28 Xin Jin Qiao Road King Tower 16F
Pudong Shanghai, 201206 P.R. China
Phone: (86) 21-5854-7710/21-5834-6056
Fax: (86) 21-5854-4340/21-5834-6057
Head Office:
No. 360, Bashen Road,
Xin Development Bldg. 22
Waigaoqiao Free Trade Zone Shanghai
200131 P.R. China
Email: smc@china.global.sharp.co.jp