Chapter 2: 4538
•APPC = 00: Address Parity pins used as local bus
•CS10PC = 01:
•BCTLC = 01:
•MMR = 11: External bus requests initially masked at boot, then
MMR = 00: No bus request masking once booted
•LPBSE = 0: LBPS/LGPL4 functions as LGPL4
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
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 | Bank | Memory Controller | ORx Value | BRx Value |
|
|
|
|
|
)/$6+((3520 | [EXV*3&0 | [)) | [)) | |
|
|
|
|
|
[EXV0DLQPHPRU\ | [EXV6'5$0PDFKLQH | [)&&' | [ | |
|
|
|
|
|
4XDG)DOF | [EXV830$ | [)))) | [) | |
|
|
|
|
|
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 | 65 |