Part Number: 66AK2G12
Hi,
My customer is referring below documents/file to configure DDR3.
- TRM(SPRUHY8I)
- Keystone II DDR3 Initialization application report (SPRABX7)
- gel file (evmk2g_arm.gel)
evmk2g_arm.txt
Q1: In SPRABX7 Example 4, delay is inserted at DDR PHY reset. 
What is delay value needed here?
In "Example 3. DDR3 PLL Programming", delay is configured as below.
int temp,i, delay = 1000;
Does it work under any conditions (frequency, etc.)?
Q2: In SPRABX7 "Example 7. Leveling Programming", the PHY Initialization register is configured as below;
DDR3A_PIR = 0x0000FF81;
On the other hand, in GEL file (line#2448), the register is configured like this;
DDR3A_PIR = 0x00000F81; //WLADJ - ON
I guess the GEL file is correct, but please confirm.
Q3: According to TRM Table 7-235 "DDR_PHY_PIR Register Field Descriptions", bit#11 WLADJ and bit#9 WL are described as "DDR3 only".
When DDR3L is used, these bits should be left as 0?
DDR3A_PIR = 0x00000581; (or 0x0000F581;)
Thanks and regards,
Koichiro Tashiro