DLL On to DLL Off Procedure
To switch from DLL On mode to DLL Off mode, follow the procedure below:
- Make sure no access is in progress and Self-refresh mode is disabled.
- Set MPDDRC_CR.DIS_DLL to 1.
- Enable Self-refresh mode and set MPDDRC_LPR.UPD_MR to 2.
- Wait until self-refresh is performed, then read MPDDRC_LPR.SELF_DONE.
- Set MPDDRC_LPR.CHG_FREQ to 1 and MPDDRC_LPR.UPD_MR to 0.
- Change the frequency. The maximum value is 125 MHz, but some providers allow 200 MHz.
- In MPDDRC_CR, update appropriate values: Reset DLL (DLL), CAS read latency (CAS), CAS write latency (CAS_WR). DLL must be set to 0. Update other bit fields depending on the Frequency and DLL Off parameter settings.
- Update all asynchronous timings (TRAS, TRP, TXSRD, etc.) in MPDDRC_TPR0, MPDDRC_TPR1 and MPDDRC_TPR2 depending on the Frequency and DLL Off parameter settings
- Perform an access to DRAM.
- DLL is now disabled.