MPC5645S to use LPDDR controller for MT46H16M16LFBF-6

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

MPC5645S to use LPDDR controller for MT46H16M16LFBF-6

1,122 Views
paul_xu
Contributor II

Hi,

      I have a question about MPC45S for driving MT46H16M16LFBF-6. I have initialized the LPDDR, and modified the .lcf file according to the guidance. But there is still 0x00 after I  changed the value of 0x2000 0000 address. While I can observe the waveform changes of the CLK  CS and Data pins using an oscilloscope.

      The attachment compressed file is the project and PDF is the  schematic. I doubt there is any problem in the initialization operation, or you can give me some suggestions. Thank you very much!

     

      Best regards!

      Paul Xu

Original Attachment has been moved to: R_LPDRAM_yx_new.rar

0 Kudos
Reply
2 Replies

967 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, I have just tried to run you code with our MPC5645S-DEMO-V2 and it seems to run fine i.e. I can see DRAM memory content.

pastedImage_1.png

I am not sure if you issue is about DRAM configuration or linker command file configuration due to initialize DRAM content.

Please clarify

966 Views
paul_xu
Contributor II

Hi David,

     Thanks for your reply! I can already write and read the DRAM memory content by using address. But I still confused about another problem. I have configured the DRAM and linker command file by reading AN4497. When I declared an array of over 450K Bytes,  I could debug correctly and display the picture on the screen.  After I recharged the target board, it seams that the SPC5645S don`t run anymore. The following is my configuration information. The attachment is my working project. Do you have any suggestions? davidtosenovjan

image001(09-07-0(09-10-20-46-28).jpg

image002(09-07-0(09-10-20-46-28).jpg

QQ截图20170910222515.jpg

   Best regards!

   Paul Xu

0 Kudos
Reply