Escolar Documentos
Profissional Documentos
Cultura Documentos
Revision B.01
Date: 30.04.2015
Table of Contents
1. INTRODUCTION 7
1.1 PURPOSE OF THE BOARD 7
1.2 FEATURE LIST 7
2. ARCHITECTURE 8
2.1 LAYOUT 8
2.2 BLOCK DIAGRAM 9
2.3 ELECTRICAL DESCRIPTION 9
2.4 MECHANICAL DESCRIPTION 10
2.5 T HERMAL CONCEPT 11
3. FEATURES 12
3.1 OVERVIEW 12
3.2 DDR3 MEMORY FOR THE CPU 13
3.3 DDR3 MEMORY FOR THE FPGA 14
3.4 QSPI FLASH 15
3.5 PCI EXPRESS (PCIE) 16
3.6 HIGH-SPEED CAMERA INTERFACE 17
3.7 GENERAL PURPOSE GIGABIT T RANSCEIVER 18
3.8 CSI-2 / HISPI 19
3.9 USB HOST (ULPI) 19
3.10 USB DEVICE (VIA USB-TO-SERIAL UART/FIFO IC TO COMPANION FPGA) 20
3.11 ETHERNET 10/100/1000 (RGMII) 21
3.12 24-LCD INTERFACE 23
3.13 SDIO 24
2
3.14 I S 24
3.15 CAN 25
3.16 SPI 25
3.17 UART 26
2
3.18 I C 27
3.19 JTAG 28
3.20 GPIO 29
List of Figures
Figure 1: SXoM-C5 Rev. B, top side layout..........................................................................................8
Figure 2: SXoM-C5 Rev. B, bottom side layout ....................................................................................8
Figure 3: SXoM-C5 block diagram .......................................................................................................9
Figure 4: SXoM-C5 mechanical description from [4] .......................................................................... 10
Figure 5: Maximum heights under and above the module from [4] ..................................................... 10
Figure 6: Debug LEDs on top side of the SXoM-C5 ........................................................................... 30
Figure 7: Standard clock configuration .............................................................................................. 37
Figure 8: Power supply architecture .................................................................................................. 38
List of Tables
Table 1: History ...................................................................................................................................5
Table 2: Releases ...............................................................................................................................5
Table 3: Authors .................................................................................................................................5
Table 4: Referenced Documents .........................................................................................................6
Table 5: List of Abbreviations ..............................................................................................................6
Table 6: Features overview ............................................................................................................... 12
Table 7: Assignment of signals of the DDR3 memory (for the CPU) to Cyclone V SoC pins ............... 13
Table 8: Assignment of signals of the DDR3 memory (for the FPGA) to Cyclone V SoC pins ............. 14
Table 9: Assignment of signals of the QSPI flash to Cyclone V SoC pins (CPU part) ......................... 15
Table 10: Assignment of PCIe signals of the PCIe switch to Cyclone V SoC pins .............................. 16
Table 11: Pin assignment of the first PCI Express interface on the SMARC connector ....................... 16
Table 12: Pin assignment of the second PCI Express interface on the SMARC connector ................. 16
Table 13: Pin assignment of the high-speed camera interface ........................................................... 17
Table 14: Assignment of general purpose Gigabit transceiver signals to SoC and SMARC pins ......... 18
Table 15: Available general purpose Gigabit Transceiver signals depending on PCIe / CSI0 usage ... 18
Table 16: Assignment of pins for the CSI-2 / HiSPi interface from the SoC to the companion FPGA .. 19
Table 17: Assignment of USB PHY signals of the ULPI interface to Cyclone V SoC pins ................... 19
Table 18: Assignment of USB host interface signals to SMARC connector pins ................................. 19
Table 19: Assignment of transceiver CPEN signal to companion FPGA pin ....................................... 20
Table 20: Assignment of power switch signal from companion FPGA pin to SMARC connector pin ... 20
Table 21: Assignment of USB client interface signals to SMARC connector pins ............................... 20
Table 22: Assignment of UART/FIFO transceiver signals to companion FPGA pins ........................... 20
Table 23: Pin assignment of the Ethernet (RGMII) interface of the SoC ............................................. 21
Table 24: Pin assignment of the link signals to the companion FPGA from the Ethernet transceiver .. 21
Table 25: Pin assignment of the link signals to the companion FPGA from the Ethernet transceiver .. 21
Table 26: Pin assignment of the Gigabit Ethernet interface of the SMARC connector ........................ 22
Table 27: Pin assignment of the 24-bit LCD interface to the SoC ....................................................... 23
Table 28: Pin assignment of the SDIO interface ................................................................................ 24
Table 29: Pin assignment of the SDIO signals to the companion FPGA ............................................. 24
2
Table 30: Pin assignment of the I S interface .................................................................................... 24
Table 31: Pin assignment of the CAN interfaces ................................................................................ 25
Table 32: Pin assignment of the first SPI master interface ................................................................. 25
Table 33: Pin assignment of the second SPI master interface............................................................ 25
Table 34: Pin assignment of the UART0 interface of the CPU............................................................ 26
Table 35: Pin assignment of the UART0 interface of the companion FPGA........................................ 26
Table 36: Pin assignment of the UART interface of the FPGA ........................................................... 26
Table 37: Pin assignment of the I2C interface of the CPU for CSI-2 ................................................... 27
2
Table 38: Pin assignment of the I C interface of the CPU for General Purpose .................................. 27
2
Table 39: Pin assignment of the I C interface of the FPGA for the LCD ............................................. 27
Table 40: Pin assignment of the I2C interface of the FPGA for the Power Management ..................... 27
2
Table 41: Pin assignment of the I C interface of the companion FPGA for the
on-board clock generator and the PCI Express switch .................................................................. 27
Table 42: Pin assignment of the JTAG interface of the FPGA ............................................................ 28
Table 43: Pin assignment of the JTAG interface of the CPU .............................................................. 28
Table 44: Pin assignment of the JTAG interface of the CPU .............................................................. 29
Table 45: Pin assignment of the watchdog interface .......................................................................... 29
Table 46: Debug LEDs for board status indication ............................................................................. 30
Table 47: Boot options of the SoC ..................................................................................................... 31
Table 48: Boot-select interconnection between SMARC connector and companion FPGA ................. 31
Table 49: Companion FPGA and SoC pins for the CPU_POR_N signal............................................. 31
Table 50: Pin assignment of the SMARC connector .......................................................................... 36
Table 51: Reset signals..................................................................................................................... 39
History
Releases
Authors
Referenced Documents
List of Abbreviations
Abbreviation Description
1. Introduction
1
Cyclone V SE SoCs are supported as an option.
2
Other memory sizes are available as an option.
2. Architecture
2.1 Layout
Figure 1 shows the top side of the SXoM-C5, hardware revision B.
UART
Altera Cyclone V SoC QSPI
256 Mb
DDR3
x32
SDRAM
DDR3
2x 4Gb x32
FPGA Dual Core SDRAM
Fabric CPU 2x 4Gb
Altera Cyclone V ARM Cortex-A9
FPGA I²C
Lattice
MachXO2
I²C
1x PCIe I²C 2x I²C
MGMT USB 2 PCIe I²S 2x SPI Power
Gen1 x2
JTAG UART
USB 2 GbE
GPIOs FIFO Switch CSI-2 (4 lanes) JTAG PHY Supply
PHY
UART Client Host 24-bit LCD 2x CAN Host 3.0 – 5.25 V
4x Tx/Rx SDIO
2x PCIe (3.125 Gbps)
Gen2 x1
Figure 5 illustrates the maximum heights under and above the module for a 1.5 mm stack height
carrier connector. The SXoM-C5 follows the mechanical restrictions given by the SMARC specification
[4].
Figure 5: Maximum heights under and above the module from [4]
There shall not be any component on the carrier board top side in the module region when using a
1.5 mm stack height connector. Furthermore, there should be no PCB traces on the carrier board top
side in the module region when such a connector is employed. If components are required in this
region, they have to be placed on the bottom side of the carrier board, or alternatively a connector with
a larger stack height has to be employed (e.g., 2.7 mm, 3.0 mm, or 5.0 mm).
For further information about the mechanical aspects of the board, the reader is referred to the
SMARC hardware specification [4].
3. Features
This chapter provides detailed information about the features of the SXoM-C5 module. It further
describes the interconnection of the Altera SoC and the Lattice companion FPGA.
3.1 Overview
LEDs FPGA / Indication for stable power and configured FPGA 3.22
Companion and companion FPGA
FPGA
Boot Options Companion Configuration options for the boot source 3.23
FPGA / CPU
SMARC Connector - SMARC interface to the carrier board 3.24
Clock Circuitry Companion Clock supply architecture for the system 3.25
FPGA
Power Supply - Power supply architecture for the system 3.26
Table 6: Features overview
NOT ICE
If the PCI Express core of the SoC is used, only three Tx pairs and one Rx pair remain available. The
GT_RX0_P/N and GT_TX0_P/N lines are then used for the PCI Express interface. If both the PCI
Express core and the “CSI0” interface are used, none of the Tx and Rx pairs remain available.
3
Only either GT_RX1 or GT_TX2 can be used in this case because they use the same transceiver.
Table 18 illustrates the assignment of the USB host interface signals to SMARC connector pins.
The control signal for a power switch on the carrier board is implemented in the companion FPGA.
The CPEN pin (enable for power switch) from the USB transceiver is routed to the companion FPGA.
The combinatorial pin for power switch enable and the overcurrent state indication of the power switch
of the SMARC connector are also routed to the companion FPGA.
Table 19 shows the assignment of the transceiver CPEN signal to companion FPGA pin.
Signal Companion
FPGA Pin
CPEN C2
Table 19: Assignment of transceiver CPEN signal to companion FPGA pin
Table 20 depicts the assignment of the power switch signal from companion FPGA pin to SMARC
connector pin.
Table 22 illustrates the assignment of UART/FIFO transceiver signals to companion FPGA pins.
The Ethernet transceiver also controls the LEDs for indication of link activity and speed. Due to the
different signal function of the transceiver and the SMARC specification, the companion FPGA is used
to translate between them.
The following tables show the pin assignments of the Ethernet link signals.
The next table illustrates the pin assignment of the Gigabit Ethernet interface of SMARC connector.
3.13 SDIO
The SDIO interface is implemented with four data signals and shall be connected to a SD card slot on
the carrier board as the boot device for the CPU in boot option 1.
The following table illustrates the pin assignment of the SDIO interface.
The “card detect” and “write protect” signals are also routed to the companion FPGA to be able to
have an influence on the boot option.
The table below shows the pin assignment of these two signals to the companion FPGA.
Signal Companion
FPGA Pin
SDIO_WP F3
SDIO_CD_N H1
Table 29: Pin assignment of the SDIO signals to the companion FPGA
3.14 I2S
In order to support the output of audio data, an I2S interface is implemented. It uses separate signals
for serial data input and output.
The next table displays the pin assignment for the I2S audio interface.
NOT ICE
2
The I S interface would not be available on SMARC modules equipped with a C2 or C4 type SoC!
3.15 CAN
There are two CAN interfaces implemented on the SXoM-C5. Both interfaces are connected to the
CPU. One of the two CAN interfaces is connected to GPIO pins of the CPU and internally routed
through the FPGA fabric to the CAN controller of the CPU.
The serial data lines have to be transformed with a transceiver on the carrier board to “CAN high” and
“CAN low”.
The following table depicts the pin assignment of the CAN interface that is connected to the CPU.
3.16 SPI
The SXoM-C5 offers two SPI master interfaces. Both have two chip select signals to be able to
connect two independent slaves to each master. For more slaves use a daisy-chained SPI bus on the
carrier board.
The table below shows the pin assignment for the two SPI master interfaces.
3.17 UART
For low-level communication with the SoC and the companion FPGA there are two UART ports that
can be accessed from the CPU of the SoC.
UART0 is directly connected to CPU pins and routed over the companion FPGA. The handshake
signals (RTS and CTS) of UART0 are only implemented between the companion FPGA and the
SMARC connector.
The UART1 interface is routed through the FPGA within the SoC, but externally available directly via
the CPU pins of the SoC regardless.
The next table shows the pin assignment of the UART0 interface between the CPU and the
companion FPGA.
The table below illustrates the pin assignment of the UART0 interface between the companion FPGA
and the SMARC connector. The handshake signals (RTS and CTS) are only routed to the companion
FPGA.
The next table shows the pin assignment of the UART1 interface which is connected to the CPU GPIO
pins of the SoC.
3.18 I2C
2
There are five I C interfaces implemented on the SXoM-C5. Two of them are connected to the CPU,
two to the FPGA and another one to the companion FPGA. Through internal re-routing, the FPGA-
connected interfaces can also be controlled by the CPU as a master.
The I2C interfaces for the camera interface and general purpose are connected to the CPU and the
others for LCD support and for the power management are attached to the FPGA.
2
The following tables depict the pin assignment of the I C buses that are connected to the CPU.
The following tables depict the pin assignment of the I2C buses that are connected to the FPGA.
NOT ICE
The power management I2C bus is connected twice to the companion FPGA. Pins B8 / C8 are used for
programming and to supply the EEPROM for the power management required by the SMARC
specification. Pins D1 (SDA) / B2 (SCL) can be used for general purpose communiation between the
SoC and the companion FPGA.
2
The companion FPGA uses I C addresses 0x40..0x43 on the Power Management bus.
Another I2C interface connects the companion FPGA with the I2C configuration interface of the on-
board clock generator and the PCI Express switch IC.
Signal Companion
FPGA Pin
I2C_CG_SDA D1
2
I C_CG_SCL B2
2
Table 41: Pin assignment of the I C interface of the companion FPGA for the on-board clock generator and the PCI Express switch
NOT ICE
Reconfiguration of the on-board clock generator can cause malfunctions of the module. Solectrix takes
no responsibility for any damage due to the reprogramming of the clock PLL.
3.19 JTAG
The JTAG interfaces for the FPGA and CPU are tied to separate pins on the SMARC connector to
have independent access to each. It is also possible to connect them to a chain on the carrier board.
The table below illustrates the pin assignment of the JTAG interface that is connected to the FPGA.
NOT ICE
If the JTAG interface is used, it is recommended that the carrier board designer adds a pulldown resistor
(1k) to JTAG_FPGA_TCK and pull-up resistors (1k - 10k / 2.5 V) to JTAG_FPGA_TDI and
JTAG_FPGA_TMS.
The table below illustrates the pin assignment of the JTAG interface that is connected to the CPU.
NOT ICE
If the JTAG interface is used, it is recommended that the carrier board designer adds a pulldown resistor
(1k – 10k) to JTAG_ CPU_TCK and pull-up resistors (1k - 10k / 2.5 V) to JTAG_ CPU_TDI, JTAG_
CPU_TMS and JTAG_CPU_TRST_N.
3.20 GPIO
There are twelve general purpose IO pins on the SMARC connector that are linked to the companion
FPGA. These pins do not have any specific functionality and can be used for any purpose the user
wants.
The following table shows the pin assignment and termination of the GPIOs that are connected to the
companion FPGA.
3.22 LEDs
There are two dual LEDs on the board for debugging purpose. The “PWR OK” LED and the yellow
part of the “FPGA OK” LED are connected to the companion FPGA. The green part of the “FPGA OK”
LED is connected to the Altera FPGA.
NOT ICE
The control function for the “FPGA OK” LED has to be implemented in both FPGAs.
Table 46 illustrates the pin assignment and the status the two LEDs are indicating.
NOT ICE
Please note that for selecting the boot source module QSPI flash, the SMARC standard [4] describes a
different pin configuration (#7). This pin configuration is not supported.
NOT ICE
Please note that instead of an SD card, an eMMC flash (operating in 4-bit mode) may also be connected
to the SDIO interface at SMARC pins P39 – P42. If this is the case, the first entry in the above table for
SD card has to be chosen and not the boot selection for eMMC flash provided in the SMARC standard
[4].
Table 48 shows the interconnection of the boot select pins between the SMARC connector and the
companion FPGA.
Table 49 shows the interconnection of the POR_N pins between the companion FPGA and the SoC.
25 MHz
Ethernet PHY
24 MHz
USB PHY
50 MHz
FPGA
100 MHz
Oscillator Clock PLL
25 MHz
100 MHz
148.5 MHz
SoC
100 MHz
25 MHz RefClk
PLL
100 MHz
PCIe Switch
The clock PLL can be reprogrammed via an I2C interface on the companion FPGA. Reprogramming
can be done from the CPU of the SoC. Only the clocks for the companion FPGA and for the SoC shall
be reprogrammed if necessary.
NOT ICE
Do not reprogram the clocks for the USB PHY, Ethernet PHY and PCIe Refclk PLL! This would cause
malfunctions on the module. Solectrix takes no responsibility for any damage due to reprogramming the
clock PLL.
There are two clock sources for the Gigabit transceivers of the SoC. The first option is a 100 MHz
HCSL Refclk for PCIe which is generated on-board. The second is externally sourced from the CSI-2
interface on the SMARC connector.
NOT ICE
Because of the current limit of 5 A, it is recommended to supply the module with 5 V instead of a lower
voltage to get a higher power budget for the Cyclone V.
The carrier board designer is responsible for the final calculation for the power consumption of the
module. This is also important for selecting a thermal concept and dimensioning the thermal
dissipation components.
Figure 8 shows the architecture of the power supplies.
DC/DC
1.1 V
SoC
DC/DC
1.5 V
FPGA
VDD_IN (3.0 V – 5.25 V)
LDO 2x DDR3
0.75 V
SMARC
USB PHY
DC/DC
1.8 V
Ethernet PHY
LDO
1.2 V
3.27 Reset
The companion FPGA acts as the reset master, controlling separate reset signals for the CPU and the
FPGA part of the SoC.
www.solectrix.de
www.fpga.sx
www.imaging.sx