VI SDRAM CONTROLLER BLOCK: SDRAM INTERFACE
B-VI-2-12
EPSON
S1C33L03 FUNCTION PART
SDRAM Operation
Synchronous Clock
The SDRAM controller uses the BCLK pin as it outputs the SDRAM clock.
High-speed (OSC3)
oscillation circuit
CLKCHG
CLKDT[1:0]
PLLS[1:0] pins
#X2SPD pin
To CPU
OSC3_CLK
PLL_CLK
A
CPU_CLK
BCU_CLK
CPU_CLK
OSC3_CLK
PLL_CLK
Bus clock
PLL
Low-speed (OSC1)
oscillation circuit
CLG
BCU
1/1 or 1/2
1/1–1/8
BCLKSEL[1:0]
SDRENA
SD_CLK
SDRAMC
1/1 or 1/2
Refresh
counter
BCLK pin
Figure 2.8 SDRAM Clock System
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.
#SDCEx
OSC3 (CPU_CLK)
BCLK (BCU_CLK)
BCLK (SD_CLK when SDRCLK = "1")
BCLK (SD_CLK when SDRCLK = "0")
SDCKE
Access to
the SDRAM
Access to other
external memory
Access to the
internal memory
When #X2SPD = "1"
Self
refresh
#SDCEx
OSC3 (CPU_CLK)
BCLK (BCU_CLK)
BCLK (SD_CLK when SDRCLK = "1")
BCLK (SD_CLK when SDRCLK = "0")
SDCKE
Access to
the SDRAM
Access to other
external memory
Access to the
internal memory
When #X2SPD = "0"
Self
refresh
Figure 2.9 SDRAM Clock Operation
Summary of Contents for CMOS 32-Bit Single Chip Microcomputer S1C33L03
Page 4: ......
Page 14: ......
Page 15: ...S1C33L03 PRODUCT PART ...
Page 16: ......
Page 147: ...S1C33L03 FUNCTION PART ...
Page 148: ......
Page 149: ...S1C33L03 FUNCTION PART I OUTLINE ...
Page 150: ......
Page 152: ...I OUTLINE INTRODUCTION B I 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 162: ...I OUTLINE LIST OF PINS B I 3 8 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 163: ...S1C33L03 FUNCTION PART II CORE BLOCK ...
Page 164: ......
Page 166: ...II CORE BLOCK INTRODUCTION B II 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 172: ...II CORE BLOCK CPU AND OPERATING MODE B II 2 6 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 176: ...II CORE BLOCK INITIAL RESET B II 3 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 224: ...II CORE BLOCK BCU Bus Control Unit B II 4 48 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 262: ...II CORE BLOCK DBG Debug Unit B II 7 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 263: ...S1C33L03 FUNCTION PART III PERIPHERAL BLOCK ...
Page 264: ......
Page 266: ...III PERIPHERAL BLOCK INTRODUCTION B III 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 322: ...III PERIPHERAL BLOCK WATCHDOG TIMER B III 5 4 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 415: ...S1C33L03 FUNCTION PART IV ANALOG BLOCK ...
Page 416: ......
Page 418: ...IV ANALOG BLOCK INTRODUCTION B IV 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 434: ...IV ANALOG BLOCK A D CONVERTER B IV 2 16 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 435: ...S1C33L03 FUNCTION PART V DMA BLOCK ...
Page 436: ......
Page 438: ...V DMA BLOCK INTRODUCTION B V 1 2 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 492: ...V DMA BLOCK IDMA Intelligent DMA B V 3 18 EPSON S1C33L03 FUNCTION PART THIS PAGE IS BLANK ...
Page 493: ...S1C33L03 FUNCTION PART VI SDRAM CONTROLLER BLOCK ...
Page 494: ......
Page 531: ...S1C33L03 FUNCTION PART VII LCD CONTROLLER BLOCK ...
Page 532: ......
Page 579: ...S1C33L03 FUNCTION PART Appendix I O MAP ...
Page 580: ......