beautypg.com

3 program flow, Program flow, Table 5-9: calibration and various services – Maxim Integrated 71M6534 Energy Meter IC Family Software User Manual

Page 51

background image

71M653X Software User’s Guide

Feature

Feature

Code

Size

1

φ

3

φ

Description

Reception of
calibration
parameters via
the serial interface

2.0KB

Y

Y

Simple serial calibration system to read and set data
and 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

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 Y

Y Internal

automatic calibration, from command line

interface. Calibration adjusts phase, as in the “fast
calibration” described in the DBUM.

Command Line
Interface (CLI)

23KB

Y

Y

Text-based commands give access to CE data, RAM,
IO registers. Includes on-line help. No profile or load
features..

Save registers
when sag occurs

0.75KB

Y

Y

Saves power and error registers on sag detection.

Save to flash
memory

0.9KB 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

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

Each

revenue-affecting data area is protected by a

simple checksum

0.4KB

Y

Y

Errors are recorded. Error data is protected by a
checksum. The time stamp (minute, hour, day and
month of assertion) and the bit number of the five
most recent errors are saved.

Error recording
and saving

Microwire
EEPROM

0.2KB N/opt N/opt

Compilation option

I2C EEPROM

0.2KB

Y

Y

For an Atmel AT24C256.

Table 5-9: Calibration and Various Services

5.3 PROGRAM FLOW

This section should be read with a PC that has demo code’s source code installed. This section is supposed to help
you learn to find and change things in the demo code, not just learn theory.

So please, put the demo code sources on a PC now, and sit next to it!

v1.1v1.1

TERIDIAN Proprietary

51 of 116

© Copyright 2005-2008 TERIDIAN Semiconductor Corporation

This manual is related to the following products: