This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: 66AK2H14
When developing on a custom board, we recommend following the Custom Board Porting Guide (linked below) in the Processor Software Development Kit (PSDK) which highlights the key considerations of creating a custom board library.
PSDK contains module initialization and register configuration for the DDR memory on the TI evaluation platform. If developing on a custom board with a different external memory, please refer to the “Useful DDR configuration resources” section (linked below) in the PSDK documentation which links to various useful application notes and tools for DDR configuration on different processors.
Specifically for Keystone-II family of devices, we recommend referring to the Keystone II DDR3 Initialization Application Note . This app note provides a step-by-step initialization guide, a spreadsheet tool that helps compute the values for the on-chip DDR3 controller, and links to other relevant DDR3 collateral.
For Linux users, Processor SDK U-Boot code reads DDR3 SPD info to initialize DDR3 by calling ddr3_init_ddrphy() and ddr3_init_ddremif(). Based on the SPD info, init_ddr3param() sets the PHY and EMIF register values accordingly, and passes them to ddr3_init_ddrphy() and ddr3_init_ddremif(). If SPD info isn’t available, the DDR3 vendor should have PHY and EMIF configuration info and the values can be computed from the spreadsheet mentioned in Keystone II DDR3 Initialization application note. The PHY and EMIF configuration parameters should replace those set in init_ddr3param().
For Keystone-II devices, this can be done by defining the structures of PHY and EMIF registers as in boot/board/ti/ks2_evm/ddr3_cfg.c. The PHY and EMIF configuration structures are used to configure DDR3 as the sample code below:
This post describes the steps to configure KS2 DDR3
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.