This document describes the functionality of the P5040
(quad-core)/P5021 (dual core) and P5020 (dual core)/P5010
(single core) processors as the reference design board (RDB)
for customers.
The P5040/P5020 reference board is a lead-free,
RoHS-compliant board that is also known as
P5040/P5020RDB. Figure 1 shows the block diagram for
both processors implemented in this reference board.
The processors currently supported and the orderable part
number for each kit are as follows:
P5040/P5021P5040-RDB
P5020/P5010P5020-RDB
1Before you begin
This table lists useful documentation references.
NOTE
Contact your local Freescale
field applications engineer to
access documents that are not
available on freescale.com.
SoC programming P5040 QorIQ Integrated Multicore Communication Processor Family Reference Manual P5040RM
P5020 QorIQ Integrated Multicore Communication Processor Family Reference Manual P5020RM
Switch
configuration
SystemID format The SystemID Format for Power Architecture® Development SystemsAN3638
P5040/P5020DS Configuration Sheet—
P5040EC/
P5020EC
The initial version of the Software Development Kit (version 1.3) is shipped with the P5040/P5020
reference design board. The customer should check for new patch releases, which generally are updated
on Freescale.com two times a year.
2Features
The general features of the P5040/P5020RDB are as follows:
•P5040/P5020 supports functions that include the following:
— Standard 400W 1U power supply connector
— One SD card/MMC connector
— SerDes PCI-Express (PCIe) connector
– One PCIe x2/x4 connector (SerDes lanes “A” through connector “D”), which can support
up to four lanes of PCIe 2.0/1.0
– One mini PCIe x1 connector
– Two Type A USB 2.0 connectors.
— One DUART DB-9 RS-232 connector (muxed UART0/1 and UART 2/3 serial ports) that
operate at up to 115200 Kbps
— Two XAUI copper (10Gbit RJ-45 connectors) and two fiber optic SFP+ connectors
– One dual-port TN8022 PHY supporting two XAUI copper link(10GHz) and two XFI link
supporting 10GHz modules.
– Two SATA II connectors
— Two Gigabit Ethernet ports 0 and 1 supporting one dual RGMII (1-GHz) RJ-45 Ethernet
connectors
– One dual-port PHY supporting one dual RGMII (1GHz/100/10-MHz) multifunction FPGA
— Two dual ported SGMII connectors supporting Gigabit Ethernet ports 0(top)/1(bottom) and
ports 2(top)/3(bottom)
– One quad-port PHY supporting four SGMII (1GHz) links
— Programmed by the processor on the following a power-up or hard reset. The FPGA
functionality varies depending on the specific processor.
P5040/P5020 Reference Design Board User Guide, Rev. 0
2Freescale Semiconductor
— 1588 header—support is TBD
— Aurora debug port
•Other functions routed to reference board devices are as follows:
— Local bus
– 128-Mbyte NOR Flash contains Uboot firmware.
– 4 Gigabit NOR Flash is used for Freescale debug purposes. The user may access this using
their own developed software.
— eSDHC
– Connects to SDMedia card slot for boot code or mass storage
— SPI
– 16-Mbyte EEPROM module for boot code and storage
—I2C
– Three I2C controllers from P5040 and P5020
–I2C1 to RCW/Boot Sequencer and System configuration EEPROMs, XAUI SFP+ ports 1
and 2
–I2C2 to DDR slots’ SPD
Features
–I2C3 to system real time clock and CPU Thermal Monitor
— Debug features
– Legacy COP/JTAG and USBTAP headers for use with CodeWarrior software
– Aurora Debug connector
•System logic FPGA—other functions
— FPGA manages power sequencing
— Programming model with registers accessible via local bus
•SerDes clock for PCIe slots and XAUI PHY
•Power supplies
— Power is supplied to the reference board via a standard 1U 450W power supply
— Power is supplied via +12 V pins, VCC_RTC=3.3 V, and VCC_5V_stby = 5 V on the COM
Express connectors
— 2.5-V power for RMII Ethernet PHY
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor3
Block Diagram
3Block Diagram
This figure depicts the general features and connectivity of the P5040/P5020 reference board.
P5040/P5020 Reference Design Board User Guide, Rev. 0
4Freescale Semiconductor
This figure shows the P5040 reference design board.
Evaluation Support
Figure 2. P5040 Reference Design Board
4Evaluation Support
4.1P5040/P5020RDB as a Processor Reference Board
For general hardware and/or software development and evaluation purposes, the P5040/P5020 reference
design board can be used like an ordinary, desktop computer.
The P5040/P5020 reference board can also be used as reference for many features of the P5040/P5020.
This table summarizes the processor hardware interfaces that can be evaluated by using the reference
board.
NOTE
Shaded features apply to only one processor.
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor5
Evaluation Support
Table 2. P5040/P5020RDB device Interfaces
Device FeatureConfiguration Options
SerDes • Connect to PCI Express 2.0 x1 and x4 slots for use with graphics or other PEX cards
• Test via PCI Express card (typically graphics) or Catalyst™ PCI Express control/monitoring card
DDR3 • Memory controller capable of supporting DDR3 and DDR3-LV devices.
• Provides 2 SODIMM slots with one DDR3 8GB 204-pin 1.35/1.5v SODIMM module at 1333/1600 Mbps
data rate at 72-bit, and ECC support.
eSDHCSDMedia card and MMC card
SPISupports standard 128Kbyte(2 MHz, 1.8V) and 16MB (100 MHz)
Local bus • Connects 8bit data and 10bit address to system control FPGA to access programming model to configure
system: Internal debug
SerialUART supports two 4-wire serial ports
I2CI
2
C bus #1 can be used for the following:
• Boot initialization code
• System EEPROM (MAC address storage, serial number, and so on)
GPIOEight GPIOs are connected FPGA for future usage
IRQsEVENT switch normally asserts IRQ* but can drive SRESET0, and/or SRESET1 via software setting
Power1U power supply to P5040/P5020 connector VCC_12, VCC_5_STBY, VCC_RTC_BAT
4.2Reference Design Board Use
In the absence of a special hardware or software configuration, the P5040/P5020 reference design board
operates identically to a development/evaluation system.
4.3Embedded Use
Section 6.1, “Configuration Options,” and Section 6.2, “Configuration Modes,” provide the FPGA and
external configuration switch settings used for start-up configuration information for U-Boot or Linux
when the system is used as an embedded platform.
4.4Difficult-to-Find P5040/P5020 Connections
P5040/P5020 Reference Design Board User Guide, Rev. 0
6Freescale Semiconductor
This figure shows connections that are difficult to find on the COM Express reference board.
Key:
1U power connector
SW3 power-on button
SW1 local reset
FPGA programming header
Architecture
Figure 3. Difficult-to-Find Connections—P5040/P5020 reference board Top View
5Architecture
5.1Processor
This table lists the major pin groupings of the P5040/P5020.
ThermalSection 5.1.19, “Temperature Anode and Cathode”
PowerSection 5.1.20, “Power”
5.1.1DDR
The P5040/P5020RDB contains a number of DDR-related features, as follows:
•Memory controller capable of supporting DDR3 and DDR3-LV devices
•Supports DDR3 using one 8GB, 1.35V/1.5V 204-pin Micron MT18KSF1G72HZ-1G6E2
SODIMM module @ 1333/1600 Mbps data rate at 72-bit, and ECC support
•Memory interface includes all necessary termination and IO power and is routed in order to achieve
maximum performance on the memory bus.
•As noted in the table below,P5040/P5020 has a dual DDR controller connected to dual DDR3
SODIMM slots.
Table 4. DDR Features
DDR FeatureDescription
DDR3 TopologyEach controller connects to its own SODIMM slot.
Supports write-leveling intended to help determine timing skews.
TerminationAll input signal lines are terminated at the DIMM modules.
Additional termination is not required.
P5040/P5020 Reference Design Board User Guide, Rev. 0
8Freescale Semiconductor
Architecture
Figure 4. DDR interface
5.1.1.1DDR Power
P5040/P5020RDB DDR power supplies these voltages.
Figure 5. DDR Power Supply
Voltage NameVoltageCurrentNote
GVDD1.5V/1.35V> 10ADRAM core and IO
MVREF0.75V/0.675V>= 10mADRAM reference voltage
VTT0.75V/0.675V>= 3ABus termination supply
The P5040/P5020RDB uses the Linear Technology LTC3876 (U55) switching power controller as
follows:
•Dual-phase controller for up to 20 A at a default at 1.35 v adjustable to 1.5 V output.
•Supplies GVDD, VREF , and VTT for SODIMM DRAM DDR3 and P5040/P5020 DDR controller .
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor9
Architecture
The following summarizes the use of MECC pins on the P5040/P5020RDB:
•RDB does not directly support MECC pin usage to access internal debug information. Since the
RDB does not provide a dedicated MUX, it has simpler routing and signal integrity status.
•However, as the RDB does not interfere with the controller-to-DDR path, access to debug
information on MECC pins is possible by using a NextWave (or equivalent) DDR logic analyzer
connector and non-ECC DDR modules.
5.1.2SerDes x20/x18 Interface
The SerDes block on the P5040/P5020 provides high-speed serial communications interfaces for several
internal devices. The SerDes block provides 20 or 18 serial lanes for the P5040 or P5020, respectively.
They may be partitioned as shown in Table 5(a) or (b), respectively.
Note that the term ‘lane’ is used to describe the minimum number of signals needed to create a
bidirectional communications channel; in the case of PCI-Express or Serial RapidIO, a lane consists of two
differential pairs, one for receive and one for transmit, or four in all.
Table 5, top down, shows the following clocking banks and how they are configured by the reference
board:
Bank1Lanes A–D go to x4 slot 1, E is demuxed to either x1 slot 2 or combined with lanes
E-F to support 4 SGMII ports, and I–J to the Aurora debug connector
Bank2Lanes A–D go to port 1 of dual-ported XAUI PHY
Bank3Lanes A–B of P5040 goes to port 2 of dual-ported XAUI PHY while lanes C and
D of P5020 could be demuxed to either go to SATA ports 1 and 2 or go to port 2
of dual-ported XAUI PHY.
Bank 4Lanes P1B and P2A of P5040 are muxed are with lanes C–D of P5020 to SATA
ports 1 and 2.
Table 5. P5040/P5020 SerDes Lane Multiplexing Configurations on P5040/P5020
Bank 1Bank 2Bank 3
ABCD EFGHIJABCDABC D
01234567891011121314151617— —
SLOT 1SLOT 2
PCIe1
(5/2.5G)
PCIe1
(5/2.5G)
PCIe2
(5/2.5G)
SGMII
FM2
SGMII
FM2
SGMII
FM2
SGMII
FM2
Aurora Conn on
P5040 (RCW 02 and 34)
Debug (5/2.5G)XAUI FM1XAUI FM2
Debug (5/2.5G)XAUI FM2——SATA1SATA2——
SLOT 3
SATA
Port1
SATA
Port2
————
Bank
4
P1B
SATA1
P2A
SATA2
P5020 (RCW 34 and 35)
P5040/P5020 Reference Design Board User Guide, Rev. 0
10Freescale Semiconductor
Architecture
Table 5. P5040/P5020 SerDes Lane Multiplexing Configurations on P5040/P5020 (continued)
Bank 1Bank 2Bank 3
ABCD EFGHIJABCDABC D
Bank
4
P1B
01234567891011121314151617— —
SLOT 1SLOT 2
PCIe1
(5/2.5G)
PCIe1
(5/2.5G)
PCIe2
(5/2.5G)
SGMII
FM2
SGMII
FM2
SGMII
Aurora Conn on
SLOT 3
——Debug (5/2.5G)XAUI FM1——
FM2
SGMII
FM2
Debug (5/2.5G)XAUI FM1——
SATA
Port1
SATA
Port2
————
——
SATA1
SATA2
——
SATA1
SATA2
P2A
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor11
Architecture
P5040/P5020
SD_TX/RX[0:3](p,n)
PEX Slot 1
TX/RX[0:3](p,n)
REFCLK_SD1(p,n)
100 MHz
PEX Slot 2
TX/RX[4:7](p,n)
Aurora Conn
TX/RX[1:0](p,n)
SD_TX/RX[4:7](p,n)
SD_TX/RX[8:9](p,n)
x4 PCIe Card
Aurora Debug
x1 PCIe card
x4 SGMII PHY
Connector
Figure 6. P5040/P5020 SerDes Bank1 to Reference Board Cards/
Debug Connector Configuration
12Freescale Semiconductor
P5040/P5020 Reference Design Board User Guide, Rev. 0
Architecture
P5040/P5020
REFCLK_SD2/3/4(p,n)
125 MHz
Port 1 of TN8022
TX/RX[0:3](p,n)
SATA port1 & 2
TX/RX[1:2](p,n)
SD_TX/RX[10:13](p,n)
SD_TX/RX[14:17](p,n)
SATA connectors
2 COPPER PORTS
Port 2 of TN8022
p5040B3lanesA-D
p5020B3lanesCD
2 SFP+ PORTS
SD_TX/RX[P1B,P1A](p,n)
5.1.3Ethernet Controller (EC) Interfaces
The two TSEC—with twisted pair 10/100/1000-Base-T interface—are IEEE 802.3-compliant. Vitesse
VSC8244 PHY supports four integrated PHYs though only two are in use. The P5040/P5020RDB only
uses the RGMII protocol.
This table shows the general organization of the ETH system.
GETH FeatureSpecificsDescription
GETH ClocksIDT
Figure 7. P5040/P5020 SerDes Banks 2,3, and 4 to Reference Board XAUI ports/
This figure shows overall connections of RS-232, eSPI, and eSDHC/eMMC interfaces.
16Freescale Semiconductor
P5040/P5020 Reference Design Board User Guide, Rev. 0
Architecture
Figure 10. Serial Interfaces
5.1.6enhanced Serial Peripheral Interface (eSPI)
The P5040/P5020 has an eSPI Master Controller used to communicate with various peripherals.
•Two SPI FLASH support 24-bit address and SPI Modes 0, 3.
•Use Chip Select 0 or 1 with S25FL129P0XNFI001 FLASH if CVDD=3.3 V.
•Use Chip Select 2 with 25AA1024T-I/SM FLASH for all CVDD voltages (1.8, 2.5, or 3.3 V).
•Chip Select 3 is reserved for 1588 Riser Card.
This table describes the P5040/P5020RDB SPI FLASH memory.
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor17
Architecture
Table 8. eSPI Slave devices
Device
Spansion
S25FL129P0XNFI001
Microchip
25AA1024T-I/SM
1588 Riser Card—1.8–3.3—CS3
Clock Frequency
(MHz)
1042.7–3.316 MBCS[0,1]
2, 10, 201.8–3.3128 KBCS2
Voltage Range (V)CapacitySPI CS
5.1.7enhanced Secure Digital Host Controller (eSDHC) &
embedded Multi Media Controller (eMMC)
The P5040/P5020 processor has an eSDHC and an eMMC controller, which the P5040/P5020 connects to
an SD media card slot. The I2C3_SDA signal uses write protect (WP). The I2C3_SCL signal uses card
detect (CD). The DS supports the following:
•1.8, 2.5, and 3.3V SD/eMMC media card voltages.
•x4-bit and x8-bit cards though the latter uses SPI_CS[0:3] signals as eSDHC_DAT[4:7].
— eSDHC_DAT[4:7] signals are shared with SPI CS pins.
— Software can route the pins to either eSDHC/eMMC cards or SPI devices; however, they
cannot be used simultaneously.
CAUTION
Insert an SD/eMMC media card suited to P5040/P5020 CVDD voltage.
5.1.8UART Serial Ports
Two RS-232 transceivers on the P5040/P5020RDB contribute to user application development and
provide convenient communication channels to both terminal and host computers. The transceivers are
connected to P5040/P5020 dedicated UAR T ports: one provides interconnection to DUT UART1/3 ports
or ngPIXIS FPGA; the other explores UART2/4 dedicated ports.
Analog Devices’ ADM561JRSZ product internally generates required RS-232 levels from 3.3V_HOT
supply.
NOTE
Powering from the 3.3V_HOT power rail is possible even when
P5040/P5020 is powered down. Thus, the FPGA processor can run
programs and interact with the user while allowing board reconfiguration
while sealed in the chassis.
This table describes the P5040/P5020RDB RS-232 interface.
P5040/P5020 Reference Design Board User Guide, Rev. 0
The P5040/P5020 has dual HS USB transceivers whose main features are as follows:
•Compliance with USB Specification, USB Rev. 2.0.
•USB 2.0 Transceiver Macrocell Interface (UTMI) with Link Controller.
•Supports HS, FS, and LS modes of operation.
•Supports signalling.
•Supports Host and Device modes.
— Working in Host mode only, the RDB connects a USB transceiver to connector Type A thus
enabling communication with keyboards, mice, memory sticks, etc.
— Working in Host and Device modes, a second USB transceiver connects to a second Type A
connector which has bus signal connecting directly to the P5040/P5020 internal PHY.
The 24MHz USB block reference clock provides additional control to the P5040/P5020 in conjunction
with the USB power sequence. GPIO 4,6 control the VBUS Drive. GPIO 5,7 get Power Fault indications
via the FPGA.
This figure shows the P5040/P5020RDB USB interface.
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor19
Architecture
Figure 11. P5040/P5020 USB Connection to Reference Board USB Interfaces
5.1.10DMA Controllers
The P5040/P5020 DMA controllers have internal and external controls to initiate and monitor DMA
activity. The reference board does not incorporate any specific devices that make use of the external
pin-controlled DMA controllers.
The P5040/P5020 DMA ports are connected to test points on the reference board to allow external
hardware control, as needed.
P5040/P5020 Reference Design Board User Guide, Rev. 0
20Freescale Semiconductor
Architecture
5.1.11eOpenPIC Interrupt Controller
The reference board contains numerous interrupt connections. The P5040/P5020 eOpenPIC connections
to the P5040/P5020 are shown in this table.
IRQ_OUT_BP5040/P5020ngPIXIS FPGA used as an EVT pin.
Indicates completion of FLASH programming.
5.1.12GPIO Signals
FPGA provides the control for EMI1 mux; therefore, software can configure the MDIO bus. See the MDIO
section for how to select between RGMII and SGMII PHY.
Table 11. Future Options for Configuring P5040/P5020-Dedicated GPIO Signals
for EMI MDIO Bus Multiplexing
Signal NameSystem Function
GPIO[0:1]EM1 management bus mux control
GPIO[4:7]Spares connected to test points
5.1.13Control Group
P5040/P5020 control group signals, for the most part, stop or restart execution. Figure 12 gives a
connections overview and shows the POR flow while Table 12 outlines the POR sequence.
•Legacy COP and Aurora connector resets are muxed to the ngPIXIS FPGA.
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor21
Architecture
Stable CLKIN
PORESET
Min 32 CLKIN cycles
HRESET(IO)
PLLs are locked
(output)
RESET_REQ
Device ready, can start Pre-Boot
(output)
TRST
(Input)
(Input)
(Output)
(Reset Configuration Word-512 bit)
Start Load Reset Configuration
CFG Signals
Sampling point, when PORESET is negated
ASLEEP
(Reset Configuration Input Signals)
RCW
High Impedance
High Impedance
•ngPIXIS FPGA injects system-level resets along with legacy COP or Aurora resets.
•Legacy COP HRST is mapped to the P5040/P5020 POR.
•Legacy COP SRST is mapped to the P5040/P5020 HRESET.
•P5040/P5020 HRST is a bi-directional open drain signal; it is not monitored by ngPIXIS FPGA.
NOTE
Reset configuration input signals are ONLY sampled at the negation of
POR. Reset Configuration input pins—CFG_RCW_SRC[4...0],
CFG_SVR[1...0], CFG_GPINPUT[15...0], CFG_ENG_USE[3...0],
CFG_ELBC_ECC, CFG_DRAM_TYPE—function differently when a
device is not in a reset state.
StepSequence StageDescription
1PORESET
2PORESET
22Freescale Semiconductor
Figure 12. Power-on Reset Sequence
Sequence
/ PORESET to load a new RCW to the device.
throughout PORESET.
.
Table 12. PORESET
: General
Information
: During Negation1. Sampling of input signals determines the interface to be loaded into the
P5040/P5020 Reference Design Board User Guide, Rev. 0
1. PORESET is asserted.
2. FPGA drives CFG_RCW_SRC[4...0] and all reset configuration input signals
to P5040/P5020; seeTa bl e 1 3.
3. P5040/P5020 loads RCWs.
4. FPGA drives HRESET
P5040/P5020 loads the RCW during HRESET
device.
2. P5040/P5020 asserts HRESET
Architecture
Table 12. PORESET Sequence
StepSequence StageDescription
3PORESET: After Negation1. P5040/P5020 begins the configuration process and starts loading reset
configuration.
2. Host debugger controls PORESET
configuration).
4Configuration InputReset configuration inputs are sampled to determine the following:
• Configuration source: CFG_RCW_SRC[4...0]
• CFG_DBG_RST_DIS
• CFG_ENG_USE[3...0]
• CFG_PLL_CONFIG_SEL_B
• CFG_POR_AINIT
• CFG_RCW_SRC_SLEW
• CFG_TEST_PORT_DIS
• CFG_TEST_PORT_MUX_SEL
• CFG_XVDD_SEL
• DRAM Type Select (DDR3 or DDR3L): CFG_DRAM_TYPE
• General Purpose Input: CFG_GPINPUT[15...0]. Only two[1...0] are driven.
• NAND FLASH ECC Enable: CFG_ELBC_ECC
• Response Disable: CFG_RSP_DIS
• System Version Register: CFG_SVR[1...0]
processor signal (which sets a chosen
5Configuration TimeTime required varies according to configuration source and CLKIN frequency.
NOTE
The P5040/P5020RDB has default DIP-switch settings that can be manually
repositioned as per user selected configuration levels. Several RCW bits
only can be changed by DIP-switches.
P5040/P5020 Reference Design Board User Guide, Rev. 0
Freescale Semiconductor23
Architecture
This table lists RCW sources.
Table 13. Reset Configuration Word Source
Value (Binary)Reset Configuration Signal NameDescription
0_0000CFG_RCW_SRC[4...0]I
0_0001I
0_0010Reserved
0_0011Reserved
0_0100SPI 16-bit addressing
0_0101SPI 24-bit addressing
0_0110eSDHC
0_0111Reserved
0_1000eLBC FCM (NAND FLASH, 8-bit small page)
0_1001eLBC FCM (NAND FLASH, 8-bit large page)
0_1010Reserved
0_1011Reserved
0_1100eLBC GPCM (NOR FLASH, 8-bit)
0_1101eLBC GPCM (NOR FLASH, 16-bit)
0_1110Reserved
0_1111Reserved
2
C1 normal addressing supports ROMs up to 256 bytes.
2
C1 extended addressing
1_0000 -1_1011Hard-coded RCW options
1_1100-1_1111Reserved
5.1.14I2C
The reference design board uses three of the four I2C buses on the P5040/P5020.
•I2C1 is electrically isolated before P5040/P5020 power-up to allow external or FPGA I2C masters
to program Zilker power devices.
2
•I
C2 and I2C4 can function independently, or together with I2C2 as the controller.
This table summarizes I2C bus device addresses while Figure 13 shows overall I2C scheme connections.
Table 14. I2C Bus Device Map
I2C BusI2C AddressDeviceNotes
10x22LTC3889: VCORE PM Bus (TBD)Controls rail VDD_CORE.
10x24LTC3876 regulator: DDR PM Bus (TBD)Controls rail VDD_GVDD.
P5040/P5020 Reference Design Board User Guide, Rev. 0
24Freescale Semiconductor
1
Loading...
+ 53 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.