UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual...

21
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

Transcript of UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual...

Page 1: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

March 2008 Rev 1 1/21

UM0509User manual

STEVAL-IPE005V1, STPM01 programmer board - hardware

IntroductionThe 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

Page 2: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

Contents UM0509

2/21

Contents

1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

1.1 Recommended reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

1.2 Getting technical support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

2 STPM01 kit components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.1 Package checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.2 Debug . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.3 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.4 Power supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.5 Opto-isolated RS-232 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.6 SPI connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2.7 Status LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.8 Jumper placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

2.9 Jumper 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 signals buffering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4.7 Charge pump and SPI connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

5 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Page 3: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 List of figures

3/21

List of figures

Figure 1. STPM01 programmer kit option jumper placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 2. Jumper position . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 3. STPM01 programmer kit: placement of connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 4. Power jack connector: CN2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 5. RS232 transmit and receive connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 6. JTAG standard interface: CN1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 7. Microcontroller and main parts schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 8. Power management schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 9. Reset and clock circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 10. Boot management and Jtag circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Figure 11. Opto-isolated UART . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 12. External RAM memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17Figure 13. SPI signals buffering. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18Figure 14. Charge pump and SPI connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Page 4: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

Overview UM0509

4/21

1 Overview

1.1 Recommended readingThis documentation describes how to configure and use the STPM01 programmer kit hardware. Additional information can be found in the following documents:

● Datasheets of ST devices

● Datasheets of third party devices

● Dedicated application notes

● STPM01 programmer firmware user manual

● STPowerMeter user manual

1.2 Getting technical supportTechnical 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 [email protected] and on www.st.com/meteringsupport.

Page 5: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 kit components

5/21

2 STPM01 kit components

2.1 Package checklistThe STPM01 kit package includes the following items:

● The STPM01 board

● A CD-ROM with software and documentation

2.2 DebugSoftware debug is via a standard 20-pin JTAG connection.

2.3 ResetThe reset sources are:

● Power-on reset

● Push-button reset

● JTAG reset from an in-circuit emulator

2.4 Power suppliesPower to the board is supplied using a lump in cord power supply providing 5 V to the 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-232A 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 connectorA devoted SPI connector allows interfacing the STPM01 device. It provides all the SPI signals required to communicate with the STPM01 interface registers. Moreover it provides a 24 V line which allows burning the STPM01 configuration registers.

Page 6: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

STPM01 kit 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

Page 7: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 kit components

7/21

2.9 Jumper position

Figure 2. Jumper position

Table 2. Jumpers (refer to Figure 1)

Jumper Description Default

J1

3.3 V power supply for external SRAM

– Fitted: power to the SRAM– Not fitted: no power to the SRAM

Fitted

J2Enable VBKP (stabitization for low power voltage)– Fitted: stabilization enabled

– Not fitted: 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 V

Not fitted

SW9

BOOT1:

– Fitted (1-2): 3.3 V– Fitted (2-3): GND

Not fitted

SW10BOOT0:– Fitted (1-2): 3.3 V

– Fitted (2-3): GND

Not fitted

Page 8: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

STPM01 kit components UM0509

8/21

2.10 Description of push-buttons and default value

2.11 Description of connectors

Figure 3. STPM01 programmer kit: placement of connectors

Table 3. Push-buttons (refer to Figure 1)

Jumper Description Default

SW1Wakeup:

– When pushed, wakes up microcontroller

SW2Application default:

– When pushed, forces default conditions

SW3Reset button:

– When pushed, forces microcontroller resetFitted

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

Page 9: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 kit components

9/21

2.12 Boot configuration

Table 5. Boot mode

BOOT EN

SW8

BOOT1

SW9

BOOT0

SW10Mode

BOOT memory mapping

Note

0 (1-2)) Any Any UserFlash mapped

at 0hSystem executes code 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) EXTMEMEXTMEM mapped at

0h

– System executes code from external memory

– Not allowed

Page 10: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

Connectors UM0509

10/21

3 Connectors

3.1 Power

Figure 4. Power jack connector: CN2

3.2 UARTx

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

Page 11: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 Connectors

11/21

3.3 Debug

Figure 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

Page 12: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

STPM01 programmer kit schematics UM0509

