AnsweredAssumed Answered

How to Configure DDR clock in Boundary Devices U-Boot 2016.03 ?

Question asked by Peter Amond on Jan 4, 2018
Latest reply on Jan 8, 2018 by Gary Bisson

Gary Bisson

Dear All,

 

I'm using following files in boundary devices u-boot 2016 to configure memory parameters and registers.

Can we find any place in uboot to configure DDR clock frequency directly (396MHz or 528MHz)?

800mhz_4x256mx16.cfg
ddr-setup.cfg
clocks.cfg
nitrogen6_max2g.cfg

 

According to my understanding we don't have any place to include DDR clock directly in Boundary Devices Uboot. But we are updating following registers in uboot while running DDR PHY calibration in 396MHz frequency (We have to set it in NXP tool ddr calibration tool and script.inc).
 
MDPDC
MDCFG0
MDCFG1
MDCFG2
MDOR
MPZQHWCTRL
.....etc
 
Above registers bits are included following parameters. 
 
tCL
tXS
tCKSRE
tCKS
tXPR
tRTP
tDLLK
tMRD
tMOD
 
While update register values in configuration files those values also update automatically. Am I correct ? 
Do we have specific register for DDR frequency or all the register bits will set to certain values while we are doing calibrations in specific DDR frequency ?
Regards,
Peter.

Outcomes