UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Explorer
Explorer

Zynq DDR Power Down in Zynq Technical Reference Manual

Hi all, 

 

I found an interesting part in Zynq Technical Reference Manual Chapter 10.9.6 saying that the DDR in Zynq could be programmed and powered down by stop the DDR clock when there is no transaction. An example is given on the same page showing how to achieve that by writing various registers to:

 

ddrc.ctrl_reg1[reg_ddrc_selfref_en] = 1
ddrc.DRAM_param_reg3 [reg_ddrc_en_dfi_dram_clk_disable] = 1
while (slcr.DDR_CMD_STA[CMD_Q_NEMPTY] != 0)
while (ddrc.mode_sts_reg[ddrc_reg_operating_mode] != 3)
slcr.DDR_CLK_CTRL[DDR_2XCLKACT] = 0
slcr.DDR_CLK_CTRL[DDR_3XCLKACT] = 0
slcr.DCI_CLK_CTRL[CLKACT] = 0

 

I tried to do that using some C code, writing required value to the above registers. However, the power monitor doesn't show any significant change on DDR power. Is there anything I missed? Does anyone tried that before?

0 Kudos
1 Reply
Visitor bevan1
Visitor

Re: Zynq DDR Power Down in Zynq Technical Reference Manual

Hi,

 

I know this thread is now 6 months old but maybe this helps others in the future:

 

You have to unlock the slcr registers first so you can write to slcr.DDR_CLK_CTRL and slcr.DCI_CLK_CTRL. See "SLCR_UNLOCK" in Appendix B of the Zynq TRM for details.

 

By doing this and following the procedure you mentioned I can achieve a measurable loss in power consumption.

 

Greetings,

Michael

0 Kudos