UM1750
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
2
3
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1
Recommended reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2
Safety precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3
Getting technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.4
Package list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
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
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
UM1750
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:
1.2
•
ST devices datasheets referenced in this document
•
Third party device datasheets
•
UM0412
•
UM1488
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:
1.3
ST assumes no responsibility for any consequences which
may result from the improper use of this tool.
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
UM1750
2
STPMxx programming tool board components
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)
2.3
PIN number
Function
7
N.C.
8
TDI
9
GND
10
nRESET
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
UM1750
2.5
STPMxx programming tool board components
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
Energy meter function
PA9
SYN
SPI1-MISO (PA6)
SDA/MISO
SPI1-MOSI (PA7)
MOSI
SC1-SCLK (PA5)
SCL
PA4
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
Buffer function
PA3
Output Enable (active low)
PA8
Input Enable (active low)
DocID026235 Rev 1
7/21
21
STPMxx programming tool board components
2.6
UM1750
Status LEDs
Table 4. LED description and STM32W mapping
LED
Function
D1
Application activity (green)
D3
USB activity (red)
D2
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
UM1750
2.7.3
STPMxx programming tool board components
Jumper description and default value
Table 5. Jumpers descriptions
2.8
Jumper
Description
Default
J4
Power Supply option for D.U.T.
board:
1-2: 3.3V
2-3: 5V
2-3
Pushbutton description
Table 6. Pushbutton descriptions
2.9
Button
Description (MCU mapping)
SW1 (RESET)
MCU reset
Connectors description
Figure 8. General purpose connectors position
Table 7. Connector descriptions
Connector
Description
CN1
USB type-B connector
J2
GPIOs connector
J3
Metrology board connector
J1
JTAG connector
DocID026235 Rev 1
9/21
21
STPMxx programming tool board components
2.9.1
UM1750
STM32 JTAG connector
Figure 9. STM32 10 pin JTAG connector
Table 8. JTAG connector pin mapping
2.9.2
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
Metrology IC board connector
Figure 10. Energy meter calibration connector
Table 9. Energy meter connector pin mapping
10/21
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
DocID026235 Rev 1
UM1750
2.9.3
STPMxx programming tool board components
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
UM1750
4
Test circuit
Test circuit
Figure 12. TOP
86%'3
86%'0
86%B36
86%B36
6730[[&21
86%'3
86%'0
0&8
Q287B(1
Q,1B(1
Q287B(1
Q,1B(1
6730B6
很抱歉,暂时无法提供与“STEVAL-IPE023V1”相匹配的价格&库存,您可以联系我们找货
免费人工找货- 国内价格
- 1+1016.25512
- 5+995.92731
- 国内价格 香港价格
- 1+1059.261761+132.48938
- 3+1044.830663+130.68438
- 5+1038.184765+129.85313
- 20+1020.4307120+127.63250
- 30+1008.7529130+126.17188