Section 7 Bus State Controller (BSC)
Rev. 2.00 Mar 09, 2006 page 317 of 906
REJ09B0292-0200
7.5.8
Refreshes
The bus state controller is equipped with a function to control refreshes of synchronous DRAM.
Auto-refreshes can be performed by setting the RMODE bit to 0 and the RFSH bit to 1 in MCR.
Consecutive refreshes can also be generated by setting the RRC2–RRC0 bits in RTCSR. When the
synchronous DRAM is not accessed for a long period of time, set the RFSH bit and RMODE bit
both to 1 to generate self-refresh mode, which uses low power consumption to retain data.
Auto-Refresh:
The number of refreshes set in the RRC2–RRC0 bits in RTCSR are performed at
the interval determined by the input clock selected by the CKS2–CKS0 bits in RTCSR and the
value set in RTCOR. Set the CKS2–CKS0 bits and RTCOR so that the refresh interval
specifications of the synchronous DRAM being used are satisfied. First , set RTCOR, RTCNT,
and the RMODE and RFSH bits in MCR, then set the CKS2–CKS0 and RRC2–RRC0 bits in
RTCSR. When a clock is selected with the CKS2–CKS0 bits, RTCNT starts counting up from the
value at that time. The RTCNT value is constantly compared to the RTCOR value, and when the
two values match, a refresh request is made, and the number of auto-refreshes set in RRC2–RRC0
are performed. RTCNT is cleared to 0 at that time and the count up starts again. Figure 7.33 shows
the timing for the auto-refresh cycle.
First, a PALL command is issued during the Tp cycle to change all the banks from active to
precharge states. Then number of idle cycles equal to one less than the value set in TRP1 and
TRP0 are inserted, and a REF command is issued in the Trr cycle. After the Trr cycle, no new
commands are output for the number of cycles specified in the TRAS bit in MCR. The TRAS bit
must be set to satisfy the refresh cycle time specifications (active/active command delay time) of
the synchronous DRAM. When the set value of the TRP1 and TRP0 bits in MCR is 2 or more, an
NOP cycle is inserted between the Tp cycle and Trr cycle.
During a manual reset, no refresh request is issued, since there is no RTCNT count-up. To perform
a refresh properly, make the manual reset period shorter than the refresh cycle interval and set
RTCNT to (RTCOR – 1) so that the refresh is performed immediately after the manual reset is
cleared.
Summary of Contents for SH7616
Page 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Page 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Page 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Page 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Page 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Page 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Page 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Page 935: ...SH7616 Hardware Manual ...