NXP MPC8378E Reference guide

Type
Reference guide

This manual is also suitable for

Freescale Semiconductor
Addendum
© 2011 Freescale Semiconductor, Inc. All rights reser
ved.
This errata describes corrections to the MPC8379E PowerQUICC II Pro Integrated Host Processor
Family Reference Manual, Revision 1. For convenience, the section number and page number of the errata
item in the reference manual are provided. Items in bold are new since the last revision of this document.
To locate any published updates for this document, visit our website listed on the back cover of this
document.
Document Number: MPC8379ERMAD
Rev. 1.2, 04/2011
Errata to MPC8379E
PowerQUICC II Pro
Integrated Host Processor
Family Reference Manual, Rev. 1
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
2 Freescale Semiconductor
4.3.3.3.1, 4-31 Add the following column on the right of the “1010” column in Table 4-26,
“Examples For Hard-Coded Reset Configuration Words Usage.”
4.4.3, 4-33 Change CFG_CLKIN_DIV
to CFG_CLKIN_DIV.
4.5.1.6, 4-38 Change the first sentence to the following:
“RCR, shown in Figure 4-12, can be used by software to initiate a hard reset
sequence.”
4.5.2, 4-39 Update Output Clock Control Register (OCCR) reset value from “0x0000_FFF8”
to “0x0000_FFFC” in Table 4-34, “Clock Configuration Registers Memory
Map.”
4.5.2.1, 4-40 In Figure 4-14, “System PLL Mode Registeradd “SVCOD” at bits 2 and 3. The
updated figure is shown below:
In Table 4-35, “System PLL Mode Register Bit Settings,” modify the row for
bits 2–3 as follows:
Table 4-26. Examples For Hard-Coded Reset Configuration Words Usage
CFG_RESET_SOURCE[0:3] 1000 1001 1010 1011 1101 1110 1111
PCI_CLK (MHz)
66 33 33 50 66 33 66
csb_clk (MHz)
333 133 266 200 266 133 133
Core clock (MHz)
667 533 400 400 533 400 400
DDR Controller clock (data rate)
333 266 266 400 266 266 266
eLBC Controller clock
333 266 266 400 266 266 266
Address 0x0_0A00 Access: Read only
0 1 2 3 4 7 8 9 15 16 31
R LBCM DDRCM SVCOD SPMF CKID COREPLL
W
Reset n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n n
1
1
See Table 4-35 for reset values.
Figure 4-14 System PLL Mode Register
Table 4-35. System PLL Mode Register Bit Settings
Bits Name Meaning Description
2–3 SVCOD System PLL VCO division Section 4.3.2.1.1, “System PLL VCO Division
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 3
4.5.2.3, 4-43 In Table 4-37, “SCCR Bit Descriptions,” replace SCCR[ENCCM] (bits 6–7) field
descriptions with the following:
“Encryption core and I2C1 clock mode.
00 Encryption core clock is disabled.
01 Encryption core clock/csb_clk ratio is 1:1 (for csb_clk < 166 MHz).
10 Encryption core clock/csb_clk ratio is 1:2 (csb_clk has higher frequency
than the encryption core).
11 Encryption core clock/csb_clk ratio is 1:3 (csb_clk has higher frequency
than the encryption core).
The encryption core must have the same clock ratio as the USB unit, unless one
of them has its clock disabled.”
4.5.2.3, 4-43 In Table 4-37, “SCCR Bit Descriptions,” modify the first sentence of the
“Description” column for the “ENCCM” bit as follows:
“Encryption core, JTAG, and I
2
C1 clock mode.”
The updated row now reads as follows:
5.3.2.5, 5-26 In Table 5-32, “SICRL Bit Settings,” change the SICRL bit settings for bit 16 and
bit 17 to read as follows.
5.3.2.6, 5-28 In the second paragraph, change “A value of 0b11 is illegal for all groups.,” to “A
value of 0b11 selects GPIO mode of the appropriate pin.”
5.3.2.6, 5-29 Change the reset value of bits 5–8 from “0000” to “1111” in Table 5-33, “SICRH
Bit Settings.”
5.3.2.9, 5-33 In Figure 5-21, “DDR Debug Status Register (DDRDSR),” change the access
from “Read” to “Read-only”
5.4.5.2, 5-42 Remove the following sentence from the first bullet list item:
“This is the default value after soft reset.”
Table 4-37. SCCR Bit Descriptions
Bits Name Description
6–7 ENCCM Encryption core, JTAG, and I
2
C1 clock mode.
00 Encryption core clock is disabled.
01 Encryption core clock/csb_clk ratio is 1:1 (for csb_clk < 166 MHz).
10 Encryption core clock/csb_clk ratio is 1:2 (csb_clk has higher frequency than the encryption core).
11 Encryption core clock/csb_clk ratio is 1:3 (csb_clk has higher frequency than the encryption core).
Note: The encryption core must have the same clock ratio as the USB unit, unless one of them has
its clock disabled.
SICRL[Bits] Value 0b0/0b00 0b1/0b01 0b10 0b11
Bits Group Pin Function 0 Pin Function 1 Pin Function 2 Pin Function 3
16 GPIO1_K GPIO1[10] GTM1_TGATE4
/GTM2_TGATE3
17 GPIO1_J GPIO1[9] GTM1_TIN4/GTM2_TIN3
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
4 Freescale Semiconductor
5.5.5.5, 5-48 In Table 5-49, “RTEVR Bit Settings,” replace AIF (bit 30) bit field description
with the following:
“Alarm interrupt flag bit.
Used to indicate the alarm interrupt. The bit is set if the RTC issues an interrupt
when the RTC counter value equals RTALR[ALRM].”
5.6.5.5, 5-55 In Table 5-58, “PTEVR Bit Settings,change bit field description of PTEVR[PIF]
(bit 31) from:
“Periodic interrupt flag bit. Used to indicate the periodic interrupt. It is asserted if
the PIT issues an interrupt after the SPMPIT counter counts to zero. This status bit
should be cleared by software.”
to:
“Periodic interrupt flag bit. It is asserted after the SPMPIT counter counts to zero.
This status bit should be cleared by software.”
5.7.2, 5-58 Change the list bullet items from:
•Maximum period of ~50 msecond (at 333-MHz bus clock and prescaler = 256)
for 16-bit timer
•Maximum period of ~12.8 seconds (at 333-MHz bus clock and prescaler = 256)
for 32-bit timer
to:
•Maximum period of ~206 seconds (at 333-MHz bus clock in slow go mode,
primary and secondary prescaler = 256) for 16-bit timer
•Maximum period of ~3298 seconds (at 333-MHz bus clock and prescaler = 256)
for 32-bit timer
5.7.4, 5-61 In Table 5-60, “GTM External Signals—Detailed Signal Descriptions,” change
the State Meaning description of signal TGATEn, from “In a reset gate mode...”
to “In a restart gate mode...”.
In addition, for the State Meaning description of signal TOUTn, change (list #2)
from:
“TOUTn changes occur on the rising edge of the system clock”
to:
“TOUTn begins or stops counting, depending on the signal state and the
configured mode.”, and for TOUTn signal Timing, change “system clock” to
“timer input clock.”
5.7.6.1, 5-70 In the second paragraph, following the bulleted list, change “65,537” to “65,536.”
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 5
5.7.6.1, 5-70 Change the last sentence in the second paragraph from:
“The maximum period (when the reference value is all ones and the prescaler
divides by 256) for one 16-bit timer is ~50 ms at 333 MHz
to:
“The maximum period (when the reference value is all ones and the prescaler
divides by 256) for one 16-bit timer is ~206 s at 333 MHz.”
5.7.6.3, 5-71 Replace the Note with the following:
NOTE
TGATE
is internally synchronized to the system clock. If TGATE meets the
asynchronous input setup time, the counter begins or stops counting after
one system clock when working with the internal clock.
6.2.5, 6-7 Change the following from:
“Arbiter mask register (AMR) is used to mask interrupts or reset requests. Setting
a mask bit enables the corresponding interrupt or reset request; clearing a bit
masks it. Regular interrupts, MCP interrupts and reset requests can be masked by
AMR register.
to:
“Arbiter mask register (AMR) is used to mask interrupts. Setting a mask bit
enables the corresponding interrupt; clearing a bit masks it. Regular interrupts and
MCP interrupts can be masked by the AMR register, except for scenarios that
results in a transfer error when the master ID is 0.”
6.2.6, 6-8 Change the access mentioned in Figure 6-6, “Arbiter Event Attributes Register
(AEATR),” from “User Read/ Write” to “User Read-only.”
6.2.7, 6-10 Change the access mentioned in Figure 6-7, “Arbiter Event Address Register
(AEADR),” from “User Read/ Write” to “User Read-only.”
6.3.1.3, 6-14 Change the last sentence in the paragraph from:
“After the completion of snoop copyback, the arbiter grants the bus back to the
master that had its transaction ARTRYed”
to:
“After the completion of snoop copyback, the arbiter grants the bus to the most
ahead master among those masters which have an active bus request signal at that
time, which may or may not be the same master that had its transaction ARTRYed.
Only when a transaction address phase is completed with no ARTRY (and no
repeat conditions), the master moves to the end of the line.”
7.4.1.3.3, 7-22 In Table 7-3, “e300 HID0 Bit Descriptions,” add the following note to EBA (bit 2)
and EBD (bit 3) field descriptions:
“Do not set this bit; the CSB does not have parity signals.”
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
6 Freescale Semiconductor
8.5.13, 8-23 In Figure 8-16, “System External Interrupt Mask Register (SEMSR),” change the
following text appearing under the reset values of 0–15 bits from:
“The reset values of implemented bits reflect the values of the external IRQ
signals. Reserved bits are zeros.”
to “All zeros”.
In addition, delete the second footnote that says:
“The user should drive all IRQ inputs to an inactive state prior to reset negation”.
The updated figure is shown below:
Offset 0x38 Access: Read/write
0 1 2 3 4 5 6 7 8 15
R
IRQ0
1
IRQ1 IRQ2 IRQ3 IRQ4 IRQ5 IRQ6 IRQ7
W
Reset All zeros
16 17 31
R
SIRQ0
W
Reset All zeros
1
This bit is valid only if the IRQ0 signal is configured as an external maskable interrupt (SEMSR[SIRQ0] = 0)
Figure 8-16 System External Interrupt Mask Register (SEMSR)
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 7
9.3.2.1, 9-6 Change the signal description of MA[14:0] in Table 9-3, “Memory Interface
Signals—Detailed Signal Descriptions” from:
“Assertion/Negation—The address is always driven when the memory controller
is enabled. It is valid when a transaction is driven to DRAM (when MCS
n is
active).”
to:
“Assertion/Negation—The address lines are only driven when the controller has
a command scheduled to issue on the address/CMD bus; otherwise they will be at
high-Z. It is valid when a transaction is driven to DRAM (when MCSn is active).”
9.5, 9-38 Change the second sentence in the third paragraph from:
“Bank sizes up to 2 Gbytes (maximum total physical memory size of 4 Gbytes)
are supported, providing up to a maximum of 4 Gbytes of DDR main memory.”
to:
“Bank sizes up to 2 Gbits (maximum total physical memory size of 4 Gbytes) are
supported, providing up to a maximum of 4 Gbits of DDR main memory per chip
select.”
9.5.12, 9-65 Replace the first sentence of the third paragraph to say the following:
“If a multi-bit error is detected for a read, the DDR memory controller logs the
error and generates the interrupt, and transfer error acknowledge (TEA) is asserted
internally on the CSB bus (if enabled, as described in Section 9.4.1.25, “Memory
Error Disable (ERR_DISABLE)”).”
Chapter 9 Replace Chapter 9, “DDR Memory Controller” with the following updated
chapter:
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
8 Freescale Semiconductor
Chapter 9
DDR Memory Controller
9.1 Introduction
The fully programmable DDR SDRAM controller supports most JEDEC standard ×8, ×16, ×32, or ×64
DDR2 and DDR memories available. In addition, unbuffered and registered DIMMs are supported.
However, mixing different memory types or unbuffered and registered DIMMs in the same system is not
supported. Built-in error checking and correction (ECC) ensures very low bit-error rates for reliable
high-frequency operation. Dynamic power management and auto-precharge modes simplify memory
system design. A large set of special features, including ECC error injection, support rapid system debug.
NOTE
In this chapter, the word ‘bank’ refers to a physical bank specified by a chip
select; ‘logical bank’ refers to one of the four or eight sub-banks in each
SDRAM chip. A sub-bank is specified by the 2 or 3 bits on the bank address
(MBA) pins during a memory access.
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 9
Figure 9-1 is a high-level block diagram of the DDR memory controller with its
associated interfaces.
Section 9.5, “Functional Description,” contains detailed figures of the controller.
Figure 9-1. DDR Memory Controller Simplified Block Diagram
9.2 Features
The DDR memory controller includes these distinctive features:
Support for DDR2 and DDR SDRAM
64-/72-bit SDRAM data bus, for DDR and DDR2
Programmable settings for meeting all SDRAM timing parameters
Support for the following SDRAM configurations:
As many as four physical banks (chip selects), each bank independently addressable
64-Mbit to -Gbit devices depending on internal device configuration with ×8/×16/×32 data
ports (no direct ×4 support)
Unbuffered and registered DIMMs
Chip select interleaving support
Support for data mask signals and read-modify-write for sub-double-word writes. Note that a
read-modify-write sequence is only necessary when ECC is enabled.
Address from
DDR SDRAM
Data from
Data from
DDR SDRAM
Data Signals
RMW
ECC
Request from
FIFO
SDRAM
Address
Address
EN
Data Qualifiers
Clocks
To error
MBA[2:0]
MCAS
MRAS
MWE
Decode
Control
Control
Memory Array
Memory Control
master
master
SDRAM
master
management
CSB
ECC
Delay chain
Error
Signals
SDRAM
Control
Clock
Control
EN
Row
Open
Table
MDIC[0:1]
MA[14:0]
MCKE[0:1]
MDQ[0:63]
MCS[0:3]
MODT[0:3]
MDQS[0:8]
MCK[0:5]
MCK[0:5]
MDM[0:8]
MECC[0:7]
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
10 Freescale Semiconductor
Support for double-bit error detection and single-bit error correction ECC (8-bit check word across
or 64-bit data)
Open page management (dedicated entry for each logical bank)
Automatic DRAM initialization sequence or software-controlled initialization sequence
Automatic DRAM data initialization
Support for up to eight posted refreshes
Memory controller clock frequency of two times the SDRAM clock with support for sleep power
management
Support for error injection
9.2.1 Modes of Operation
The DDR memory controller supports the following modes:
Dynamic power management mode. The DDR memory controller can reduce power consumption
by negating the SDRAM CKE signal when no transactions are pending to the SDRAM.
Auto-precharge mode. Clearing DDR_SDRAM_INTERVAL[BSTOPRE] causes the memory
controller to issue an auto-precharge command with every read or write transaction.
Auto-precharge mode can be enabled for separate chip selects by setting
CSn_CONFIG[AP_n_EN].
9.3 External Signal Descriptions
This section provides descriptions of the DDR memory controllers external signals. It describes each
signal’s behavior when the signal is asserted or negated and when the signal is an input or an output.
9.3.1 Signals Overview
Memory controller signals are grouped as follows:
Memory interface signals
Clock signals
Debug signals
Table 9-1 shows how DDR memory controller external signals are grouped. The device
hardware
specification has a pinout diagram showing pin numbers. It also lists all electrical and mechanical
specifications.
Table 9-1. DDR Memory Interface Signal Summary
Name Function/Description Reset Pins I/O
MDQ[0:63] Data bus All zeros 64 I/O
MDQS[0:8] Data strobes All zeros 9 I/O
MECC[0:7] Error checking and correcting All zeros 8 I/O
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 11
Table 9-2 shows the memory address signal mappings.
M
CAS Column address strobe One 1 O
MA[14:0] Address bus All zeros 15 O
MBA[2:0] Logical bank address All zeros 3 O
MCS[0:3] Chip selects All ones 4 O
MWE Write enable One 1 O
MRAS Row address strobe One 1 O
MDM[0:8] Data mask All zeros 9 O
MCK[0:5] DRAM clock outputs All zeros 6 O
MCK[0:5] DRAM clock outputs (complement) All zeros 6 O
MCKE[0:1] DRAM clock enable All zeros 2 O
MODT[0:3] DRAM on-die termination external control. All zeros 4 O
MDVAL Memory debug data valid Zero 1 O
MSRCID[0:4] Memory debug source ID All zeros 5 O
MDIC[0:1] Driver impedance calibration High Z 2 I/O
Table 9-2. Memory Address Signal Mappings
Signal Name (Outputs) JEDEC DDR DIMM Signals (Inputs)
msb MA14 A14
MA13 A13
MA12 A12
MA11 A11
MA10 A10 (AP for DDR)
1
MA9 A9
MA8 A8 (alternate AP for DDR)
2
MA7 A7
MA6 A6
MA5 A5
MA4 A4
MA3 A3
MA2 A2
MA1 A1
lsb MA0 A0
msb MBA2 MBA2
Table 9-1. DDR Memory Interface Signal Summary (continued)
Name Function/Description Reset Pins I/O
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
12 Freescale Semiconductor
9.3.2 Detailed Signal Descriptions
The following sections describe the DDR SDRAM controller input and output signals, the meaning of their
different states, and relative timing information for assertion and negation.
9.3.2.1 Memory Interface Signals
Table 9-3 describes the DDR controller memory interface signals.
M
BA1 MBA1
lsb MBA0 MBA0
1
Auto-precharge for DDR signaled on A10 when DDR_SDRAM_CFG[PCHB8] = 0.
2
Auto-precharge for DDR signaled on A8 when DDR_SDRAM_CFG[PCHB8] = 1.
Table 9-3. Memory Interface Signals—Detailed Signal Descriptions
Signal I/O Description
MDQ[0:63] I/O Data bus. Both input and output signals on the DDR memory controller.
O As outputs for the bidirectional data bus, these signals operate as described below.
State
Meaning
Asserted/Negated—Represent the value of data being driven by the DDR memory controller.
Timing Assertion/Negation—Driven coincident with corresponding data strobes (MDQS) signal.
High impedance—No READ or WRITE command is in progress; data is not being driven by
the memory controller or the DRAM.
I As inputs for the bidirectional data bus, these signals operate as described below.
State
Meaning
Asserted/Negated—Represents the state of data being driven by the external DDR
SDRAMs.
Timing Assertion/Negation—The DDR SDRAM drives data during a READ transaction.
High impedance—No READ or WRITE command in progress; data is not being driven by the
memory controller or the DRAM.
Table 9-2. Memory Address Signal Mappings (continued)
Signal Name (Outputs) JEDEC DDR DIMM Signals (Inputs)
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 13
MDQS[0:8] I/O Data strobes. Inputs with read data, outputs with write data.
O As outputs, the data strobes are driven by the DDR memory controller during a write transaction. The
memory controller always drives these signals low unless a read has been issued and incoming data
strobes are expected. This keeps the data strobes from floating high when there are no transactions on
the DRAM interface.
State
Meaning
Asserted/Negated—Driven high when positive capture data is transmitted and driven low
when negative capture data is transmitted. Centered in the data “eye” for writes;
coincident with the data eye for reads. Treated as a clock. Data is valid when signals
toggle. See
Table 9-36 for byte lane assignments.
T
iming Assertion/Negation (for DDR1)—If a WRITE command is registered at clock edge n, data
strobes at the DRAM assert centered in the data eye on clock edge n + 1. See the
JEDEC DDR SDRAM specification for more information.
Assertion/Negation (for DDR2)—If a WRITE command is registered at clock edge n, and the
latency is programmed in TIMING_CFG_2[WR_LAT] to be m clocks, data strobes at the
DRAM assert coincident with the data on clock edge
n
+
m
. See the JEDEC DDR SDRAM
specification for more information.
I As inputs, the data strobes are driven by the external DDR SDRAMs during a read transaction. The data
strobes are used by the memory controller to synchronize data latching.
State
Meaning
Asserted/Negated—Driven high when positive capture data is received and driven low when
negative capture data is received. Centered in the data eye for writes; coincident with
the data eye for reads. Treated as a clock. Data is valid when signals toggle. See
Table 9-36 for byte lane assignments.
Timing Assertion/Negation—If a READ command is registered at clock edge n, and the latency is
programmed in TIMING_CFG_1[CASLAT] to be m clocks, data strobes at the DRAM
assert coincident with the data on clock edge n + m. See the JEDEC DDR SDRAM
specification for more information.
MECC[0:7] I/O Error checking and correcting codes. Input and output signals for the DDR controller’s bidirectional ECC
bus. MECC[0:5] function in both normal and debug modes.
O As normal mode outputs, the ECC signals represent the state of ECC driven by the DDR controller on
writes. As debug mode outputs MECC[0:5] provide source ID and data-valid information. See
Section 9.5.10, “Error Checking and Correcting (ECC), for more details.
State
Meaning
Asserted/Negated—Represents the state of ECC being driven by the DDR controller on
writes.
Timing Assertion/Negation—Same timing as MDQ
High impedance—Same timing as MDQ
I As inputs, the ECC signals represent the state of ECC driven by the SDRAM devices on reads.
State
Meaning
Asserted/Negated—Represents the state of ECC being driven by the DDR SDRAMs on
reads.
Timing Assertion/Negation—Same timing as MDQ
High impedance—Same timing as MDQ
Table 9-3. Memory Interface Signals—Detailed Signal Descriptions (continued)
Signal I/O Description
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
14 Freescale Semiconductor
MA[14:0] O Address bus. Memory controller outputs for the address to the DRAM. MA[14:0] carry 15 of the address
bits for the DDR memory interface corresponding to the row and column address bits. MA0 is the lsb of
the address output from the memory controller.
State
Meaning
Asserted/Negated—Represents the address driven by the DDR memory controller. Contains
different portions of the address depending on the memory size and the DRAM
command being issued by the memory controller. See
Table 9-40 Table 9-41 for a
c
omplete description of the mapping of these signals.
Timing Assertion/Negation—The address lines are only driven when the controller has a command
scheduled to issue on the address/CMD bus; otherwise they will be at high-Z. It is valid
when a transaction is driven to DRAM (when MCSn is active).
High impedance—When the memory controller is disabled
MBA[2:0] O Logical bank address. Outputs that drive the logical (or internal) bank address pins of the SDRAM. Each
SDRAM supports four or eight addressable logical sub-banks. Bit zero of the memory controller’s output
bank address must be connected to bit zero of the SDRAM’s input bank address. MBA0, the
least-significant bit of the three bank address signals, is asserted during the mode register set command
to specify the extended mode register.
State
Meaning
Asserted/Negated—Selects the DDR SDRAM logical (or internal) bank to be activated during
the row address phase and selects the SDRAM internal bank for the read or write
operation during the column address phase of the memory access. Table 9-40
Table 9-41 describes the mapping of these signals in all cases.
Timing Assertion/Negation—Same timing as MAn
High impedance—Same timing as MAn
MCAS O Column address strobe. Active-low SDRAM address multiplexing signal. MCAS is asserted for read or
write transactions and for mode register set, refresh, and precharge commands.
State
Meaning
Asserted—Indicates that a valid SDRAM column address is on the address bus for read and
write transactions. See Table 9-48 for more information on the states required on MCAS
for various other SDRAM commands.
Negated—The column address is not guaranteed to be valid.
Timing Assertion/Negation—Assertion and negation timing is directed by the values described in
Section 9.4.1.4, “DDR SDRAM Timing Configuration 0 (TIMING_CFG_0),
Section 9.4.1.5, “DDR SDRAM Timing Configuration 1 (TIMING_CFG_1),
Section 9.4.1.6, “DDR SDRAM Timing Configuration 2 (TIMING_CFG_2),” and
Section 9.4.1.3, “DDR SDRAM Timing Configuration 3 (TIMING_CFG_3).
High impedance—MCAS is always driven unless the memory controller is disabled.
MRAS O Row address strobe. Active-low SDRAM address multiplexing signal. Asserted for activate commands.
In addition; used for mode register set commands and refresh commands.
State
Meaning
Asserted—Indicates that a valid SDRAM row address is on the address bus for read and
write transactions. See Table 9-48 for more information on the states required on MRAS
for various other SDRAM commands.
Negated—The row address is not guaranteed to be valid.
Timing Assertion/Negation—Assertion and negation timing is directed by the values described in
Section 9.4.1.4, “DDR SDRAM Timing Configuration 0 (TIMING_CFG_0),
Section 9.4.1.5, “DDR SDRAM Timing Configuration 1 (TIMING_CFG_1),
Section 9.4.1.6, “DDR SDRAM Timing Configuration 2 (TIMING_CFG_2),” and
Section 9.4.1.3, “DDR SDRAM Timing Configuration 3 (TIMING_CFG_3).
High impedance—MRAS is always driven unless the memory controller is disabled.
Table 9-3. Memory Interface Signals—Detailed Signal Descriptions (continued)
Signal I/O Description
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 15
MCS
[0:3] O Chip selects. Four chip selects supported by the memory controller.
State
Meaning
Asserted—Selects a physical SDRAM bank to perform a memory operation as described in
Section 9.4.1.1, “Chip Select Memory Bounds (CSn_BNDS), and Section 9.4.1.2,
“Chip Select Configuration (CSn_CONFIG). The DDR controller asserts one of the
MCS[0:3] signals to begin a memory cycle.
Negated—Indicates no SDRAM action during the current cycle.
Timing Assertion/Negation—Asserted to signal any new transaction to the SDRAM. The transaction
must adhere to the timing constraints set in TIMING_CFG_0–TIMING_CFG_3.
High impedance—Always driven unless the memory controller is disabled.
MWE O Write enable. Asserted when a write transaction is issued to the SDRAM. This is also used for mode
registers set commands and precharge commands.
State
Meaning
Asserted—Indicates a memory write operation. See Table 9-48 for more information on the
states required on MWE for various other SDRAM commands.
Negated—Indicates a memory read operation.
Timing Assertion/Negation—Similar timing as MRAS and MCAS. Used for write commands.
High impedance—MWE is always driven unless the memory controller is disabled.
MDM[0:8] O DDR SDRAM data output mask. Masks unwanted bytes of data transferred during a write. They are
needed to support sub-burst-size transactions (such as single-byte writes) on SDRAM where all I/O
occurs in multi-byte bursts. MDM0 corresponds to the most significant byte (MSB) and MDM7
corresponds to the LSB, while MDM8 corresponds to the ECC byte. Table 9-36 shows byte lane
encodings.
State
Meaning
Asserted—Prevents writing to DDR SDRAM. Asserted when data is written to DRAM if the
corresponding byte(s) should be masked for the write. Note that the MDMn signals are
active-high for the DDR controller. MDMn is part of the DDR command encoding.
Negated—Allows the corresponding byte to be read from or written to the SDRAM.
Timing Assertion/Negation—Same timing as MDQx as outputs.
High impedance—Always driven unless the memory controller is disabled.
MODT[0:3] O On-Die termination. Memory controller outputs for the ODT to the DRAM. MODT[0:3] represents the
on-die termination for the associated data, data masks, ECC, and data strobes.
State
Meaning
Asserted/Negated—Represents the ODT driven by the DDR memory controller.
Timing Assertion/Negation—Driven in accordance with JEDEC DRAM specifications for on-die
termination timings. It is configured through the CSn_CONFIG[ODT_RD_CFG] and
CSn_CONFIG[ODT_WR_CFG] fields.
High impedance—Always driven.
MDIC[0:1] I/O Driver impedance calibration. Note that the MDIC signals require the use of resistors; MDIC0 must be
pulled to GND, while MDIC1 must be pulled to GV
DD
. See
Section 5.3.2.8, “DDR Control Driver Register
(
DDRCDR), for more information on these signals.
State
Meaning
These pins are used for automatic calibration of the DDR IOs.
Timing These are driven for four DRAM cycles at a time while the DDR controller is executing the
automatic driver compensation.
Table 9-3. Memory Interface Signals—Detailed Signal Descriptions (continued)
Signal I/O Description
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
16 Freescale Semiconductor
9.3.2.2 Clock Interface Signals
Table 9-4 contains the detailed descriptions of the clock signals of the DDR c
ontroller.
9.3.2.3 Debug Signals
The debug signals MSRCID[0:4] and MDVAL have no function in normal DDR controller operation. A
detailed description of these signals can be found in Section 5.3.2.7, “Debug Configuration.”
9.4 Memory Map/Register Definition
Table 9-5 shows the register memory map for the DDR memory controller.
In this table and in the register figures and field descriptions, the following access definitions apply:
Reserved fields are always ignored for the purposes of determining access type.
R/W, R, and W (read/write, read only, and write only) indicate that all the non-reserved fields in a
register have the same access type.
w1c indicates that all of the non-reserved fields in a register are cleared by writing ones to them.
Mixed indicates a combination of access types.
Special is used when no other category applies. In this case the register figure and field description
table should be read carefully.
Table 9-4. Clock Signals—Detailed Signal Descriptions
Signal I/O Description
MCK[0:5],
MCK[0:5]
O DRAM clock outputs and their complements.
State
Meaning
Asserted/Negated—The JEDEC DDR SDRAM specifications require true and complement
clocks. A clock edge is seen by the SDRAM when the true and complement cross.
Timing Assertion/Negation—Timing is controlled by the DDR_CLK_CNTL register at offset 0x130.
MCKE[0:1] O Clock enable. Output signals used as the clock enables to the SDRAM. MCKE[0:1] can be negated to stop
clocking the DDR SDRAM. The MCKE signals should be connected to the same rank of memory as the
corresponding MCS and MODT signals. For example, MCKE[0] should be connected to the same rank of
memory as MCS[0] and MODT[0].
State
Meaning
Asserted—Clocking to the SDRAM is enabled.
Negated—Clocking to the SDRAM is disabled and the SDRAM should ignore signal transitions
on MCK or MCK. MCK/MCK are don’t cares while MCKE[0:1] are negated.
Timing Assertion/Negation—Asserted when DDR_SDRAM_CFG[MEM_EN] is set. Can be negated
when entering dynamic power management or self refresh. Are asserted again when
exiting dynamic power management or self refresh.
High impedance—Always driven.
Table 9-5. DDR Memory Controller Memory Map
Offset Register Access Reset Section/Page
DDR Memory ControllerBlock Base Address 0x0_2000
0x000 CS0_BNDS—Chip select 0 memory bounds R/W All zeros 9.4.1.1/9-18
0x008 CS1_BNDS—Chip select 1 memory bounds R/W All zeros 9.4.1.1/9-18
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 17
0x010 CS2_BNDS—Chip select 2 memory bounds R/W All zeros 9.4.1.1/9-18
0x018 CS3_BNDS—Chip select 3 memory bounds R/W All zer
os 9.4.1.1/9-18
0x080 CS0_CONFIG—Chip select 0 configuration R/W All zeros 9.4.1.2/9-18
0x084 CS1_CONFIG—Chip select 1 configuration R/W All zeros 9.4.1.2/9-18
0x088 CS2_CONFIG—Chip select 2 configuration R/W All zeros 9.4.1.2/9-18
0x08C CS3_CONFIG—Chip select 3 configuration R/W All zeros 9.4.1.2/9-18
0x100 TIMING_CFG_3—DDR SDRAM timing configuration 3 R/W All zeros 9.4.1.3/9-20
0x104 TIMING_CFG_0—DDR SDRAM timing configuration 0 R/W 0x0011_0105 9.4.1.4/9-21
0x108 TIMING_CFG_1—DDR SDRAM timing configuration 1 R/W All zeros 9.4.1.5/9-22
0x10C TIMING_CFG_2—DDR SDRAM timing configuration 2 R/W All zeros 9.4.1.6/9-24
0x110 DDR_SDRAM_CFG—DDR SDRAM control configuration R/W 0x0200_0000 9.4.1.7/9-26
0x114 DDR_SDRAM_CFG_2—DDR SDRAM control configuration 2 R/W All zeros 9.4.1.8/9-29
0x118 DDR_SDRAM_MODE—DDR SDRAM mode configuration R/W All zeros 9.4.1.9/9-31
0x11C DDR_SDRAM_MODE_2—DDR SDRAM mode configuration 2 R/W All zeros 9.4.1.10/9-32
0x120 DDR_SDRAM_MD_CNTL—DDR SDRAM mode control R/W All zeros 9.4.1.11/9-32
0x124 DDR_SDRAM_INTERVAL—DDR SDRAM interval configuration R/W All zeros 9.4.1.12/9-35
0x128 DDR_DATA_INIT—DDR SDRAM data initialization R/W All zeros 9.4.1.13/9-35
0x130 DDR_SDRAM_CLK_CNTL—DDR SDRAM clock control R/W 0x0200_0000 9.4.1.14/9-36
0x140
0x144
Reserved
0x148 DDR_INIT_ADDR—DDR training initialization address R/W All zeros 9.4.1.15/9-36
0x150
0xBF4
Reserved
0xBF8 DDR_IP_REV1—DDR IP block revision 1 R 0xnnnn_nnnn
1
9.4.1.16/9-37
0xBFC DDR_IP_REV2—DDR IP block revision 2 R 0x00nn_00nn
1
9.4.1.17/9-37
0xE00 DATA_ERR_INJECT_HI—Memory data path error injection mask high R/W All zeros 9.4.1.18/9-38
0xE04 DATA_ERR_INJECT_LO—Memory data path error injection mask low R/W All zeros 9.4.1.19/9-38
0xE08 ERR_INJECT—Memory data path error injection mask ECC R/W All zeros 9.4.1.20/9-39
0xE20 CAPTURE_DATA_HI—Memory data path read capture high R/W All zeros 9.4.1.21/9-39
0xE24 CAPTURE_DATA_LO—Memory data path read capture low R/W All zeros 9.4.1.22/9-40
0xE28 CAPTURE_ECC—Memory data path read capture ECC R/W All zeros 9.4.1.23/9-40
0xE40 ERR_DETECT—Memory error detect w1c All zeros 9.4.1.24/9-40
0xE44 ERR_DISABLE—Memory error disable R/W All zeros 9.4.1.25/9-41
0xE48 ERR_INT_EN—Memory error interrupt enable R/W All zeros 9.4.1.26/9-42
0xE4C CAPTURE_ATTRIBUTES—Memory error attributes capture R/W All zeros 9.4.1.27/9-43
0xE50 CAPTURE_ADDRESS—Memory error address capture R/W All zeros 9.4.1.28/9-44
0xE58 ERR_SBESingle-Bit ECC memory error management R/W All zeros 9.4.1.29/9-44
1
Implementation-dependent reset values are listed in specified section/page.
Table 9-5. DDR Memory Controller Memory Map (continued)
Offset Register Access Reset Section/Page
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
18 Freescale Semiconductor
9.4.1 Register Descriptions
This section describes the DDR memory controller registers. Shading indicates reserved fields that should
not be written.
9.4.1.1 Chip Select Memory Bounds (CSn_BNDS)
The chip select bounds registers (CSn_BNDS) define the starting and ending address of the memory space
that corresponds to the individual chip selects. Note that the size specified in CSn_BNDS should equal the
size of physical DRAM. Also, note that EAn must be greater than or equal to SAn.
If chip select interleaving is enabled, all fields in the lower interleaved chip select are used, and the other
chip selects’ bounds registers are unused. For example, if chip selects 0 and 1 are interleaved, all fields in
CS0_BNDS are used, and all fields in CS1_BNDS are unused.
CSn_BNDS are shown in Figure 9-2.
Table 9-6 describes the CSn_B
NDS register fields.
9.4.1.2 Chip Select Configuration (CSn_CONFIG)
The chip select configuration (CSn_CONFIG) registers shown in Figure 9-3 enable the DDR chip selects
and set the number of row and column bits used for each chip select. These registers should be loaded with
the correct number of row and column bits for each SDRAM. Because CSn_CONFIG[ROW_BITS_CS_n,
COL_BITS_CS_n] establish address multiplexing, the user should take great care to set these values
correctly.
If chip select interleaving is enabled, then all fields in the lower interleaved chip select are used, and the
other registers’ fields are unused, with the exception of the ODT_RD_CFG and ODT_WR_CFG fields.
For example, if chip selects 0 and 1 are interleaved, all fields in CS0_CONFIG are used, but only the
ODT_RD_CFG and ODT_WR_CFG fields in CS1_CONFIG are used.
Offset 0x000, 0x008, 0x010, 0x018 Access: Read/Write
0 7 8 15 16 23 24 31
R
SAn EAn
W
Reset All zeros
Figure 9-2. Chip Select Bounds Registers (CSn_BNDS)
Table 9-6. CSn_BNDS Field Descriptions
Bits Name Description
0–7 Reserved
8–15 SAn Starting address for chip select (bank) n. This value is compared against the 8 msbs of the 32-bit address.
16–23 Reserved
24–31 EAn Ending address for chip select (bank) n. This value is compared against the 8 msbs of the 32-bit address.
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
Freescale Semiconductor 19
Table 9-7 describes the CSn_C
ONFIG register fields.
Offset 0x080, 0x084, 0x088, 0x08C Access: Read/Write
0 1 7 8 9 11 12 13 15
R
CS_n _EN AP_n_EN ODT_RD_CFG ODT_WR_CFG
W
Reset All zeros
16 17 18 20 21 23 24 28 29 31
R
BA_BITS_CS_n
ROW_BITS_
CS_n
COL_BITS_CS_n
W
Reset All zeros
Figure 9-3. Chip Select Configuration Register (CSn_CONFIG)
Table 9-7. CSn_CONFIG Field Descriptions
Bits Name Description
0 CS_n_EN Chip select n enable
0 Chip select n is not active
1 Chip select n is active and assumes the state set in CSn_BNDS.
1–7 Reserved
8 AP_n_EN Chip select n auto-precharge enable
0 Chip select n is only auto-precharged if global auto-precharge mode is enabled
(DDR_SDRAM_INTERVAL[BSTOPRE] = 0).
1 Chip select n always issues an auto-precharge for read and write transactions.
9–11 ODT_RD_CFG ODT for reads configuration. Note that CAS latency plus additive latency must be at least
3 cycles for ODT_RD_CFG to be enabled. ODT should only be used with DDR2 memories.
000 Never assert ODT for reads
001 Assert ODT only during reads to CSn
010 Assert ODT only during reads to other chip selects
011 Assert ODT only during reads to other DIMM modules. It is assumed that CS0 and CS1 are
on the same DIMM module, whereas CS2 and CS3 are on a separate DIMM module.
100 Assert ODT for all reads
101111Reserved
12 Reserved
13–15 ODT_WR_CFG ODT for writes configuration. Note that write latency plus additive latency must be at least
3 cycles for ODT _WR_CFG to be enabled. ODT should only be used with DDR2 memories.
000 Never assert ODT for writes
001 Assert ODT only during writes to CSn
010 Assert ODT only during writes to other chip selects
011 Assert ODT only during writes to other DIMM modules. It is assumed that CS0 and CS1
are on the same DIMM module, whereas CS2 and CS3 are on a separate DIMM module.
100 Assert ODT for all writes
101111Reserved
16–17 BA_BITS_CS_n Number of bank bits for SDRAM on chip select n. These bits correspond to the sub-bank bits
driven on MBAn in
Table 9-43.
0
0 2 logical bank bits
01 3 logical bank bits
10–11Reserved
Section, Page No. Changes
Errata to MPC8379E PowerQUICC II Pro Integrated Host
Processor Family Reference Manual, Rev. 1
20 Freescale Semiconductor
9.4.1.3 DDR SDRAM Timing Configuration 3 (TIMING_CFG_3)
DDR SDRAM timing configuration register 3, shown in Figure 9-4, sets the extended refresh recovery
t
ime, which is combined with TIMING_CFG_1[REFREC] to determine the full refresh recovery time.
Table 9-8 describes TIMING_CFG_3 fields.
18–20 Reserved
21–23 ROW_BITS_CS_n Number of row bits for SDRAM on chip select n. See Table 9-43 for details.
000 12 row bits
001 13 row bits
010 14 row bits
011 15 row bits
000111 Reserved
24–28 Reserved
29–31 COL_BITS_CS_n Number of column bits for SDRAM on chip select n. For DDR, the decoding is as follows:
000 8 column bits
001 9 column bits
010 10 column bits
011 11 column bits
100111 Reserved
Offset 0x100 Access: Read/Write
0 12 13 15 16 31
R
EXT_REFREC
W
Reset All zeros
Figure 9-4. DDR SDRAM Timing Configuration 3 (TIMING_CFG_3)
Table 9-8. TIMING_CFG_3 Field Descriptions
Bits Name Description
0–12 Reserved
13–15 EXT_REFREC Extended refresh recovery time (t
RFC
). Controls the number of clock cycles from a refresh command
until an activate command is allowed. This field is concatenated with TIMING_CFG_1[REFREC] to
obtain a 7-bit value for the total refresh recovery. Note that hardware adds an additional 8 clock
cycles to the final, 7-bit value of the refresh recovery. t
RFC
= {EXT_REFREC || REFREC} + 8, such
that t
RFC
is calculated as follows:
000 0 clocks
001 16 clocks
010 32 clocks
011 48 clocks
100 64 clocks
101 80 clocks
110 96 clocks
111 112 clocks
16–31 Reserved
Table 9-7. CSn_CONFIG Field Descriptions (continued)
Bits Name Description
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148

NXP MPC8378E Reference guide

Type
Reference guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI