STPMC1 ST Microelectronics, STPMC1 Datasheet - Page 3
STPMC1
Manufacturer Part Number
STPMC1
Description
Programmable poly-phase energy calculator IC
Manufacturer
ST Microelectronics
Datasheet
1.STPMC1.pdf
(76 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
www.DataSheet4U.com
STPMC1
10
9.11
9.12
9.13
9.14
9.15
9.16
9.17
9.18
9.19
9.20
9.21
Energy calculation algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
10.1
10.2
9.10.3
9.10.4
Energy to frequency conversion (configuration bits: APL, KMOT,
LVS, FUND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Using STPMC1 in microcontroller based meter - peripheral
operating mode (configuration bits: APL, KMOT, LVS, FUND) . . . . . . . . . 32
Driving a stepper motor - standalone operating mode
(configuration bits: APL, LVS, KMOT) . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Negative power accumulation (configuration bit ABS, status bit SIGN) . . 35
Phase delay calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Calibration (configuration bits: PM, TCS, CIX, CVX, CCA, CCB, CPX) . . 38
9.16.1
9.16.2
9.16.3
Data records map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
9.17.1
9.17.2
9.17.3
9.17.4
9.17.5
9.17.6
9.17.7
9.17.8
Status bits map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuration bits map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Mode signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
SPI interface (configuration bit SCLP) . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
9.21.1
9.21.2
9.21.3
9.21.4
9.21.5
Active energy calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Reactive energy calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Phase active powers do not have the same sign (status bit BIF) . . . . . 30
EMI is detected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Voltage and current channels calibration . . . . . . . . . . . . . . . . . . . . . . . . 38
Phase compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Mutual current compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Group 0 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Group 1 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Group 2 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Group 3 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Group 4 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Group 5 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Group 6 data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Parity calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Remote reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Reading data records . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Writing procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Interfacing the standard 3-wire SPI with STPMC1 SPI . . . . . . . . . . . . . 63
Permanent writing of the CFG bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Doc ID 15728 Rev 1
Contents
3/76