The HM5225165B is a 256-Mbit SDRAM organized as 4194304-word × 16-bit × 4 bank. The HM5225805B
is a 256-Mbit SDRAM organized as 8388608-word × 8-bit × 4 bank. The HM5225405B is a 256-Mbit
SDRAM organized as 16777216-word × 4-bit × 4 bank. All inputs and outputs are referred to the rising edge
of the clock input. It is packaged in standard 54-pin plastic TSOP II.
Features
• 3.3 V power supply
• Clock frequency: 133 MHz/100 MHz (max)
• LVTTL interface
• Single pulsed RAS
• 4 banks can operate simultaneously and independently
• Burst read/write operation and burst read/single write operation capability
CSChip selectV
RASRow address strobe commandVCCQPower for DQ circuit
CASColumn address strobe commandVSSQGround for DQ circuit
Address inputWEWrite enable
Row addressA0 to A12DQMInput/output mask
Column addressA0 to A9, A11CLKClock input
Bank select addressBA0/BA1 (BS)CKEClock enable
CC
SS
Power for internal circuit
Ground for internal circuit
NCNo connection
Data Sheet E0082H10
5
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Block Diagram (HM5225165B)
A0 to A12, BA0, BA1
Column address
counter
Row decoder
Memory array
Bank 0
Column decoder
8192 row
X 512 column
X 16 bit
Sense amplifier & I/O bus
A0 to A8
Column address
Row decoder
Memory array
Bank 1
Column decoder
8192 row
X 512 column
X 16 bit
Sense amplifier & I/O bus
Input
buffer
buffer
Output
buffer
Row address
Row decoder
Memory array
Bank 2
Column decoder
8192 row
X 512 column
X 16 bit
Sense amplifier & I/O bus
buffer
A0 to A12, BA0, BA1
Control logic &
timing generator
Refresh
counter
Row decoder
Memory array
Bank 3
Column decoder
8192 row
X 512 column
X 16 bit
Sense amplifier & I/O bus
DQ0 to DQ15
CLK
CKECSRAS
CAS
WE
DQMU
/DQML
Data Sheet E0082H10
6
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Block Diagram (HM5225805B)
A0 to A12, BA0, BA1
Column address
counter
Row decoder
Memory array
Column decoder
8192 row
X 1024 column
X 8 bit
Sense amplifier & I/O bus
Bank 0
A0 to A9
Column address
Row decoder
Memory array
Bank 1
Column decoder
8192 row
X 1024 column
X 8 bit
Sense amplifier & I/O bus
Input
buffer
buffer
Output
buffer
Row address
Row decoder
Memory array
Column decoder
8192 row
X 1024 column
X 8 bit
Sense amplifier & I/O bus
buffer
Bank 2
A0 to A12, BA0, BA1
Control logic &
timing generator
Refresh
counter
Row decoder
Memory array
Column decoder
8192 row
X 1024 column
X 8 bit
Sense amplifier & I/O bus
Bank 3
DQ0 to DQ7
Data Sheet E0082H10
CLK
CKECSRAS
CAS
WE
DQM
7
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Block Diagram (HM5225405B)
A0 to A12, BA0, BA1
A0 to A9, A11
A0 to A12, BA0, BA1
Column address
counter
Row decoder
Memory array
Bank 0
Column decoder
8192 row
X 2048 column
X 4 bit
Sense amplifier & I/O bus
Column address
Row decoder
Memory array
Bank 1
Column decoder
8192 row
X 2048 column
X 4 bit
Sense amplifier & I/O bus
Input
buffer
DQ0 to DQ3
buffer
Output
buffer
Row address
Row decoder
Memory array
Bank 2
Column decoder
8192 row
X 2048 column
X 4 bit
Sense amplifier & I/O bus
buffer
Control logic &
timing generator
CLK
CKECSRAS
Refresh
counter
Row decoder
Memory array
Bank 3
Column decoder
CAS
8192 row
X 2048 column
X 4 bit
Sense amplifier & I/O bus
WE
DQM
Data Sheet E0082H10
8
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Pin Functions
CLK (input pin): CLK is the master clock input to this pin. The other input signals are referred at CLK
rising edge.
CS (input pin): When CS is Low, the command input cycle becomes valid. When CS is High, all inputs are
ignored. However, internal operations (bank active, burst operations, etc.) are held.
RAS, CAS, and WE (input pins): Although these pin names are the same as those of conventional DRAMs,
they function in a different way. These pins define operation commands (read, write, etc.) depending on the
combination of their voltage levels. For details, refer to the command operation section.
A0 to A12 (input pins): Row address (AX0 to AX12) is determined by A0 to A12 level at the bank active
command cycle CLK rising edge. Column address (AY0 to AY8; HM5225165B, AY0 to AY9;
HM5225805B, AY0 to AY9, AY11; HM5225405B) is determined by A0 to A8, A9 or A11 (A8;
HM5225165B, A9; HM5225805B, A9, A11; HM5225405B) level at the read or write command cycle CLK
rising edge. And this column address becomes burst access start address. A10 defines the precharge mode.
When A10 = High at the precharge command cycle, all banks are precharged. But when A10 = Low at the
precharge command cycle, only the bank that is selected by BA0/BA1 (BS) is precharged. For details refer to
the command operation section.
BA0/BA1 (input pin): BA0/BA1 are bank select signal (BS). The memory array of the HM5225165B,
HM5225805B, the HM5225405B is divided into bank 0, bank 1, bank 2 and bank 3. HM5225165B contain
8192-row × 512-column × 16-bit. HM5225805B contain 8192-row × 1024-column × 8-bit. HM5225405B
contain 8192-row × 2048-column × 4-bit. If BA0 is Low and BA1 is Low, bank 0 is selected. If BA0 is Low
and BA1 is High, bank 1 is selected. If BA0 is High and BA1 is Low, bank 2 is selected. If BA0 is High and
BA1 is High, bank 3 is selected.
CKE (input pin): This pin determines whether or not the next CLK is valid. If CKE is High, the next CLK
rising edge is valid. If CKE is Low, the next CLK rising edge is invalid. This pin is used for power-down
mode, clock suspend mode and self refresh mode.
Read operation: If DQM, DQMU/DQML is High, the output buffer becomes High-Z. If the DQM,
DQMU/DQML is Low, the output buffer becomes Low-Z. (The latency of DQM, DQMU/DQML during
reading is 2 clocks.)
Write operation: If DQM, DQMU/DQML is High, the previous data is held (the new data is not written). If
DQM, DQMU/DQML is Low, the data is written. (The latency of DQM, DQMU/DQML during writing is 0
clock.)
DQ0 to DQ15 (DQ pins): Data is input to and output from these pins (DQ0 to DQ15; HM5225165B, DQ0
to DQ7; HM5225805B, DQ0 to DQ3; HM5225405B).
VCC and VCCQ (power supply pins): 3.3 V is applied. (VCC is for the internal circuit and VCCQ is for the
output buffer.)
Data Sheet E0082H10
9
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
VSS and VSSQ (power supply pins): Ground is connected. (VSS is for the internal circuit and VSSQ is for the
output buffer.)
Command Operation
Command Truth Table
The SDRAM recognizes the following commands specified by the CS, RAS, CAS, WE and address pins.
CKE
CommandSymboln - 1 nCS RASCAS WE BA0/BA1 A10A0to A12
Ignore commandDESLH×H××××××
No operationNOPH×LH H H×××
Column address and read command READH×LH L HVL V
Read with auto-prechargeREAD AH×LH L HVH V
Column address and write command WRITH×LH L L VL V
Write with auto-prechargeWRIT AH×LH L L VH V
Row address strobe and bank active ACTVH×LL H HVV V
Precharge select bankPREH×LL H L VL ×
Precharge all bankPALLH×LL H L ×H×
RefreshREF/SELF HVLLLH×××
Mode register setMRSH×LL L L VV V
Ignore command [DESL]: When this command is set (CS is High), the SDRAM ignore command input at
the clock. However, the internal status is held.
No operation [NOP]: This command is not an execution command. However, the internal operations
continue.
Column address strobe and read command [READ]: This command starts a read operation. In addition,
the start address of burst read is determined by the column address (AY0 to AY8; HM5225165B, AY0 to
AY9; HM5225805B, AY0 to AY9, AY11; HM5225405B) and the bank select address (BS). After the read
operation, the output buffer becomes High-Z.
Read with auto-precharge [READ A]: This command automatically performs a precharge operation after a
burst read with a burst length of 1, 2, 4 or 8.
Data Sheet E0082H10
10
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Column address strobe and write command [WRIT]: This command starts a write operation. When the
burst write mode is selected, the column address (AY0 to AY8; HM5225165B, AY0 to AY9; HM5225805B,
AY0 to AY9, AY11; HM5225405B) and the bank select address (BA0/BA1) become the burst write start
address. When the single write mode is selected, data is only written to the location specified by the column
address (AY0 to AY8; HM5225165B, AY0 to AY9; HM5225805B, AY0 to AY9, AY11; HM5225405B) and
the bank select address (BA0/BA1).
Write with auto-precharge [WRIT A]: This command automatically performs a precharge operation after a
burst write with a length of 1, 2, 4 or 8, or after a single write operation.
Row address strobe and bank activate [ACTV]: This command activates the bank that is selected by
BA0/BA1 (BS) and determines the row address (AX0 to AX12). When BA0 and BA1 are Low, bank 0 is
activated. When BA0 is Low and BA1 is High, bank 1 is activated. When BA0 is High and BA1 is Low,
bank 2 is activated. When BA0 and BA1 are High, bank 3 is activated.
Precharge selected bank [PRE]: This command starts precharge operation for the bank selected by
BA0/BA1. If BA0 and BA1 are Low, bank 0 is selected. If BA0 is Low and BA1 is High, bank 1 is selected.
If BA0 is High and BA1 is Low, bank 2 is selected. If BA0 and BA1 are High, bank 3 is selected.
Precharge all banks [PALL]: This command starts a precharge operation for all banks.
Refresh [REF/SELF]: This command starts the refresh operation. There are two types of refresh operation,
the one is auto-refresh, and the other is self-refresh. For details, refer to the CKE truth table section.
Mode register set [MRS]: The SDRAM has a mode register that defines how it operates. The mode register
is specified by the address pins (A0 to BA0 and BA1) at the mode register set cycle. For details, refer to the
mode register configuration. After power on, the contents of the mode register are undefined, execute the
mode register set command to set up the mode register.
Data Sheet E0082H10
11
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
DQM Truth Table (HM5225165B)
CKE
CommandSymboln - 1nDQMUDQML
Upper byte (DQ8 to DQ15) write enable/output enable ENBUH×L×
Lower byte (DQ0 to DQ7) write enable/output enableENBLH××L
Upper byte (DQ8 to DQ15) write inhibit/output disable MASKUH×H×
Lower byte (DQ0 to DQ7) write inhibit/output disableMASKLH××H
The SDRAM can mask input/output data by means of DQM, DQMU/DQML.
DQMU masks the upper byte and DQML masks the lower byte. (HM5225165B)
During reading, the output buffer is set to Low-Z by setting DQM, DQMU/DQML to Low, enabling data
output. On the other hand, when DQM, DQMU/DQML is set to High, the output buffer becomes High-Z,
disabling data output.
During writing, data is written by setting DQM, DQMU/DQML to Low. When DQM, DQMU/DQML is set
to High, the previous data is held (the new data is not written). Desired data can be masked during burst read
or burst write by setting DQMU/DQML. For details, refer to the DQM, DQMU/DQML control section of the
SDRAM operating instructions.
Clock suspend mode entry: The SDRAM enters clock suspend mode from active mode by setting CKE to
Low. If command is input in the clock suspend mode entry cycle, the command is valid. The clock suspend
mode changes depending on the current status (1 clock before) as shown below.
ACTIVE clock suspend: This suspend mode ignores inputs after the next clock by internally maintaining
the bank active status.
READ suspend and READ with Auto-precharge suspend: The data being output is held (and continues to
be output).
WRITE suspend and WRIT with Auto-precharge suspend: In this mode, external signals are not
accepted. However, the internal state is held.
Clock suspend: During clock suspend mode, keep the CKE to Low.
Clock suspend mode exit: The SDRAM exits from clock suspend mode by setting CKE to High during the
clock suspend state.
IDLE: In this state, all banks are not selected, and completed precharge operation.
Auto-refresh command [REF]: When this command is input from the IDLE state, the SDRAM starts auto-
refresh operation. (The auto-refresh is the same as the CBR refresh of conventional DRAMs.) During the
auto-refresh operation, refresh address and bank select address are generated inside the SDRAM. For every
auto-refresh cycle, the internal address counter is updated. Accordingly, 8192 times are required to refresh
the entire memory. Before executing the auto-refresh command, all the banks must be in the IDLE state. In
addition, since the precharge for all banks is automatically performed after auto-refresh, no precharge
command is required after auto-refresh.
Data Sheet E0082H10
13
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Self-refresh entry [SELF]: When this command is input during the IDLE state, the SDRAM starts self-
refresh operation. After the execution of this command, self-refresh continues while CKE is Low. Since selfrefresh is performed internally and automatically, external refresh operations are unnecessary.
Power down mode entry: When this command is executed during the IDLE state, the SDRAM enters power
down mode. In power down mode, power consumption is suppressed by cutting off the initial input circuit.
Self-refresh exit: When this command is executed during self-refresh mode, the SDRAM can exit from selfrefresh mode. After exiting from self-refresh mode, the SDRAM enters the IDLE state.
Power down exit: When this command is executed at the power down mode, the SDRAM can exit from
power down mode. After exiting from power down mode, the SDRAM enters the IDLE state.
Function Truth Table
The following table shows the operations that are performed when each command is issued in each mode of
the SDRAM.
The following table assumes that CKE is high.
Current stateCSRASCAS WEAddressCommandOperation
PrechargeH××××DESLEnter IDLE after t
LHHH×NOPEnter IDLE after t
LHLHBA, CA, A10 READ/READ AILLEGAL*
LHLLBA, CA, A10 WRIT/WRIT AILLEGAL*
LLHHBA, RAACTVILLEGAL*
LLHLBA, A10PRE, PALLNOP*
6
LLLH×REF, SELFILLEGAL
LLLLMODEMRSILLEGAL
IdleH××××DESLNOP
LHHH×NOPNOP
LHLHBA, CA, A10 READ/READ AILLEGAL*
LHLLBA, CA, A10 WRIT/WRIT AILLEGAL*
LLHHBA, RAACTVBank and row active
LLHLBA, A10PRE, PALLNOP
LLLH×REF, SELFRefresh
LLLLMODEMRSMode register set
RP
RP
4
4
4
5
5
14
Data Sheet E0082H10
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Current stateCSRASCAS WEAddressCommandOperation
Row activeH××××DESLNOP
LHHH×NOPNOP
LHLHBA, CA, A10 READ/READ ABegin read
LHLLBA, CA, A10 WRIT/WRIT ABegin write
LLHHBA, RAACTVOther bank active
ILLEGAL on same bank*
LLHLBA, A10PRE, PALLPrecharge
LLLH×REF, SELFILLEGAL
LLLLMODEMRSILLEGAL
ReadH××××DESLContinue burst to end
LHHH×NOPContinue burst to end
LHLHBA, CA, A10 READ/READ AContinue burst read to CAS
latency and New read
LHLLBA, CA, A10 WRIT/WRIT ATerm burst read/start write
LLHHBA, RAACTVOther bank active
ILLEGAL on same bank*
LLHLBA, A10PRE, PALLTerm burst read and
precharge
LHLHBA, CA, A10 READ/READ AILLEGAL*
LHLLBA, CA, A10 WRIT/WRIT AILLEGAL*
4
4
LLHHBA, RAACTVOther bank active
ILLEGAL on same bank*
LLHLBA, A10PRE, PALLILLEGAL*
4
LLLH×REF, SELFILLEGAL
LLLLMODEMRSILLEGAL
3
3
3
Data Sheet E0082H10
15
HM5225165B/HM5225805B/HM5225405B-75/A6/B6
Current stateCSRASCAS WEAddressCommandOperation
WriteH××××DESLContinue burst to end
LHHH×NOPContinue burst to end
LHLHBA, CA, A10 READ/READ ATerm burst and New read
LHLLBA, CA, A10 WRIT/WRIT ATerm burst and New write
LLHHBA, RAACTVOther bank active
ILLEGAL on same bank*
LLHLBA, A10PRE, PALLTerm burst write and
LLLH×REF, SELFILLEGAL
LLLLMODEMRSILLEGAL
Write with auto-
H××××DESLContinue burst to end and
precharge
LHHH×NOPContinue burst to end and
LHLHBA, CA, A10 READ/READ AILLEGAL*
LHLLBA, CA, A10 WRIT/WRIT AILLEGAL*
LLHHBA, RAACTVOther bank active