AN4321 Application note

Similar documents
Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

AN2261 APPLICATION NOTE

UM1650 User manual. SPC56L-Discovery. Introduction. This document describes how to configure the board and how to setup the I/O communication.

This document describes the hardware architecture of the board, how to configure the jumpers and to enable specific functions.

AN2667 Application note

AN4464 Application note

AN4782 Application note

Main components USB charging controller with integrated power switch

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

LD A very low drop adjustable positive voltage regulator. Description. Features

AN4274 Application note

ST10F271B/E, ST10F272B/E Errata sheet

AN4440 Application note

AN3996 Application Note

UM1719 User manual. The STPM3x evaluation software. Introduction

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

AN3279 Application Note

AN2676 Application note

AN4113 Application note

Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1. Table 1. Release information. STM8 LIN package

AN2143 Application note

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

EV-VNQ5E050AK VNQ5E050AK evaluation board

AN2061 APPLICATION NOTE

ECMF02-3F3. Common mode filter with ESD protection. Features. Description. Applications. Complies with the following standard:

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

AN2672 Application note

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

AN626 Application note

AN4308 Application note

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

AN3354 Application note

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

STEVAL-VNH5019A. Motor driver evaluation board based on VNH5019A. Description. Features

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

UM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

STEVAL-IDW001V1. Wi-Fi daughterboard for STM32F0DISCOVERY. Description. Features

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

AN3965 Application note

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

AN1335 APPLICATION NOTE

AN3348 Application note

AN3980 Application note

AN2855 Application note

AN2474 Application note

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

STA bit single chip baseband controller for GPS and telematic applications. Features

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

AN2361 Application note

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

AN3964 Application note

AN3423 Application note

STTS V memory module temperature sensor. Features

UM1488 User manual. STPMC1 evaluation software. Introduction

AN2240 Application note

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

SOT23-6L ESDALCL6-2SC6

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

Obsolete Product(s) - Obsolete Product(s)

AN2825 Application Note

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

AN2673 Application note

STM8 I 2 C optimized examples

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

AN2557 Application note

AN2202 Application note

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

UM1750 User manual. STEVAL-IPE023V1: STPMxx programmer. Introduction

AN3250 Application note

AN3154 Application note

UM2255 User manual. SPC58NG-DISP user manual. Introduction

AN2408 Application note

Obsolete Product(s) - Obsolete Product(s)

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

STM8L-PRIMER STM32-PRIMER STMPRIMER

Main components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter

EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

AN2734 Application note S-Touch design procedure Introduction

AN2860 Application note

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

AN2430 Application note

AN3265 Application note

AN4371 Application note

STEVAL-ILL055V1: 11 W offline LED drive with high power factor based on HVLED815PF (EU input range) Figure 1. STEVAL-ILL055V1

UM1792 User manual. STLUX385A development environment. Introduction. Reference documents

AN2594 Application note

AN3362 Application note

Transcription:

Application note Getting started with the SPC56L-Discovery Introduction SPC56L-Discovery evaluation kit is based on the 32-bit microcontrollers SPC56EL70L5. The SPC56L-Discovery is an evaluation board supporting STMicroelectronics SPC56xL microcontrollers. The selected solution is the quickest way to discover the SPC56xL70 family, to program the device and to build and debug applications. Figure 1. SPC56L-Discovery board with SPC56EL70L5 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. 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 examples have been already designed by STMicroelectronics experts. SPC5Studio is available for download: www.st.com/spc5studio. September 2013 DocID024948 Rev 3 1/11 www.st.com

Contents AN4321 Contents 1 Getting started.............................................. 5 1.1 Delivery checklist............................................ 5 1.2 Setting up hardware and connections............................ 5 1.3 How to connect an external adapter to the JTAG connector........... 5 2 How to program the controller................................. 6 2.1 Load a test program.......................................... 6 Appendix A General handling precautions.............................. 8 Appendix B Reference documents..................................... 9 Revision history.................................................... 10 2/11 DocID024948 Rev 3

List of tables List of tables Table 1. Revision history......................................................... 10 DocID024948 Rev 3 3/11 3

List of figures AN4321 List of figures Figure 1. SPC56L-Discovery board with SPC56EL70L5................................... 1 Figure 2. SPC5Studio - Project explorer SPC56ELxx OS-Less Test Application for DiscoveryPlus 6 Figure 3. UDE Visual Platform Load binary target file................................... 7 Figure 4. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool (part 1).......... 7 Figure 5. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool (part 2).......... 7 4/11 DocID024948 Rev 3