12/21

4 STPM01 programmer kit schematics

4.1 Microcontroller and main parts schematic

Figure 7. Microcontroller and main parts schematic

not R

eset

BO

OTE

N

+3V

3G

ND

TX_1

_I/0

0_ xT0_ xT JT

MS

DB

GR

QS

not R

eset

JTC

K

not J

TRS

T

JTD

OJT

DI

+3V

3G

ND

A1

A3

A4

A5

A6

A7

A8

A9

A10

A11

A12

A13

A16

A17

A18

CS

.1

A15

A14

D0

D12

D8

D9

D14

D5

D4

D7

D11

D3

D1

D10

D2

D15

D6

D13

+3V

3

GN

D

A2

nWE

0nW

E1

nRD

A19

VO

UT

+1V

8

VB

KP

+5V

+3V

3

GN

D

GN

D

+3V

3+5

V

+1V

8

WA

KE

UP

GN

DJT

DI

JTD

Ono

t JTR

ST

JTM

SJT

CK

MO

SI

SC

LK

MIS

OG

ND

not R

eset

DB

GR

QS

Rx_

0

+5V

+3V

3G

ND

+5V

P1.

0P

1.1

P1.

2P

0.10

P0.

7

+5V

+3V

3

P0.

0P

0.6

P0.

2P

0.4

P0.

5

+3V

3G

ND

+3V

3G

ND

CK

I TX

CTR

ITX

CTR

OTX

CTR

OTX

CTR

SYS

TEM

_DE

FAU

LT

WAKEUP

+3V3

VBKP

GN

D

not R

eset

GN

D

Tx_0

GN

D

RTC

XTI

JTM

S

126

P0.

2

P0.

4

P0.

0

RTC

XTO

P0.

1

SYS

TEM

_DE

FAU

LT

CK P

0.7

P0.

6

JTD

I

JTC

K

BO

OTE

N

not J

TRS

T

JTD

O

P0.

10

P0.

5

Rx_

0

DB

GR

QS

CS

.1

nRD

rn12

A23

A22

A0

A1

A2

A3

A4

A5

A6

A7

A8

A9

A10

A11

A12

A13

A14

A15

A16

A17

A18

A19

A20

A21

D15

D14

D13

D12

D11

D10

D9

D8

D7

D6

D5

D4

D3

D2

D1

D0

Cn

P1.

6

+1V8

VB

KP

rn13

nWE

0nW

E1

rn14

ORANGE

TX_1

_I/0

P1.

0P

1.1

P1.

2

7 11 12 18 23 24 25 26 27 28 29 75 76 85

19 20 37 39 41 43 48104

111

108

107

898874459091106

105

1101098770696860575653

66

VB

KP

+5V

+1V

8+3

V3

+3V

3

+3V

3

+3V

3

POW

ERES

D

��

��

��

��

��

��

����

��

��

��

��

��

��

���

��

��

����

����

����

����

����

����

����

���

��������

��������

��������

����

����

����

����

��������

POW

ER M

AN

AG

EMEN

T

GN

D

+3V3 +5V

+1V8

VBKP

R4

560

R4

560

U2

ES

DA

6V1-

5W6-

SO

T323

-6L

U2

ES

DA

6V1-

5W6-

SO

T323

-6L

I/O1

1

I/O2

3I/O

34

I/O4

5I/O

56

GN

D2

CH

AR

GE

PUM

P

Cha

rgeP

ump

+5V0

STR

7_O

TP_E

NST

R7_

SBS

STR

7_SB

G

GN

D

STPM

01_S

DA

STPM

01_S

CS

STPM

01_S

YNST

PM01

_SC

L

J9

Enable UART0 TX

J9

Enable UART0 TX12

EMI_

SRA

M

not C

S_SR

AMno

t OE

WE1

WE0D

0D

1D

2D

3D

4D

5D

6D

7

D13

D15

D12 D8

D14

D10 D9

D11

GN

D

+3V3

A1A2A3A4A5A6A7A8A9A11

A10

A12

A13

A14

A15

A16

A17

A18

A19

VOU

T

R1

560

R1

560

R5

22R5

22

R7

22R

722

SW

1M

OM

EN

TAR

YS

W1

MO

ME

NTA

RY

R9

22R

922

BO

OT

BO

OT

BOO

T_EN

SW2

SW1

+3V3

GN

D

U3

ES

DA

6V1-

5W6-

SO

T323

-6L

U3

ES

DA

6V1-

5W6-

SO

T323

-6L

I/O1

1

I/O2

3I/O

34

I/O4

5I/O

56

GN

D2

R3

560

R3

560

GENERAL USB SYSTEM RTC STS ADC CAN I2C0 SPI0 SPI1 UART0 UART1 UART2 DEBUG

TIMER1GPIO PORTEMI

SUPP

LY U1

STR

710F

Z2T6

-TQ

FP14

4

GENERAL USB SYSTEM RTC STS ADC CAN I2C0 SPI0 SPI1 UART0 UART1 UART2 DEBUG

TIMER1GPIO PORTEMI

SUPP

LY U1

STR

710F

Z2T6

-TQ

FP14

4

P2.0

/CS.

07

P2.1

/CS.

18

P2.2

/CS.

211

P2.3

/CS.

312

A.0

98A.

199

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

133

A.18

134

A.19

135

P2.4

/A.2

013

P2.5

/A.2

114

P2.6

/A.2

215

P2.7

/A.2

317

D.0

61D

.162

D.2

63D

.364

D.4

65D

.578

D.6

79D

.780

D.8

81D

.982

D.1

092

D.1

193

D.1

294

D.1

395

D.1

496

D.1

597

RD

2W

E.0

137

WE.

113

6

P2.8

18P2

.923

P2.1

024

P2.1

125

P2.1

226

P2.1

327

P2.1

428

P2.1

529

P1.4

/T1.

ICAP

A75

P1.5

/T1.

ICAP

B76

P1.6

/T1.

OC

MPB

77P1

.7/T

1.O

CM

PA85

VSS1 42VSS2 59VSS3 84VSS4 103VSS5 112VSS6 128VSS7 139VSS8 5VSS9 21

P0.15/WAKEUP47STBY51

V33.16V33.222V33.340V33.483V33.5104V33.6113

AVDD66

V18.158V18.2129

V18BKP55

CK

46P1

.886

P1.9

105

P1.1

0/U

SBC

LK10

6U

SBD

N91

USB

DP

90

RST

IN52

CKO

UT

45

RTC

XTI

49R

TCXT

O50

BOO

TEN

16JT

DI

30

JTM

S31

JTC

K32

JTD

O33

JTR

ST34

P1.0

/T3.

OC

MPB

/AIN

.071

P1.1

/T3.

ICAP

A/AI

N.1

72P1

.2/T

3.O

CM

PA/A

IN.2

73P1

.3/T

3.IC

APB/

AIN

.374

P1.1

1/C

ANR

X88

P1.1

2/C

ANTX

89

P1.1

3/H

CLK

/IO.S

CL

107

P1.1

4/H

CLK

/IO.S

CL

108

P1.1

4/H

TXD

111

P0.0

/S0.

MIS

O/U

3.TX

123

P0.1

/S0.

MO

SI/U

3.R

X12

4P0

.2/S

0.SC

LK/I1

.SC

L12

5P0

.3/S

0.SS

N/I1

.SD

A12

6

P0.4

/S1.

MIS

O12

7P0

.5/S

1.M

OSI

140

P0.6

/S1.

SCLK

141

P0.7

/S1.

SSN

142

P0.8

/U0.

RX/

U0.

TX14

3P0

.9/U

0.TX

/BO

OT.

014

4

P0.1

0/U

1.R

X/U

1.TX

1P0

.11/

U1.

TX/B

OO

T.1

3P0

.12/

SCC

LK4

P0.1

3/U

2.R

X/T2

.OC

MPA

9P0

.14/

U4.

TX/T

2.IC

APA

10

DBG

RO

S44

NC

35

TEST

136

TEST

238

VSSBKP 54AVSS 67

NC

19N

C20

NC

37N

C39

NC

41N

C43

NC

48

NC 53NC 56NC 57

NC 68NC 69NC 70NC 87NC 109NC 110

NC 60

V33.7138

R8

22R

822

RES

ETR

ESET

GN

D+3

V3

CLK

- R

TC

CLKC

KR

TCXT

IR

TCXT

O+3

V3G

ND

TP10

TP10 1

C49

10uF C

4910

uF

SW

2M

OM

EN

TAR

YS

W2

MO

ME

NTA

RY

C1

100nC

110

0n C2

100nC

210

0n

R2

560

R2

560

OPT

O IS

OLA

TED

UA

RT

UA

RTx

GN

D+3

V3+5

VTX

_0

RX_

0

JTA

G

JTM

Sno

t JTR

st

JTD

I

JTC

KJT

DO

DBG

RQ

Sno

t Res

et

+3V3

GN

D

R6

560

R6

560

SPI_

BU

FFER

SP

I_B

UFF

ER

GN

D

STR

7_R

EAD

_EN

STR

7_SC

S

STR

7_W

RIT

E_EN

STR

7_M

OSI

STR

7_M

ISO

STR

7_SC

LST

R7_

SYN

STPM

01_S

CS

STPM

01_S

DA

STPM

01_S

CLK

STPM

01_S

YN5V3.

3V

Page 13: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 programmer kit schematics

13/21

4.2 Power management

Figure 8. Power management schematic

+5V

+3V

3

+1V

8

+1V

8

+5V

+3V

3

GN

D

VB

KP

+5V

VB

KP

+1V

8+

5V+

3V3

+5V

J2

Ena

ble

VB

KP

J2

Ena

ble

VB

KP

12

J3

Ena

ble

1V8

J3

Ena

ble

1V8

12

D6

1N40

01

D6

1N40

01

C11

10n

50V

C11

10n

50V

R25

560

R25

560

CN

2

DC

-IN

9V

CN

2

DC

-IN

9V

1 2

C13

10n

50V

C13

10n

50V

C25

100n

25V

C25

100n

25V

D2 BLU

D2 BLU

J4 DC

-IN

9V

J4 DC

-IN

9V12

C22

10n

50V

C22

10n

50V

TP

3

TE

ST

PO

INT

TP

3

TE

ST

PO

INT

1

R26

560

R26

560

C17

100n

25V

C17

100n

25V

C24

47uF

C24

47uF

L1F

BE

AD

L1F

BE

AD

12

D3

YE

LLO

W

D3

YE

LLO

W

C20

10n

50V

C20

10n

50V

C15

100n

25V

C15

100n

25V R

2456

0R

2456

0

U5 LD

1085

18 -

D2P

AK

-A

U5 LD

1085

18 -

D2P

AK

-A

VO

UT

3V

IN2

GND 1

TP

4

TE

ST

PO

INT

TP

4

TE

ST

PO

INT

1

LF01

BN

X0

02

LF01

BN

X0

02

B3

PS

G1

CG

2

CG

5

CG

6

CB

4

D1

GR

EE

N

D1

GR

EE

N

U6 LD

1085

33 -

D2P

AK

-A

U6 LD

1085

33 -

D2P

AK

-A

VO

UT

3V

IN2

GND 1

Page 14: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

STPM01 programmer kit schematics UM0509

14/21

4.3 Reset and clock circuits

Figure 9. Reset and clock circuits

Page 15: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 programmer kit schematics

15/21

4.4 Boot management and Jtag circuit

Figure 10. Boot management and Jtag circuits

Page 16: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

STPM01 programmer kit schematics UM0509

16/21

Figure 11. Opto-isolated UART

Page 17: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 programmer kit schematics

17/21

4.5 External RAM memory

Figure 12. External RAM memory

Page 18: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

STPM01 programmer kit schematics UM0509

18/21

4.6 SPI signals buffering

Figure 13. SPI signals buffering

STR

7_S

CS

STR

7_W

RIT

E_E

NS

TR7_

MO

SI

scs3

V

STR

7_M

ISO

mis

o3V

sda5

V

STR

7_S

CL

STR

7_S

YN

STP

M01

_SC

S

read

_en3

Vre

ad_e

n

sclk

5V

syn5

V

scs5

V

rev_

0_c8

STP

M01

_SD

A

mos

i3V

R41 4.

7k

sda5

V

STP

M01

_SC

LK

3.3V

writ

e_en

3V

rev_

0_c1

0

STP

M01

_SY

N

5V5V

3.3V

syn3

VFR

OM

STR

7 T

O S

TP

M0

1

FR

OM

