From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andre Schwarz Date: Wed, 27 Aug 2008 11:12:41 +0200 Subject: [U-Boot] MPC83xx DDR Controller setup In-Reply-To: <20080826102053.fe46e251.kim.phillips@freescale.com> References: <48B40478.8060606@matrix-vision.de> <20080826102053.fe46e251.kim.phillips@freescale.com> Message-ID: <48B51A89.1060202@matrix-vision.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Kim Phillips schrieb: > On Tue, 26 Aug 2008 15:26:16 +0200 > Andre Schwarz wrote: > > >> Kim, >> >> can you (or anybody else) tell me what the following bit means on MPC834x ? >> Actually it's set inside the CLK_CNTL register of the DDR controller. >> It's completely missing in my (latest) datasheet's register definition ... >> >> include/mpc83xx.h:#define DDR_SDRAM_CLK_CNTL_SS_EN 0x80000000 >> > > Hi Andre, > > The mpc8349erm rev. 1 has it: > > SS_EN Source synchronous enable > 0 Source synchronous is disabled. > 1 The address and command is sent to the DDR SDRAMs source synchronously. This bit must > be set before enabling the DDR controller. > > But in rev.3 of the chip (mpc8349EA rm rev. 1), the bit is obsoleted: > > DDR_SDRAM_CLK_CNTL[SS_EN] has been removed from the MPC8349EA > and thus there is no effect of setting or clearing this bit. The device will work in > source sync mode by default. > > Kim > Kim, thanks a lot - this means that I can safely undefine it for the mvBL-M7. Actually I've had a little trouble with my M7 board being unstable on high temperatures above 50?C. After reviewing the DDR controller setup it now works stable. Right now it's hard to get DDR-II working *stable* out of the box with soldered IC and without SPD Prom. Signal integrity is not easy to achieve without tuning the driver strength and ODT resistor values of both CPU and DDR. Especially the "hardware compensation" using the 18Ohm across MDIC0/1 (Bit 0 @ DDRCDR) seems to fail on light load conditions, i.e. single soldered DDR with low pin capacitance. regards, Andre MATRIX VISION GmbH, Talstra?e 16, DE-71570 Oppenweiler - Registergericht: Amtsgericht Stuttgart, HRB 271090 Gesch?ftsf?hrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner