The ST40RA is the first member of the ST40 family. Based
on the SH-4, SuperH CPU core from SuperH Inc, the
ST40RA is designed to work as a standalone device, or as
part of a two chip solution for application specific systems.
Example applications the ST40RA is designed for include
digital consumer, embedded communications, industrial
and automotive. The high connectivity of the ST40 through
its PCI bus and its dual memory uses makes it a versatile
device, ideal for data-intensive and high performance
applications.
System features
■ 32-bit SuperH CPU
● 64-bit hardware FPU (1.16 GFLOPS)
● 128-bit vector unit for matrix manipulations
● up to 200MHz, 360 MIPS (DMIPS 1.1)
● Up to 664 Mbytes/s CPU bandwidth
● Direct mapped, on-chip, ICache (8 Kbytes) and DCache
(16 Kbytes)
■ High-performance 5-channel DMA engine,
supporting 1D or 2D block moves and linked lists
■ SuperHyway internal interconnect
● High throughput, low latency, split transaction packet
router
2 channel
control
32 data
MPX
Coprocessor
Flash
Peripherals
ST40 Local Memory I/F
5 channel
DMA
controller
EMI
■ Memory protection and VM system support
● 64-entry unified TLB, 4-entry instruction TLB
● 4 Gbytes address space
■ Standard ST40 peripherals
● 2 synchronous serial ports with FIFO (SCIF)
● Timers and a real-time clock
IO devices
● Mailbox register for interprocessor communication
● Additional PIO
Bus interfaces
■ Local memory interface SDRAM & DDR SDRAM
● Up to 100 MHz (1.6 Gbytes/s peak throughput)
■ PCI interface - 32-bit, 66/33 MHz, 3.3 V
■ Enhanced memory interface (EMI)
● 32-bit bus, up to 83 MHz, for attaching peripherals
This detail is included for information only. It is not recommended to write to any of these registers,
without prior consultation from ST, as it could cause the device to malfunction.
ST only guarantees correct operation of the device with the default register values. The register
reset default values have been programmed to balance the system and give optimum system
performance, so there is no need to modify them.
For details of other registers see the ST40 System Architecture Manual.
The internal architecture of the block is shown in Figure 1.
Figure 1: ST40RA interconnect architecture
ST40 core
PCI
(t)
GPDMA
T3
32
PCI
100 MHz
SH4 subsystem
f_conv
CPU subsystem
100 MHz
Node 1
64-bit
full
cross bar
conn_2 x 2
64/32
T3/T3
T3
64
32/64
T3/T3
LMI
CPU P LPUG
Cpu_plug
T3
64
Node 2
T3
T3
32
32
32-bit
EMI
subsystem
T3
T3
32
32/32
32
PI
32
1
T1
T3/T1
PER
sub
T1
32
T3
32
T3
32
Full cross bar
conn_4 x 4
EMPI
T3
SH_PER
PER
32
Programming
Programming
port
port
6/92
A Interconnect architectureST40RA
A.1 Arbitration schemes
A.1.1 PCI arbiter: (CPU, GPDMA, PCI, EMPI)
The default configuration (after reset) for fixed priority mode has to be in the following priority order:
● CPU buffer,
● EMPI,
● GPDMA,
● PCI (PCI master request, although not expected, get served to avoid deadlock).
The priority orders have to be programmable and the latency checking algorithm can be enabled for
GPDMA, PCI, EMPI.
A.1.2 EMI arbiter: (CPU buffer, GPDMA, PCI, EMPI)
The default configuration (after reset) for fixed priority mode has to be in the following priority order:
● CPU buffer,
● PCI,
● EMPI,
● GPDMA.
The priority order have to be programmable and the latency checking algorithm can be enabled for
GPDMA, PCI, EMPI.
A.1.3 LMI 1 arbiter: (CPU, GPDMA, PCI, EMPI)
The default configuration (after reset) as to be to work fixed priority mode in the following priority
order:
● CPU,
● GPDMA and PCI buffer.
The priority orders have to be programmable and the latency checking algorithm can be enabled for
GPDMA, PCI, EMPI.
A.1.4 PER arbiter: (CPU, GPDMA, PCI, EMPI)
The default configuration (after reset) as to be to work fixed priority mode in the following priority
order:
● CPU buffer,
● PCI,
● EMPI,
● GPDMA.
The priority order have to be programmable and the latency checking algorithm can be enabled for
GPDMA, PCI, EMPI.
7/92
ST40RAA Interconnect architecture
A.1.5 LMI2 arbiter: (CPU, GPDMA, PCI, EMPI)
The default configuration (after reset) as to be to work fixed priority mode in the following priority
order:
● PCI,
● EMPI,
● GPDMA,
● CPU buffer (although the CPU requests are not supposed to go in that node to be send in the
LMI, it has to be managed in order to avoid deadlock).
The priority order have to be programmable and the latency checking algorithm can be enabled for
GPDMA, PCI, EMPI.
A.1.6 Return arbitration
The possibilities of the return arbitration are simpler than for the request arbitration. The arbiter is
not programmable but a specific arbitration can be chosen when implementing it.
The arbitration mode chosen is the fixed priority. For each arbiter (one per initiator), the order is the
following: LMI then other targets for the arbiters in node 1 and LMI, EMI, PCI, peripheral subsystem
for the arbiters of node 2.
A.2 Interconnect registers
A summary of registers is given in Ta bl e 1 . Addresses in the table are offset from the interconnect
base address at 0x1B05 0000.
Address
offset
0x010LATENCY_LMI1_ENABLEEnables or disables initiators latency counters, see LMI1 arbiter on page 9
0x018LMI1_CPU_PRIDefines priority for the CPU in the LMI1 arbiter, see LMI1 arbiter on page 9
0x020LATENCY_LMI1_VALUEDefines priority and latency value for the node 2 in the LMI1 arbiter, see
0x110LATENCY_LMI2_ENABLEEnables or disables initiators latency counters, see LMI2 arbiter on page 10
0x118LMI2_CPU_PRIDefines priority for the CPU in the LMI2 arbiter, see LMI2 arbiter on page 10
0x120LMI2_LATENCY_PCIDefines priority and latency value for PCI initiator in the PCI arbiter, see
0x128LMI2_LATENCY_EMPIDefines priority and latency value for EMPI initiator in the PCI arbiter, see
0x130LMI2_LATENCY_GPDMADefines priority and latency value for GPDMA initiator in the PCI arbiter, see
NameFunction
Table 1: Interconnect register summary
LMI1 arbiter on page 9
LMI2 arbiter on page 10
LMI2 arbiter on page 10
LMI2 arbiter on page 10
0x210LATENCY_EMI_ENABLEEnables or disables initiators latency counters, see EMI arbiter on page 11
0x218EMI_CPU_PRIDefines priority for the CPU in the EMI arbiter, see EMI arbiter on page 11
0x220EMI_LATENCY_PCIDefines priority and latency value for PCI initiator in the EMI arbiter, see
EMI arbiter on page 11
0x228EMI_LATENCY_EMPIDefines priority and latency value for EMPI initiator in the EMI arbiter, see
EMI arbiter on page 11
8/92
A Interconnect architectureST40RA
Table 1: Interconnect register summary
Address
offset
0x230EMI_LATENCY_GPDMADefines priority and latency value for GPDMA initiator in the EMI arbiter,
0x310LATENCY_PCI_ENABLEEnables or disables initiators latency counters, see PCI arbiter on page 12
0x318PCI_CPU_PRIDefines priority for the CPU in the PCI arbiter, see PCI arbiter on page 12
0x320PCI_LATENCY_PCIDefines priority and latency value for PCI initiator in the PCI arbiter, see PCI
0x328PCI_LATENCY_EMPIDefines priority and latency value for EMPI initiator in the PCI arbiter, see
0x330PCI_LATENCY_GPDMADefines priority and latency value for GPDMA initiator in the PCI arbiter, see
0x410LATENCY_PER_ENABLEEnables or disables initiators latency counters, see Peripheral arbiter on
0x418PER_CPU_PRIDefines priority for the CPU in the peripheral arbiter, see Peripheral arbiter
0x420PER_LATENCY_PCIDefines priority and latency value for PCI initiator in the peripheral arbiter,
0x428PER_LATENCY_EMPIDefines priority and latency value for EMPI initiator in the peripheral arbiter,
NameFunction
see EMI arbiter on page 11
arbiter on page 12
PCI arbiter on page 12
PCI arbiter on page 12
page 13
on page 13
see Peripheral arbiter on page 13
see Peripheral arbiter on page 13
0x430PER_LATENCY_GPDMADefines priority and latency value for GPDMA initiator in the peripheral
Peripheral arbiter: PCI intitiator priority and latency
Reset: 0x2
13/92
0x420
RW
ST40RAA Interconnect architecture
PER_LATENCY_PCI
[23:16]PCI_LATENCYDefines maximum accepted latency for PCI
[31:24]Reserved
PER_LATENCY_EMPI
[3:0]EMPI_PRIORITYDefines priority for EMPI
[15:4]Reserved
[23:16]EMPI_LATENCYDefines maximum accepted latency for EMPI
[31:24]Reserved
PER_LATENCY_GPDMA
Peripheral arbiter: PCI intitiator priority and latency
Reset: 0x00
Peripheral arbiter: EMPI intitiator priority and
latency
Reset: 0x1
Reset: 0x00
Peripheral arbiter: GPDMA intitiator priority and
latency
0x420
RW
0x428
RW
RW
0x430
[3:0]GPDMA_PRIORITYDefines priority for GPDMA
Reset: 0x0
[15:4]Reserved
[23:16]GPDMA_LATENCYDefines maximum accepted latency for GPDMA
Reset: 0x00
[31:24]Reserved
RW
RW
14/92
B Implementation restrictionsST40RA
B Implementation restrictions
B.1 ST40 CPU
B.1.1 tas.b
The atomicity of the tas.b instruction is only guaranteed for processes executing on the ST40 CPU
core and should not be used to implement intermodule or interchip semaphores. Either use the
mailbox functionality or an appropriate software algorithm for such semaphores.
B.1.2 Store queue power-down
The store queue is considered part of the general CPU and independent power-down of this block
is not implemented.
B.1.3 UBC power-down
The UBC is considered part of the general CPU and independent power-down of this block is not
implemented.
B.1.4 System standby
To enter and leave standby it is necessary for the CPU to power down the system including memory
devices and then to enter standby by executing a sleep instruction. On leaving sleep and standby, it
may be necessary for the CPU to power itself up and subsequently power up the system and its
memory devices.
During the power-down and power-up sequences the main memory devices are not available. The
CPU therefore preloads the appropriate code into the cache as part of the power sequencing.
B.2 PCI
B.2.1 Clocking
PCI internal clock loop back is not implemented. To use the internal PCI clock, the pads
PCICLOCKOUT and PCICLOCKIN are connected to rollback the clock generator. Alternatively an
external clock source may be used.
B.2.2 Type 2 configuration accesses
Configuration space accesses to devices across a PCI bridge are implemented as type 2
operations on the PCI bus. In this implementation such accesses must be broken into a sequence of
byte operations. For example, access to a 32-bit register is through four single byte operations.
B.2.3 Software visible changes between STB1HC7 and ST40RAH8D
PCI PLL reprogramming required for H7 parts is no longer required for H8.
The PCI PLL register is renamed from PLLPCICR to CLKGENA.PLL2CR.
The register implementation for PCI MBAR mappings has changed between the STB1HC7 and
ST40RAH8D implementations and software device drivers should reflect this.
B.2.4 Error behavior
The implementation of local (PCI register) error handling is not fully implemented.
15/92
ST40RAB Implementation restrictions
B.2.5 Master abort
When operating as a bus master, the PCI module is not guaranteed to have the value 0xFFFF FFFF
following a master abort of a read cycle. The master abort may be detected using either the PCI
module status and interrupt information supplied by the module.
MPX operations using the ST40RA as the target which lead to burst requests to memory (Read
ahead, 8-, 16- and 32-byte read operations) have limited support.
MPX operations from the ST40RA as an initiator includes full support for all transfer sizes.
B.3.2 SDRAM initialization during boot from flash
During the SDRAM initialization sequence only internal EMI registers are accessible, it is therefore
necessary to ensure the program required to execute the initialization sequence is placed in an
alternate memory location such as the LMI or preloaded into the cache.
B.3.3 MPX boot
BOOTFROMMPX is not supported on this part.
B.4 Mailbox
B.4.1 Test and set functionality
This is not supported.
B.5 Power down
B.5.1 Module power-down sequencing
Whilst powering down using the associated registers for the ST40RA module, in general, software is
responsible for ensuring the module is in a safe state before requesting module shutdown. For
details refer to the appropriate documentation.
B.5.2 Accesses to modules in power-down state
Once a module is in power-down state, attempts to access that module may lead the system to
hang.
16/92
B Implementation restrictionsST40RA
B.6 PIO
B.6.1 PIO default functionality following reset
In the ST40 family device, the operational modes for these registers differ from the standard
architecture definition and are shown in Tab le 2 .
Table 2: PIO alternate function registers
PIO bit configurationPIO output statePIO.PC2PIO.PC1PIO.PC0
NonPIO function
PIO bidirectionalOpen drain001
PIO outputPush-pull010
PIO bidirectionalOpen drain011
PIO inputHigh impedance100
PIO inputHigh impedance101
Reserved-110
Reserved-111
a
a. State following reset
B.6.2 PCI/PIO alternate functions
The following PIO signals cannot be used when PCI is enabled even if the PCI implementation does
not require the primary pin function.
BPN
Pin name
RowColDefaultAlternateTypeDir
Architecture
signal name
-000
Table 3: PCI/PIO alternate functions
Pin functionPin
NOTPREQ0E18NOTPCI_REQ0PCI external request for busPIO16P8I/OI/O
NOTPREQ1E17NOTPCI_REQ1PCI external request for bus PIO18P8II/O
NOTPREQ2F16NOTPCI_REQ2PCI external request for bus PIO20P8II/O
NOTPREQ3G16NOTPCI_REQ3PCI external request for bus PIO22
If PCI is disabled, the alternate functions may be used.
17/92
EMPIDREQ1
P8II/O
O
ST40RAB Implementation restrictions
B.7 Interconnect
B.7.1 Memory bridge functionality
Ensure there is no traffic passing though the memory bridge when changing frequency.
Semisynchronous modes of operation are not supported.
B.7.2 Clock selection
The alternate CLOCKGENB clock is not supported for the LMI.
B.7.3 Pad drive control
Programmable drive strength control is not supported for DDR operation.
B.8 GPDMA
B.8.1 Linked list support
Decrementing transfers are not supported as part of link list transfer sequences
B.8.2 2-D transfers
2-D transfers fail if the following conditions are met.
1Source or destination length is greater than 64 bytes.
2 Real transfer unit is less then 32 bytes.
3 The expression length = n * 64 + tu is true, where:
➢ length is either SLENGTH or DLENGTH,
➢ tu the real transfer unit of the first access of the second line,
➢ n > 0.
B.8.3 Protocol signals
DACK and DRACK protocol signals have limited support.
18/92
1 Scope of this documentST40RA
1 Scope of this document
This document describes only those areas of the ST40RA that are device specific, for example the
system address map. Information that is generic to the ST40 family of devices is contained in the
ST40 documentation suite.
2 ST40 documentation suite
This document references a number of other generic ST40 documents that combined together form
a complete datasheet.
CPU documentation
The SH-4 CPU core and its instruction set are documented in the SH-4 CPU Core Architecture
Manual.
System documentation
Devices listed in the system address map, Figure 5 on page 26 are documented in the ST40
System Architecture Manual:
● Volume 1: System, details the ST40 CPU and standard peripherals,
● Volume 2: Bus Interfaces, details the standard PCI, LMI and EMI bus interfaces.
The ST40RA combines an SH-4, 32-bit microprocessor with a wide range of interfaces to external
peripherals. This section briefly describes each of the features of the ST40RA.
4.2 ST40 system
4.2.1 SuperH ST40 SH-4 core
Figure 2 illustrates the system architecture of the ST40 SH-4 core. The following section briefly
describes the features and performance of the core.
Figure 2: ST40 SH-4 core architecture
CPU
32-bit data (load)
32-bit add (instruction)
ICache 8 KbytesITLBUTLB
32-bit address (data)
32-bit data (instruction)
32-it data (store)
UBC
Lower 32-bit data
Lower 32-bit data
Cache and TLB
controller
29bit add
32bit data
32bit data
FPU
DCache 16 Kbytes
64-bit data (store)
Upper 32-bit data
Central processing unit
The central processing unit is built around a 32-bit RISC, two-way superscalar architecture.
Operating at 166 MHz it runs with high code density using fixed length 16-bit instructions. It has a
load/store architecture, delayed branch instruction capability and an on-chip multiplier. It uses a fivestage pipeline.
20/92
4 ArchitectureST40RA
Floating point unit/multiply and accumulate
The on-chip, floating point coprocessor executes single precision (32-bit) and double precision
(64-bit) operations. It has a five-stage pipeline and supports IEEE754-compliant data types and
exceptions. It has rounding modes: (round-to-nearest) and (round-to-zero), and handles
denormalized numbers (truncation-to-zero) or interrupt generation for compliance with IEEE754.
The floating point unit performs the following functions:
There is 4 Gbytes virtual address space with 256 address space identifiers (8-bit ASIDs),
supporting single virtual and multiple virtual memory modes. Page sizes are 1 Kbyte, 4 Kbytes, 64
Kbytes or 1 Mbyte. The MMU supports four-entry, fully associative ITLB for instructions and
64-entry fully associative UTLB for instructions and operands. Software-controlled replacement and
random-counter replacement algorithms are also supported. The physical address space is 512
Mbytes (29-bit), see Figure 3: System address organization on page 25.
Cache
8 Kbytes of direct-mapped instruction cache are organized as 256 32-byte lines, and 16 Kbytes of
direct-mapped operand cache are organized as 512 32-byte lines. RAM mode (8-Kbyte cache plus
8-Kbyte RAM) with selectable write method (copy back or write through) is supported. A single
stage buffer for copy-back and a single stage buffer for write-through are available. The cache
contents can be address mapped and there is a 32-byte two-entry store queue.
4.2.2 SuperHyway internal interconnect
The ST40RA uses the SuperHyway memory mapped packet router for on-chip intermodule
communication. The interconnect supports a split transaction system allowing a nonblocking high
throughput, low latency system to be built. There are separate request and response packet routers.
The ST40RA SuperHyway implementation is show in Section 5.8: Memory bridge control on
page 34. The interconnect allows simultaneous requests between multiple modules and is able to
ensure a very high data throughput with in many cases zero routing, arbitration and decode
latencies.
4.2.3 Standard ST40 peripherals
Synchronous serial channel
There are two ST40 compatible full duplex communication channels (SCIF1, SCIF2). Asynchronous
mode is supported. A separate 16-byte FIFO is provided for the transmitter and receiver.
Interrupt controller
The interrupt controller supports all of the on-chip peripheral module interrupts, and five external
interrupts (NMI and IRL0 to IRL3). The priority can be set for each on-chip peripheral module
interrupt. IRL0 to IRL3 are configured as four independent interrupts or encoded to provide 15
external interrupt levels.
21/92
ST40RA4 Architecture
Debug controller
Debugging is performed by break interrupts. There are two break channels. The address, data
value, access type, and data size can all be set as break conditions. Sequential break functions are
supported.
The user debug interface (UDI) contains a five-pin serial interface conforming to JTAG, IEEE
Standard TAP and boundary scan architecture. The interface provides host access to the 1 Kbyte
ASERAM for emulator firmware (accessible only in ASE mode).
Timers
The three-channel, auto-reload, 32-bit timer has an input capture function and a choice of seven
counter input clocks.
Real-time clock
The built-in 32-kHz crystal oscillator has a maximum 1/256 second resolution. It has dynamically
programmable operating frequencies and on-chip clock and calendar functions. It has two sleep
modes and one standby mode.
Watchdog timer
The ST40RA has an 8-bit watchdog timer (WDT) with programmable clock ratio. The WDT is able to
generate a power-on reset or a manual reset.
Programmable PLLs
The ST40RA has three programmable PLLs. The PLLs are configured by MODE pins at reset and
then reconfigured by software to optimize system performance or reduce system power
consumption.
General-purpose DMA controller
The five-channel physical address GPDMA controller has four general-purpose channels for
memory-to-memory or memory-to-peripheral transfers, and one buffered multiplexed channel. Both
2-D block moves and linked lists are supported. Two sets of DMA handshake pins are available for
use by external devices to support efficient transfer interdevice transfers via external interfaces such
as the EMI MPX.
Parallel I/O module
24 bits of parallel I/O are provided from the ST40 compatible PIO. Each bit is programmable as an
output or an input. “Input compare” generates an interrupt on any change of any input bit.
4.3 Bus interfaces
4.3.1 Local memory interface
The LMI supports 16-, 32- and 64-bit wide bus SDRAM and DDR SDRAM, at up to 100 MHz with a
maximum address space of 112 Mbytes. Devices supported include two and four bank 16-, 64-,
128- and 256-Mbit technologies in x4, x8, x16 and x32 packages. The LMI pads are dual mode
pads electrically compatible with LVTTL (for standard SDRAM) and SSTL_2 (for DDR SDRAM). For
full detail of the configuration options of the LMI please see ST40 System Architecture Manual, Volume 2: Bus Interfaces.
22/92
4 ArchitectureST40RA
4.3.2 PCI interface
The PCI interface complies to the PCI v2.1 and Power Management Interface V1.0 specifications. It
is 32 bits wide and operates at 33 or 66 MHz. Master and target mode are supported. A PCI arbiter
and clock generator is provided inside the ST40RA. For details on the configuration options for the
PCI interface please see ST40 System Architecture Manual, Volume 2: Bus Interfaces.
4.3.3 EMI/MPX interface
The EMI/MPX interface contains the following blocks. For full details of the configuration options of
the EMI please see the ST40 System Architecture Manual, Volume 2: Bus Interfaces.
EMI memory interface initiator
The EMI provides access to ROMs, SDRAM, memory mapped asynchronous external peripherals
and synchronous MPX bus peripherals. The EMI supports burst mode flash ROM and MPX for
memory-mapped device coupling. The ST40RA GPDMA unit accesses external devices and two
sets of DMA channels control signals are provided for this purpose.
EMPI memory interface target
The EMPI is a synchronous MPX target that allows for an external MPX initiator to access the
ST40RA internal memory space. The EMPI contains a general purpose control channel and four
high performance channels each of which implements a write buffer and a pair of 32-byte readahead buffers able to optimize external device burst access to and from the ST40RA internal
memory. These buffers can be associated with memory regions within the ST40RA and external
DMA channels. Four sets of DMA handshake signals are provided to the EMPI to optimize long
burst transfers between the ST40RA and external initiators like the STi5514.
MPX bus arbiter
The ST40RA has an internal programmable bus arbiter to optimize utilization of the MPX bus. The
ST40RA MPX arbiter supports one external initiator and has programmable bus priority (ST40RA or
external device), bus parking (ST40RA, external, idle or last user) and latency timers. The internal
arbiter can be bypassed if an external arbiter supporting more initiators is required.
4.4 I/O devices
4.4.1 Mailbox
The ST40 and the external microprocessor communicate with each other and synchronize their
activities using the memory-mapped mailbox. Processes generate interrupts to either CPU, and
send and receive messages between the two CPUs. There are buffers for message queueing in
both directions and interrupt bits can be set in each direction. Access to the mailbox from external
devices is through the ST40RA EMPI or the PCI target interface.
4.5 Software
4.5.1 Development systems and software
The ST40RA supports application development, with a full range of debug features and an
emulation mode (ASE). The ASE mode has a dedicated 1-Kbyte buffer for emulator firmware,
supporting performance counters and branch trace. The ST40RA, with its memory management
unit, supports standard operating systems including WindowsCE and Linux. The ST40 has a wide
range of development support from ST and third parties, and efficiently runs applications written in
C, C++ and Java.
23/92
ST40RA5 System configuration
ST’s own tools include:
● C/C++ compilers,
● debugger,
● proprietary OS.
Third parties include:
● Microsoft: WindowsCE,
● Sun: JavaOS for consumers,
● WindRiver: VxWorks, Tornado tools,
● Linux,
● Insignia JVM,
● ANT browser.
4.5.2 Software compatibility
SH-4 core software
The ST40RA SH-4 core is binary code compatible with the Hitachi SH775x family.
Standard peripheral driver
The ST40 standard SCIF, timer, real-time clock and PIO are compatible with the ST40 SOC range of
devices and the Hitachi SH775x family.
Bus interface driver
The PCI, LMI, and EMI interfaces are register compatible with the ST40 SOC range of devices.
The ST40RA contains an EMPI and MPX arbiter and MPX clock control unit which are additional to
the bus interface components of the ST40 SOC range of devices.
I/O device driver
The Mailbox is a module with no ST legacy software.
5 System configuration
The ST40RA system address map has been designed to maintain compatibility with existing ST40
family devices and other STMicroelectronics devices.
The SH-4 core and core peripherals maintain compatibility with the ST40 SOC range of devices and
Hitachi SH7750 wherever possible.
Devices listed in Table 5: ST40RA system address map on page 26, are documented in the ST40 System Architecture Manual as described in Chapter 2: ST40 documentation suite on page 19.
Coherency between the cache and external memory is assured by software. The ST40 CPU has
cache control instructions which enable software to do this. Details of these instructions are given in
the ST40 CPU Core Architecture Manual.
The ST40RA is run in little endian mode.
24/92
5 System configurationST40RA
The ST40RA power on configuration is controlled by the MODE pins as defined in Table 37: Mode
selection pins for ST40RA on page 72.
Subsystem configuration registers are usually found with the module register space. Other system
level functions and the software register locations are shown in Table 14: System configuration
registers on page 36.
5.1 System addresses
The ST40 family system address organization is shown in Figure 3.
Figure 3: System address organization
0x1800 0000
Reserved
0x0000 0000
(standard ST40
physical boot
address)
EMI
0x1B00 0000
0x07F0 0000
0x0800 0000
0x0F00 0000
0x1000 0000
0x1700 0000
0x1800 0000
0x1C00 0000
0x1FFF FFFF
EMI control registers
System
peripherals
LMI
LMI control registers
Reserved
PCI
PCI control registers
Reserved
Area 7
peripherals
Memory address space
Device control register address space
Reserved address space
Core
0x1BFF FFFF
0x1C00 0000
0x1F00 0000
0x1FFF FFFF
25/92
ST40RA5 System configuration
5.1.1 System address map
Table 5: ST40RA system address map
Address
Module
a
Reference
BaseTop
Standard bus interfacesST40 System Architecture Manual Volume 2: Bus
Interfaces
EMI (FMI)0x0000 00000x07EF FFFF
EMI control and buffer
registers
LMI0x0800 00000x0EFF FFFF
LMI control registers0x0F00 00000x0FFF FFFF
PCI0x1000 00000x16FF FFFF
PCI control registers0x1700 00000x17FF FFFF
Reserved0x1800 00000x1AFF FFFF
ST40 core peripheralsST40 System Architecture Manual Volume 1: System
DMAC0x1B00 00000x1B00 FFFF
PIO10x1B01 00000x1B01 FFFF
PIO20x1B02 00000x1B02 FFFF
0x07F0 00000x07FF FFFF
PIO30x1B03 00000x1B03 FFFF
CLOCKGEN0x1B04 00000x1B04 FFFF
Interconnect0x1B05 00000x1B05 FFFF
Reserved0x1B06 00000x1B0F FFFF
CLOCKGENB0x1B10 00000x1B10 FFFF
Reserved0x1B11 00000x1B12 FFFF
EMPI0x1B13 00000x1B13 7FFFST40 System Architecture Manual Volume 2: Bus
Interfaces
MPXARB0x1B13 80000x1B13 FFFFST40 System Architecture Manual Volume 2: Bus
Interfaces
ST40RA additional peripheralsST40 System Architecture Manual Volume 4: I/O
Devices
MailBox0x1B15 00000x1B15 FFFF
SYSCONF0x1B19 00000x1B19 FFFF
Reserved0x1B1A 00000x1B1F FFFF
Reserved for additional peripherals
Reserved0x1B20 00000x1B3F FFFF
ST40 core peripheralsST40 System Architecture Manual Volume 1: System
INTC20x1E08 00000x1E0F FFFF
26/92
5 System configurationST40RA
Table 5: ST40RA system address map
Address
Module
a
Reference
BaseTop
Reserved: CPU only
registers
CPG0x1FC0 00000x1FC7 9999
RTC0x1FC8 00000x1FCF FFFF
INTC0x1FD0 00000x1FD7 9999
TMU0x1FD8 00000x1FDF FFFF
SCIF10x1FE0 00000x1FE7 9999
SCIF20x1FE8 00000x1FEF FFFF
EMU0x1FF0 00000x1FF7 9999
Reserved0x1FF8 00000X1FFF FFFF
0x1E10 00000x1FBF FFFF
a. For information about which address region to access for each module, see SH-4 32-bit CPU Core
Architecture, sections 2.5 and 3.4
.
When operating in privilege mode, these registers should be accessed via the P2 region by adding
an offset of 0xA000 0000, when operating in user mode, access should be via the U0 address.
5.2 System identifiers
● SH-4 core processor identity: 0x0100.
● SH-4 core processor version: 0x0541D.
● ST40RA-HC8 TAP identity: 05141041.
● ST40RA-HC8 PCI identity:
➢ Vendor: 104A,
➢ Device: 4000,
➢ Revision ID: 0x01,
➢ Class: 0x4 0000,
➢ Subsystem ID: 0x0000.
27/92
ST40RA5 System configuration
5.3 Interrupt mapping
For full details on the interrupt controller see ST40 System Architecture Manual Volume 1:System.
The mapping of the CPU interrupts is described in Section 5.3.1, Section 5.3.2 and Section 5.3.3.
Note:Some INTEVT codes are shown as reserved in Ta bl e 6 and therefore cannot be generated by this
device.
5.3.1 ST40 core interrupt allocation
The allocation of core interrupts is as shown in Tab le 6 .
Table 6: ST40 core interrupt allocation (page 1 of 2)
Interrupt source
NMI0x1C016---
IRL
level
encoding
IRL3–IRL0 = F0x20015---
IRL3–IRL0 = E0x22014---
IRL3–IRL0 = D0x24013---
IRL3–IRL0 = C0x26012---
IRL3–IRL0 = B0x28011---
IRL3–IRL0 = A0x2A010---
IRL3–IRL0 = 90x2C09---
IRL3–IRL0 = 80x2E08---
IRL3–IRL0 = 70x3007---
IRL3–IRL0 = 60x3206---
IRL3–IRL0 = 50x3405---
IRL3–IRL0 = 40x3604---
INTEVT
code
Interrupt priority
IPR
bit numbers
Priority
within IPR
setting unitValueInitial value
IRL3–IRL0 = 30x3803---
IRL3–IRL0 = 20x3A02---
IRL3–IRL0 = 10x3C01---
IRL
independent
encoding
H-UDIH-UDI0x60015 to 00IPRC[3:0] -
TMU0TUNI00x40015 to 00IPRA[15:12]-
TMU1TUNI10x4200 to 150IPRA[11:8]-
TMU2TUNI20x440
IRL00x24015 to 013IPRD[15:12]-
IRL10x2A015 to 010IPRD[11:8]-
IRL20x30015 to 07IPRD[7:4]-
IRL30x36015 to 04IPRD[3:0]-
High
0 to 150IPRA[7:4]
TICPI20x460Low
28/92
5 System configurationST40RA
Table 6: ST40 core interrupt allocation (page 2 of 2)
Interrupt source
RTCATI0x480
PRI0x4A0
CUI0x4C0
SCIF1ERI0x4E0
RXI0x500
BRI0x520
TXI0x540
SCIF2ERI0x700
RXI0x720
BRI0x740
TXI0x760
WDTITI0x5600 to 150IPRB[15:12]-
INTEVT
code
Interrupt priority
IPR
bit numbers
0 to 150IPRA [3:0]
0 to 150IPRB[7:4]
0 to 150IPRC[7:4]
Priority
within IPR
setting unitValueInitial value
High
to
low
High
to
low
High
to
low
5.3.2 ST40 standard system interrupt allocation
Standard ST40 family interrupts are mapped as shown in Ta b le 7 .
Table 7: ST40 standard interrupt allocation
Interrupt source
PCIPCI_SERR_INT0xA00
PCI_ERR_INT0xA20
PCI_AD_INT0xA40
PCI_PWR_DWN0xA60
Reserved
DMACDMA_INT00xB00
DMA_INT10xB20
DMA_INT20xB40
DMA_INT30xB60
DMA_INT40xB80
INTEVT
code
Interrupt priority
0 to 150
0 to 150INTPRI00[11:8]
IPR
bit numbers
INTPRI00[0:3]
INTPRI00[7:4]
Priority
within IPR
setting unitValueInitial value
High to low
High
to
low
High
to
low
Reserved
DMA_ERR0xBC0
PIO0PIO00xC000 to 150INTPRI00[15:12]-
PIO1PIO10xC800 to 150INTPRI00[19:16]-
PIO2PIO20xD000 to 150INTPRI00[23:20]-
29/92
ST40RA5 System configuration
5.3.3 ST40RA I/O device interrupt allocation
Table 8: Mailbox and EMPI interrupt allocation
Interrupt source
MailboxMAILBOX0x1000
Reserved
Reserved
EMPIINV_ADDR0x13800 to 150INTPRI04[31:28]High to low
Reserved
INTEVT
code
5.4 GPDMA channel mapping
For full details of the GPDMA controller see ST40 System Architecture Manual Volume 1: System.
The ST40RA general purpose DMA controller channel map is shown in Tab le 9 .
Table 9: GPDMA request number allocation
Request
number
0External device 0DREQ or
1External device 1DREQ or
Associated
device
DREQ/DRACK
DREQ/DRACK
Interrupt priority
IPR
bit numbers
0 to 150INTPRI04[0:3]High to low
0 to 150INTPRI04[27:24]High to low
ProtocolComment
The following pins are available for external peripherals:
DREQ[0:1],
DACK[0:1],
DRAK[0:1].
Priority
within IPR
setting unitValueInitial value
2 and 3Reserved
4SCIF1 transmitDREQ
5SCIF1 receivedDREQ
6SCIF2 transmitDREQ
7SCIF2 receiveDREQ
8TMUDREQ/DRACKTypically used to trigger or pace memory transfers.
9 and 10Reserved
11PCI1DREQ or
DREQ/DRACK
12PCI2DREQ or
DREQ/DRACK
13PCI3DREQ or
DREQ/DRACK
14PCI4DREQ or
DREQ/DRACK
15 to 31Reserved
This allow SCIF to memory and memory to SCIF transfer
to be supported on any DMA channel.
May be used to improve the efficiency of transfers to and
from the PCI.
30/92
5 System configurationST40RA
5.5 EMI DACK mapping
For full details of the EMI bank address and bank type mappings refer to ST40 System Architecture
Manual Volume 2: Bus Interfaces.
Two DACK strobes are supported in this implementation and are mapped as follows:
● DACK[0]: asserted when a transfer from GPDMA channel[1] occurs to an EMI bank configured
as a MPX device,
● DACK[1]: asserted when a transfer from GPDMA channel[2] occurs to an EMI bank configured
as a MPX device.
5.6 EMI address pin mapping
The data width of a connected device is 8, 16 or 32 bits wide. The 16-bit bank must use EDQM3 as
address 1, the LSB address for the device and the 8-bit bank must use EDQM3 as address 1 and
EDQM2 as address 0.
See the ST40 System Architecture Manual, Volume 2: Bus Interfaces for details of setting the
device type and port size using the EMI configuration registers.
Table 10: Mapping the internal address lines of a connected device
EMI_BUS_REQEMI_BUS_REQEMI_BUS_REQMPX bus requestMPX bus request
32/92
5 System configurationST40RA
Table 11: EMI pin functions
ST40RA EMI pinPeripheralSFlashSDRAMMPXMPX/EMPI
NOTMACK
(Master)
FCLKOUT-FLASHCLOCK---
NOTFBAA-Unconnected/
NOTESCS0----MBXINT
NOTESCS1----EMPIDREQ0
NOTESCS2----EMPIDRAK0
EMI_BUS_GRANT EMI_BUS_GRANT EMI_BUS_GRANT MPX bus
acknowledge
---
connected
b
MPX bus
acknowledge
a. When the EMI is configured in master mode (MODE9 = H), and an external slave DMA asks for
access to the bus (using NOTMACK or NOTMREQ), RFSH_PENDING and ACC_PENDING are
used to signal that, while the external DMA request has been granted and the DMA is using the bus,
a refresh time out occurred, or that the EMI has been asked for a new access. A bus arbiter, if
present, can use this information to give back the bus to the EMI to allow a refresh operation, or
improve bandwidth. When the EMI is in slave mode (MODE9 = L), RFSH_PENDING is always
deasserted (so EPENDING = ACC_PENDING), and the pin is used to signal to the external bus
arbiter that the EMI needs to use the bus.
b. NOTFBAA is an output of the ST40RA, and an input to the memory device. The pin must be left
unconnected from the ST40RA side and tied low at the memory device side if the memory is an Intel
or an STM part. It needs to be connected if the SFlash is an AMD.
33/92
ST40RA5 System configuration
5.8 Memory bridge control
The architecture of the SuperHyway interconnect is shown in Figure 4. Initiators are shown on the
left, and targets are shown on the right of the interconnect. The bit width of the initiator and target
ports are shown in the diagram.
Figure 4: ST40RA interconnect architecture
SH core
EMPI
PCI_ST_I
GPDMA
Memory
bridge
Memory
bridge
32
32
32
32
SuperHyway
Interconnect
64
32
32
32
LMI
Memory
bridge
Memory
bridge
P
I
EMI
PCI_ST_T
PER
SH_PER
The ST40RA architecture requires seven memory bridges on clock change boundaries.
Table 12: Memory bridges
Memory bridge numberSuperHyway typeSubsystem
1T3EMI target
2T3EMPI initiator
3T1EMI_SS target
4T2Reserved
5T2Reserved
6T3PCI_ST_I
7T3PCI_ST_T
34/92
5 System configurationST40RA
5.8.1 Memory bridge control signals
Each memory bridge has seven control signals as defined in Tab le 1 3.
Table 13: Memory bridge control signals
Bridge control bit fieldControl nameControl function
1:0MODE[1:0]00: Sync (bypass) bridge
01: Semisync with no retime registers
10: Semisync with one retime register
11: Async with two retime registers
4:2LATENCY[2:0]Sets FIFO latency from 0 to 7 cycles.
5SW_RESET0: Software reset inactive
1: Software reset active
6STROBEThe above control signals are latched in the bridge on the rising
edge of this strobe bit
5.8.2 Memory bridge status
The memory bridge control signals are looped back to the ST40RA comms subsystem SYS_STAT1
register for test purposes. The format of this read-only register is shown in Section 5.9.4.1:
SYSCONF.SYS_STAT1. on page 39.
5.8.3 Changing control of a memory bridge
At reset all these bridges are set to be synchronous. After reset and boot the function of these
memory bridges can be changed. See Section 5.9.4: SYSCONF registers on page 39. The
procedure for changing the control of a memory bridge is given below.
1Ensure no initiators are accessing the subsystem the bridge is connected to and ensure the
subsystem cannot initiate any requests to the SuperHyway.
2 Stop the clock to the subsystem.
3 Change the memory bridge configuration using the SYS_CONF.SYS_CON1 register as
detailed in Ta bl e 1 3.
4 Restart the clock to the subsystem and reinitialize the system.
35/92
ST40RA5 System configuration
5.9 System configuration registers
Ta bl e 1 4 outlines the ST40RA system configuration registers.
Table 14: System configuration registers
RegisterModule
EMI.GENCFGEMI0x028 R/WEMI general purpose configuration register, see
LMI.COCLMI0x028R/WLMI clock and pad control register, see
LMI.CICLMI0x040ROLMI clock and pad status, see Section 5.9.3:
SYS_STAT1SYSCONF0x040ROMemory bridge status, see Section 5.9.4.1:
SYSCONF.SYS_CON1SYSCONF0x010R/WSystem configuration register, see
SYSCONF.SYS_CON2SYSCONF0x018R/WSystem configuration register, see Section 5.9.5:
SYSCONF.CNV_STATUSSYSCONF0x020R/WSystem configuration register, see ST40 System
SYSCONF.CNV_SETSYSCONF0x028R/WSystem configuration register, see ST40 System
Address
offset
TypeDescription
Section 5.9.1: EMI.GENCFG EMI general
configuration on page 37
Section 5.9.2: LMI.COC on page 38
LMI.CIC on page 39
SYSCONF.SYS_STAT1. on page 39
Section 5.9.4.2: SYSCONF.SYS_CON1. on
page 40
SYSCONF.SYS_CON2. on page 40
Architecture Manual Volume 4: I/O Devices
Architecture Manual Volume 4: I/O Devices
SYSCONF.CNV_CLEARSYSCONF0x030R/WSystem configuration register, see ST40 System
Architecture Manual Volume 4: I/O Devices
SYSCONF.CNV_CONTROLSYSCONF0x038R/WSystem configuration register, see ST40 System
Architecture Manual Volume 4: I/O Devices
36/92
5 System configurationST40RA
5.9.1 EMI.GENCFG EMI general configuration
EMI.GENCFGEMI general configuration0x0028
The EMI provides a generic register to allow the configuration of the padlogic. ST40RA
uses the bits detailed.
0SOFEStrobe positioning
Strobe on falling edge:
0: Disabled
1: Enabled
Reset: 0
[5:1]SDPOSSDRAM bank location
00001: Bank 000010: Bank 1
00011: Bank 200100: Bank 3
00101: Bank 400110: Bank 5
10001: Bank 0 to 110010: Bank 0 to 2
10011: Bank 0 to 310100: Bank 0 to 4
10101: Bank 0 to 510110: Bank 1 to 2
10111: Bank 1 to 3 11000: Bank 1 to 4
11001: Bank 1 to 5 11010: Bank 2 to 3
11011: Bank 2 to 4 11100: Bank 2 to 5
11101: Bank 3 to 4 11110: Bank 3 to 5
11111: Bank 4 to 5
Reset: 0
6EWPU
Pull-up on EWAIT pin
0: Disabled
1: Enabled
Reset: 0
RW
RW
a
RW
7EAPUPull-up enable on EADDR pins
0: Disabled
1: Enabled
Reset: 0
[31:8]Reserved0: Ignored
1: Reserved
Reset: Undefined
a. If the EWAIT signal is set at the beginning of an access, and the data is to be set after the EWAIT
is cleared, the parameters ACCESSTIMEREAD and LATCHPOINT in the EMI configuration
registers must be set as follows:
ACCESSTIME > LATCHPOINT + 3.
See the ST40 System Architecture Manual, Volume 2: Bus Interfaces for details of setting the EMI
configuration registers.
RW
37/92
ST40RA5 System configuration
5.9.2 LMI.COC
LMI.COCLMI clock and pad control0x028
LMI.COC allows modification of the glue logic.
0DLY_SRCDelay line control source
0: DLL provides delay line control
1: LMI.CFG[5:1] provides delay line control
Reset: 0
[5:1]DLY_NUMNumber of delays (~200ps each)
Reset: 0
[7:6]DLY_FRQ_RESExternal delay frequency resolution
Reset: 0
19:8]PLL_SETUPPLL setup
Reset: 0
[21:20]DLL_PRO_CONDLL programmer control
Reset: 0
22FRQ_RES_SRCFrequency resolution source of external delay
Where the two clocks are sourced from independent PLLs the bridge must be put in asynchronous
mode.
5.9.5 SYSCONF.SYS_CON2.
SYSCONF.SYS_CON2Functional pin use and behavior0x0018
The SYSCONF.SYS_CON2 register controls functional pin use and behavior
8LMI_MODE
9LMI_ENVREF
10LMI_ECLK_BYPASS
11LMI_NOTCOMP25_EN
LMI pad type
0: SSTL
1: LVTTL
Reset: 0
Reference voltage source
0: internally generated reference voltage
1: external reference voltage from VREF pins
Reset: 0
LMI control signal ECLK180 retime bypass
0: ECLK180 flip flop not bypassed
1: ECLK180 flip flop is bypassed
Reset: 0
Enable LMI 2.5 V compensation cell
0: LMI 2.5 V compensation cell enabled
1: LMI 2.5 V compensation cell disabled
Reset: 0
RW
RW
RW
RW
12LMI_COMP33_EN
Enable LMI 3.3 V compensation cell
0: LMI 2.5 V compensation cell enabled
1: LMI 2.5 V compensation cell disabled
Reset: 0
40/92
RW
5 System configurationST40RA
SYSCONF.SYS_CON2Functional pin use and behavior0x0018
[13:14]LMI_SDRAM_DATA_DRIVE
[15:16]LMI_SDRAM_ADD_DRIVE
[17:35]Reserved
36EMPI_ENB[0]
SDRAM data and data strobe pad PROG 1:0 LVTTL
OP drive strength
00: 1x
01: 2x
10: 3x
11: 4x
Reset: 0
LMI address and control pad PROG 1:0 LVTTL OP
drive strength
00: 1x
01: 2x
10: 3x
11: 4x
Reset: 0
Enable EMPI channel 0 DREQ/DRACK/DRACK
alternate function
0: Disabled
1: NOTESCS1 remapped to EMPIDREQ0
NOTESCS2 remapped to EMPIDRAK0
EADDR26 remapped to EMPIDACK0
EADDR26 is only remapped when whilst the ST40RA
is acting as a bus slave
RW
RW
RW
37EMPI_ENB[1]
38EMPI_ENB[2]
39EMPI_ENB[3]
Enable EMPI channel 1 DREQ/DRACK/DRACK
alternate function
0: Disabled
1: NOTPREQ3 remapped to EMPIDREQ1
NOTPGNT3 remapped to EMPIDRAK1
EADDR25 remapped to EMPIDACK0
EADDR25 is only remapped when whilst the ST40RA
is acting as a bus slave
Enable EMPI channel 2 DREQ/DRACK/DRACK
alternate function
0: Disabled
1: DREQ0 remapped to EMPIDREQ2
DACK0 remapped to EMPIDACK2
DRAK0 remapped to EMPIDRAK2
Enable EMPI channel 2 DREQ/DRACK/DRACK
alternate function
0: Disabled
1: DREQ1 remapped to EMPIDREQ3
DACK1 remapped to EMPIDACK3
DRAK1 remapped to EMPIDRAK3
RW
RW
RW
Enable mailbox interrupt alternate function
40MAILBOX_ENB
[41:43]Reserved
0:Disabled
1:NOTESC0 remapped to MBXINT
41/92
RW
ST40RA5 System configuration
SYSCONF.SYS_CON2Functional pin use and behavior0x0018
[44:46]EMPI_CS_ENB
47SEL_EXT_EMI_SLAVE
[48:59]Reserved
[60:63]PIO_CONFPIO_CONFRW
5.9.6 PIO alternate functions
The function of pads with PIO alternate functions are controlled by the PIO.PC0, PIO.PC1 and
PIO.PC2 registers.
Enable EMPI chip selection alternate function
000: NOTESC0 remapped to NOTEMPICS
001: NOTESC1 remapped to NOTEMPICS
010: NOTESC2 remapped to NOTEMPICS
011: NOTESC3 remapped to NOTEMPICS
100: NOTESC4 remapped to NOTEMPICS
101: NOTESC5 remapped to NOTEMPICS
110: Reserved
111: Disabled (value at reset)
Select EMI slave or master functionality
0: EMI is bus master
1: EMI is bus slave
RW
RW
In the ST40RA device, the operational modes for these registers differ from the standard
architecture definition and are shown in Tab le 1 5 .
Table 15: PIO alternate function registers
PIO bit configurationPIO output statePIO.PC2PIO.PC1PIO.PC0
NonPIO function
PIO bidirectionalOpen drain001
PIO outputPush-pull010
PIO bidirectionalOpen drain011
PIO inputHigh impedance100
PIO inputHigh impedance101
Reserved-110
Reserved-111
a
a. State following reset
-000
42/92
6 Clock generationST40RA
5.9.7 PCI.PERF register definition.
PCI.PERF0x0080
PCI.PERF modifies the function of the PCI.
[3:0]DLY_PERRSAMPLEParity error delay
Number of APP_CLOCK cycles after end of PCI that access master
should wait to see if there is a parity error
4ENB_WRITEPOSTEnable write posting in masterRW
5ENB_STBYBYPASSEnable standby bypassRW
[31:6]Reserved
6 Clock generation
The ST40 clock architecture has been organized to maintain compatibility across the ST40 family
and allow additional flexibility to increase system performance where required. It includes a more
diverse range of peripherals and provides low power use.
6.1 Clock domains and sources
RW
Figure 5 shows possible clock domains for ST40RA clocks. The ST40RA implementation includes
two CLOCKGEN macros, which supply up to three independent clock domains across the chip
Each PLL may be independently programmed to produce a clock at a specific frequency which is
used to derive a series of related clocks which may be used by the system.
The clock domains mapping is shown in Tab le 1 6 . The architecture of the ST40RA CLOCKGEN
subsystem consists of two standard (ST40 family) CLOCKGEN units (CLOCKGENA and
CLOCKGENB) and a CLOCKCON block. Figure 6 shows the architecture of the ST40RA
CLOCKGEN subsystem.
43/92
ST40RA6 Clock generation
27 MHz
XTAL
CLOCKGEN
subsystem
STBUS_CLK
(X_BCK)
CPU_CLK
PER_CLK
STBUS_CLK
LMI_CLK
EMI_SS_CLK
PCI_SS_CLK
(X_ICK)
(X_PCK)
(X_PCK)
SuperHyway
subsystem
PCI
SH-4 CPU
core
SH-4 core
peripherals
LMI
LMI int
DLL
EMI
subsystem
CLK
SDRAM
or DDR
memory
CLK
Flash
.
MPX bus
SDRAM
,
PCI_BUS_CLK
See CLOCKGENA.PLL1 clock domains
See CLOCKGENA.PLL2 clock domains
Figure 5: ST40RA clock domains
PCI int.
CLK
See CLOCKGENB.PLL1 clock domains
PCI
bus
44/92
6 Clock generationST40RA
Table 16: Clock domains
SubsystemClock domain
CPU coreCPU_CLK200166150133CLOCKGEN_A111
SuperHywaySTBUS_CLK-11110088CLOCKGEN_A122/3
PeripheralsPER_CLK
(CPU core PCK)
PCI bus clockPCI_BUS_CLK33CLOCKGEN_A211/16
PCI subsystemPCI_SS_CLK-11110088CLOCKGEN_A122/3
Local memory
interface (LMI)
LMI_CLK13311110088CLOCKGEN_A142/3
Target frequencies
(MHz)
1008375671/2
- 555044CLOCKGEN_A131/3
504238331/4
66CLOCKGEN_A221/8
25.14CLOCKGEN_A231/21
DisabledCLOCKGEN_A24-
1008375671/2
- 555044CLOCKGEN_A131/3
504238331/4
ReservedCLOCKGEN_B111
Source
a
Ratio
EMI subsystemEMI_CLK50 to 100 MHzCLOCKGEN_B121
-11110088CLOCKGEN_A122/3
100837567CLOCKGEN_A141/2
a. Clock naming: CLOCKGEN_[CLOCKGEN label][PLL number][clock number]
The sources for PCI_SS_CLK and EMI_SS_CLK, can be set using the PCI_SEL and EMI_SEL bits
in the CLOCKGENB.CLK_SELCR register. See Section 6.6.1: CLOCKGENB.CLK_SELCR register
on page 52.
If CLOCKGEN_A13 is used as PCI_SS_CLK source then the memory bridges 6 and 7 must be
enabled. If CLOCKGEN_A12 is used, then the bridges may be placed in bypass mode. This is the
recommended mode of operation.
If either CLOCKGEN_B12 or CLOCKGEN_A14 are used as the EMI_CLK, the memory bridges 1,
2 and 3 must be enabled. If CLOCKGEN_A12 is used, then the bridges may be placed in bypass.
This is the recommended mode of operation.
See Chapter 5.8: Memory bridge control on page 34.
45/92
ST40RA6 Clock generation
Figure 6: ST40RA CLOCKGEN subsystem
27 MHz
CPU core
XTAL
ST40RA CLOCKGEN subsystem
ST40 CLOCKGENA
Control
LPU
T1
Control
ST40 CLOCKGENB
Control
LPU
T1
PLL1
PLL1
PLL2
PLL2
PLL1
PLL1
ST40RA
1
2
3
4
1
2
3
Select
4
5
1
2
3
4
CLOCKCON
0
1
00
LMI_SEL
PCI_SEL
01
10
11
EMI_SEL
0
1
CPU_CLK (X_ICK)
STBUS_CLK (X_BCK)
PER_CLK (X_PCK))
PCI_BUS_CLK
(external)
PCI_SS_CLK
EMI_SS_CLK
LMI_CLK
SuperHyway
Control
PLL2
1
2
3
4
5
CLK_SEL[3:0]
46/92
6 Clock generationST40RA
6.2 Recommended operating modes
Table 17: Supported operating frequencies
Mode for
CLOCKGENA and
CLOCKGENB
PLLA
(mode)
Recommended reset configuration
0-200-1005025505050
Alternate reset configuration
1-266-1338844888888
2-300-15010050100100100
3-332-16611166111111111
Recommended operating modes
2-300-150100100100100100
3-332-1668383838383
Low power configuration with clocks enabled (programmable after reset)
Ta bl e 2 1 shows valid FRQCR ratios and the associated clock frequencies for derived clocks.
Table 21: Valid FRQCR values and their ratios
CLOCKGENA.FRQCR and
CLOCKGENB.FRQCR
Lower 9 bit
0x000
0x0021/41 11/4
0x0041/81 11/8
0x008MODE6
0x00AMODE[4:5]1/41 1/21/4
0x00C1/21/81 1/21/8
0x0112/31/61 2/31/6
0x013 MODE[2:3]
0x01A MODE01/21/411/21/4
0x01C1/81
0x023 MODE112/31/31 2/31/3
0x02C1/21/81 1/21/8
Available
on start up
ST40RA codified ratiosClock ratios
CPU_
CLK
11
1
1
BUS_
CLK
1/2
2/31/31 2/31/3
PER_
CLK
1/21 11/2
1/21 1/21/2
CPU_
CLK
BUS_
CLK
1/21/8
PER_
CLK
0x048
0x04A1/6111/3
0x04C1/8111/4
0x05A
0x05C
0x063MODE71/21/41/41 1/21/2
0x06C1/21/811/21/4
0x091
0x093
0x0A31/61 1/21/2
0x0DA
0x0DC
0x0EC1/81 1/21/2
0x1231/4111/2
0x16C1/811/21/2
1/2
1/3
1/4
1/2
1/31/61 2/31/6
1/3
1/4
1/4111/2
111/2
1/6
111/2
1/8
49/92
ST40RA6 Clock generation
6.4.1 Programming the PLL output frequency
The three dividers used within the PLL are referred to as M (predivider), N (feedback divider) and P
(postdivider) for brevity. Note that there is a divide-by-2 fixed prescaler before the feedback divider.
The binary values applied to the programmable dividers, and the frequency of CLOCKIN controls
the output frequency of the PLL macrocell:
2N×
F clockout()
where the values of M, N and P must satisfy the following constraints:
-----------------P
M2
×
F clockin()×=
● Divider limits: ,
● Phase comparator limits: ,
● VCO limit: ,
● M divider limit: .
1M255 1N255 0P5≤≤,≤≤,≤≤
2N×
⎛⎞
200MHz
-------------
⎝⎠
F clockin()200 MHz
For example, if 300 MHz from an input clock of 33 MHz is to be generated, the values of M, N and
P are worked out as below.
1The phase comparator must operate between 1 MHz and 2 MHz, so choose M = 22 (for
1.5 MHz operation).
2 The VCO needs to run between 200 MHz and 622 MHz. It could be run at 300 MHz directly
(which takes a little less current), or at 600 MHz then divide by 2 to ensure an exact 50% duty
cycle. In this example 600 MHz is chosen so N = 200.
3 The postdivider then needs to be a divide by 2. This is programmed in powers of 2, so P = 1.
The P divider changes value without glitching of the output clock.
6.4.2 Changing clock frequency
The clock frequencies are changed in two ways.
1MHz
M
≤
F clockin()
------------------------- ---M
2MHz≤≤
F clockin()×622MHz≤≤
·
● Change the core PLL frequencies.
The PLL must be stopped, the control register reconfigured with the new settings, and the PLL
restarted at the new frequency.
● Change the frequency division ratio of the clock domains.
The control registers are changed dynamically and the new frequencies are effective
immediately.
6.4.3 Changing the core PLL frequencies
This procedure applies to either CLOCKGENA or CLOCKGENB and to PLL1 or PLL2.
1Stop the PLL. The CLOCKGENA.PLL1CR2.STBPLLENSEL register selects whether the PLL
is enabled by the CLOCKGENA.PLL1CR2.STBPLLEN or the CPG.FRQCR.PLL1EN register.
2 Reconfigure the PLL. Set the CLOCKGENA.PLL1CR1 register to one of the supported
configurations on the datasheet.
3 Restart the PLL, following the procedure described in the ST40 System Architecture Volume 1:
System.
50/92
6 Clock generationST40RA
6.4.4 Changing the frequency division ratio
The frequency division ratio is selected by changing the CPG.FRQCR register for PLL1 or the
CLOCKGENA.PLL2_MUXCR register for PLL2. This change is immediately effective.
6.5 Power management
The power management unit (PMU) is responsible for clock startup and shutdown for each of the
on-chip modules. Power is conserved by powering down those modules which are not in use, or
even the CPU itself.
The PMU is operated using three banks of registers as follows:
● CPG: controls the power-down mode of the CPU and the power-down states of the legacy
on-chip peripherals,
● CLOCKGENA and CLOCKGENB: control the power-down states of the other on-chip peripherals.
6.5.1 CPU low-power modes
The CPU can be put into sleep or standby modes. In sleep mode the CPU is halted while the
on-chip peripherals continue to operate. In standby mode all the on-chip peripherals are stopped
along with the CPU. In addition, the on-chip peripherals can be independently stopped.
Power down is initiated with the sleep instruction and the power down mode is selected with bit 7 of
the CPG.STBCR register. If the bit is set, the CPU enters standby mode on the next sleep
instruction, and if unset it enters sleep mode.
6.5.2 Module low-power modes
Modules are powered down in two ways, depending on whether the module is a ST40 legacy
peripheral (controlled by the CPG register bank) or a ST40RA peripheral (controlled by the
CLOCKGEN register banks).
A module controlled by the CPG register bank has its clock stopped when the corresponding bit in
the CPG.STBCR or CPG.STBCR2 register is set. The clock is started again when the bit is cleared.
To request the power down of a module controlled by the CLOCKGENA or CLOCKGENB register
bank, 1 is written to the corresponding bit in the
completed its power down sequence and its clock has been stopped, the corresponding bit in the
STBACKCR register is set. To restart the module, 1 is written to the corresponding bit in the
STBREQCR_CLR register.
Note:The modules governed by the
CLOCKGENB register bank do not support hardware-only power down
and require software interaction to maintain data coherency before making a request to stop the
module clock.
6.6 Clock generation registers
STBREQCR_SET register. When the module has
51/92
ST40RA6 Clock generation
6.6.1 CLOCKGENB.CLK_SELCR register
CLOCKGENB.CLK_SELCRClock source selection0x0068
The CLKGENB.CLK_SELCR register controls the selection of clock domain clock sources
0LMI_SEL
1PCI_SEL
[2:3]EMI_SEL
[4:7]EXT_CLK_SEL
[8:31]ReservedReset state: 0RW
Reserved
Reset state: 0
Select PCI clock
0: PCI_SS_CLK from CLOCKGENA_12
1: PCI_SS_CLK from CLOCKGENA_13
Reset state: 0
Select EMI clock
00: EMI_SS_CLK from CLOCKGENA_12
01: EMI_SS_CLK from CLOCKGENA_13
10: EMI_SS_CLK from CLOCKGENA_14
11: EMI_SS_CLK from CLOCKGENB_12
Reset state: 00
Not used
Reset state: 0000
RW
RW
52/92
6 Clock generationST40RA
6.6.2 CPG.STBCR register
CPG.STBCRSleep or standby mode0x0004
Select between sleep and standby modes when a sleep instruction is issued.
0MSTP0
1MSTP1
2MSTP2
3MSTP3
4MSTP4
5PPU
SCIF1 standby
0: SCIF1 operates
1: SCIF1 clock stopped
Reset state: 0
RTC standby
0: RTC operates
1: RTC clock stopped
Reset state: 0
TMU standby
0: TMU operates
1: TMU clock stopped
Reset state: 0
SCIF2 standby
0: SCIF2 operates
1: SCIF2 clock stopped
Reset state: 0
Not used
Reset state: 0
Peripheral module pull-up pin control
Controls the state of peripheral module related pins
in the high impedance state
0: Peripheral module related pin pull-up resistors
are on
1: Peripheral module related pin pull-up resistors
are off
Reset state: 0
RW
RW
RW
RW
RW
RW
Peripheral module pin high impedance control
Controls the state of peripheral module related pins
in standby mode
6PHZ
7STBY
0: Peripheral module related pins are in normal
state
1: Peripheral module related pins go to high
impedance state
Reset state: 0
Standby
0: Transition to sleep mode on sleep instruction
1: Transition to standby mode on sleep instruction
Reset state: 0
53/92
RW
RW
ST40RA6 Clock generation
6.6.3 CLOCKGENA.STBREQCR and CLOCKGENB.STBREQCR registers
CLOCKGENA.STBREQCR
Control power down requests0x0018
CLOCKGENB.STBREQCR
This register gives direct access to the power down request register. Low power requests are made in
the STBREQCR_SET register and cleared in the STBREQCR_CLR register.
[0:7]REQ[0:7]
[8:31]Reserved
Power down requests for module [n]
Controls the power down state for module [n]
Bit [n]: 0 Request module [n] to operate normally
Bit [n]: 1 Request module [n] to power down
Reset state: 0
0: No action
1: Undefined
Reset state: Undefined
RW
6.6.4 CLOCKGENA.STBREQCR_SET and CLOCKGENB.STBREQCR_SET registers
CLOCKGENA.STBREQCR_SET
CLOCKGENB.STBREQCR_SET
This register sets a low power request.
[0:7]SET[0:7]
Set power down requests0x0020
Set power down request for module [n]
Sets the power down request state for module [n]
Bit [n]: 0 No action
Bit [n]: 1 Set power down request
Reset state: 0
WO
0: No action
[8:31]Reserved
1: Undefined
Reset state: Undefined
6.6.5 CLOCKGENA.STBREQCR_CLR and CLOCKGENB.STBREQCR_CLR register
CLOCKGENA.STBREQCR_CLR
CLOCKGENB.STBREQCR_CLR
This register clears a low power request and recommences the clock supply to a module.
[0:7]CLR[0:7]
[8:31]Reserved
Clear power down requests0x0028
Clear power down request for module [n]
Clears the power down request state for module [n]
Bit [n]: 0 No action
Bit [n]: 1 Clear power down request
Reset state: 0
0: No action
1: Undefined
Reset state: Undefined
WO
54/92
6 Clock generationST40RA
6.6.6 CLOCKGENA.STBACKCR and CLOCKGENB.STBACKCR register
CLOCKGENA.STBACKCR
Current module power status0x0030
CLOCKGENB.STBACKCR
This register indicates the current module power status
Power down status for module [n]
Indicates the current power down status of the
[0:7]ACK[0:7]
[8:31]Reserved
module [n]
Bit [n]: 0 Module [n] operating normally
Bit [n]: 1 Module [n] powered down
Reset state: 0
0: No action
1: Undefined
Reset state: Undefined
Ta bl e 2 2 defines the mapping of modules to bits in the STBREQ and STBACK registers.
Table 22: STBREQ and STBACK mapping for modules
Bit number
0EMIReserved
CLOCKGENA
mapping
CLOCKGENB
mapping
RO
1LMIReserved
2DMACReserved
3PCIReserved
4PIOReserved
5ReservedReserved
6ReservedPCI bus
7ReservedReserved
55/92
ST40RA7 Electrical specifications
7 Electrical specifications
7.1 DC absolute maximum ratings
Table 23: Absolute maximum ratings
SymbolParameterMinMaxUnitsNotes
VDDCORECore DC supply voltage2.1V
VDDIOI/O DC supply voltage4.0V
RTCRTC DC supply voltage2.1V
VDD
V
IOVoltage on input, output and bidirectional pins.GND -0.6VDDIO + 0.6V
V
IORTCVoltage on input pins on VDDRTC supply
(LPCLKIN, LPCLKOSC)
VIO
Voltage on CLKIN and CLKOSC pins GND -0.6 VDDCORE + 0.6V
CLK
I
ODC output current25mA
T
SStorage temperature (ambient)-55125degC
ATemperature under bias (ambient)-55125deg C
T
GND -0.6VDDRTC + 0.6V
a. Stresses greater than those listed under Table 23: Absolute maximum ratings may cause
permanent damage to the device. This is a stress rating only and functional operation of the device
at these or any other conditions above those indicated in the operating sections of this specification
is not implied. Exposure to absolute maximum rating conditions for extended period may effect
reliability.
b. All I/O pins are 3.3 V tolerant except CLKIN, LPCLKIN, CLKOSC and LPCLKOSC.
a,b
7.1.1 Fmax clock domains
Function clockST40RA200XH6 ST40RA166XH6ST40RA150XH6
CPU_CLK200 MHz166 MHz150 MHz
STBUS_CLK100 MHz111 MHz100 MHz
PER_CLK50 MHz55 MHz50 MHz
LMI_CLK133 MHz100 MHz100 MHz
EMI_SS_CLK100 MHz111 MHz100 MHz
EMI_EXT100 MHz100 MHz100 MHz
PCI_EXT66 MHz66 MHz66 MHz
Table 24: Fmax clock domains
56/92
7 Electrical specificationsST40RA
7.1.2 Operating conditions
Table 25: Operating conditions
SymbolParameterMinTypicalMaxUnitsNotes
Core positive supply voltage
(ST40RA166/ST40RA150)
1.651.801.95
VDDCORE
Core positive supply voltage
(ST40RA200)
IOI/O positive supply voltage3.03.33.6V
VDD
1.801.871.95
VDDRTCRTC positive supply voltage1.651.81.95V
VDD
MMVDD mismatch0.3V
LV
REF
VDD
LMI
V
IHLVTTL input logic 1 voltage2.0VDD + 0.6V
IH1LVTTL input 1 logic voltage EMODE
V
1.15VDD
3.0
2.3
3.3
2.5
/ 21.35V
LMI
3.6
2.7
2.4VDD + 0.6V
pins
V
ILLVTTL input login 0 voltage-0.50.8V
V
IHs
V
ILs
V
OHLVTTL output logic 1 voltage2.4V
SSTT_2 input login 1 voltageLV
+ 0.18VDD
REF
+ 0.3V
LMI
SSTT_2 input login 0 voltage-0.3LVREF - 0.18V
V
V
V
a
a
b
c
d
e
V
OLLVTTL output logic 0 voltage0.4V
V
OHs
V
OLs
I
INInput current (input pin)+-10uA
OZOffstate digital output current+- 50uA
I
IWPInput weak pull-up or pull-down
SSTT_2 output logic 1 voltage2.1V
SSTT_2 output logic 0 voltage0.3V
2060110uA
current
CINInput capacitance (input pins)10pF
C
IOInput capacitance (bidirectional
715 pF
pins)
a. Either the I/O ring (VDDIO) or the core (VDD
) may be powered up first.
CORE
b. VDDCORE - VDDRTC
c. When in SDRAM mode
d. When in DDR-SDRAM mode
e. For specified output loads see Table 27.
f. 0 <= VI <= VDD
c
e
f
f
d
57/92
ST40RA7 Electrical specifications
Table 26: Power dissipation
VDD
CORE
TypicalMaximumTypicalMaximum
Operating8501150250350
Low power5102550mW
a. CPU 166 MHz (Mode 3)
7.1.3 Pad specific output AC characteristics
Table 27: I/O maximum capacitive and DC loading
Pad typeFunctional pin groupMaximum load (pf)Drive (mA)Notes
SLLMI SDRAM/DDR 35-
P8PCI2008
C2A502
C2B502
C41004
VDD
IO
mW
a
Units
a
E4EMI/MPX 1004
a. The SL pads are fully LVTTL and SSTL_2 compliant at maximum 35 pf load.
58/92
7 Electrical specificationsST40RA
Figure 7: Pads characteristics
Note:1.The SL pad type graph represents the maximum drive strength in the LVTTL mode.
59/92
ST40RA7 Electrical specifications
7.2 Rise and fall times
Figure 8: Timings for C2A, C2B, E4 and C4 pad types
60/92
7 Electrical specificationsST40RA
Figure 9: Timings for P8 and SL (LVTLL 00, 01 and 10) pad types
61/92
ST40RA7 Electrical specifications
Figure 10: Timings for SL (LVTTL 11 and SSTL2) pad types
62/92
7 Electrical specificationsST40RA
7.3 PCI interface AC specifications
Figure 11: PCI timings
PCLK
t
PCIHAOV
Outputs
t
PCIHAON
Tri-state outputs
t
PCIHAIX
Inputs: bussed
Inputs: point-to-point
t
PCIHPCIH
t
PCIHAOZ
t
BIVPCIH
t
PIVPCIH
Table 28: PCI AC timings
SymbolParameterMinMaxUnitsNote
tPCIHPCIHPCI clock period15ns
tPCIHAOVPCLK high to all PCI output signals valid110ns
tPCIHAOZPCLK high to all PCI outputs tri-state214ns
tPCIHAONPCLK high to all PCI outputs on2ns
tBIVPCIHBused input signals valid to PCLK high3ns
tPIVPCIHPoint-to-point input signals valid to PCLK high5ns
tPCIHAIXAll PCI input signals hold after PCLK high2ns
a
a, b
a
a
c
b
a. Specified with 30 pF load
b. Need to use 4 ns of the PCI propagation delay
c. NOTPREQ[0:3] and NOTPGNT[0:3] are point to point signals and have different input setup times
to bussed signals. All other synchronous signals are bussed.
63/92
ST40RA7 Electrical specifications
7.4 LMI interface (SDRAM) AC specifications
Figure 12: LMI SDRAM mode timings
t
LCHLCH
LCLKOUTA
LCLKOUTB
Outputs
Tri-state outputs
t
LCHLON
t
LCHLIX
t
LCHLCL
t
LCLLOV
t
LCHLOZ
t
LCLLCH
t
LIVLCH
Inputs
Table 29: LMI SDRAM AC timings
SymbolParameterMinMaxUnitsNote
tLCHLCHLMI clock period10ns
t
LCHLCLLMI clock high time0.45tLCHLCH
tLCLLCHLMI clock low period0.45tLCHLCH
tLCHLOVLCLKOUT low to output signals valid-22ns
t
LCHLOZLCLKOUT high to outputs tri-state02ns
LCHLONLCLKOUT high to outputs on-2ns
t
t
LIVLCHInput signals valid to LCLKOUT high2ns
t
LCHLIXInput signals hold after LCLKOUT high2ns
64/92
7 Electrical specificationsST40RA
7.5 LMI interface (DDR-SDRAM) AC specifications
Figure 13: LMI DDR mode timings
t
LCLLCH
t
t
LCHDQSR
DQSL
NOTLCLKOUTA:B
LCLKOUTA:B
LMIADDR/COM
DQS
READ
t
LCHLCL
t
t
LCHDQSR
DQSH
t
LCHLCH
t
LCLLAV
Inputs
Outputs
LMIDATA
DQS
LMIDATA
READ
WRITE
WRITE
t
LCHDQS
t
LDWS
t
DQSRS
DQSRH
t
LDWH
t
DQSH
t
LDWS
t
DQSRS
t
DQSRH
t
LDWH
t
DQSL
t
LCHDWZ
t
Table 30: LMI DDR-SDRAM AC timings
SymbolParameterMinMaxUnitsNote
tLCHLCHLMI clock period10ns
t
LCHLCLLMI clock high time0.45tLCHLC
H
65/92
ST40RA7 Electrical specifications
Table 30: LMI DDR-SDRAM AC timings
SymbolParameterMinMaxUnitsNote
t
LCLLCH
t
LCHLAV
LMI clock low period0.45t
LCLKOUT low to address and command
valid
t
LCHDQSR
t
DQSH
t
DQSL
t
DQSRS
t
DQSRH
t
LCHDQS
t
LDWS
t
LDWH
t
LCHDWZ
LCLKOUT high to read DQS edge-1.51.5ns
DQS high0.45t
DQS low0.45t
Read data setup for DQS edge1 - t
Read data hold for DQS edget
LCLKOUT high to write DQSN * t
Write data setup to DQS edgeN * t
DQS edge to Write data invalidN * t
LCLKOUT high to write data Z2ns
a. Constraint placed on external system
-1.51.5ns
/ 4ns
LCHLCH
/ 4 + 1ns
LCHLCH
0.75
LCHLCH
LCHLCH
/ 4 -
/ 4 -
N * t
LCHLCH
4 + 0.75
/
ns
ns
0.75
LCHLCH
/ 4 +
ns
0.75
LCHLCH
a
LCHLCH
LCHLCH
a
a
7.6 DDR bus termination (SSTL_2)
The JEDEC specification for SSTL_2 and an application note from a DDR SDRAM manufacturer
(DDR SDRAM Signaling Design Notes (MIcron Technology)) recommend the following layout to
reduce signal reflections on the bus:
Figure 14: SSTL_2 bus termination
DDR
R
S
R
S
ST40RA
VTT = 1.25 V (VDD / 2)
R
= 27 Ω
S
RT = 27 Ω
DDR
R
S
R
T
V
TT
66/92
7 Electrical specificationsST40RA
7.7 General purpose peripheral bus (EMI) AC specifications
Figure 15: EMI AC timings
t
ECHECH
t
FCLKOUT
ECLKOUT
MCLKOUT
Outputs switched on full cycle
Outputs switched on 1/2 cycle
ECHCH
t
ECHEOV
t
ECHLON
t
ECHECL
t
ECLCL
t
ECLEOV
t
ECHLOZ
t
RCLRCH
Tri-state outputs
t
ECHEIX
t
EIVECH
Inputs
Table 31: EMI AC timings
SymbolParameterMinMaxUnitsNote
tECHECHEMI reference clock period12ns
tECHECLEMI reference clock high time4ns
t
ECLECHEMI reference clock low period4ns
ECHCHEMI reference clock high to all clocks high 36ns
t
t
ECLCLEMI reference clock low to all clocks low 36ns
t
ECHEOVEMI reference clock high to output signals valid02ns
ECLEOVEMI reference clock low to output signals valid02ns
t
a
1
tECHEOZEMI reference clock high to outputs tri-state4ns
t
ECHEONEMI reference clock high to outputs onns
tEIVECHInput signals valid to EMI reference clock high4ns
tECHEIXInput signals hold after EMI reference clock high2ns
a. EMI reference clock is defined as the time when ECLKOUT, MCLKOUT and FCLKOUT are all valid.
b. Including EWAIT signal
67/92
1
b
2
ST40RA7 Electrical specifications
7.8 PIO AC specifications
Reference clock in this case means the last transition of any PIO output signal within a bus, and
hence is a virtual clock.
Table 32: PIO timings
PIO13:0PIO23:14
SymbolParameter
MinMaxMinMax
UnitsNote
t
PCHPOV
t
PCHWDZ
t
PIOr
t
PIOf
t
PIOr
t
PIOf
PIO reference clock high to PIO output valid-5.51-5.51ns
PIO tri-state after PIO reference clock high-55-55ns
Output rise time1515ns
Output fall time1515ns
Input rise time205ns
Input fall time205ns
a. No skew guarantee is made between the two separate PIO buses: PIO13:0 and PIO23:14
b. Loose input rise and fall times on PIO13:0 bus as these are schmitt trigger inputs.
Figure 16: PIO AC timings
PIO reference clock
t
PCHPOV
PIOOUT
a
1
b
2
PIOOUT
t
PCHWDZ
68/92
7 Electrical specificationsST40RA
7.9 System CLKIN AC specifications
The timings referenced in Figure 17 refer to the case where CLKIN is directly clocked from an
external source. In this case care should be taken that the total load on the CLOCKOSC output is
<2pF.
Table 33: CLKIN timings
SymbolParameterMinNomMaxUnitsNotes
tCLCHCLKIN pulse width low6ns
t
CHCLCLKIN pulse width high6ns
t
CLCLCLKIN period27MHz
tCrCLKIN rise time10ns
tCfCLKIN fall time10ns
a. Measured between corresponding points on consecutive falling edges.
b. When driven by an external clock.
c. Clock transitions must be monotonic within the range VIH to VIL.
Figure 17: CLKIN timings
VDD
VDD
VDD
CORE
CORE
CORE
90%
10%
* 0.8
* 0.5
* 0.2
t
CLCH
t
CLCL
t
CHCL
90%
10%
a
b, c
2, 3
t
Cf
69/92
t
Cr
ST40RA7 Electrical specifications
7.10 Low power CLKIN AC specifications
The timings referenced in Figure 18 refer to the case where CLKIN is directly clocked from an
external source. In this case care should be taken that the total load on the LPCLKOSC output is
<2pF.
Table 34: LPCLKIN timings
SymbolParameterMinNomMaxUnitsNotes
tLCLLCLLPCLKIN period32.678kHz
LPCLKIN duty cycle105090%
t
LCrLPCLKIN rise time10ns
tLCfLPCLKIN fall time10ns
a. Measured between corresponding points on consecutive falling edges.
b. Variation of individual falling edges from their nominal times.
c. When driven by an external clock.
d. Transitions must be monotonic within the range VIH to VIL
Figure 18: CLKIN timings
VDD
VDD
VDD
RTC
RTC
RTC
* 0.8
* 0.5
* 0.2
t
LCLLCL
a, b
c, d
3, 4
90%
10%
t
LCf
90%
10%
t
LCr
70/92
7 Electrical specificationsST40RA
7.11 UDI and IEEE 1149.1 TAP AC specifications
Table 35: TAP timings
SymbolParameter MinNom Max UnitsNotes
t
TCHTCH
t
DCHDCH
t
TIVTCH
t
TCHTIX
t
TCHTOV
TCK period50ns
DCK period50ns
TAP inputs setup to TCK/DCK high 5ns
TAP input hold after TCK/DCK high 5ns
TCK/DCK low to TAP output valid10ns
a. During IEEE1149.1 drive board level manufacturing tests only TCK is active.
b. During application level diagnostics only DCLK is active.
Figure 19: UDI and IEEE TAP timings
tDCHDCH
DCK
tDCHTIX
tTCHTCH
a
b
TCK
TDI
TMS
TDO
tTCHTIX
tTIVTCH
tTCHTOV
71/92
ST40RA8 Pin description
8 Pin description
8.1 Function pin use selection
Full details of the functional pin sharing are found in Section 8.3: PBGA 27 x 27 ballout on page 74.
Table 36: ST40RA functional pin sharing summary
Functional pin
group
PCI request and
grant
PCI request and
grant
GPDMA
handshake
2 x SCIFSCI2, CTS1
NOTPREQ[0:3]
NOTPGNT[0:3]
NOTPINTA
NOTPREQ[2:3]
NOTPGNT[2:3]
DACK[0:1]
DREQ[0:1]
DRAQ[0:1]
RXD0, RXD1
SCK0, SCK1
TXD0, TXD1
PinsAlternate use(s)
PIO[14:23]PCI bus
PIO[14:23]
EMPIDREQ[0:1]
EMPIDACK[0:1]
PIO[8:13]
EMPIDREQ[2:3]
EMPIDACK[2:3]
EMPIDRACK[2:3]
PIO[0:7]2 x SCIF
High-end interactive
set-top box (with STi5514)
example use
PCI bus
GPDMA
8.2 Mode selection
During the power-on reset cycle a range of basic system configurations can be set up with resistive
pull-ups or pull-downs. A detailed description of these selections is found in the relevant chapters of
the ST40 System Architecture Manual.
See Section 8.3: PBGA 27 x 27 ballout on page 74 for information on which pins these mode inputs
have been placed on the ST40RA.
Mode
pin
MODE2:0EADDR2
MODE4:3EADDR5
MODE5EADDR7MD5CLOCKGENSet clock input source
MODE6EADDR8MD6CLOCKGENSet enable CKIO
Pin name
EADDR3
EADDR4
EADDR6
Table 37: Mode selection pins for ST40RA
Architecture
signal name
MD2:0CLOCKGENSet system clock operating mode
MD4:3CLOCKGENSet PCI clock operating mode
Block
affected
DescriptionNotes
H: Crystal, L: External
a
1
72/92
8 Pin descriptionST40RA
Table 37: Mode selection pins for ST40RA
Mode
pin
MODE7EADDR9MD7EMISSEnable MPX arbiter
MODE8EADDR10MD8SystemSet endianness
MODE9EADDR11MD9EMISet EMI port
MODE11:
10
MODE12EADDR14MD12EMIEnable NOP when accessing flash
MODE13EADDR15MD13ReservedTie high
MODE14EADDR16MD14PCIPCI bridge mode
Pin name
EADDR12
EADDR13
Architecture
signal name
MD11:10 EMISet booting ROM bus size
Block
affected
DescriptionNotes
H: Little
L: Big
H: Master
L: Slave
00: Reserved
01: 32-bit
10: 16-bit
11: 8-bit
H: Host
L: Satellite
b
c
d
MODE15EADDR17MD15PCIReserved: PCI select clock
H: External
L: Internal
MODE16EADDR18MD16-Reserved: Tie high
MODE17EADDR19MD17-
MODE18EADDR20MD18-
MODE19EADDR21MD19-
a. See CLOCKGEN chapter of the ST40 System Architecture Manual for details.
b. ST40RA is always the clock master, providing EMI clocks to the system.
c. See EMI chapter of the
ST40 System Architecture Manual for details.
d. reserved for enable retiming stage on EMI padlogic
e. PCI clock is selected externally on the board for ST40RA. The mode pin may be used for clock
selection in future variants.
f. These mode pins are not used in current variants, however, they may be used to enable additional
functionality in future variants
e
f
73/92
ST40RA8 Pin description
8.3 PBGA 27 x 27 ballout
This should be used in conjunction with Figure 21: Package layout (viewed through package) on
page 89.
Pin nameLoc
LDATA0A17MD0Memory dataSLI/O
LDATA1B17MD1Memory dataSLI/O
LDATA2A18MD2Memory dataSLI/O
LDATA3B18MD3Memory dataSLI/O
LDATA4A19MD4Memory dataSLI/O
LDATA5B19MD5Memory dataSLI/O
LDATA6A20MD6Memory dataSLI/O
LDATA7B20MD7Memory dataSLI/O
LDATA8A13MD8Memory dataSLI/O
LDATA9B13MD9Memory dataSLI/O
LDATA10A14MD10Memory dataSLI/O
LDATA11B14MD11Memory dataSLI/O
LDATA12A15MD12Memory dataSLI/O
Architecture
signal name
DefaultAlternateTypeDir
Pin functionPin
LDATA13B15MD13Memory dataSLI/O
LDATA14A16MD14Memory dataSLI/O
LDATA15B16MD15Memory dataSLI/O
LDATA16A7MD16Memory dataSLI/O
LDATA17B7MD17Memory dataSLI/O
LDATA18A8MD18Memory dataSLI/O
LDATA19B8MD19Memory dataSLI/O
LDATA20A9MD20Memory dataSLI/O
LDATA21B9MD21Memory dataSLI/O
LDATA22A10MD22Memory dataSLI/O
LDATA23B10MD23Memory dataSLI/O
LDATA24A3MD24Memory dataSLI/O
LDATA25B3MD25Memory dataSLI/O
LDATA26A4MD26Memory dataSLI/O
LDATA27B4MD27Memory dataSLI/O
LDATA28A5MD28Memory dataSLI/O
LDATA29B5MD29Memory dataSLI/O
LDATA30A6MD30Memory dataSLI/O
Table 38: PBGA ballout for ST40RA
74/92
8 Pin descriptionST40RA
Pin nameLoc
LDATA31B6MD31Memory dataSLI/O
LDATA32F1MD32Memory dataSLI/O
LDATA33F2MD33Memory dataSLI/O
LDATA34E1MD34Memory dataSLI/O
LDATA35E2MD35Memory dataSLI/O
LDATA36D1MD36Memory dataSLI/O
LDATA37D2MD37Memory dataSLI/O
LDATA38C1MD38Memory dataSLI/O
LDATA39C2MD39Memory dataSLI/O
LDATA40K1MD40Memory dataSLI/O
LDATA41K2MD41Memory dataSLI/O
LDATA42J1MD42Memory dataSLI/O
LDATA43J2MD43Memory dataSLI/O
Architecture
signal name
DefaultAlternateTypeDir
Pin functionPin
LDATA44H1MD44Memory dataSLI/O
LDATA45H2MD45Memory dataSLI/O
LDATA46G1MD46Memory dataSLI/O
LDATA47G2MD47Memory dataSLI/O
LDATA48T1MD48Memory dataSLI/O
LDATA49T2MD49Memory dataSLI/O
LDATA50R1MD50Memory dataSLI/O
LDATA51R2MD51Memory dataSLI/O
LDATA52P1MD52Memory dataSLI/O
LDATA53P2MD53Memory dataSLI/O
LDATA54N1MD54Memory dataSLI/O
LDATA55N2MD55Memory dataSLI/O
LDATA56Y1MD56Memory dataSLI/O
LDATA57Y2MD57Memory dataSLI/O
LDATA58W1MD58Memory dataSLI/O
LDATA59W2MD59Memory dataSLI/O
LDATA60V1MD60Memory dataSLI/O
LDATA61V2MD61Memory dataSLI/O
LDATA62U1MD62Memory dataSLI/O
LDATA63U2MD63Memory dataSLI/O
LBANK0J3BA0Mem bank addressSLO
Table 38: PBGA ballout for ST40RA
75/92
ST40RA8 Pin description
Pin nameLoc
LBANK1J4BA1Mem bank addressSLO
LADDR0G3MA0Memory page/column addressSLO
LADDR1G4MA1Memory page/column addressSLO
LADDR2G5MA2Memory page/column addressSLO
LADDR3F3MA3Memory page/column addressSLO
LADDR4F4MA4Memory page/column addressSLO
LADDR5F5MA5Memory page/column addressSLO
LADDR6E3MA6Memory page/column addressSLO
LADDR7E4MA7Memory page/column addressSLO
LADDR8E5MA8Memory page/column addressSLO
LADDR9D3MA9Memory page/column addressSLO
LADDR10D4MA10Memory page/column addressSLO
LADDR11D5MA11Memory page/column addressSLO
Architecture
signal name
DefaultAlternateTypeDir
Pin functionPin
LADDR12C3MA12Memory page/column addressSLO
LADDR13C4MA13Memory page/column addressSLO
LADDR14C5MA14Memory page/column addressSLO
LDQS0C19DQS0DDR data strobeSLO
LDQS1B12DQS1DDR data strobeSLO
LDQS2A11DQS2DDR data strobeSLO
LDQS3B2DQS3DDR data strobeSLO
LDQS4B1DQS4DDR data strobeSLO
LDQS5L2DQS5DDR data strobeSLO
LDQS6M1DQS6DDR data strobeSLO
LDQS7W3DQS7DDR data strobeSLO
LCLKOUTAD8MCLKOASDRAM clock outputSLO
NOTLCLKOUTAD7NOTMCLKOASDRAM clock output SLO
LCLKOUTBL3MCLKOBSDRAM clock output SLO
NOTLCLKOUTBM3NOTMCLKOBSDRAM clock output SLO
LVREFH5VREFDDR reference voltage-I
LDQM0C20DQM0SDRAM data maskSLO
LDQM1A12DQM1SDRAM data maskSLO
LDQM2B11DQM2SDRAM data maskSLO
LDQM3A2DQM3SDRAM data maskSLO
LDQM4A1DQM4SDRAM data maskSLO
Table 38: PBGA ballout for ST40RA
76/92
8 Pin descriptionST40RA
Pin nameLoc
LDQM5L1DQM5SDRAM data maskSLO
LDQM6M2DQM6SDRAM data maskSLO
LDQM7Y3DQM7SDRAM data maskSLO
NOTLCSA0C9NOTCSA0Chip select ASLO
NOTLCSA1D9NOTCSA1Chip select ASLO
NOTLCSB0H3NOTCSB0Chip select BSLO
NOTLCSB1H4NOTCSB1Chip select BSLO
NOTLRASAC8NOTRASARow add strobe ASLO
NOTLRASBK4NOTRASBRow add strobe BSLO
NOTLCASAC7NOTCASAColumn add strobe ASLO
NOTLCASBL4NOTCASBColumn add strobe BSLO
NOTLWEAD6NOTWEAWrite enable A SLO
NOTLWEBJ5NOTWEBWrite enable BSLO
Architecture
signal name
DefaultAlternateTypeDir
Pin functionPin
LCLKEN0C6CKE0Clock enableSLO
LCLKEN1K3CKE1Clock enableSLO
PAD0T17PCI_AD0PCI address and data P8I/O
PAD1T18PCI_AD1PCI address and data P8I/O
PAD2R19PCI_AD2PCI address and data P8I/O
PAD3R20PCI_AD3PCI address and data P8I/O
PAD4R17PCI_AD4PCI address and data P8I/O
PAD5R18PCI_AD5PCI address and data P8I/O
PAD6P19PCI_AD6PCI address and data P8I/O
PAD7P20PCI_AD7PCI address and data P8I/O
PAD8P17PCI_AD8PCI address and data P8I/O
PAD9P18PCI_AD9PCI address and data P8I/O
PAD10N19PCI_AD10PCI address and data P8I/O
PAD11N20PCI_AD11PCI address and data P8I/O
PAD12N17PCI_AD12PCI address and data P8I/O
PAD13N18PCI_AD13PCI address and data P8I/O
PAD14M19PCI_AD14PCI address and data P8I/O
PAD15M20PCI_AD15PCI address and data P8I/O
PAD16K17PCI_AD16PCI address and data P8I/O
PAD17K18PCI_AD17PCI address and data P8I/O
PAD18J19PCI_AD18PCI address and data P8I/O
Table 38: PBGA ballout for ST40RA
77/92
ST40RA8 Pin description
Pin nameLoc
PAD19J20PCI_AD19PCI address and data P8I/O
PAD20J17PCI_AD20PCI address and data P8I/O
PAD21J18PCI_AD21PCI address and data P8I/O
PAD22H19PCI_AD22PCI address and data P8I/O
PAD23H20PCI_AD23PCI address and data P8I/O
PAD24H17PCI_AD24PCI address and data P8I/O
PAD25H18PCI_AD25PCI address and data P8I/O
PAD26G19PCI_AD26PCI address and data P8I/O
PAD27G20PCI_AD27PCI address and data P8I/O
PAD28G17PCI_AD28PCI address and data P8I/O
PAD29G18PCI_AD29PCI address and data P8I/O
PAD30F17PCI_AD30PCI address and data P8I/O
PAD31F18PCI_AD31PCI address and data P8I/O
Architecture
signal name
DefaultAlternateTypeDir
Pin functionPin
NOTPCBE0P16PCI_C/BE0PCI com and byte enableP8I/O
NOTPCBE1N16PCI_C/BE1PCI com and byte enableP8I/O
NOTPCBE2K16PCI_C/BE2PCI com and byte enableP8I/O
NOTPCBE3H16PCI_C/BE3PCI com and byte enableP8I/O
PPARM16PCI_PARParity signalP8I/O
NOTPFRAMEK19NOTPCI_FRAMEPCI beginning accessP8I/O
NOTPIRDYK20NOTPCI_IRDYPCI initiator readyP8I/O
NOTPTRDYL17NOTPCI_TRDYPCI target readyP8I/O
NOTPSTOPL19NOTPCI_STOPPCI req stop transferP8I/O
NOTPERRM17NOTPCI_PERRPCI parity errorP8I/O
NOTPSERRM18NOTPCI_SERRPCI system errorP8I/O
NOTPDEVSELL18NOTPCI_DEVSELPCI device selectP8I/O
PIDSELJ16PCI_IDSELPCI initialization device-I/O
NOTPRSTR16NOTPCI_RSTPCI resetP8I/O
NOTPLOCKL20NOTPLOCKPCI exclusive accessP8I
PCLKF19PCI_CLKPCI clock inputP8I
NOTPREQ0E18NOTPCI_REQ0PCI external request for busPIO16P8I/OI/O
NOTPREQ1E17NOTPCI_REQ1PCI external request for bus PIO18P8II/O
NOTPREQ2F16NOTPCI_REQ2PCI external request for bus PIO20P8II/O
Table 38: PBGA ballout for ST40RA
78/92
8 Pin descriptionST40RA
Pin nameLoc
NOTPREQ3G16NOTPCI_REQ3PCI external request for bus PIO22
NOTPGNT0D18NOTPCI_GNT0PCI grant external requestPIO17P8I/OI/O
NOTPGNT1D17NOTPCI_GNT1PCI grant external request PIO19P8OI/O
NOTPGNT2E16NOTPCI_GNT2PCI grant external request PIO21P8OI/O
NOTPGNT3D16NOTPCI_GNT3PCI grant external request PIO23
EPENDINGN3EPENDINGEMI pending refresh or access E4O
MCLKOUTY10MCLKOUTMPX clock-O
E4I/O
Table 38: PBGA ballout for ST40RA
82/92
8 Pin descriptionST40RA
Pin nameLoc
NOTMREQR3EMI_BUS_REQ or
NOTMACKP3EMI_BUS_GRANT
FCLKOUTV10FCLKOUTFlash clock-O
NOTFBAAN5-Flash bus address advance-O
NOTESCS0L5-Reserved tri-stateMBXINTP8O
NOTESCS1M5-Reserved tri-stateEMPIDREQ0P8O
NOTESCS2M4-Reserved tri-stateEMPIDRAK0P8I
GNDH8:N
13
Architecture
signal name
EMI_HOLD_ACK
when EMI slave
or EMI_HOLD_REQ
when EMI slave
DefaultAlternateTypeDir
MPX bus request-I/O
MPX bus acknowledge-I/O
36 ball array for ground supply and heat dissipation
Pin functionPin
VDDCOREM6VDDCORE
VDDCOREN6VDDCORE
VDDCOREP6VDDCORE
VDDCORER6VDDCORE
VDDCORER7VDDCORE
VDDCORER8VDDCORE
VDDCORER9VDDCORE
VDDCORER10VDDCORE
VDDCORER11VDDCORE
VDDCORET11VDDCORE
VDDCORER12VDDCORE
VDDCORER13VDDCORE
VDDCORER14VDDCORE
VDDCOREM15VDDCORE
VDDCOREN15VDDCORE
VDDCOREP15VDDCORE
VDDCORER15VDDCORE
VDDLMIK5VDDLMI
VDDLMIF6VDDLMI
VDDLMIG6VDDLMI
VDDIOH6VDDIO
Table 38: PBGA ballout for ST40RA
83/92
ST40RA8 Pin description
Pin nameLoc
VDDLMIJ6VDDLMI
VDDIOK6VDDIO
VDDLMIL6VDDLMI
VDDIOF7VDDIO
VDDLMIF8VDDLMI
VDDIOF9VDDIO
VDDIOE10VDDIO
VDDLMIF10VDDLMI
VDDIOF11VDDIO
VDDIOF12VDDIO
VDDIOF13VDDIO
VDDLMIF14VDDLMI
VDDLMIF15VDDLMI
Architecture
signal name
Pin functionPin
DefaultAlternateTypeDir
VDDIOG15VDDIO
VDDIOH15VDDIO
VDDIOJ15VDDIO
VDDIOK15VDDIO
VDDIOL15VDDIO
VDDIOL16VDDIO
Table 38: PBGA ballout for ST40RA
84/92
8 Pin descriptionST40RA
8.4 Pin states
The following table shows the direction and state of the pins during and immediately after reset.
● Z indicates an output or I/O pin that has been tri-stated.
● I indicates an input or I/O pin in input modes (I/O buffer tri-stated).
● 1 indicates an output or I/O pin driving logical high.
● 0 indicates an output or I/O pin driving logical low.
● X indicates an output or I/O pin driving undefined data.
● H indicates a pin with weak internal pull-up enabled.
● L indicates a pin with weak internal pull-down enabled.
Table 39: Pin reset states for ST40RA
Architecturally defined
Pin names
reset state
DirDuring reset
LMI system pins
LDATA0:63I/OZI/OZ
LBANK0:1OXI/O11
LADDR0:14OXI/O1...1
LDQS0:7I/OZI/OZ
LCLKOUTA:BO1I/OX
NOTLCLKOUTA:BO0I/OX
LDQM0:7OXI/OX
NOTLCSA/B0:1, O1I/O11
NOTLRASA:B,
NOTLCASA:B, NOTLWEA:B
LCLKEN0:1O0I/O0
PCI system pins
O1I/O1
Implementation reset state during and after
reset
DirDuring resetFollowing reset
PAD0:31I/O0I/O0
NOTPCBE0:3I/O0I/O0
PPARI/O0I/O0
NOTPFRAMEI/O1I/OH
NOT PIRDYI/O1I/OH
NOTPTRDYI/O1I/OH
NOTPSTOPI/O1I/OH
NOTPERRI/O1I/OH
NOTPSERRI/O1I/OH
NOTPDEVSELI/O1I/OH
PIDSELI/O0I0
NOTPRSTI/O0I/O0
85/92
ST40RA8 Pin description
Table 39: Pin reset states for ST40RA
Architecturally defined
Pin names
reset state
DirDuring reset
NOTPLOCKI-I/OH
PCLKI-I/OZ
NOTPREQ[0:3]I-I/OZ
NOTPGNT[0:3]O1I/O1111
PCLKOUTORunningI/ORunning
NOTPINTAI/O-I/OH
GPDMA pins
DACK0, DACK1OZI/O0
DRAK0, DRAK1OZI/O0
DREQ0, DREQ1I-I/OZ
Serial communication interface with FIFO (SCIF) pins
SCI2I-I/OH
CTS1OZI/OH
Implementation reset state during and after
reset
DirDuring resetFollowing reset
RXD0, RXD1I-I/OH
SCK0, SCK1I-I/OH
TXD0, TXD1OZI/OH
Power, clocks and so on
NOTRSTI-I(0)(1)
IRL0:3, NMII-IH
TMUCLKI/O-I/OH
LPCLKINI-I0
CLKINI-IRunning
LPCLKOSC, CLKOSCOOscillator outputORunning
AUXCLKOUTOCLKINOCLKIN
STATUS1:0O11O1100
AUDATA0:3O00O0000
AUDSYNCO1O1
AUDCLKO0O0
NOTASEBRKI-I/O(1)
DCLK, TCK, EADDR,TDII-I(0)
NOTTRST,I-I(0)(1)
TDOOZOZ
86/92
8 Pin descriptionST40RA
Table 39: Pin reset states for ST40RA
Architecturally defined
Pin names
reset state
DirDuring reset
EMI system pins
EADDR[2:26]
EDATA[0:31]I/OZI/OZ
ECLKOUT, MCLKOUT,
FCLKOUT
ECLKENOZOZ1
EDQM[0:3]OZOZ1111
NOTECS[0:5]O1I/OZ111111
NOTERAS, NOTECAS,
NOTEWE
EWAITI/OZI/OZ
EPENDINGO
A
OZI/OZZZE740
O0O0
I/O1I/OZ1
0 (MD7 = 0)
I
Z (MD7 = 1)
Implementation reset state during and after
reset
DirDuring resetFollowing reset
0
(Mode 0)
I/O
MD7
= 0
Z0
NOTMREQ
(EMI_HOLD_ACK when EMI
slave)
NOTMACK
(EMI_HOLD_REQ when EMI
slave)
NOTFBAAOZOZ1
NOTESCS[0:2]OZI/OZ
I-IZ
OZOZ1
a. The reset state of the EADDR bus is tri-state, the value given corresponds to a specific boot mode
and shows the expected ties.
87/92
ST40RA9 Package
9 Package
Physical properties:
● 27 x 27 mm 372 plastic ball grid array (PBGA) (336 + 36 thermal ground balls),
● Typical power consumption <2 W,
● Substrate height: 0.56 mm,
● Total height: 2.33 mm,
● Cover + substrate: 1.73 mm.
Figure 20 and Figure 21 are diagrams of the pin disposition on the package. .
Figure 20: 372-pin PBGA package
1234567891011121314151617181920
A
B
e
=
=
E
E1
=
=
C
D
E
F
G
H
J
K
L
M
N
P
R
T
U
V
W
Y
e
D1
f
Detail D
=
=
D
==
Option: 36 thermal balls
88/92
9 PackageST40RA
Figure 21: Package layout (viewed through package)
A1 corner index
area
A
C
E
G
J
L
N
R
U
W
8
2
1
B
D
F
H
K
M
P
T
V
Y
64
7
5
3
1210
15
13
11
9
D2
19
17
E2
20
18
16
14
To p v i e w
A2A1
Seating plane
b
A
∅eee
∅fff
M
C
C
M
∩ ddd C
AB
Side view
89/92
ST40RA9 Package
Table 40: Package dimensions
Dimensions
Ref
DescriptionDatabook (mm)Drawing (mm)
MinTypicalMaxMinTypicalMax
A2.62.6Overall thickness
A10.360.50.7Ball height
A21.91.631.9Body thickness
b0.60.750.90.60.750.9Ball diameter
D26.82727.226.827.027.2Body size
D124.1324.13Ball footprint
E26.82727.226.827.027.2Body size
E124.1324.13Ball footprint
e1.271.27Ball pitch
f1.4351.435Ball to edge
. ddd0.20.2Co-planarity
. eee
(3)
. fff
(4)
0.150.15Cylindrical tolerance
0.0750.75Cylindrical tolerance
90/92
Revision history ST40RA
Revision history
DateRevisionChanges
Version number incremented from G (ADCS 7260755H) to 2 due to Internal Document
10-May-20052
13-Aug-2003G
Management System change
Changed VDD
type in Section 3 on page 19 and Section 7.1.2 on page 57
4 Architecture
Section 4.2.3: Standard ST40 peripherals on
page 21
5 System configuration
Section 5.7: EMI pin to function relationship on
page 32
7 Electrical specifications
Section 7.1.2: Operating conditions on page 57
Section 7.3: PCI interface AC specifications on
page 63
Section 7.4: LMI interface (SDRAM) AC
specifications on page 64
Section 7.7: General purpose peripheral bus
(EMI) AC specifications on page 67
Section 7.8: PIO AC specifications on page 68
Section 7.10: Low power CLKIN AC
specifications on page 70
range to 1.80V-1.95V (instead of 1.65V-1.95V) for ST40RA200 sales
core
New watchdog timer section
New section
IWP, LVREF updated, VIH1 defined
tPCIHAIX changed
tLCHLOV, tLIVLCH changed
tECHCH, tECLCL, tECLEOV,
tECHEOV changed
tPCHPOV changed, tPIOf description
changed
tLCLLCL changed
9 PackageNew information
91/92STMicroelectronics
ST40RA
Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the
consequences of use of such information nor for any infringement of patents or other rights of third parties which may result
from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics.
Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces
all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life
support devices or systems without express written approval of STMicroelectronics.
The ST logo is a registered trademark of STMicroelectronics.
All other names are the property of their respective owners