Hi,
We are using same DDR3 memory MT41K256M16HA-125IT_E as used in BBB in our design. We followed the instruction for S\W write leveling provided with below link:
Also we referred the instructions provided for BBB design at below link:
We got the following register values after entering the trace length values in "RatioSeed_AM335x_boards" spreadsheetBut when we run the GEL file with the CCS on our board i am always reading "zeros" for the register values as below:
Seed values used in CCS code | |
DATAx_PHY_RD DQS_SLAVE_RATIO | 40 |
DATAx_PHY_FIFO_WE_SLAVE_RATIO | 9D |
DATAx_PHY_WR DQS_SLAVE_RATIO | 8 |
DATAx_PHY_WR_DATA_SLAVE_RATIO_0 | |
Register value | |
CMDx_PHY_CTRL_SLAVE_RATIO | 80 |
Enter the PHY_INVERT_CLKOUT value (0 or 1) from the spreadsheet
0
Enter the Seed RD_DQS_SLAVE_RATIO Value in Hex to search the RD DQS Ratio Window
40
Enter the Seed FIFO_WE_SLAVE_RATIO Value in Hex to search the RD DQS Gate Window
9D
Enter the Seed WR_DQS_SLAVE_RATIO Write DQS Ratio Value in Hex to search the Write DQS Ratio Window
08
***************************************************************
The Slave Ratio Search Program Values are...
***************************************************************
PARAMETER MAX | MIN | OPTIMUM | RANGE
***************************************************************
DATA_PHY_RD_DQS_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
DATA_PHY_FIFO_WE_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
DATA_PHY_WR_DQS_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
DATA_PHY_WR_DATA_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
***************************************************************
rd_dqs_range = 0
fifo_we_range = 0
wr_dqs_range = 0
wr_data_range = 0
Optimal values have been found!!
***************************************************************
The Slave Ratio Search Program Values are...
***************************************************************
PARAMETER MAX | MIN | OPTIMUM | RANGE
***************************************************************
DATA_PHY_RD_DQS_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
DATA_PHY_FIFO_WE_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
DATA_PHY_WR_DQS_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
DATA_PHY_WR_DATA_SLAVE_RATIO 0x000 | 0x000 | 0x000 | 0x000
***************************************************************
===== END OF TEST =====
I am using XDS100V2-ARM emulator with CCS Evaluation Version: 6.0.1.00040
Can someone help me to identify the root cause for fixing this issue?
As of now our DDR3 interface working fine with the register values calculated for BBB but these register values might be generated from the different electrical trace lengths of CK & DQs routed on BBB. We want actual values generated on our design.
Thanks & Regards,
Praveen Kajjam.