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.

Configuring DDR Memory on DM6437

Other Parts Discussed in Thread: CCSTUDIO

Hi !

 

I have some questions about configuration of DDR Memory.. We developed a board similar to the EVM6437 from Spectrum Digital.. Talking about DDR Memory, we had to change the part number of it because the one that is used by Spectrum was obsolete.. There are some differences in the memory... The principal ones are:

 

EVM (MT47H32M16CC-37E Supplied by Micron) - It has 8Megx16x4Banks, works with CK3,75ns, CL=4 - DDR2-533

Our board (MT47H64M16HR-3:E supplied by Micron) - It has 8Megx16x8Banks, works with CK3ns, CL=4 - DDR2-667

 

My question is..Where and How I change it on DM6437 Demo Software(Supplied with EVM6437) ?? May I supposed to change the PLL2 Configuration?? How did I do it?

 

In evmdm6437.c source file there was the command "EVMDM6437_enable Pll2 ( 0 , 23 , 11 , 1) */Vpss @ 54MHz / DDR @ 162MHz */"

I didn´t understand what it means, and how can I modify it because by the part number my DDR memory works  at 533MHz

 

Please, if somebody could help me to understand it..

 

Best Regards

 

Denis Kenji Kimura

  • It sounds like the major part you will need to change for your DDR is the number of banks, which means you must change the value you write into the SDBCR register that is described in section 4.2 of SPRU986.

    As to the clock speed, you will probably not need to change it, as though your DDR modules may be capible of a higher frequency, the DDR interface on the DM6437 is limited to a 166MHz clock (333MHz DDR) as shown in table 6-27 of the datasheet, thus you will need to keep a DDR frequency below 166MHz, 162MHz is the frequency used on the EVM as it is easy to obtain given the available clocks.

    A good place to look for how the EVM is being configured from a PLL and DDR standpoint is the GEL file which you can find in C:\CCStudio_v3.3\boards\evmdm6437_v2\gel\evmdm6437.gel or similar, this is essentially a script file that runs when you connect up to the target so that the memory is ready for you to load your code onto from CCS, as such it includes the DDR configuration for the EVM and the sequence it uses to initialize everything.

  • Hi Bernie !

     

    Thank you for the support.... It works here..... We follow the suggest documentation and everything works well

     

    Thank you once again

     

    Denis Kenji Kimura