AN4782 Application note

Similar documents
AN4321 Application note

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

UM2255 User manual. SPC58NG-DISP user manual. Introduction

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

L9958 Evaluation board for high current (8.6A) DC and Stepper Motors. Description

UM2461 User manual. SPC584B-DIS Discovery Board. Introduction

Description. July 2016 DocID Rev 2 1/6

Description. January 2019 DB2381 Rev 3 1/5

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

TN1235 Technical note

STSW-L9960, STSW-L9960T Graphical User Interface (GUI) for EVAL-L9960 & EVAL-L9960T

UM1844 User manual. EVAL-L9958 Graphical user interface (GUI) Introduction

X-NUCLEO-53L1A1. Long distance ranging Time-of-Flight sensor expansion board based on VL53L1X for STM32 Nucleo. Description.

STSW-BLUENRG1-DK. BlueNRG-1, BlueNRG-2 DK SW package

UM1699 User manual. SPC563M-DISP Discovery+ evaluation board. Introduction

ST25DV-DISCOVERY. Discovery kit for the ST25DV04K dynamic NFC/RFID tag. Features

X-NUCLEO-53L0A1. Ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo. Description. Features

SPC584C80C3, SPC58EC80C3

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

STSW-STWBCFWDT. STWBC firmware downloader tool. Description. Features

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

Getting started with STEVAL-IDB007V1 and STEVAL-IDB008V1 evaluation boards

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

RN0100 Release note. SPC5-STUDIO v.5.0 Release. Introduction

Dynamic Electro-Thermal simulator for VIPower products. Description

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

RN0084 Release note. ST-LINK/V2 firmware upgrade. About this release note

NUCLEO-L433RC-P NUCLEO-L452RE-P

AN4464 Application note

UM2119 User manual. Graphical user interface (GUI) for EVAL-L9907-H. Introduction

Bluetooth low energy profiles for the X-CUBE-BLE1 expansion for STM32Cube. Description

EVLKSTCOMET10-1. STCOMET smart meter system-on-chip development kit. Features

UM2167 User manual. OrCAD PSpice model usage instructions

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

32F412GDISCOVERY. Discovery kit with STM32F412ZG MCU. Features. Description

UM2343 Application note

DT0095 Design tip. Datalogging the SensorTile through a PC. Purpose and benefits. Description

P-NUCLEO-53L0A1. VL53L0X Nucleo pack with ranging, gesture detection sensor expansion board and STM32F401RE. Description. Features

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

P-NUCLEO-53L1A1. VL53L1X nucleo pack with X-NUCLEO-53L1A1 expansion board and STM32F401RE nucleo board. Description. Features

32L476GDISCOVERY. Discovery kit with STM32L476VG MCU. Features. Description

Getting started with the digital MEMS microphone expansion board based on MP34DT01-M for STM32 Nucleo

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

Motor control power board based on the SLLIMM-nano 2 nd series

32F469IDISCOVERY. Discovery kit with STM32F469NI MCU. Features. Description

How to upgrade the firmware on the STEVAL-USBC2DP USB Type-C to DisplayPort adapter

Getting started with MotionPM real-time pedometer library in X CUBE-MEMS1 expansion for STM32Cube

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

P-NUCLEO-IKA02A1. STM32 Nucleo pack: electrochemical toxic gas sensor expansion board with CO sensor. Description. Features

EVAL6494L. Demonstration board for L6494L gate driver. Description. Features

Software GUI user guide for STEVAL-ISV021V1, STEVAL- IDS002V1 and STEVAL-IDS003V1 evaluation boards

STSW-BNRG-Mesh. Mesh over Bluetooth low energy. Features. Description. Applications

UM2051 User manual. Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery. Introduction

300 ma triple DC-DC converter for powering AMOLED displays. Description. Table 1: Device summary Negative voltage. Auxiliary positive voltage

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

A scalable approach to your body, networking and security platforms. Description

STEVAL-IPMnM2N. Motor control power board based on the SLLIMM-nano 2 nd series. Description. Features. RoHS compliant

32F746GDISCOVERY. Discovery kit with STM32F746NG MCU. Features. Description

UM2092 User manual. Basic metrology firmware for the STM32F103RD and the STPM32 devices. Introduction

UM2495. High performance HF reader / NFC initiator IC software expansion for NUCLEO-8S208RB. User manual. Introduction

STSW-BNRGUI. BlueNRG GUI SW package. Data brief. Features. Description

Using the GPIOs and interrupt controller to drive LEDs on STM8 Nucleo-64 boards

