STMicroelectronics SPC56EL70L5DISP User Manual
STMicroelectronics SPC56L-Discovery is an evaluation tool supporting STMicroelectronics SPC56xL microcontrollers. The evaluation board allows full access to all of the CPUs I/O signals and the peripherals such as CAN, FlexRay, UART, JTAG, K-Line, LIN. The SPC56L-Discovery kit board consists of a PSU plug (+12 V), UART (DB9-female), CAN interface (DB9-male), FlexRay (DB9-male), LIN, K-Line, and 4 x 37 headers. A dedicated DC-DC converter is used to generate +5 VDC. A linear low dropout regulator is used to generate +3.3 V. Three LEDs are available and can be configured by the user.
Reklama
Reklama
UM1650
User manual
SPC56L-Discovery
Introduction
This document describes how to configure the board and how to setup the I/O communication.
September 2013 DocID024947 Rev 3
www.st.com
Contents
Contents
UM1650
SPC56L-Discovery evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
I/O interface and connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
12 VDC power supply adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
+5 V and +3.3 V power supply sections . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
High speed Nexus interface (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . .11
High Speed CAN interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Appendix A General handling precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
DocID024947 Rev 3
UM1650
List of tables
List of tables
DocID024947 Rev 3
3
List of figures
List of figures
UM1650
SPC56L-Discovery board - JTAG and Nexus connectors (PCB) . . . . . . . . . . . . . . . . . . . . 10
SPC56L-Discovery board - High Speed CAN interface (schematic) . . . . . . . . . . . . . . . . . 14
DocID024947 Rev 3
UM1650
1 SPC56L-Discovery
1.1
SPC56L-Discovery
SPC56L-Discovery evaluation board
The SPC56L-Discovery kit is an evaluation tool supporting STMicroelectronics SPC56xL microcontrollers. The evaluation board allows full access to all of the CPUs I/O signals, and the peripherals such as CAN, FlexRay, UART, JTAG, K-Line, LIN.
Figure 1. SPC56L-Discovery board with SPC56EL70L5
The content of hardware of SPC56L-Discovery consists of:
•
SPC56L-Discovery kit board ( Figure 1
).
• Power Supply (Mains: 90-240 V
AC
- Output: 12 V
DC
).
The SPC56xL family is ST state of the art MCU based on 32-bit microcontrollers Power
Architecture
®
Cores specifically addressing all Automotive Applications but as well suitable for industrial safety oriented applications. The SPC56xL devices are optimized for chassis & safety applications and suitable for ASIL D/SIL level 3 requirements.
SPC56L-Discovery is supported by a specific Application Project inside SPC5Studio (a visual integrated software development environment to easily develop software for SPC56
MCU's), where micro start-up routine, I/O mapping and a simple test code has been already designed by STMicroelectronics experts. SPC5Studio is available for download www.st.com/spc5studio
SPC5Studio comes with HighTec GNU "C" compiler free fully featured trial 30 days trial version. An E2E Community is available on ST WEB: https://my.st.com/public/STe2ecommunities/mcu
The PCB, the components and all HW meet requirements of the applicable RoHS directives.
DocID024947 Rev 3
22
SPC56L-Discovery
1.3
14 pin JTAG interface
38 pin High speed Nexus interface (Optional)
I/O interface and connectors
• PSU plug (+12 V)
•
UART (DB9-female)
• CAN interface (DB9-male)
•
FlexRay (DB9-male)
• LIN
•
K-Line
• 4 x 37 headers
UM1650
DocID024947 Rev 3
UM1650 Hardware overview
Figure 2. SPC56L-Discovery board – HW overview
2.2
The 12 V
DC
voltage is used to supply the whole board including the microcontroller and the communication interface transceiver chips. The power supply is included in the kit. The 12 V adapter can be supplied with mains 90÷240 V
AC
; the AC plug is the standard CEE 7/16
Europlug. The PSU output barrel connector (+12 V
DC
) is center positive power supply with
2.1/5.5 mm diameters.
+5 V and +3.3 V power supply sections
A dedicated DC-DC converter is used to generate +5 V
DC
. A linear low dropout regulator is used to generate +3.3 V. The switch S1 is used to turn on and turn off the board. 3 LEDs
(D2, D3 and D4) are connected to 12 V, +5 V and 3.3 V respectively.
DocID024947 Rev 3
22
Hardware overview
Figure 3. SPC56L-Discovery board - PSU Section
UM1650
Figure 4. SPC56L-Discovery board – PSU Section (3.3V)
Three test points are available to measure the voltage levels: TP2=12V, TP1=5V, TP4=3V3 while TP3 is connected to GND F1 (1A) is a not resettable fuse.
Figure 5. SPC56L-Discovery board - +12 VDC supply
DocID024947 Rev 3
UM1650 Hardware overview
Three LEDs are available and can be configured by the user. The LEDs are D5, D6 and D7.
Jumper JP4, JP5 and JP6 connect the LEDs to the microcontroller.
Figure 6. SPC56L-Discovery board – User LEDs
Y1 is a 40 MHz through-hole crystal. The crystal is plugged in a dedicated socket and it can be replaced without using a soldering station.
Figure 7. SPC56L-Discovery board – Crystal (PCB)
2.4 Reset
A reset section is present in the board. The resent signal is generated using the device
STM6315RB when the button S4 is pushed; the LED D8 will be turned on when the reset pulse is generated.
Figure 8. SPC56L-Discovery board – Reset (PCB)
DocID024947 Rev 3
22
Hardware overview
Figure 9. SPC56L-Discovery board – Reset (schematic)
UM1650
Figure 10. SPC56L-Discovery board - JTAG and Nexus connectors (PCB)
Figure 11. SPC56L-Discovery board - JTAG connector (Schematic)
DocID024947 Rev 3
UM1650 Hardware overview
Pin number
Table 1. SPC56L-Discovery board - JTAG connector (pin out)
Pin name Pin number Pin name
9
11
13
5
7
1
3
TDI
TDO
TCK
EVTI
RESET
VDDE7
RDY
2
4
6
8
10
12
14
GND
GND
GND
NC
TMS
GND
JCOMP
Figure 12. SPC56L-Discovery board - Nexus connector (Schematic)
2.6 High speed Nexus interface (Optional)
shows connector for Nexus interface for high-end development tools; (the PCB is
).
DocID024947 Rev 3
22
Hardware overview
Table 2. SPC56L-Discovery board - Nexus connector
Pin number
25
27
29
31
17
19
21
23
33
35
37
9
11
13
15
5
7
1
3
RSVD1
RSVD3
VEN_IO0
VEN_IO2
RESET
TDO
VEN_IO4
TCK
TMS
TDI
TRST
VEN_IO1
TOOL_IO3
TOOL_IO2
TOOL_IO1
UBATT
UBATT
TOOL_IO0
VALTREF
Pin name
6
8
2
4
Pin number
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
Pin name
MDO6
MDO5
MDO4
MDO3
MDO2
MDO1
MDO0
EVT0
RSVD2
RSVD4
CLKOUT
VEN_IO3
EVTI
VREF
RDY
MDO7
MCKO
MSEO1
MSEO0
UM1650
Figure 13. SPC56L-Discovery board - SPI connector (PCB)
DocID024947 Rev 3
UM1650 Hardware overview
Figure 14. SPC56L-Discovery board - SPI connector (Schematic)
2.8
5
7
1
3
Pin number
Table 3. SPC56L-Discovery board - SPI connector (pin out)
Pin name Pin number Pin name
+5V
CSO
SIN
SCK
2
4
6
8
+3.3V
CS2
SOUT
GND
High Speed CAN interface
The CAN module is integrated in SPC56L-Discovery board; CAN transceiver is AMIS-30663 which support high-speed CAN.
Regarding the CAN connector, the two basic CAN channels are located in a DB9 male connector and they can be selected with a jumper option (JP19 and JP20).
Figure 15. SPC56L-Discovery board - High Speed CAN interface (PCB)
DocID024947 Rev 3
22
Hardware overview UM1650
Figure 16. SPC56L-Discovery board - High Speed CAN interface (schematic)
2.9
Jumper JP21 is used to set proper 120 Ω termination resistor for CAN bus; disconnect this jumper if unnecessary.
TP11 and TP12 are connected to the CANL and CANH respectively (pin 2 and pin 7 of the
DB9 connector J3).
UART / LIN
and Figure 18 shows the hardware connection on evaluation board and the
schematic diagram for the UART/LIN.
ST232 is the bridge between RS232 DB9 female interface and TX/RX signal of microcontroller; the L9637 is the ISO9141 interface chip.
In the microcontroller side, the user can set the JP18 and JP19 to configure UART or LIN.
Figure 17. SPC56L-Discovery board - UART / LIN (PCB)
DocID024947 Rev 3
UM1650 Hardware overview
Figure 18. SPC56L-Discovery board - UART / LIN (schematic)
2.10 FlexRay
In the microcontroller side the user can configure the jumpers JP15, JP16 and JP7 allow to set channel A or B .
DocID024947 Rev 3
22
Hardware overview
Figure 19. SPC56L-Discovery board - FlexRay (PCB)
UM1650
Figure 20. SPC56L-Discovery board - FlexRay (schematic)
2.11 Potentiometers
There are two potentiometers on the board which allow user to feed a range of voltage values into the ADC input to evaluate the performance of ADC.
The analog voltage level (0~VDD_HV_ADRV) can be monitored if the jumper JP7 and/or
JP11 are inserted; the digital value can be read from microcontroller.
Figure 21. SPC56L-Discovery board - Potentiometers (PCB)
DocID024947 Rev 3
UM1650 Hardware overview
Figure 22. SPC56L-Discovery board - Potentiometers (schematic)
The I/O microcontroller ins are connected to a 4x37 pin array (connector X6).
Figure 23. SPC56L-Discovery board - I/O header (schematic)
DocID024947 Rev 3
22
Hardware overview UM1650
X6 Pin
A1
A22
A23
A24
A25
A26
A27
A28
A29
A30
A31
A32
A33
A18
A19
A20
A21
A14
A15
A16
A17
A6
A7
A8
A9
A2
A3
A4
A5
A10
A11
A12
A13
G0
A5
A7
B0
D12
G5
Table 4. SPC56L-Discovery board - I/O header (Table, part 1)
Port Description X6 Pin Port Description
D14
G7
B14
D7
B7
B13
B10
E2
B8
C2
E4
G8
G10
F0
C10
A10
A12
RESET_B
F15
G6
GND
FlexPWM0_B1
FlexPWM0_B3
ADC1_AN1
NC
FlexPWM0_FAULT0
FlexPWM0_FAULT2
FlexPWM0_A1
DSPI2_CS2
DSPI2_CS0
DSPI2_SOUT
RESET
NC
FCU0_F0
DSPI1_CS0
DSPI1_SOUT
CAN0_TXD
FlexPWM0_X1
FlexPWM0_X3
NC
LIN1_RXD
NC
FlexPWM0_A3
NC
DSPI1_CS3
DC0_AN0
ADC1_AN0
ADC0/1_AN12
ADC0_AN5
ADC0_AN1
ADC0_AN3
ADC0_AN7
NC
G4
D11
E10
G9
G11
A9
A11
A13
F14
G3
D10
F3
A6
A8
A14
G2
D9
B12
B11
B9
E7
E6
E5
C1
B22
B23
B24
B25
B26
B27
B28
B29
B30
B31
B32
B33
B18
B19
B20
B21
B14
B15
B16
B17
B5
B6
B7
B8
B1
B2
B3
B4
B9
B10
B11
B12
B13
GND
FlexPWM0_B2
FlexPWM0_B0
ADC1_AN8
NC
FlexPWM0_FAULT1
FlexPWM0_FAULT3
NC
DSPI2_CS1
DSPI2_SCK
DSPI2_SIN
NC
NC
NC
DSPI1_SCK
DSPI1_SIN
CAN1_TXD
FlexPWM0_X2
FlexPWM0_X0
NC
LIN1_TXD
FlexPWM0_A2
FlexPWM0_A0
DSPI0_CS6
NC
ADC0/1_AN14
ADC0/1_AN13
ADC0/1_AN11
ADC0_AN6
ADC0_AN4
ADC0_AN8
ADC0_AN2
NC
DocID024947 Rev 3
UM1650 Hardware overview
Table 4. SPC56L-Discovery board - I/O header (Table, part 1) (continued)
X6 Pin Port Description X6 Pin Port Description
A34
A35
A36
A37
GND
NC
NC
V_EXT_P
B34
B35
B36
B37
GND
NC
NC
V_EXT_P
X6 Pin
C1
C2
C3
C16
C17
C18
C19
C12
C13
C14
C15
C20
C21
C8
C9
C10
C11
C4
C5
C6
C7
C22
C23
C24
C25
C26
Table 5. SPC56L-Discovery board - I/O header (Table, part 2)
Port Description
GND
X6 Pin
D1
Port Description
5V
E0 ADC1_AN5 D2 E12 ADC1_AN6
C0 ADC1_AN3 D3 E11 ADC1_AN4
B15
ADC1_AN2
D4 E9
ADC1_AN7
NC
D5 E13 eTIMER0_ETC5
E14 eTIMER1_ETC5
D6 E15
DSPI0_CS1
NC
D7
NC
B4
JTAG0_TDO
D8
NC
B5
JTAG0_TDI
D9 C15
FlexRay0_CA_TR_EN
NC
D10 D10
FlexRay0_CA_TX
B2 LIN0_TXD D11 B3 LIN0_RXD
NC D12 NC
NC D13 NC
NMI D14 D1 FlexRay0_CA_RX
B1 CAN0_RXD D15 D2 FlexRay0_CB_RX
A15 CAN1_RXD D16 D3 FlexRay0_CA_TX
C12 eTIMER0_ETC5 D17 D4 FlexRay0_CB_TR_EN
A0 eTIMER0_ETC0 D18 A2 eTIMER0_ETC2
A1 eTIMER0_ETC1 D19 A4 eTIMER1_ETC0
F11 NEXUS0_EVTI D20 D8 DSPI1_CS2
F10 NEXUS0_EVTO D21 C4 DSPI1_CS0
A3 eTIMER0_ETC3
D22 G1
FCU0_F1
C11 eTIMER0_ETC4
D23 C13 eTIMER1_ETC1
F9
NEXUS0_MSEO0
D24 C14 eTIMER1_ETC2
B6
CLKOUT
D25 C5
DSPI0_SCK
C6
DSPI0_SOUT
D26 C7
DSPI0_SIN
DocID024947 Rev 3
22
Hardware overview UM1650
C27
Table 5. SPC56L-Discovery board - I/O header (Table, part 2) (continued)
X6 Pin Port Description
NC
X6 Pin
D27
Port
F12
Description eTIMER1_ETC3
C28 D6 DSPI0_CS2 D28 F13 eTIMER1_ETC4
C29 D5 DSPI0_CS3 D29 F8 NEXUS0_MSEO1
C30 F7 NEXUS0_MCKO D30 F6 NEXUS0_MDO1
C31 F5 NEXUS0_MDO2 D31 F4 NEXUS0_MDO3
C32
GND
D32
GND
C33
5V
D33
5V
C34
GND
D34
5V
C35
NC
D35
NC
C36
NC
D36
NC
C37
3V3
D37
VDD_LV_COR
DocID024947 Rev 3
UM1650 General handling precautions
Appendix A General handling precautions
The following precautions are recommended when using the SPC56EL70L5DISP, the PSU or the SPC56L-Discovery board:
•
Do not modify or manipulate the board when the DC supply is connected to the board.
• Do not open and tamper the PSU. Use AC plug adaptor if the main socket is not compatible with the PSU.
•
Do not supply the board with a DC source higher than 12 V.
• Any equipment or tool used for any manipulation of the semiconductor devices or board modification should be shielded and connected to ground.
•
The connectors and cables should be plugged and removed when the board is off.
• It is suggested recommended to use antistatic tools.
DocID024947 Rev 3
22
Revision history
Revision history
Date
05-July-2013
05-Aug-2013
17-Sep-2013
Table 6. Document revision history
Revision Changes
1
2
3
Initial release.
Update title.
.
Replaced RPN SPC56EL70L5DISP with
SPC56L-Discovery
Updated Disclaimer.
UM1650
DocID024947 Rev 3
UM1650
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice.
All ST products are sold pursuant to ST’s terms and conditions of sale.
Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein.
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST’S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED
WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS
OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT.
ST PRODUCTS ARE NOT DESIGNED OR AUTHORIZED FOR USE IN: (A) SAFETY CRITICAL APPLICATIONS SUCH AS LIFE
SUPPORTING, ACTIVE IMPLANTED DEVICES OR SYSTEMS WITH PRODUCT FUNCTIONAL SAFETY REQUIREMENTS; (B)
AERONAUTIC APPLICATIONS; (C) AUTOMOTIVE APPLICATIONS OR ENVIRONMENTS, AND/OR (D) AEROSPACE APPLICATIONS
OR ENVIRONMENTS. WHERE ST PRODUCTS ARE NOT DESIGNED FOR SUCH USE, THE PURCHASER SHALL USE PRODUCTS AT
PURCHASER’S SOLE RISK, EVEN IF ST HAS BEEN INFORMED IN WRITING OF SUCH USAGE, UNLESS A PRODUCT IS
EXPRESSLY DESIGNATED BY ST AS BEING INTENDED FOR “AUTOMOTIVE, AUTOMOTIVE SAFETY OR MEDICAL” INDUSTRY
DOMAINS ACCORDING TO ST PRODUCT DESIGN SPECIFICATIONS. PRODUCTS FORMALLY ESCC, QML OR JAN QUALIFIED ARE
DEEMED SUITABLE FOR USE IN AEROSPACE BY THE CORRESPONDING GOVERNMENTAL AGENCY.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries.
Information in this document supersedes and replaces all information previously supplied.
The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
© 2013 STMicroelectronics - All rights reserved
STMicroelectronics group of companies
Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan -
Malaysia - Malta - Morocco - Philippines - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
DocID024947 Rev 3 23/23
23
Stiahnuť
Reklama