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

Similar documents
AN2261 APPLICATION NOTE

AN4321 Application note

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

UM1719 User manual. The STPM3x evaluation software. Introduction

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

AN4440 Application note

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

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

AN2667 Application note

Main components USB charging controller with integrated power switch

AN2672 Application note

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

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

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

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

AN4274 Application note

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

ST10F271B/E, ST10F272B/E Errata sheet

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

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

AN2676 Application note

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

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

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

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

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

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

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

AN3996 Application Note

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

AN3354 Application note

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

AN3980 Application note

AN4308 Application note

AN4113 Application note

EV-VNQ5E050AK VNQ5E050AK evaluation board

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

AN3279 Application Note

AN2240 Application note

AN626 Application note

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

AN4464 Application note

AN2061 APPLICATION NOTE

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

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

AN2474 Application note

UM0726 User manual STEVAL-PCC009V1, universal USB to serial communication interface (UUSCI) based on the STM32x Introduction

AN2143 Application note

UM1488 User manual. STPMC1 evaluation software. Introduction

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

AN3001 Application note

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

AN3250 Application note

SOT23-6L ESDALCL6-2SC6

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

AN2855 Application note

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

STM8 I 2 C optimized examples

AN2673 Application note

AN2734 Application note S-Touch design procedure Introduction

UM0592 User manual. STEVAL-PCC006V1, HDD bridge extension board. board for mass storage applications. Introduction

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

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

AN3975 Application note

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

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

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

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

AN2825 Application Note

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

AN1335 APPLICATION NOTE

STTS V memory module temperature sensor. Features

AN2936 Application note

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

AN3964 Application note

AN2202 Application note

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

STM8L-PRIMER STM32-PRIMER STMPRIMER

AN2557 Application note

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

AN3265 Application note

UM0212 User manual. STOTG04 USB OTG full-speed transceiver demonstration board. Introduction

AN3965 Application note

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

AN2408 Application note

UM2343 Application note

AN3154 Application note

AN2361 Application note

STM8L-PRIMER STM32-PRIMER STMPRIMER

Obsolete Product(s) - Obsolete Product(s)

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

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

TN0189 Technical note

AN2860 Application note

AN3348 Application note

Obsolete Product(s) - Obsolete Product(s)

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

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

TN0132 Technical note

Transcription:

User manual STEVAL-IPE023V1: STPMxx programmer Introduction This evaluation board is a tool for programming the STPMxxx energy meter ICs family. The board has been developed to provide an insulated USB interface between a PC and the STPMxx evaluation boards. The PC runs the GUI to program and read the internal registers of the energy meter device. The board includes the following sections shown in Figure 1: USB interface Power management Microcontroller Insulated SPI connector Figure 1. STPMxxx programming tool block diagram June 2014 DocID026235 Rev 1 1/21 www.st.com

Contents UM1750 Contents 1 Overview.................................................. 3 1.1 Recommended reading....................................... 3 1.2 Safety precautions........................................... 3 1.3 Getting technical support...................................... 3 1.4 Package list................................................ 3 2 STPMxx programming tool board components................... 5 2.1 Microcontroller.............................................. 5 2.2 Debug..................................................... 5 2.3 Reset..................................................... 6 2.4 Power supply............................................... 6 2.5 Insulated metrology board connection............................ 7 2.6 Status LEDs................................................ 8 2.7 Jumpers................................................... 8 2.7.1 Jumper placement.......................................... 8 2.7.2 Jumper position............................................ 8 2.7.3 Jumper description and default value........................... 9 2.8 Pushbutton description........................................ 9 2.9 Connectors description........................................ 9 2.9.1 STM32 JTAG connector.................................... 10 2.9.2 Metrology IC board connector................................ 10 2.9.3 GPIOs connector.......................................... 11 3 STPMxx programming tool operation.......................... 12 3.1 Normal operation mode...................................... 12 3.2 DFU mode................................................ 12 4 Test circuit................................................ 13 5 Bill of material............................................. 17 6 References................................................ 19 7 Revision history........................................... 20 2/21 DocID026235 Rev 1

Overview 1 Overview 1.1 Recommended reading This document describes how to configure and use the STPMxxx programming tool board. Additional information can be found in the following documents: ST devices datasheets referenced in this document Third party device datasheets UM0412 UM1488 1.2 Safety precautions The board can be connected to a high voltage AC metrology board (D.U.T.) as it offers galvanic insulation to the digital section. This board is strictly intended for use by expert technicians. Due to the high voltage (220 VAC) involved, special care must be taken with regard to personal safety. There is no protection against accidental human contact with high voltages. After disconnection of the board from the mains, the live parts must not be touched immediately due to the energized capacitors. It is mandatory to use a mains insulation transformer to perform any tests on the board in which test instruments such as spectrum analyzers or oscilloscopes are used. Do not connect any oscilloscope probes to high voltage sections in order to avoid damaging instruments and demonstration tools. Warning: ST assumes no responsibility for any consequences which may result from the improper use of this tool. 1.3 Getting technical support Technical assistance is provided free to all customers. For technical assistance, documentation, upgrades and information about products and services, please refer to your local ST distributor/office. 1.4 Package list The STPMxxx programming tool board package includes the following items: The STPMxxx programming tool board (Figure 2) A CD-ROM with software and documentation DocID026235 Rev 1 3/21 21

Overview UM1750 Figure 2. STPMxxx programming tool board 4/21 DocID026235 Rev 1

STPMxx programming tool board components 2 STPMxx programming tool board components The board includes a USB interface, a power management unit, a microcontroller and an insulation section for the SPI connector to the energy metrology board being tested. 2.1 Microcontroller The system is managed by the STM32F103 microcontroller. It is based on the 32-bit ARM Cortex-M3 core with 72 MHz maximum frequency, 384 KB Flash and 64 KB SRAM embedded memories; for further details please refer to the STM32F103 high density family datasheets. 2.2 Debug Software debug is via a 10-pin JTAG connection; it is possible to use a 10-pin to 20-pin adapter to use standard 20-pin JTAG tools. Figure 3. JTAG Connector Table 1 shows the pin out of the JTAG connector. Table 1. JTAG pin out PIN number Function 1 3.3V 2 TMS 3 GND 4 TCK 5 GND 6 TDO DocID026235 Rev 1 5/21 21

STPMxx programming tool board components UM1750 Table 1. JTAG pin out (continued) PIN number Function 7 N.C. 8 TDI 9 GND 10 nreset 2.3 Reset The Reset sources are: Power on reset JTAG reset from an in-circuit emulator The RESET button (SW1). 2.4 Power supply The board is powered directly by the USB connector. It includes a linear voltage regulator. The power supply is based on the LD1117ADT33TR device. The insulated section is powered by an insulated DC-DC module (U5). Figure 4. Power supply section 6/21 DocID026235 Rev 1

STPMxx programming tool board components 2.5 Insulated metrology board connection The metrology board under test is connected by an insulated connector compatible with all meter IC evaluation boards: STEVAL-IPE010V2 STEVAL-IPE016V1 STEVAL-IPE017V1 STEVAL-IPE018V1 Figure 5. Power supply section The STPMxx is controlled by the MCU with an SPI communication bus and digital control line. Table 2 shows the MCU resources mapping for energy meter IC management: Table 2. STM32F resources - STPMxx function mapping STM32F resource PA9 SPI1-MISO (PA6) SPI1-MOSI (PA7) SC1-SCLK (PA5) PA4 Energy meter function SYN SDA/MISO MOSI SCL SCS These signals are insulated by two buffers which are driven by two GPIOs mapped as shown in Table 3: Table 3. STM32F resources - Buffers function mapping STM32F resource PA3 PA8 Buffer function Output Enable (active low) Input Enable (active low) DocID026235 Rev 1 7/21 21

STPMxx programming tool board components UM1750 2.6 Status LEDs Table 4. LED description and STM32W mapping LED D1 D3 D2 Function Application activity (green) USB activity (red) USB data receiving activity (yellow) 2.7 Jumpers 2.7.1 Jumper placement Figure 6. Jumper placement 2.7.2 Jumper position Figure 7. Jumper position 8/21 DocID026235 Rev 1

STPMxx programming tool board components 2.7.3 Jumper description and default value Table 5. Jumpers descriptions Jumper Description Default J4 Power Supply option for D.U.T. board: 1-2: 3.3V 2-3: 5V 2-3 2.8 Pushbutton description Table 6. Pushbutton descriptions Button SW1 (RESET) Description (MCU mapping) MCU reset 2.9 Connectors description Figure 8. General purpose connectors position Table 7. Connector descriptions Connector CN1 J2 J3 J1 Description USB type-b connector GPIOs connector Metrology board connector JTAG connector DocID026235 Rev 1 9/21 21

STPMxx programming tool board components UM1750 2.9.1 STM32 JTAG connector Figure 9. STM32 10 pin JTAG connector Table 8. JTAG connector pin mapping Pin Description Pin Description 1 VCC 6 TDO 2 TMS 7 N.C. 3 GND 8 TDI 4 TCK 9 GND 5 GND 10 Reset 2.9.2 Metrology IC board connector Figure 10. Energy meter calibration connector Table 9. Energy meter connector pin mapping Pin Description Pin Description 1 N.C 6 SCL 2 MOSI 7 N.C. 3 GND 8 SYN 4 SDA 9 N.C. 5 SCS 10 Vcc 10/21 DocID026235 Rev 1

STPMxx programming tool board components 2.9.3 GPIOs connector Figure 11. GPIOs connector description DocID026235 Rev 1 11/21 21

