Professional Documents
Culture Documents
D
a
a
t
t
a
a
s
s
h
h
e
e
e
e
t
t
S
S
o
o
C
C
r
r
a
a
t
t
e
e
s
s
C
C
y
y
c
c
l
l
o
o
n
n
e
e
V
V
S
S
o
o
C
C
E
E
v
v
a
a
l
l
u
u
a
a
t
t
i
i
o
o
n
n
B
B
o
o
a
a
r
r
d
d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 2 of 48 20.06.2013
Version 1.2
Contents
Contents ..................................................................................................................... 2
Revisions .................................................................................................................... 4
Document Revision ................................................................................................. 4
Hardware Revisions ................................................................................................ 4
Ordering Information ................................................................................................... 5
SoCrates ................................................................................................................. 5
SoCrates-Phy1 ........................................................................................................ 5
Introduction ................................................................................................................. 6
Pin-Header Locations (top side) ................................................................................. 8
Pin-Header Locations (bottom side) ........................................................................... 9
Installation ................................................................................................................ 10
Getting started .......................................................................................................... 11
Documentation ...................................................................................................... 11
Setting up the board for Linux ............................................................................... 11
Setting up the board for JTAG .............................................................................. 11
Reference designs .................................................................................................... 12
Board Description ..................................................................................................... 13
FPGA IO-Banks .................................................................................................... 13
FPGA Configuration .............................................................................................. 14
FPGA Configuration select with MSEL (P18) .................................................... 14
Clocking ................................................................................................................ 14
Clock Driver Outputs ......................................................................................... 15
FPGA Clock Sources......................................................................................... 15
IDT Clock Buffer IC Interface (P17) .................................................................. 15
Power Supply ........................................................................................................ 16
Reset Signal ...................................................................................................... 17
VBAT ................................................................................................................. 17
HPS Subsystem ....................................................................................................... 18
DDR3 Memory ...................................................................................................... 19
SDCard Interface .................................................................................................. 20
SDCard (P8) FPGA Connection ........................................................................ 20
QSPI Flash ............................................................................................................ 20
QSPI (U27) FPGA Connection .......................................................................... 20
USB Phy ............................................................................................................... 20
USB Phy (U16) FPGA Connection .................................................................... 20
Ethernet Phy ......................................................................................................... 21
Ethernet Phy (U14) FPGA Connection .............................................................. 21
UART .................................................................................................................... 21
UART on P14 .................................................................................................... 21
UART to USB Converter .................................................................................... 22
CAN Phy ............................................................................................................... 22
CAN Phy (U22) FPGA Connection .................................................................... 22
CAN Connector (P14)........................................................................................ 22
DIP Switch ............................................................................................................ 22
Dip-Switch (P3) FPGA Connection .................................................................... 22
Navigation Key ...................................................................................................... 23
Navigation Key (P20) FPGA Connection ........................................................... 23
User LEDs ............................................................................................................. 23
User LEDs ......................................................................................................... 23
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 3 of 48 20.06.2013
Version 1.2
RTC ...................................................................................................................... 23
RTC (U15) FPGA Connection ........................................................................... 23
GPIO ..................................................................................................................... 23
GPIO P14 FPGA connection ............................................................................. 23
FPGA Connections ............................................................................................... 24
IOBANK3B ........................................................................................................ 24
IOBANK4A ........................................................................................................ 25
USER LEDs .......................................................................................................... 25
USER LED FPGA Connection ........................................................................... 25
-ADC / DAC Subsystem .................................................................................... 26
FPGA Connection (IOBANK4A) ........................................................................ 26
FPGA Connection (IOBANK8A) ........................................................................ 26
-ADC / DAC Connector (P1).......................................................................... 26
EBV Observer Connector...................................................................................... 26
CMOS Sensor Pin-Header (P10) ...................................................................... 27
FPGA Connection Temperature Sensor ............................................................... 27
FPGA Connection ............................................................................................. 27
LVDS TFT Interface .............................................................................................. 28
FPGA Connection (P2) ...................................................................................... 28
Bill of Material ....................................................................................................... 29
Schematics ............................................................................................................... 33
P-CAD Viewer ................................................................................................... 33
HPS, JTAG, Config, SDCard ................................................................................ 34
Clocking ................................................................................................................ 35
HPS : DDR3 Memory ............................................................................................ 36
HPS : CAN, UART, RTC, Button, LEDs ................................................................ 37
HPS : Gigabit Ethernet Phy ................................................................................... 38
HPS : USB ............................................................................................................ 39
Embedded USB-Blaster II ..................................................................................... 40
FPGA IO ............................................................................................................... 42
SD-ADC / DAC Subsystem ................................................................................... 43
Board Top View ........................................................................................................ 44
Board Bottom View ................................................................................................... 45
SoCrates-Phy1 ......................................................................................................... 46
SoCrates-Phy1 Schematic .................................................................................... 47
SoCrates-Phy1 Silk Top ........................................................................................ 48
SoCrates-Phy1 Silk Bottom ................................................................................... 48
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 4 of 48 20.06.2013
Version 1.2
Revisions
Document Revision
Revision Remark Date
1.00 Initial Version
08.04.2013
1.2 Added SoCrates-Phy1 Board 20.06.2013
Hardware Revisions
Revision Remark Date
1.0 Initial Version
15.02.2013
1.1 Error Fixing :
JTAG order of device changed
BSEL1 on wrong signal
DDR3 Termination added
Ethernet Phy adapted from PEF7072 to
PEF7071
BSEL jumper added for boot from SDCard or
QSPI Flash
08.04.2013
1.3 Added Jumper for MSEL
Error Fixing:
RJ45 Connector Pin Swap
16.06.2013
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 5 of 48 20.06.2013
Version 1.2
Ordering Information
SoCrates
SoCrates Evaluation Board
90 - 240V wall power supply
Two Mini-USB cables
Micro SDCard with Linux Image
SoCrates-Phy1
Dual Ethernet Phy add-on board with Access-IP Key
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 6 of 48 20.06.2013
Version 1.2
Introduction
SoCrates is one of the first evaluations Boards based on Altera Cyclone V SoC
devices. The board provides the IO signals of a selected set of peripherals of the
SoC-Part and also from the FPGA-Part of the HPS (Hard-Processor-System). These
IOs are available at different connectors of the board. An embedded USB-Blaster II
allows the communication with the internal JTAG interfaces of the SoC device. The
configuration of the device can be done in several different ways. One method is to
configure the FPGA-Part via a QSPI Flash, while the HPS can boot from either QSPI,
SDCard or NAND interface. The SoCrates board provides 1 Gbyte 32 bit DDR3
Memory running at 400MHz used to hold the operating system.
As Altera delivers currently only engineering samples of SGX devices, the first
boards will be equipped with 5CSXFC6C6U23C8NES devices. They are pin-to-pin
compatible with the 5CSEBA6U23C8N devices which will be finally used. The
transceivers are not used on the board.
5CSEBA6U23C8
EPCQ256 configuration device
EPCQ266 Boot device
1GByte x32 DDR3 Memory
PEF7071 Gigabit Ethernet Phy
USB 2.0 OTG Phy
UART / USB Converter
CAN Driver
LM74 IC temperature sensor
RTC with Goldcap
16 GPIO 3.3V (HPS)
3 User LEDs
8-DIP-Switch
30 GPIO 3.3V
32 GPIO 2.5 / 3.3V
LVDS Interface on High-Speed
Connector
LVDS TFT Interface (4.Lanes)+
four 3.3V GPIOs
8x User LEDs
Navigation key
JTAG interface
Embedded -ADC /DAC
Embedded USB-Blaster II
on board 5V, 3.3V, 2.5V, 1.5V
and 1.1V power supply
dimension : 100mm diameter
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 7 of 48 20.06.2013
Version 1.2
Figure 1
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 8 of 48 20.06.2013
Version 1.2
Pin-Header Locations (top side)
P9
P24 P8
P7
P5
P4
P17
P11
P1
P13
P10
Figure 2l
P6
P19
P20
P18
P3
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 9 of 48 20.06.2013
Version 1.2
Pin-Header Locations (bottom side)
P14
P12
P2
Figure 3
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 10 of 48 20.06.2013
Version 1.2
Installation
For installation of the documentation, the applications and the reference designs
please download the "SoCrates_setup.exe" file which is available at the
www.devboards.de/download website for download. After starting the setup program
the files will be installed on your hard disk as shown below.
The reference designs are build with Quartus II version 13.0. You can download the
complete set of Altera design software and tools from the Altera website:
software.altera.com
Please install the applications in the following sequence:
install the Quartus
Nios
II
directory e.g. C:\Altera\13.0\kits\SoCrates\documents
Setting up the board for Linux
1) Check the jumper of the board. For default setting the jumper P4 should
connect Pin 1 and 2.
2) Set the Dip Switch (1.27mm Grid) P18 to
OFF OFF ON ON OFF ON OFF ON
This selects FPGA boot mode Active Serial and SDCard as boot source for
the HPS.
3) Insert the SDCard with a Linux Image into the SDCard slot.
4) Connect the UART with a mini-USB Cable between connector (P7) and your
PC.
5) Power up the board
6) Check that the USB/UART device driver is loaded and the respective UART is
available. If no driver is installed by default, you can find the driver for the
TUSB3410 device in the driver subfolder.
7) Open a terminal program for the respective UART, setup the baudrate to
57600 and press the reset button on the board. (P24)
8) Your terminal should display the Linux Boot-Sequence now.
Setting up the board for J TAG
1) Check the jumper of the board. For default setting the jumper P4 should
connect Pin 1 and 2.
2) Set the Dip Switch (1.27mm Grid) P18 to
OFF OFF ON ON OFF ON OFF ON
This selects FPGA boot mode Active Serial and SDCard as boot source for
the HPS.
1) Connect the USB cable between the USB-Blaster II (P6) and your PC.
2) Power up the board.
3) The USB-Blaster II should be recognized as JTAG-Cable in the "Device
Manager".
4) Now you can start Quartus II and work with the board
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 12 of 48 20.06.2013
Version 1.2
Reference designs
Tbd
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 13 of 48 20.06.2013
Version 1.2
Board Description
FPGA IO-Banks
S So oC Cr ra at te es s C Cy yc cl lo on ne e V V S So oC C E Ev va al lu ua at ti io on n B Bo oa ar rd d
w ww ww w. .d de ev vb bo oa ar rd ds s. .d de e page 14 of 48 20.06.2013
Version 1.2
IO-Bank Voltage VCCPD VREF
3A 2.5V 2.5V
3B 3.3V 3.3V
4A 3.3V 3.3V
5A 2.5V 2.5V
5B 2.5V 2.5V
6A 1.35V 2.5V 0.675V
6B 1.35V 2.5V 0.675V
7A 3.3V 3.3V
7B 3.3V 3.3V
7C 3.3V 3.3V
7D 1.8V 2.5V
8A 2.5V 2.5V
Table 1
FPGA Configuration
The SoCrates board provides an embedded USB-Blaster II and a QSPI Flash to
configure the FPGA. Additionally the FPGA can be configured from the HPS.
The QSPI Flash can be programmed using the JTAG indirect configuration (.jic) files.
The .jic file can be generated in the Quartus