EVALKIT-VL6180X. VL6180X plug-in and STM32 F401RE Nucleo board explorer kit. Description. Features

AN4624 Application note

UM2216 User manual. Getting started with MotionFA fitness activity library in X CUBE MEMS1 expansion for STM32Cube. Introduction

ST Payment Secure Solution Java Card platform with up to 100 Kbytes of user NVM for AMEX payment applications

EMIF06-HSD04F3. 6-line low capacitance IPAD for micro-sd card with EMI filtering and ESD protection. Features. Application.

AN5171 Application note

UM1862 User manual. Getting started with STM32F411E Discovery software Development Tools. Introduction

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

AN4045 Application note

AN4311 Application note

SPC58NE84E7, SPC58NE84C3

P-NUCLEO-6180X2. Proximity, gesture, ambient light sensor expansion board based on VL6180X for STM32L053R8. Description. Features

ST Payment Secure Solution - Java Card platform with up to 90 Kbytes of user NVM for Visa, MasterCard, AMEX, Discover and Interac applications

AN3996 Application Note

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

STM32L4R9I-EVAL. Evaluation board with STM32L4R9AI MCU. Features

UM2091 User manual. EVAL-L9301 Demo board Hardware documentation. Introduction

EVALSTGAP1AS. Demonstration board for STGAP1AS galvanically isolated single gate driver. Description. Features

Getting started with X-NUCLEO-53L1A1 long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo

EV-AUTO-LDOS. L5150GJ-L5300AH7-L4995AK Evaluation Board. Applications. Features. Description

UM2375 User manual. Linux driver for the ST25R3911B/ST25R391x high performance NFC frontends. Introduction

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description

EV-VNH7040AY. VNH7040AY Evaluation Board. Features. Description

X-NUCLEO-53L0A1 ranging and gesture detection sensor expansion board based on VL53L0X for STM32 Nucleo

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

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

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

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

Power line communication expansion board based on ST7580 for STM32 Nucleo. Description

AN4869 Application note

Getting started with the FP-IND-PLCWIFI1 function pack for PLC management via Wi-Fi

AN3279 Application Note

Getting started with the X-CUBE-IKA02A1 multifunctional software expansion for STM32Cube

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

AN3281 Application note

Transcription:

Application note Getting started with SPC56B-Discovery board Introduction The SPC560B-Discovery board, hereafter described as SPC560B-DIS, is an evaluation tool supporting STMicroelectronics SPC56B-Line microcontrollers. The selected solution is the quickest way to discover the SPC56B family, to program the device, to build and to debug applications. SPC560B-DIS Discovery board is based on the 32-bit microcontrollers Power Architecture Core SPC560B54L5. Figure 1. SPC560B-DIS Discovery board with SPC560B54L5 The evaluation board allows full access to all of the CPUs I/O on the two 2x36 headers with exception of JTAG, TCK, TMS, TDI, TDO, XTAL, EXTAL and VDD_LV pins. SPC560B-DIS discovery board 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 routines, I/O mapping and a simple test codes have been already designed by STMicroelectronics experts. SPC5Studio is available for download on www.st.com. SPC5Studio comes with HighTec GNU "C" compiler free fully featured 30 days trial version. An E2E Community is available on ST WEB. The PCB, all the components and HW parts meet requirements of the applicable RoHS directives. November 2015 DocID028560 Rev 1 1/13 www.st.com 1

Contents AN4782 Contents 1 Getting started.............................................. 5 1.1 Delivery checklist............................................ 5 1.2 Setting up hardware and connections............................ 5 2 How to connect and program SPC560B-DIS..................... 6 2.1 How to connect the board..................................... 6 2.2 Load a test program.......................................... 6 Appendix A General handling precautions............................. 10 Appendix B Reference documents.................................... 11 Revision history.................................................... 12 2/13 DocID028560 Rev 1

List of tables List of tables Table 1. Document revision history................................................. 12 DocID028560 Rev 1 3/13 3

List of figures AN4782 List of figures Figure 1. SPC560B-DIS Discovery board with SPC560B54L5.............................. 1 Figure 2. SPC5Studio - Project explorer Test App SPC560B-DIS discovery board............ 7 Figure 3. SPC5Studio - Project explorer UDE folder and debug.wsx....................... 7 Figure 4. UDE Visual Platform Window Load binary target file........................... 8 Figure 5. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool................ 8 Figure 6. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool................ 9 4/13 DocID028560 Rev 1