STP

M0

1 T

O S

TR

7

SP

I B

UFFE

R

sclk

3V

5V

5V

3.3V3.

3V

CH

AR

GE

PU

MP

SP

I SIG

NA

LS B

UFFE

R

SP

I B

UFFE

R

U15

M74

HC

126

1G1

1A2

1Y3

2G4

2A5

2Y6

GN

D7

VC

C14

4G13

4A12

4Y11

3G10

3A9

3Y8

U14

M74

HC

126

1G1

1A2

1Y3

2G4

2A5

2Y6

GN

D7

VC

C14

4G13

4A12

4Y11

3G10

3A9

3Y8

GN

D

STR

7_R

EA

D_E

N

Page 19: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509 STPM01 programmer kit schematics

19/21

4.7 Charge pump and SPI connector

Figure 14. Charge pump and SPI connector

VO

TP

ST

R7_

SB

G

ST

R7_

SB

S

SC

SS

TP

M01

_SD

A

SY

N

VO

TP

VO

TP

VO

TP

VO

TP

VO

TP

SC

L

ST

R7_

SB

GS

TR

7_O

TP

_EN

ST

R7_

SB

G

ST

R7_

SB

GS

TP

M01

_SC

SS

CS

ST

PM

01_S

CL

SC

L

ST

PM

01_S

YN

SY

N

ST

PM

01_S

YN

ST

R7_

OT

P_E

N

ST

PM

01_S

CS

ST

R7_

SB

S

ST

R7_

SB

GS

TP

M01

_SC

LS

TP

M01

_SD

AG

ND

+5V

0

ST

PM

01_S

YN

ST

R7_

OT

P_E

NS

TR

7_S

BS

ST

PM

01_S

CS

ST

R7_

SB

GS

TP

M01

_SC

LS

TP

M01

_SD

AG

ND

VC

C

VC

C

VC

CV

CC

VC

C

R30

12K

R30

12K

D5 BA

S70

-04/

SO

T

D5 BA

S70

-04/

SO

T

3

12

D4 BA

S70

-04/

SO

T

D4 BA

S70

-04/

SO

T3

12

C38

10n

C38

10n

C37

10n

C37

10n

C35

10n

C35

10n

R29

1KR29

1KR

2833

0R

2833

0

R27

47K

R27

47K

J8 CO

N3

J8 CO

N3

1 2 3C

32

1uC32

1u

Q4

BC

807-

25Q

4B

C80

7-25

3

2

1

Q3

BC

807-

25Q

3B

C80

7-25

3

2

1

C33

100n

FC

3310

0nF

C34

100n

FC

3410

0nF

+C

31 10uF

+C

31 10uF

C30

100n

FC

3010

0nF

U11

M74

HC

126

U11

M74

HC

126

1G1

1A2

1Y3

2G4

2A5

2Y6

GN

D7

VC

C14

4G13

4A12

4Y11

3G10

3A9

3Y8

J7 CO

N10

J7 CO

N10

1 3 5 7 9

2 4 6 8 10

U12

M74

HC

126

U12

M74

HC

126

1G1

1A2

1Y3

2G4

2A5

2Y6

GN

D7

VC

C14

4G13

4A12

4Y11

3G10

3A9

3Y8

U13

M74

HC

14

U13

M74

HC

14

1A1

1Y2

2A3

2Y4

3A5

3Y6

GN

D7

VC

C14

6A13

6Y12

5A11

5Y10

4A9

4Y8

R31

12K

R31

12K

C36

56p

C36

56p

Page 20: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

Revision history UM0509

20/21

5 Revision history

Table 8. Document revision history

Date Revision Changes

14-Mar-2008 1 Initial release

Page 21: UM0509 User manual - Digi-Key Sheets/ST Microelectronics PDFS... · um0509 user manual steval-ipe005v1, ... ck +3v3 gnd +3v3 gnd i t x c trit r o t x c tro t x c t r ... 100 a.3 101

UM0509

21/21

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, 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 noliability 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 thisdocument 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 productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird 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 IMPLIEDWARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIEDWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWSOF 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 NOTRECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAININGAPPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY,DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVEGRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER’S OWN RISK.

Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately voidany warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, anyliability 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.

© 2008 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 - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America

www.st.com