ST EVALSP1310CPU User Manual

UM1585
User manual
EVALSP1310CPU
evaluation board, hardware revision 1
Introduction
This document applies to hardware revision 1 evaluation boards.
This evaluation board is intended to be used to:
MPU family
act as a learning tool for rapid familiarity with the features of the SPEAr1310 rev.C
provide a reference design to use as a starting point for the development of a final
application board
The EVALSP1310CPU board is equipped with interfaces to the high speed peripherals embedded in SPEAr1310 rev. C devices.
Through an expansion connector it is possible to plug in dedicated expansion boards (EVALBASEXP) and/or FPGA boards (EVALSP13xxFPGA) for developing customer­specific IPs.

Figure 1. EVALSP1310CPU board rev. 1

November 2012 Doc ID 023872 Rev 1 1/36
www.st.com
Contents UM1585
Contents
1 Kit contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 Features and block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Board features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.2 Connectors, jumpers and pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.1 Connecting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.2 Booting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.3 Serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4 Reset switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
4 Block descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1 General power supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4.1.1 Power LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Dynamic memory subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Static memory subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3.1 Serial Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3.2 NAND Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3.3 NAND Flash expansion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.4 PCIe/SATA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.4.1 PCIe clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.5 Ethernet subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.5.1 Configuration jumpers and switches . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.5.2 Ethernet LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5 USB 2.0 subsystem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.1 Host ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.2 Host LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.3 OTG USB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
5.3.1 SPEAr USB interface power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6 A/D Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2/36 Doc ID 023872 Rev 1
UM1585 Contents
7 RTC (battery connector) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
8 Expansion connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9 Debug interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
10 Strapping options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
11 Test modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
12 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
13 Jumper descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
14 Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
15 Pushbuttons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Appendix A Licence agreements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Doc ID 023872 Rev 1 3/36
List of figures UM1585
List of figures
Figure 1. EVALSP1310CPU board rev. 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Figure 2. Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Figure 3. Connector, jumper and push button locations (top) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Figure 4. Serial cable setting (J17) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Figure 5. Serial Flash M25P64 (U1) and M25P40 (U3) enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 6. NAND Flash selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Figure 7. NAND Flash device voltage selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 8. SPEAr NAND Flash I/O voltage selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 9. SPEAr MIPHY PLL power selectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Figure 10. SPEAr GMII I/F voltage selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 11. Gigabit PHY Ethernet voltage selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Figure 12. DP83865 clock output selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 13. SPEAr USB phy power selector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 14. Samtec connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
4/36 Doc ID 023872 Rev 1
UM1585 List of tables
List of tables
Table 1. Common power rails . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Table 2. Power LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Table 3. J1 NAND expansion connector pin assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Table 4. PCIe clock settings (default settings) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 5. Switch 1 configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 6. Jumper configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Table 7. DP83865, MAC interface setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 8. Auto-negotiation disabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 9. Auto-negotiation enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Table 10. Ethernet LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Table 11. USB host LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 12. OTG micro USB-AB LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Table 13. J14 (20) ADC connector A2D . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Table 14. Expansion connector functions - EXPI mode enabled . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Table 15. Expansion connector functions - EXPI mode not enabled . . . . . . . . . . . . . . . . . . . . . . . . . 23
Table 16. J15 JTAG connector pin-out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 17. Debug mode selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Table 18. Switch 3 (SW3) configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 19. Switch 4 (SW4) configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 20. Software boot options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Table 21. Test modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 22. Status LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Table 23. List of board jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Table 24. List of board connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Table 25. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Doc ID 023872 Rev 1 5/36
Kit contents UM1585

1 Kit contents

EVALSP1310CPU board
AC adapter (output voltage 5 V 2A)
2 power adapter plugs (USA/Europe)
6/36 Doc ID 023872 Rev 1
UM1585 Features and block diagram
Trace
debug
NOR
Flash
SPEAr1310
NOR
Flash
NAND
Flash 8-bit
JTAG
debug
Trace
debug
UART
A2D 8 channels
NAND Flash
exp. Conn.
8/16-bit
Core power supply
Power combo
PM6641 (3V3,
2V5, 1V5)
ETH PHY
10/100/
1000
ETH
connector
USB 2.0
Host 1&2
USB OTG
SATA
PCIe root
complex
PCIe end
point
DDR3
DDR3
DDR3
DDR3
DDR3
FSMC-LCD-MAC
Expansion connector

2 Features and block diagram

2.1 Board features

SPEAr1310 SoC CPU
Dedicated 16/32-bit trace port (program trace)
Five DDR3 chips (32-bit width plus ECC), 1 GB
Serial NOR Flash, 8 MB
Serial NOR Flash 512 KB
8-bit NAND Flash, 256 MB
16-bit NAND Flash expansion connector
Two USB 2.0 full speed Host ports
One OTG 2.0 high speed port (Micro USB-AB)
One 10/100/1000 Ethernet port
One SATA connector
One PCIe X1 Endpoint
One PCIe X1 Root Complex connector
One Serial port (up to 115 Kbaud)
Debug ports (CPU JTAG & CoreSight)
8 ADC channels (10 bit, 1 Msamples/s)
Expansion connector

