STEVAL-IPE012V1 STMicroelectronics, STEVAL-IPE012V1 Datasheet - Page 18

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
Single-phase energy meter features
6.6
6.6.1
6.6.2
18/34
62056-21 IrDA protocol mode C
The STEVAL-IPE012V1 demonstration board supports 62056-21 IrDA protocol mode C.
IrDA is used as the communication channel for reading meter data. In such systems, a
handheld unit (HHU) or a unit with equivalent functions is connected to a tariff device
(energy meter). The protocol offers five alternative protocol modes, A, B, C, D and E. This
user manual covers mode C use. In mode C, data exchange is bi-directional and is always
initiated by the HHU with the transmission of a request message. In this mode, the HHU acts
as a master and the tariff device acts as a slave. These protocol modes permit meter
reading, manufacturer specific operation and programming mode. It is designed to be highly
suitable for electricity metering environments, particularly with regards to electrical isolation
and data security.
IrDA modes
SerialIO GUI
The SerialIO GUI can be used as the test GUI for 62056-21 IrDA protocol mode C
implementation. Here, the protocol is tested using serial communication. For this testing, a
daughter board with an RS232 converter is required to map PC serial data signals to 3.4 V
data signals of the board.
Steps for serial communication based protocol testing:
1.
2.
3.
4.
Data read out mode
In data read out mode, the tariff device responds with all the data logged in EEPROM
as per EEPROM data structure (refer to
sequence of data lines separated by carriage return (CR) and line feed (LF).
Manufacturer specific mode
In manufacturer specific mode, RTC date and time setting is done
Programming mode
In programming mode, as per the protocol, data read and write can be done at different
locations of EEPROM.
Demount R41 and R42 from board
Comment “#defines IRDA_MODE_ENABLE” in “emter_irda.h”
Connect the RS232 daughter board as shown in
Write data into the SerialIO GUI data box and send.
Doc ID 17778 Rev 1
Section
7). Each data block consists of a
Figure 6
UM0981

Related parts for STEVAL-IPE012V1