STEVAL-IPE012V1 STMicroelectronics, STEVAL-IPE012V1 Datasheet - Page 31

no-image

STEVAL-IPE012V1

Manufacturer Part Number
STEVAL-IPE012V1
Description
EVAL BOARD ENERGY METER
Manufacturer
STMicroelectronics
Series
-r

Specifications of STEVAL-IPE012V1

Design Resources
STEVAL-IPE012V1 Schematic STEVAL-IPE012V1 BOM
Main Purpose
Power Management, Energy/Power Meter
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
STPM10BTR, STM8L152
Primary Attributes
Single Phase with 1 Current Transformer & Shunt
Secondary Attributes
Tamper Detection
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
497-11462
STPM10
Table 12.
7.19
4
5
6
7
Precharge
Reserved
Reserved
CSEL
Mode signal description (continued)
SPI interface
The SPI interface supports a simple serial protocol, which is implemented to enable
communication between some master system (microcontroller or PC) and the device.
Three tasks can be performed with this interface:
Four pins of the device are dedicated to this purpose: SCS, SYN, SCL and SDA.
SCS, SYN and SCL are all input pins, while SDA can be input or output according to
whether the SPI is in write or read mode. A high-level signal for these pins means a voltage
level higher than 0.75 x VCC, while a low-level signal means a voltage value lower than 0.25
x VCC.
The internal registers are not directly accessible. Instead, 32 bits of transmission latches are
used to pre-load the data before being read or written to the internal registers.
The condition in which SCS, SYN and SCL inputs are set to high level determines the idle
state of the SPI interface, and no data transfer occurs.
– CSEL: In normal operation, if the anti-tamper module is not activated (see PST
– Precharge: This command swaps the sequence of data records read, allowing the
– BANK : it is used to activate RC oscillator (see
configuration bits) the STPM10 selects channel 1 as the source of current
information. For debug or calibration purposes it is possible to select channel 2 as the
source of the current channel signal when the tamper module is disabled. This is
done by setting the CSEL mode bit.
reading of the last four data records first, and the first four second. The reading
sequence is 5, 6, 7, 8, 1, 2, 3, 4. Unlike the other mode signals, the precharge
command is not retained inside the STPM10, but should be sent each time before the
reading of the data records.
1
0
1
remote resetting of the device
reading data records
writing the mode bits and the configuration bits
SCS: enables SPI operation when low.
SYN: operates different functions according to the status of the SCS pin. When
SCS is low, the SYN pin status selects if the SPI is in read (SYN = 1) or write
mode (SYN = 0). When the SCS is high and SYN is also high, the results of the
input or output data are transferred to the transmission latches.
SCL: basically the clock pin of the SPI interface. This pin function is also controlled
by the SCS status. If SCS is low, SCL is the input of the serial bit synchronization
Current channel 1 selected when tamper is disabled
Current channel 2 selected when tamper is disabled
Swap the 32-bit data record readings. From
1,2,3,4,5,6,7,8, to 5,6,7,8,1,2,3,4 and vice-versa
Doc ID 17728 Rev 3
Chapter 7.11.1
0111 100x
1111 100x
1111111x
).
Theory of operation
F8 or F9
78 or 79
FF
31/51

Related parts for STEVAL-IPE012V1