Figure 2. Block diagram

Doc ID 023872 Rev 1 7/36
Features and block diagram UM1585

2.2 Connectors, jumpers and pushbuttons

Figure 3. Connector, jumper and push button locations (top)

8/36 Doc ID 023872 Rev 1
UM1585 Getting started

3 Getting started

Caution: This board contains electrostatic-sensitive devices
The EVALSP1310CPU board is shipped in protective anti-static packaging. Do not submit the board to high electrostatic potentials, and follow good practices for working with static sensitive devices.
Wear an anti-static wristband. Wearing a simple anti-static wristband can help to
prevent ESD from damaging the board.
Zero potential. Always touch a grounded conducting material before handling the
board, and periodically while handling it.
Use an anti-static mat. When configuring the board, place it on an anti-static mat to
reduce the possibility of ESD damage.
Handle only the edges. Handle the board by its edges only, and avoid touching board
components.

3.1 Connecting

1. Connect a serial cable adapter (RS232 on J16) to a host PC (see Primary Serial cable setting).
2. On a host PC running Windows or Linux, start the Terminal program.
3. Connect the AC adapter to a power outlet.
4. Power on the board (plug the AC adapter jack into J12). A sequence of boot messages displays, followed by the Linux console prompt.
Software user manuals are available on request; contact your local ST representative.

3.2 Booting

The EVALSP1310CPU board can boot a Linux kernel pre-installed in the serial NOR Flash.
At power on, the serial port outputs a brief header message with some uBoot information (uBoot version, SDK version, and some internal hardware information). At this point, you can choose to:
Stop the system directly in uBoot
To do this, press the spacebar on the host computer keyboard before the boot delay time expires (default is 3 seconds).
Boot Linux
The system logs you in automatically as super user, and the Linux shell prompt displays on the screen.

3.3 Serial interface

A serial interface, which can typically be used to connect an operating system monitor console, is available on the J16 connector.
Doc ID 023872 Rev 1 9/36
Getting started UM1585
Cross
cable
J17
12
34
J17
12
34
modem
cable
Null
It is possible to simulate a cross cable by changing the position of the J17 jumpers as shown below.
Refer to the schematic drawing (contact your local ST representative for availability), for the pin-out of the connectors.

Figure 4. Serial cable setting (J17)

3.4 Reset switch

A manual reset switch (P1) is available on the top side of the board.
10/36 Doc ID 023872 Rev 1
UM1585 Block descriptions

4 Block descriptions

4.1 General power supply

The power supply block generates all the required voltages from a 5 V external AC/DC. The generated voltages are:
5 V obtained from an over voltage protection device with thermal shutdown
1.2 V, generated from 5 V with a step-down switching regulator
1.5 V, 2.5 V, and 3.3 V generated from 5 V with a multi-output switching regulator
12 V generated from 5 V with a set-up converter
1.8 V generated from 3.3 V with a low drop voltage regulator

Table 1. Common power rails

Jumper
Name Use
for current
measurement
+5V
VDD1V2
VDD1V5
VDD1V8
VDD2V5
VDD3V3
J13: Alternate power input connector J11: Expansion connector
SPEAr core (SPEAr_VDD1V2) SPEAr DDR3 interface (SPEAr_DDR3_1V2)
DDR3 chips SPEAr DDR I/O (SPEAr_DDR3_1V5) SPEAr RTC (RTC_VDD1V5)
GigaPhy chip SPEAr 1.8 V NAND8 Flash (JP3: Close 2&3 for 1.8 V) NAND Flash chip (Close 2&3 of JP2 for 1.8V) NAND expansion connector (Close2&3 of JP3)
SPEAr_OTP antifuses (JP1: Close 1&2 to supply) SPEAr GMII interface(JP16: Close 2&3 for 2.5V) SPEAr PCIe (JP24 close and JP5: Close 2&3 for ext power) SPEAr A2D_PLLs_VDD2V5 SPEAr USB_VDD2V5 A2D connector Ethernet RJ45 (J2) Giga PHY (JP42 close 2&3)
SPEAr (SPEAr_VDD3V3) PCIe Clock Source JTAG MIPHY connector Giga PHY (JP42 close 1&2) Serial NOR Flash NAND Flash chip (Close 1&2 of JP2 for 3.3V) NAND expansion connector (Close1&2 of JP3) CPU JTAG & trace connectors
JP31 JP30
­JP32 JP39
-
JP3(2-3)
JP33
JP1(1-2)
JP16(2-3)
JP34
Doc ID 023872 Rev 1 11/36
Loading...
+ 25 hidden pages