Hi I am working on 21065L processor. I wish to set the refresh counter value for the SDRAM device. I come across with two equations for calculating this value in two different literature - one is users manual and the other is in EE127.pdf. I am little bit confused that which one should i take for the calculation. On EE127, it is given that SDRDIV = (SDCLK * tREF/Rows) - tRP - CL - 4 (page 14) and is in users manual (page 10-14), it is says that SDRDIV = (2*f_CLKIN - CL - tRP - 4)/SDRAM refresh rate = (SDCLK - CL - tRP - 4) * tREF/Rows Pls help me to clarify this. Also after the calculating the SDRDIV, if i got a fractional value, shall i rounds towards zero. thanks in advance. regards ajith |
21065L SDRAM refresh rate counter
Started by ●May 2, 2003