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.

Automatic leveling and full leveling on C6654



Hi all,

I traced attached evmc6657l.gel that got some confused portions. 3681.evmc6657l.gel 

1. DDR3_CONFIG_REG_23 register setting

    I checked DDR3 memory controller user guide that DDR3_CONFIG_23 was NA for TCI6614 and C665x devices.

    Why the evmc6657l.gel still set this register to use forced ratio leveling for read DQS?

    

2. DDR_RDWR_LVL_RMP_CTRL & DDR_RDWR_LVL_CTRL register setting

    May I know what the difference between automatic leveling and full leveling?

    Did we must enable full leveling come with trigger full leveling?

Thanks in advance.

B.R.

OC

  • OC,

    We apologize for the confusion and are working to get the GEL updated in a future release.

    For the correct sequence, you will need to add the following to your GEL file:

    #define DDR3_CONFIG_REG_52   (*(unsigned int*)(CHIP_LEVEL_REG + 0x04D4))
    #define DDR3_CONFIG_REG_53   (*(unsigned int*)(CHIP_LEVEL_REG + 0x04D8))
    #define DDR3_CONFIG_REG_54   (*(unsigned int*)(CHIP_LEVEL_REG + 0x04DC))
    #define DDR3_CONFIG_REG_55   (*(unsigned int*)(CHIP_LEVEL_REG + 0x04E0))
    #define DDR3_CONFIG_REG_60   (*(unsigned int*)(CHIP_LEVEL_REG + 0x04F4))

    Replace the write to DDR3_CONFIG_REG_23 with the following to enable Partial Automatic Leveling.

     DDR3_CONFIG_REG_52 |= 0x00000200;
     DDR3_CONFIG_REG_53 |= 0x00000200;
     DDR3_CONFIG_REG_54 |= 0x00000200;
     DDR3_CONFIG_REG_55 |= 0x00000200;
     DDR3_CONFIG_REG_60 |= 0x00000200;

    The GEL file also initializes the wrong INIT_RATIO registers. Please see the correct registers below:

     DATA0_WRLVL_INIT_RATIO = 0x2C;
     DATA1_WRLVL_INIT_RATIO = 0x2C;
     DATA2_WRLVL_INIT_RATIO = 0x3A;
     DATA3_WRLVL_INIT_RATIO = 0x33;
     DATA8_WRLVL_INIT_RATIO = 0x1C;
     
     DATA0_GTLVL_INIT_RATIO = 0xA4;
     DATA1_GTLVL_INIT_RATIO = 0xA4;
     DATA2_GTLVL_INIT_RATIO = 0xB1;
     DATA3_GTLVL_INIT_RATIO = 0xB7;
     DATA8_GTLVL_INIT_RATIO = 0x98;

    Yes you have to enable full leveling before you trigger it.

    Full v/s automatic leveling:

    I think there is some confusion when you look at the DDR3 Users guide and the DDR3 initialization app note. The correct terminology is "full automatic leveling" or "partial automatic leveling". The former does not use a fixed read data eye. The latter uses a fixed read data eye. We recommend using partial automatic leveling for best resutls. It is also the most widely used solution by our customers.

  • Hi Aditya,

    Thanks so much for your inputs.

    May I know when TI release the correct gel for C6657?

    I thought the DDR3 PHY calculation sheet also needed to provide the correct one. Was my view right?

    Thanks in advance.

    B.R.

    OC

  • OC,

    Yes the DDR3 PHY calculation sheet is also queued for those updates.

    The release date for both is tentatively scheduled for sometime in 4Q14.

  • Hi Aditya,


    Did DDR3 PHY calculation sheet and gel file release already?

    Thanks a lot.

    B.R.

    OC

  • Hi OC,

    Sorry, the documents are still in the final publishing queue. I will be able to get a status for you on this some time next week.

  • Hi Aditya,

    Do you have any update for latest DDR3 PHY calculation sheet and gel file?

    B.R.
    OC