Section 12 DDR-SDRAM Interface (DDRIF)
Rev.1.00 Dec. 13, 2005 Page 427 of 1286
REJ09B0158-0100
V: Valid
data
The DESELECT command in table 12.6 is automatically issued whenever the SDRAM is not
being accessed by any module. The DESELECT command therefore cannot be explicitly issued
by the user.
12.5.4 SDRAM
Access
Mode
The DDRIF supports the following two SDRAM access modes. The BOMODE bits in MIM are
used to select the required mode.
Bank Open Mode: The SDRAM is accessed without the PRE command immediately after a
memory read or memory write, meaning that the bank is always open. This mode is useful for
applications in which a single bank is the target of consecutive memory accesses. When another
bank becomes the target, the PRE command is automatically issued.
Bank Closed Mode: Immediately after each round of reading or writing, the PRE command is
output and the target bank is closed. This mode is useful for applications in which the same bank
is unlikely to be the target of consecutive memory accesses.
12.5.5 Power-Down
Modes
(1) Self-Refresh
Mode
The self-refresh mode is a standby state in which the SDRAM generates its own refresh timing
and refresh addresses. Once the self-refresh mode has been set by setting the DRE and RMODE
bits in MIM to 1, the self-refresh state is retained even if the CPU enters the sleep mode. If an
interrupt then takes the CPU out of the sleep mode, the self-refresh state is still retained.
Although the SDRAM is made to enter the self-refresh state by simply setting registers of the
DDRIF, the sequence given below should be followed.
Note that in the transition from auto-refresh state to self-refresh state, the current auto-refresh state
should have been finished or been disabled before the transition.
[Transition to self-refresh state]
1. Confirm that transactions to the DDRIF are completed.
2. Through software control, set the SMS bits in SCR to issue the PREALL (precharge all-banks)
command. This closes any SDRAM bank that was open. After that, use the SMS bits in SCR
to issue the REFA (auto-refresh) command to ensure that all memory rows are refreshed.
Summary of Contents for SH7780 Series
Page 2: ...Rev 1 00 Dec 13 2005 Page ii of l ...
Page 28: ...Rev 1 00 Dec 13 2005 Page xxviii of l ...
Page 50: ...Rev 1 00 Dec 13 2005 Page l of l ...
Page 82: ...Section 1 Overview Rev 1 00 Dec 13 2005 Page 32 of 1286 REJ09B0158 0100 ...
Page 122: ...Section 3 Instruction Set Rev 1 00 Dec 13 2005 Page 72 of 1286 REJ09B0158 0100 ...
Page 146: ...Section 4 Pipelining Rev 1 00 Dec 13 2005 Page 96 of 1286 REJ09B0158 0100 ...
Page 196: ...Section 6 Floating Point Unit FPU Rev 1 00 Dec 13 2005 Page 146 of 1286 REJ09B0158 0100 ...
Page 292: ...Section 9 L Memory Rev 1 00 Dec 13 2005 Page 242 of 1286 REJ09B0158 0100 ...
Page 492: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Dec 13 2005 Page 442 of 1286 REJ09B0158 0100 ...
Page 674: ...Section 15 Clock Pulse Generator CPG Rev 1 00 Dec 13 2005 Page 624 of 1286 REJ09B0158 0100 ...
Page 692: ...Section 16 Watchdog Timer and Reset Rev 1 00 Dec 13 2005 Page 642 of 1286 REJ09B0158 0100 ...
Page 726: ...Section 18 Timer Unit TMU Rev 1 00 Dec 13 2005 Page 676 of 1286 REJ09B0158 0100 ...
Page 1032: ...Section 25 Audio Codec Interface HAC Rev 1 00 Dec 13 2005 Page 982 of 1286 REJ09B0158 0100 ...
Page 1150: ...Section 28 General Purpose I O GPIO Rev 1 00 Dec 13 2005 Page 1100 of 1286 REJ09B0158 0100 ...
Page 1184: ...Section 29 User Break Controller UBC Rev 1 00 Dec 13 2005 Page 1134 of 1286 REJ09B0158 0100 ...
Page 1266: ...Section 31 Electrical Characteristics Rev 1 00 Dec 13 2005 Page 1216 of 1286 REJ09B0158 0100 ...
Page 1328: ...Appendix Rev 1 00 Dec 13 2005 Page 1278 of 1286 REJ09B0158 0100 ...
Page 1336: ...Rev 1 00 Dec 13 2005 Page 1286 of 1286 REJ09B0158 0100 ...
Page 1339: ......
Page 1340: ...SH7780 Hardware Manual ...