Getting started 1 Getting started 1.1 Delivery checklist The SPC560B-DIS kit contains the following items: #1 SPC560B-DIS evaluation board; the label applied on the PCB bottom side of the PCB is the debugger serial number. #1 USB type A to mini-b cable. The jumpers allow configuring the board to enable features and different flash modalities. 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. Connect the USB cable to the board then in a PC USB port. 3. The board is supplied and ready to be used and programmed. 4. The LED D6 (green) reveals +5 V supply is present and the regulator works properly. The user LEDs D7 and D8 (both green) are blinking and they show all connections are right and the microcontroller is working properly (a). a. The LEDs are blinking because a demonstration code has been stored in the microcontroller. The software is included in the Test App SPC560B-DIS board DocID028560 Rev 1 5/13 11

How to connect and program SPC560B-DIS AN4782 2 How to connect and program SPC560B-DIS The following procedure describes how to connect and flash the microcontroller using the USB port and the integrated debugger. 2.1 How to connect the board The procedure describes how to connect the board and to program PLS USB-JTAG adapter. 1. Turn off the board (Switch S1= OFF ) 2. Connect the USB cable to the board 3. Plug the USB cable to the PC (USB 2.0 or higher) 4. Turn on the board (Switch S1= ON ) 5. The user LEDs D7 and D8 are blinking 6. The controller is ready to be programmed with the user software. 2.2 Load a test program The procedure describes how to flash the microcontroller using SPC5Studio and UDE-PLS software (b). 1. Run SPC5Studio 2. Import the test application developed for this board ( Test App OS-Less for SPC560B- DIS Discovery board.zip ) 3. In Project Explorer select and open the test application project named Test App OS- Less for SPC560B-DIS Discovery board. b. Both of these softwares must be downloaded and installed in your PC. 6/13 DocID028560 Rev 1

How to connect and program SPC560B-DIS Figure 2. SPC5Studio - Project explorer Test App SPC560B-DIS discovery board 4. The demo code is in the file main.c (c) 5. Save the project and build it. 6. Select and open the UDE folder then click to "debug.wsx": a new program (UDE Visual Platform) is launched in a new window. Figure 3. SPC5Studio - Project explorer UDE folder and debug.wsx 7. In Message View a message informs if the board is connected and if the microcontroller has been identified by the programmer/debugger properly. 8. In the window Load binary target file should be present the path where the file out.elf has been generated. The default path is: C:\SPC5Studio\workspace\SPC560B OS- Less Test Application for SPC560B-DIS Discovery board\build\. To select a different path, in the main bar select File then Load Program then select the path and the file to load. 9. Press Load button to load the binary out.elf file (Figure 4). c. The code can be modified. The final result can be different with respect to the original code. DocID028560 Rev 1 7/13 11

How to connect and program SPC560B-DIS AN4782 Figure 4. UDE Visual Platform Window Load binary target file 10. In the new window (Figure 5), press the button Program All. Figure 5. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool 11. The execution of the flash procedure is reported the UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool. 8/13 DocID028560 Rev 1

How to connect and program SPC560B-DIS Figure 6. UDE Visual Platform - UDE - FLASH/OTP Memory Programming tool 12. Close the UDE Visual Platform 13. Remove and plug the USB cable. 14. Check the user LEDs D7 and D8: they are blinking according to the code developed and stored in the microcontroller The document UM1602 (see Section Appendix B: Reference documents) is focused to describe and to understand how to use SPC5studio and how to create, build and debug a project. DocID028560 Rev 1 9/13 11

General handling precautions AN4782 Appendix A General handling precautions The following precautions are recommended when using the SPC560D-DIS board: Do not modify or manipulate the board when the DC supply or the USB cable is connected to the board. The connectors and cables should be plugged and removed when the board is off. Do not supply the board with a DC source higher than 12 V or with reverse polarity. Pay attention to the PSU DC power plug: it must be with 2.1 mm inner diameter and with positive connected to the center. It is recommended to use antistatic tools. 10/13 DocID028560 Rev 1

Reference documents Appendix B Reference documents SPC5Studio users guide (User manual UM1602, DocID024185). DocID028560 Rev 1 11/13 11

Revision history AN4782 Revision history Table 1. Document revision history Date Revision Changes 09-Nov-2015 1 Initial release. 12/13 DocID028560 Rev 1

IMPORTANT NOTICE PLEASE READ CAREFULLY STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST s terms and conditions of sale in place at the time of order acknowledgement. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of Purchasers products. No license, express or implied, to any intellectual property right is granted by ST herein. Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product. ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners. Information in this document supersedes and replaces information previously supplied in any prior versions of this document. 2015 STMicroelectronics All rights reserved DocID028560 Rev 1 13/13 13