Tool/software: Linux
Champs,
Need clarification on the above calculation. according to TRM T_RTW is "Minimum number of DDR clock cycles between Read to Write data phases, minus one". Taking for example DDR3 part used on J6 EVM: Micron MT41K512M16HA-125 IT:A. In its datasheet Figure 69: READ (BL8) to WRITE (BL8) shows read to write transition. According to the figure READ-to-WRITE command delay = RL + tCCD + 2tCK - WL=5+4+2-5=6. Now, examining u-boot code (($uboot/board/ti/dra7xx/evm.c) I see T_RTW being set to 0xC or 0xD for 532Mhz and 666Mhz speed respectively. My questions are:
1. Is the figure 69 in DDR datasheet describes the transaction that T_RTW configures?
2. If yes, why are we setting it to double the value the DDR datasheet specifies? Is it a safety margin?
3. if this is a safety margin, what's performance impact?
thanks
Michael