Hi,
For the controller TMS570LC4357, when the SDRAM is being interfaced, the refresh urgency levels exist. How does the urgency levels of refresh rate effect the operations on SDRAM?
Thanks,
Tirumala Panguluri.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
For the controller TMS570LC4357, when the SDRAM is being interfaced, the refresh urgency levels exist. How does the urgency levels of refresh rate effect the operations on SDRAM?
Thanks,
Tirumala Panguluri.
Hello Tirumala,
There are 4 refresh urgency levels listed in Table 21-12 of the TRM:
EMIF performs memory transactions according to the following priority (highest priority listed first):
After taking one of the actions listed above, the EMIF then returns to the top of the priority list to determine its next action. Because the EMIF does not issue auto-refresh cycles when in the self-refresh state, the above priority scheme does not apply when in self-refresh state.
Hi,
In interfacing SDRAM to the controller, why should be the smaller value considered?. i.e. either tRAS or tREFRESH_RATE .
Why can't the maximum value considered?
As given in sprugu6b(External Memory Interface).... in section 1.2.11
Thanks,
Tirumala Panguluri.
Hi,
It is mentioned that for the SDRAM, the AUTO REFRESH command is executed at least 4096 times for every Tref.
We are trying to interface SDRAM as well as asynchronous memory to the controller.
It is also mentioned that the stipulated period(trc) is required for a single refresh operation, and no other commands can be executed during this period.
Now when there is write operation to be done on the asynchronous memory, and the AUTO REFRESH command is given to SDRAM, how does it impact
the write operation on asynchronous memory? How many cycles does it take for AUTO REFRESH? How can we calculate the number of cycles for AUTO REFRESH?
Kindly provide this analysis with help of timing diagram. If possible please try to mention it with an example.
Thanks
Tirumala
Hello Triumala,
We don't have timing diagram for refresh urgency levels. It is a counter. The refreshing starts with registration of an AUTO REFRESH command and ends when trc is met. Once trc is met, the SDRAM will be in the all banks idle state. We don't provide the timing diagram for refresh, but the SDRAM datasheet has this kind of diagram.
SDRAM and the Async memory use different chip selects. When you enable nCS0 to use SDRAM, the nCS2/3/4 are deactivated, then you won't be able to read from and write to any async memories attached to EMIF. I don't know how many cycles the auto refresh take, please check the datasheet of the your SDRAM.