Getting started 1 Getting started 1.1 Delivery checklist Your SPC56L-Discovery kit contains the following items: #1 SPC56EL70L5DISP evaluation board #1 Power supply output 12 V (plug with 12 VDC center positive, 2.1 mm inner diameter) 1.2 Setting up hardware and connections To setup the hardware follow this procedure: 1. Remove the board and the PSU from the protective plastic envelops 2. Check the SPC56L-Discovery board and set S1 switch to OFF position. 3. Connect the PSU to the mains. Note: a mains plug adapter (not include in the kit) can be used to connect the PSU Europlug to the local socket. 4. Plug the PSU cable in the X1 connector. 5. Set the S1 cursor to ON ; the board is supplied. 6. The LEDs D2, D3 and D4 that means the voltage levels +12 V, +5 V and +3.3 V are present with proper level. 7. The LEDs D5, D6 and D7 are blinking and are showing the microcontroller is working properly (a). 1.3 How to connect an external adapter to the JTAG connector The following procedure describes how to connect to, flash and debug the microcontroller using the JTAG. The procedure describes how to connect the dedicated PLS USB-JTAG adapter. 1. Turn off the board (Switch S1= OFF ) 2. Connect the USB cable to the adapter. 3. Plug the USB cable to the PC (port USB 2.0 or higher). 4. Plug the adapter 14 pins female connector (2 x 7 pin) in X3 connector. 5. Turn on the board (Switch S1= ON ). 6. The board is ready to be programmed with the user software. a. These LEDs are blinking because demo software has been loaded previously during the test board procedure. DocID024948 Rev 3 5/11 10

How to program the controller AN4321 2 How to program the controller 2.1 Load a test program The procedure to load a test program in the evaluation board is here below summarized: 1. Run SPC5Studio. 2. In Project Explorer tab open SPC56ELxx Example Applications Figure 2. SPC5Studio - Project explorer SPC56ELxx OS-Less Test Application for DiscoveryPlus 3. Select and open the project SPC56ELxx OS-Less Test Application for DiscoveryPlus. 4. Build the project. 5. Select and open the UDE folder then click to "debug.wsx". 6. In the window Load binary target file pressing the Load button, the file: C:\SPC5Studio\workspace\SPC56ELxx OS-Less Test Application for DiscoveryPlus\build\out.elf will be loaded from the workspace (see Figure 3). 6/11 DocID024948 Rev 3

How to program the controller Figure 3. UDE Visual Platform Load binary target file 7. Press the button Program All (see Figure 4). The window reported in Figure 5 shows the execution of the programming procedure Figure 4. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool (part 1) Figure 5. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool (part 2) 8. Turn off the board then remove the PLS adpter. 9. Supply the board and push the Reset button. 10. Check the LEDs D5, D6 and D7: they must be blinking The document UM1602 (see Section Appendix B: Reference documents) is focused to describe and to understand how to use the SPC5Studio to create, build and debug a project. DocID024948 Rev 3 7/11 10

General handling precautions AN4321 Appendix A General handling precautions The following precautions are recommended when using the SPC56L Discovery board: 1. Do not modify or manipulate the board when the DC supply is connected to the board. 2. Any equipment or tool used for any manipulation of the semiconductor devices or board modification should be shielded and connected to ground. 3. The connectors and cables should be plugged and removed when the board is off. 4. Do not supply the board with a DC source higher than 12 V. 5. Pay attention to the PSU DC power plug: it must be with 2.1 mm inner diameter and with positive connected to the center. 6. It is recommended to use antistatic tools. 8/11 DocID024948 Rev 3

Reference documents Appendix B Reference documents SPC5Studio users guide (User manual UM1602, DocID024185). DocID024948 Rev 3 9/11 10

Revision history AN4321 Revision history Table 1. Revision history Date Revision Changes 05-July-2013 1 Initial release. 05-Aug-2013 2 Update the title. Update Figure 1. Replaced RPN SPC56EL70L5DISP with SPC56L- Discovery. 17-Sep-2013 3 Updated Disclaimer. 10/11 DocID024948 Rev 3

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 DocID024948 Rev 3 11/11 11