I am attempting to set up a custom board based on AM3358 processor and K4B4G1646D SDRAM (DDR3-1866).
Parameters calculated using TI's spreadsheets are close to reference. But autoconfiguration gives me another values:
***************************************************************
The Slave Ratio Search Program Values are...
***************************************************************
PARAMETER MAX | MIN | OPTIMUM | RANGE
***************************************************************
DATA_PHY_RD_DQS_SLAVE_RATIO 0x3ff | 0x0aa | 0x254 | 0x355
DATA_PHY_FIFO_WE_SLAVE_RATIO 0x3ff | 0x000 | 0x1ff | 0x3ff
DATA_PHY_WR_DQS_SLAVE_RATIO 0x078 | 0x000 | 0x03c | 0x078
DATA_PHY_WR_DATA_SLAVE_RATIO 0x3ff | 0x03c | 0x21d | 0x3c3
***************************************************************
And then EDMA test failed with results like this (lower 2 octets characteristically repeats higher one):
...
Failed@0x80000810 Expected=0x80808084 Read=0x80808080
CortxA8: GEL Output:
Failed@0x80000820 Expected=0x80808088 Read=0x80808080
CortxA8: GEL Output:
Failed@0x80000830 Expected=0x8080808C Read=0x80808080
CortxA8: GEL Output:
Failed@0x80000840 Expected=0x80808090 Read=0x80808080
CortxA8: GEL Output:
...
However I can start Linux on this board with BeagleBoneBlack's memory parameters and it seems working.
What may be the reason?