AnsweredAssumed Answered

Config issue of LPDDR2

Question asked by David Wu on Jul 22, 2016
Latest reply on Jul 23, 2016 by David Wu

Hello,

We have a customer board use 32 bit LPDDR2 and use 2 chip select. We can get config by DDR calibration tool and run  "DDR Stess test" more than 2 hours. Verey things seems ok.

 

It's fail to use the table on my android project. But if I ignor "CS1" setting as below, the board can boot up to android.

 

How to config 32 bit lpddr2 and use 2 chip select ? Thanks!

 

// Channel0 : Configure DDR device:         

//CS0   

setmem /32 0x021b001c = 0x003F8030 // MRW: BA=0 CS=0 MR_ADDR=63 MR_OP=0

setmem /32 0x021b001c = 0xFF0A8030 // MRW: BA=0 CS=0 MR_ADDR=10 MR_OP=ff

setmem /32 0x021b001c = 0x82018030 // MRW: BA=0 CS=0 MR_ADDR=1  MR_OP=c2

setmem /32 0x021b001c = 0x06028030 // MRW: BA=0 CS=0 MR_ADDR=2  MR_OP=6. tcl=8, tcwl=4

setmem /32 0x021b001c = 0x01038030 // MRW: BA=0 CS=0 MR_ADDR=3  MR_OP=2.drive=240/6

//CS1   

//setmem /32 0x021b001c = 0x003F8038 // MRW: BA=0 CS=1 MR_ADDR=63 MR_OP=0

//setmem /32 0x021b001c = 0xFF0A8038 // MRW: BA=0 CS=1 MR_ADDR=10 MR_OP=ff

//setmem /32 0x021b001c = 0x82018038 // MRW: BA=0 CS=1 MR_ADDR=1  MR_OP=c2

//setmem /32 0x021b001c = 0x06028038 // MRW: BA=0 CS=1 MR_ADDR=2  MR_OP=6. tcl=8, tcwl=4

//setmem /32 0x021b001c = 0x01038038 // MRW: BA=0 CS=1 MR_ADDR=3  MR_OP=2.drive=240/6

 

BR.

David Wu

Outcomes