Bus Transfer Error Registers (Tescr1 And L_Tescr1); Memory Controllers; Sdram Controller And Sdram Device Initialization - Interphase 4538 Hardware Reference Manual

Pmc t1/e1/j1 communications controller
Table of Contents

Advertisement

• APPC = 00:
• CS10PC = 01:
• BCTLC = 01:
• MMR = 11:
• LPBSE = 0:
The resulting register value is SIUMCR=0x4205C000.

Bus Transfer Error Registers (TESCR1 and L_TESCR1)

Since there is no parity checking on the 4538, data errors must be disabled (field DMD=1
in registers TESCR1 and L_TESCR1).

Memory Controllers

The PowerQUICC II includes sophisticated memory controller units: a General Purpose
Chip-select Machine (GPCM), three User Programmable Machines (UPMs) and two
SDRAM control machines. These units are used on the 4538 to control all the external
devices, except the PowerSpan, which is directly a 60x bus compatible device.
The memory controller unit to be used is defined bank per bank. Each bank is defined by
its Base Register (BRx) and its Option Register (ORx). The memory machine selection is
done in the Option register.
Table 2-2. PowerQUICC II Memory Controller Machine Usage
Element Accessed

SDRAM Controller and SDRAM Device Initialization

For the SDRAM controller, a specific PowerQUICC II register (PSDMR for the 60x
SDRAM controller and LSDMR for the local SDRAM controller) is used to configure
operations pertaining to the SDRAM. This register includes several configuration fields
and one Operation field (OP). This Operation field must be used to generate all the special
accesses needed to initialize the SDRAM, such as the precharges, the refreshes, and the
SDRAM internal Mode register write. This will be useful for generating the complete
SDRAM initialization sequence.
To generate a special access, one must first set the OP field in the xSDMR register, and then
generate a dummy access to the SDRAM memory.
The sequence for SDRAM device initialization is as follows:
• Precharge all banks (OP=101)
4538 Hardware Reference Manual
Address Parity pins used as local bus
CS10/
BCTL0 used as R/
External bus requests initially masked at boot, then
MMR = 00:
No bus request masking once booted
LBPS/LGPL4 functions as LGPL4
Bank
BCTL1 used as
BCTL1
W and
BCTL1 used as
Memory Controller
Chapter 2: 4538 Power-Up Initialization
OE
ORx Value
BRx Value
65

Advertisement

Table of Contents
loading

Table of Contents