Analog Devices EE-387 explains how to connect DDR3, DDR2 and LPDDR memory to ADSP-SC5xx and ADSP-215xx processors using the Dynamic Memory Controller.
This Analog Devices Engineer-to-Engineer Note (EE-387) describes how to interface DDR3, DDR2 and LPDDR memory to the ADSP-SC5xx/ADSP-215xx processor family. The processors include a Dynamic Memory Controller (DMC) that provides a glue-less interface between off-chip DDR memory and the rest of the processor infrastructure.
The note covers DDR feature comparison, DMC programming and initialization (CGU, PHY and controller steps), driver impedance and on-die termination (ODT) configuration, and code examples for basic DMC initialization and validation of different access types and data patterns.
| DCLK minimum frequency for DDR2 | 125 MHz |
|---|---|
| DCLK cycles to wait for DLL lock | 9000 DCLK cycles |
| DMC_RZQ external resistor | 34 ohms |
| DMC_PHY_CTL0 value for DDR2/DDR3 mode | 0x0000000F |
| DMC_PHY_CTL2 value for DDR2/DDR3 mode | 0xFC000000 |
| DCLK source options | CGU0 (default) or CGU1 |
DMC initialization consists of Clock Generation Unit (CGU) Initialization, DMC PHY Initialization, and DMC Controller Initialization.
You must wait 9000 DCLK cycles for the DLL to lock; polling status bits is not necessary, a simple delay loop suffices.
No. Driver impedance calibration is supported only for DDR3 mode, while driver impedance itself is programmable for all DDR modes.