How to modify code for hw change for ddr from 4 chip to 2 chip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to modify code for hw change for ddr from 4 chip to 2 chip

991 Views
mingmingyuan
Contributor III

How to modify code for hw change for ddr from 4 chip to 2 chip

Labels (2)
0 Kudos
Reply
3 Replies

896 Views
Yuri
NXP Employee
NXP Employee

Hello,

  Changing DRAM parts from 4 to 2 may mean changing number of CSs or data

port size (32 or 16 bits). Corresponding parameters (MDASP[CS0_END] , MDCTL[DSIZ])
should be modified in initialization script or DCD table of U-boot.

Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

896 Views
mingmingyuan
Contributor III

Hi sir:

thank you for your support!

imx6q default design ddr is 64 bit, How to change it to 32 bit?

can you give me some document about ddr?

0 Kudos
Reply

896 Views
Yuri
NXP Employee
NXP Employee

Hello,

MDCTL[DSIZ] = 01 for 32-bit.

Please refer to section MMDC Core Control Register (MMDCx_MDCTL)

in i.MX6 Reference manual for more details.

DRAM Customization on i.MX6x | NXP Community

Regards,

Yuri.

0 Kudos
Reply