STPMxx programming tool operation UM1750 3 STPMxx programming tool operation 3.1 Normal operation mode For normal operation, the board implements virtual COM port functionality for PC communication via USB. Before connecting it to a PC for the first time, install the STM32 Virtual COM Port Driver which is available for download at the following ST web page: http://www.st.com/internet/mcu/product/216826.jsp. The board is designed to be used with a dedicated PC GUI for STPMxx energy meter family ICs. The GUI for STPMC1 evaluation boards is available for download at the following ST web page: http://www.st.com/internet/evalboard/product/252571.jsp. For more details, refer to UM1488: STPMC1 evaluation software. The GUI for STPM01 evaluation boards is available for downloading at the ST web page. For more details, refer to user manual UM1599: The STPM01 and STPM1x evaluation software. 3.2 DFU mode The board supports firmware upgrade via USB connection. To boot the MCU in DFU mode, connect (using a jumper) pin 1 and pin 3 of the GPIOs connector; as soon as the board starts the DFU procedure, LED D3 (Red) turns on. Before running the board in this mode, you should install the DFU demonstration software on the PC; it is available for download at the following ST web page: http://www.st.com/internet/mcu/product/216826.jsp. For more details regarding STM32 DFU functionality, refer to the following user manual: UM0412: Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension. The board was tested with version 3.0.2 of the DFU software. 12/21 DocID026235 Rev 1

Test circuit 4 Test circuit Figure 12. TOP DocID026235 Rev 1 13/21 21

Test circuit UM1750 Figure 13. STM32F103 14/21 DocID026235 Rev 1

Test circuit Figure 14. STPMxxx connections DocID026235 Rev 1 15/21 21

Test circuit UM1750 Figure 15. USB and power supply 16/21 DocID026235 Rev 1

Bill of material 5 Bill of material Table 10. Bill of material Item Qty Reference Part / value Tol. % Voltage current Watt Technology information Package - footprint Manufacturer 1 1 CN1 USB_TYPEB USB_TYPEB_S 2 6 C1,C2,C3, C4,C9,C1 4 100nF 10% 25V X7R ceramic sm/c_0805 3 2 C5,C6 10pF 10% 25V X7R ceramic sm/c_0805 4 2 C7,C8 22pF 10% 25V X7R ceramic sm/c_0805 5 1 C10 10nF 10% 25V X7R ceramic sm/c_0805 6 2 C11,C15 100uF 16V 20% 25V Electrolityc 7 2 C12,C16 47uF 25V 20% 25V Electrolityc SM/CT_47UF_2 5V SM/CT_47UF_2 5V 8 1 C13 4.7nF 10% 25V X7R ceramic sm/c_0805 9 2 IC1,IC2 LD1117ADT3 3TR 10 1 J1 CON10A 11 1 J2 CON32A 12 1 J3 CON10 DPAK_REAL CONNECTOR SAMTEC FTS105 BLKCON.100/V H/TM2OE/W.20 0/32 WALCON.100/V H/TM2OES/W.3 25/10 13 1 J4 JUMPER JUMP-M-254-2 14 3 R1,R2,R3 4.7k 5% 0.125 AX/RC05 15 3 R4,R5,R6 300R 1% 0.125 SM/R_0805 16 2 R7,R12 1M 1% 0.125 SM/R_0805 17 1 R8 10K 1% 0.125 SM/R_0805 18 1 R9 100K 1% 0.125 SM/R_0805 19 2 R10,R11 22R 1% 0.125 SM/R_0805 20 1 R13 1.5K 1% 0.125 SM/R_0805 21 1 SW1 Rst 22 1 U1 STM32F103 RDT6 23 1 U2 TSM0505S SWITCH_TE FSM2JH QUAD.50M/64/ WG12.60 SOJ.050/14/WB. 450/L.400 ST SAMTEC ST DocID026235 Rev 1 17/21 21

Bill of material UM1750 Table 10. Bill of material (continued) Item Qty Reference Part / value Tol. % Voltage current Watt Technology information Package - footprint Manufacturer 24 2 U3,U4 IL710S-1E 25 1 U5 IL260-3E 26 1 U6 USBLC6-2P6 27 1 Y1 32.768 KHz SOG.025/8/WG. 275/L.150 SOG.050/16/WG.244/L.400 SOT-666 QUARTZ SMD 4PIN_S 28 1 Y2 8MHz Cer. Resonator 29 1 D1 green LED SM/D_0805_21 Kingbright 30 1 D2 yellow LED SM/D_0805_21 Kingbright 31 1 D3 red LED SM/D_0805_21 Kingbright NVE NVE ST 18/21 DocID026235 Rev 1

References 6 References STM23F10xxx datasheet STM32F10xxx reference manual STM32F10xFWLib 3.1.2 STPMxx energy metering ICs family datasheet UM0412 UM1488 DocID026235 Rev 1 19/21 21

Revision history UM1750 7 Revision history Table 11. Document revision history Date Revision Changes 05-Jun-2014 1 Initial release. 20/21 DocID026235 Rev 1

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. 2014 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 DocID026235 Rev 1 21/21 21