Energy Meter IC Family Software Instruction Manual

71M652X Software User’s Guide
Revision 1.7 TERIDIAN Proprietary 45 of 138
© Copyright 2005-2007 TERIDIAN Semiconductor Corporation
Feature
Feature Code
Size
8KB 16KB 32KB Description
FLAG interface
protocol
2.5KB N N/opt N/opt Implements the FLAG protocol stack (see the FLAG
specification). The FLAG protocol reads and writes
registers in the meter and responds to all ports.
Reception of
calibration
parameters via
the serial interface
2.0KB Y Y Y Simple serial calibration system that supports reading
data and writing calibration values, including CE data,
MPU calibration and RTC settings. Meter operation is
not required when this feature is in use. Intel hex
records are used.
Count of
calibrations since
first cold reset.
01.KB Y Y Y Counts calibrations. 0..254, 255 = “many”. The count
is protected by a checksum. The first cold reset is
detected by an invalid EEPROM. This is a tamper-
detection feature.
Auto-calibration 3.5KB N N/opt Y Internal automatic calibration, from command line
interface if available, or DIO state at start. Calibration
adjusts phase, as in the “fast calibration” described in
the DBUM.
Command Line
Interface (CLI)
14KB N N Y Text-based commands give access to CE data, RAM,
IO registers. No help, profile or load features.
Versions without CLI can be controlled with
IOMERGE. The command line interface’s space is to
be counted as “unused” when calculating code space
margin.
Optical FLAG 1.2KB N N/opt N/opt Implementation of the physical FLAG layer on UART
1, 300 BAUD, using pulse output
Wired FLAG 1.2KB N N/opt N/opt Implementation of the physical FLAG layer on UART
0, 9600 BAUD,
Save registers
when sag occurs
0.75KB Y Y Y Saves power and error registers on sag detection.
Save to flash
memory
0.9KB N/opt N/opt N/opt Compilation option to save calibration, error and
power register data to internal flash.
When a flash area is used-up, it is marked, and the
next one is used. When all areas are used up, an
error is recorded and write operations are inhibited.
Save to and
restore from
EEPROM
0.7KB Y Y Y Saves and restores calibration, error and power
register data to and from EEPROM.
When an EEPROM area is used-up, it is marked, and
the next one is used. When all areas are used up, an
error is recorded and write operations are inhibited.
Checksum 0.2KB Y Y Y Each revenue-affecting data area is protected by a
simple checksum