background image

March 2008

  Rev 1

1/21

UM0509

User manual

STEVAL-IPE005V1, STPM01 programmer board - hardware

Introduction

The STPM01 - programmer kit works in conjunction with the STPM01 energy meter ASSP 
device and with the STPM01 manager software. It is an integrated system designed to 
provide the user with a complete, ready-to-use energy meter application. The reference 
design is a high-end solution for power metering based on the STR710 microcontroller with 
an embedded RTC and an external memory interface (EMI) ready to drive 1Mbyte of on-
board SRAM. 

The kit also integrates an on-board optical insulated serial line allowing isolation of the 
board ground reference in order to avoid propagation of overvoltage on the PC side.

Moreover, the on-board charge pump allows burning the STPM01 energy meter ASSP 
device registers.

Access to the STPM01 device registers is ensured using a dedicated SPI bus interface.

The STPM01 programmer kit demonstrates how effectively the STPM01 can be used in 
real-world energy meter applications and it helps the user to develop his own application.

The STPM01 programmer kit can be used in two ways:

For demonstration purposes, by connecting the reference design to an AC power source 
and changing all the settings parameters through the GUI interface and the hardware 
programmer/reader board

To evaluate and develop a custom application

www.st.com

www.BDTIC.com/ST

Summary of Contents for STEVAL-IPE005V1

Page 1: ...d serial line allowing isolation of the board ground reference in order to avoid propagation of overvoltage on the PC side Moreover the on board charge pump allows burning the STPM01 energy meter ASSP device registers Access to the STPM01 device registers is ensured using a dedicated SPI bus interface The STPM01 programmer kit demonstrates how effectively the STPM01 can be used in real world energ...

Page 2: ...er position 7 2 10 Description of push buttons and default value 8 2 11 Description of connectors 8 2 12 Boot configuration 9 3 Connectors 10 3 1 Power 10 3 2 UARTx 10 3 3 Debug 11 4 STPM01 programmer kit schematics 12 4 1 Microcontroller and main parts schematic 12 4 2 Power management 13 4 3 Reset and clock circuits 14 4 4 Boot management and Jtag circuit 15 4 5 External RAM memory 17 4 6 SPI si...

Page 3: ...igure 5 RS232 transmit and receive connectors 10 Figure 6 JTAG standard interface CN1 11 Figure 7 Microcontroller and main parts schematic 12 Figure 8 Power management schematic 13 Figure 9 Reset and clock circuits 14 Figure 10 Boot management and Jtag circuits 15 Figure 11 Opto isolated UART 16 Figure 12 External RAM memory 17 Figure 13 SPI signals buffering 18 Figure 14 Charge pump and SPI conne...

Page 4: ...ces Dedicated application notes STPM01 programmer firmware user manual STPowerMeter user manual 1 2 Getting technical support Technical assistance is provided free to all customers For technical assistance documentation information and upgrades about products and services please refer to your local ST distributor office STMicroelectronics offers its customers a free technical support service at me...

Page 5: ...e board All other required voltages are provided by on board voltage regulators or voltage convectors An isolated 5 V DC DC provides the isolated voltage supply for the opto coupler devices 2 5 Opto isolated RS 232 A general purpose asynchronous serial I O data port is connected through 9 pin D type male connectors The port is opto isolated in order to avoid overvoltage on the PC side 2 6 SPI conn...

Page 6: ... components UM0509 6 21 2 7 Status LEDs 2 8 Jumper placement Figure 1 STPM01 programmer kit option jumper placement Table 1 Status LEDs LED Description D1 5 V power D2 3 3 V power D3 1 8 V power www BDTIC com ST ...

Page 7: ...stabilization disabled Not fitted J3 Enable 1 8 V to microcontroller Fitted 1 8 V to microcontroller enabled Not fitted 1 8 V to microcontroller disabled Fitted J8 Power supply to the charge pump Fitted 1 2 Internal power supply to charge pump and SPI signals buffer Fitted 2 3 power supply to charge pump and SPI signals buffer from STPM01 board Fitted 1 2 SW8 BOOT EN Fitted 1 2 GND Fitted 2 3 3 3 ...

Page 8: ...per Description Default SW1 Wakeup When pushed wakes up microcontroller SW2 Application default When pushed forces default conditions SW3 Reset button When pushed forces microcontroller reset Fitted Table 4 Connectors refer to Figure 3 Connector Description P1 Opto isolated RS232 female connector J4 DC IN 5 V connector CN2 DC IN 5 V connector CN1 JTAG connector J7 SPI connector P1 J4 CN2 CN1 J7 ww...

Page 9: ...e from Flash 1 2 3 0 2 3 0 2 3 1 2 3 0 2 3 1 1 2 System memory System memory mapped at 0h System executes a factory installed boot loader from system memory reserved mode Clock frozen 1 2 3 1 1 2 0 2 3 RAM RAM mapped at 0h System executes code from internal RAM For lab development 1 2 3 1 1 2 1 1 2 EXTMEM EXTMEM mapped at 0h System executes code from external memory Not allowed www BDTIC com ST ...

