Epson CMOS 32-Bit Single Chip Microcomputer S1C33L03 Technical Manual page 504

Cmos 32-bit single chip microcomputer
Table of Contents

Advertisement

VI SDRAM CONTROLLER BLOCK: SDRAM INTERFACE
Bank, row, and column address configuration
An SDRAM memory array consists of two or four banks, with each bank divided into pages. For this reason,
SDRAMs have a bank select pin which is not found in asynchronous DRAMs. Inside the Bank, the Column
(Page) address and the Row address are selected by #CAS and #RAS, respectively, in the same way as with
asynchronous DRAMs.
For the SDRAM addresses to be generated correctly, it is necessary that the bank size and the column and
row address ranges be set in the SDRAM controller according to the SDRAMs used. For these settings, use
the registers shown below.
Bank size:
Column addressing range: SDRCA[1:0] (D[6:5])/SDRAM address configuration register (0x39FFC2)
Row addressing range:
SDRCA1
SDRRA1
The SDRAM controller uses only the lower 24 bits of the 28-bit address bus. The relationship between the
CPU addresses and the Bank, Column, and Row addresses is shown below.
16-bit SDRAM interface (SDRSZ = "1")
A(m+n+p)
A(m+n+1)
Bank address
When reading/writing byte data, the SDRAM controller decodes A0/BSL and WRH/BSH into LDQM and
HDQM.
8-bit SDRAM interface (SDRSZ = "0")
A(m+n+p-1)
A(m+n)
Bank address
m: Column address size (number of bits)
n:
Row address size (number of bits)
p:
Bank address size (number of bits)
Upper address bits that are not used (depending on memory size) are all set to 0s.
In cases when two areas are selected (SDRAR[1:0] = "11") and only one chip enable is enabled (SDRPC[1:0]
= "01" or "10"), the MSB of the bank address (A(m+n+p) for 16 bits or A(m+n+p-1) for 8 bits) is replaced
with the value shown below.
• Value is "0" when accessing area 7/13
• Value is "1" when accessing area 8/14
B-VI-2-8
SDRBA (D1)/SDRAM address configuration register (0x39FFC2)
SDRRA[1:0] (D[3:2])/SDRAM address configuration register (0x39FFC2)
Table 2.6 Setting Bank Size
SDRBA
Number of banks
0
1
Table 2.7 Setting Column Addressing Range (Page Size)
SDRCA0
Column size
0
0
0
1
1
0
1
1
Table 2.8 Setting Row Addressing Range
SDRRA0
Row size
0
0
0
1
1
0
1
1
A(m+n)
···
Row address
A(m+n-1)
Row address
Bank address (pin) used
2
SDBA0 (default)
4
SDBA0–SDBA1
Column address (pin) used
256
SDA0–SDA7 (default)
512
SDA0–SDA8
1,024
SDA0–SDA9
Row address (pin) used
2K
SDA0–SDA10 (default)
4K
SDA0–SDA11
8K
SDA0–SDA12
A(m+1)
A(m)
Column address
···
A(m)
A(m-1)
EPSON
···
A1
···
Column address
S1C33L03 FUNCTION PART
A0
DQM
A0

Advertisement

Table of Contents
loading

Table of Contents