EasyManua.ls Logo

Cypress FM4 Series - Page 786

Cypress FM4 Series
1102 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 14: External Bus Interface
786 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
Refresh Operation
When ROFF bit of SDRAM mode register (SDMODE) is 0, the refresh is executed with the setting
conditions of Refresh time register (REFTIM). The Refresh time register (REFTIME) can control the
interval and count of the refresh and the preceding refresh.
Refresh Interval
Set the interval to execute refreshes with REFC bit of the Refresh time register (REFTIM). The refresh is
implemented after the set cycle count (MSDCLK) has elapsed. Moreover, set the refresh issuing count in
one refresh timing with NREF bit. The following shows the operation example at the setting of NREF=2. In
Figure 3-22, cycle is based on MSDCLK.
Figure 3-22 Refresh Intervals and Issuing Count
Preceding Refresh
Set the preceding refresh with PREF bit of the Refresh time register (REFTIM). The preceding refresh is
the refresh executed earlier than the actual refresh.
By using the preceding refresh, the access to SDRAM is improved.
For the operation of the preceding refresh, see Figure 3-23. In Figure 3-23, cycle is based on MSDCLK.
Refreshing is previously executed when SDRAM is not accessed after refreshing is implemented.
(*1 in Figure 3-23)
After the preceding refresh is executed, if the access to SDRAM is executed in the next refresh
timing, the refresh is not executed. (*2 in Figure 3-23)
After the access to SDRAM is completed, the preceding refresh is implemented again. (*3 in Figure
3-23)
When the access to SDRAM is not completed, the refresh is forcibly executed in the third refresh
timing. (*4 in Figure 3-23)
Figure 3-23 Preceding Refresh Operation
refresh
refresh
refresh
Command
(REFC+1) cycle
1
st
time
2
nd
time
3
rd
time
refresh
refresh
refresh
refresh
refresh
2
nd
time(*1)
(Preceding)
(REFC+1) cycle
In accessing,
Refresh is not
Executed.(*2)
refresh
3
rd
time(*3)
(After accessing
preceding refresh
executed.)
(REFC+1) cycle
refresh
1
st
time
Command
When access is not ended
and preceding refresh is
not executed, the 3
rd
refresh is executed.(*4)

Table of Contents

Related product manuals