Page 10: ...ARTx Figure 5 RS232 transmit and receive connectors Table 6 RS232 connector pinout P1 Pin Description 1 Shorted to pins 6 and 2 2 Shorted to pins 1 and 6 3 TX 0_PC R1IN 4 RX 0_PC T1OUT 5 GND 6 Shorted to pins 1 and 2 7 Shorted to pin 8 8 Shorted to pin 7 9 Not connected www BDTIC com ST ...

Page 11: ...6 JTAG standard interface CN1 Table 7 JTAG interface pinout CN10 Pin Description Even pins Ground 1 VTref 3 3 V 2 Vsupply 3 3 V 3 notTRST 5 TDI 7 TMS 9 TCK 11 RTCK ground 13 TDo 15 noTReset 17 DBGRQS pulled down 19 Pulled down www BDTIC com ST ...

Page 12: ...SPI1 UART0 UART1 UART2 DEBUG TIMER1 GPIO PORT EMI SUPPLY U1 STR710FZ2T6 TQFP144 GENERAL USB SYSTEM RTC STS ADC CAN I2C0 SPI0 SPI1 UART0 UART1 UART2 DEBUG TIMER1 GPIO PORT EMI SUPPLY U1 STR710FZ2T6 TQFP144 P2 0 CS 0 7 P2 1 CS 1 8 P2 2 CS 2 11 P2 3 CS 3 12 A 0 98 A 1 99 A 2 100 A 3 101 A 4 102 A 5 114 A 6 115 A 7 116 A 8 117 A 9 118 A 10 119 A 11 120 A 12 121 A 13 122 A 14 130 A 15 131 A 16 132 A 17...

Page 13: ...50V C25 100n 25V C25 100n 25V D2 BLU D2 BLU J4 DC IN9V J4 DC IN9V 1 2 C22 10n 50V C22 10n 50V TP3 TEST POINT TP3 TEST POINT 1 R26 560 R26 560 C17 100n 25V C17 100n 25V C24 47uF C24 47uF L1 FBEAD L1 FBEAD 1 2 D3 YELLOW D3 YELLOW C20 10n 50V C20 10n 50V C15 100n 25V C15 100n 25V R24 560 R24 560 U5 LD108518 D2PAK A U5 LD108518 D2PAK A VOUT 3 VIN 2 GND 1 TP4 TEST POINT TP4 TEST POINT 1 LF01 BNX002 LF0...

Page 14: ...STPM01 programmer kit schematics UM0509 14 21 4 3 Reset and clock circuits Figure 9 Reset and clock circuits www BDTIC com ST ...

Page 15: ...UM0509 STPM01 programmer kit schematics 15 21 4 4 Boot management and Jtag circuit Figure 10 Boot management and Jtag circuits www BDTIC com ST ...

Page 16: ...STPM01 programmer kit schematics UM0509 16 21 Figure 11 Opto isolated UART www BDTIC com ST ...

Page 17: ...UM0509 STPM01 programmer kit schematics 17 21 4 5 External RAM memory Figure 12 External RAM memory www BDTIC com ST ...

Page 18: ...v_0_c8 STPM01_SDA mosi3V R41 4 7k sda5V STPM01_SCLK 3 3V write_en3V rev_0_c10 STPM01_SY N 5V 5V 3 3V sy n3V FROM STR7 TO STPM01 FROM STPM01 TO STR7 SPI BUFFER sclk3V 5V 5V 3 3V 3 3V CHARGE PUMP SPI SIGNALS BUFFER SPI BUFFER U15 M74HC126 1G 1 1A 2 1Y 3 2G 4 2A 5 2Y 6 GND 7 VCC 14 4G 13 4A 12 4Y 11 3G 10 3A 9 3Y 8 U14 M74HC126 1G 1 1A 2 1Y 3 2G 4 2A 5 2Y 6 GND 7 VCC 14 4G 13 4A 12 4Y 11 3G 10 3A 9 3...

Page 19: ... 1 2 D4 BAS70 04 SOT D4 BAS70 04 SOT 3 1 2 C38 10n C38 10n C37 10n C37 10n C35 10n C35 10n R29 1K R29 1K R28 330 R28 330 R27 47K R27 47K J8 CON3 J8 CON3 1 2 3 C32 1u C32 1u Q4 BC807 25 Q4 BC807 25 3 2 1 Q3 BC807 25 Q3 BC807 25 3 2 1 C33 100nF C33 100nF C34 100nF C34 100nF C31 10uF C31 10uF C30 100nF C30 100nF U11 M74HC126 U11 M74HC126 1G 1 1A 2 1Y 3 2G 4 2A 5 2Y 6 GND 7 VCC 14 4G 13 4A 12 4Y 11 3G...

Page 20: ...Revision history UM0509 20 21 5 Revision history Table 8 Document revision history Date Revision Changes 14 Mar 2008 1 Initial release www BDTIC com ST ...

Page 21: ...F 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 UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE ST PRODUCTS ARE NOT RECOMMENDED AUTHORIZED OR WARRANTED FOR USE IN MILITARY AIR CRAFT SPACE LIFE SAVING OR LIFE SUSTAINING APPLICATIONS NOR IN ...

Reviews: