Sdram Operation; Synchronous Clock - Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

VI SDRAM CONTROLLER BLOCK: SDRAM INTERFACE

SDRAM Operation

Synchronous Clock

The SDRAM controller uses the BCLK pin as it outputs the SDRAM clock.
High-speed (OSC3)
OSC3_CLK
oscillation circuit
PLL_CLK
PLL
Low-speed (OSC1)
oscillation circuit
Normally output from the BCLK pin is a clock selected with the BCU's BCLKSEL[1:0] (D[1:0])/BCLK select
register (0x4813A) (which is, by default, the CPU clock). Before SDRAM can be used, the SDRAM clock can be
enabled for output by writing "1" to the SDRENA (D7)/SDRAM control register (0x39FFC1).
The SDRAM clock has its frequency determined by how the #X2SPD pin is set, as does the BCU operating clock
(BCU_CLK).
#X2SPD = "1":
CPU–SDRAM clock ratio is set to 1 : 1. The SDRAM clock and the CPU system clock will be
the same.
#X2SPD = "0":
CPU–SDRAM clock ratio is set to 2 : 1. The SDRAM clock frequency becomes half of the CPU
system clock.
While the SDRAM is self-refreshed, the SDRAM clock output can be turned off in order to reduce the chip's
current consumption. To set this feature, use the SDRCLK (D3)/SDRAM control register (0x39FFC1).
SDRCLK = "1": The BCLK pin always outputs SDRAM clock (default).
SDRCLK = "0": The BCLK pin is fixed low while the SDRAM is self-refreshed. It is placed in the high-
impedance state while control of the bus is released.
When #X2SPD = "1"
BCLK (SD_CLK when SDRCLK = "1")
BCLK (SD_CLK when SDRCLK = "0")
When #X2SPD = "0"
BCLK (SD_CLK when SDRCLK = "1")
BCLK (SD_CLK when SDRCLK = "0")
B-VI-2-12
PLLS[1:0] pins
CLKDT[1:0]
CLKCHG
1/1–1/8
A
Figure 2.8 SDRAM Clock System
#SDCEx
OSC3 (CPU_CLK)
BCLK (BCU_CLK)
SDCKE
#SDCEx
OSC3 (CPU_CLK)
BCLK (BCU_CLK)
SDCKE
Figure 2.9 SDRAM Clock Operation
#X2SPD pin
CLG
BCU
CPU_CLK
BCU_CLK
1/1 or 1/2
CPU_CLK
OSC3_CLK
PLL_CLK
SDRAMC
1/1 or 1/2
Refresh
counter
Access to
Access to other
the SDRAM
external memory
Access to
Access to other
the SDRAM
external memory
EPSON
To CPU
Bus clock
BCLKSEL[1:0]
SDRENA
BCLK pin
SD_CLK
Self
refresh
Access to the
internal memory
Self
refresh
Access to the
internal memory
S1C33L03 FUNCTION PART

Advertisement

Table of Contents
loading

Table of Contents