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.

About the CKE LOW TIME ( time from reset going high to CKE going high on the DDR3) required by JEDEC



Hi

When I test the RESET and CKE signal from DDR3 controller, the CKE LOW TIME ( time from reset going high to CKE going high on the DDR3) is about 135us. 

However, the CKE LOW TIME required by JEDEC is >= 500us.

In JESD79-3F p33:

2. After RESET# is de-asserted, wait for another 500 us until CKE becomes active. During this time, the
DRAM will start internal state initialization; this will be done independently of external clocks.

My question is that:

Is my measured value correct?

Is the "CKE LOW TIME" can be adjust in Am335x's DDR3 controller? If yes, How can I adjust it?

If not, is there any advice?

Thanks!

  •  Please check your DDR initialization in u-boot and check if the following is being done. If not, please perform the steps below and see if it helps.

     Initialize SDRAM_REF_CTRL with reset delay value before writing to SDRAM_CONFIG (DDR3 only)

    The value in SDRAM _REF_CTRL controls the delay time between the initial rising edge of DDR_RESETn to rising edge of DDR_CKE (JEDEC specs this as 500us). In order to achieve this, SDRAM_REF_CTRL should be written with a value of 0x3100 before writing to SDRAM_CONFIG (which initiates a DDR initialization. During first DDR initialization, the sequence should be:

    • Configure all other EMIF registers
    • Write SDRAM_REF_CTRL = 0x3100
    • Write SDRAM_CONFIG with appropriate value
    • Write SDRAM_REF_CTRL with refresh rate value for normal operation

    The value of 0x3100 is derived from the following formula:

    (16*SDRAM_REF_CTRL)/400MHz > 500us

    Note this value can change based on DDR frequency supported and is only needed for DDR3. 

  • Hi,Biser

    Thanks for your reply!

    I will try it .

     

     

  • Hi,

    I have another question. Withe the sequence at below, when did the ZQ_CONFIG should be initialize?

    In  AM335x_evm_DDR3.mac(in the AM335X_StarterWare_02_00_01_01), the sequence like this:

    Configure all other EMIF registers

    Configure  SDRAM_REF_CTRL

    Configure  ZQ_CONFIG

    Write SDRAM_CONFIG with appropriate value

    Now I will modify the sequence  like this:

    -----------------

    Configure all other EMIF registers

    Write SDRAM_REF_CTRL = 0x3100

    Configure  ZQ_CONFIG

    Write SDRAM_CONFIG with appropriate value

    Write SDRAM_REF_CTRL with refresh rate value for normal operation

    -----------------

    Is that correct?

    Thanks!

  • Sorry, I cannot help on Starteware. There is a dedicated forum for it: http://e2e.ti.com/support/embedded/starterware/f/790.aspx