![Teridian 71M6513 User Manual Download Page 34](http://html1.mh-extra.com/html/teridian/71m6513/71m6513_user-manual_1088921034.webp)
71M6513/71M6513H Demo Board User’s Manual
Page: 34 of 112
©
2005-2006 TERIDIAN Semiconductor Corporation
Revision 5.6
1.10.2 DEMO CODE MPU PARAMETERS
In the Demo Code, certain MPU
XRAM
parameters have been given fixed addresses in order to permit easy
external access. These variables can be read via the serial interface, as described in section 1.7.1, with the
)n$
command and written with the
)n=xx
command where n is the word address. Note that accumulation variables
are 64 bits long and are accessed with
)n$$
(read) and
)n=hh=ll
(write) in the case of accumulation variables.
Default values are the values assigned by the Demo Code on start-up.
MPU INPUT PARAMETERS
All MPU Input Parameters are loaded by the MPU at startup and should not need adjustment during meter
calibration.
MPU Input Parameters for Metering
XRAM
Word
Address
Default
Value
Name
Description
0x00 5917
WCREEP_THR
For each element, if
WSUM_X
or
VARSUM_X
of that element exceeds
WCREEP_THR
, the sample values for that element are not zeroed.
Otherwise, the accumulators for Wh, VARh, and VAh are not updated
and the instantaneous value of IRMS for that element is zeroed.
LSB = 9.4045*10
-13
VMAX IMAX Wh
Demo Code revision 3.04: The default value is 1536.
Demo Code revision 3.05:
The default value 5917 is equivalent to
2.5Wh/h.
0x01 0
CONFIG
Bit 0: Sets VA calculation mode.
0: V
RMS
*A
RMS
1:
2
2
VAR
W
+
Bit 1: Clears accumulators for Wh, VARh, VAh. This bit need not be
reset.
0x02 136105056
PK_VTHR
Demo Code revision 3.04: Not implemented (default = 0)
Demo Code revision 3.05:
When the voltage exceeds this value, bit 5
in the MPU status word is set, and the MPU might choose to log a
warning. Event logs are not implemented in Demo Code.
LSB = 9.4045*10
-13
*VMAX
2
V
2
h
RMS
The default value of 136105056 is equivalent to 407.3V
RMS
if VMAX =
600V and a 1-second accumulation interval is used.
0x03 17695797
PK_ITHR
Demo Code revision 3.04: Not implemented (default = 0)
Demo Code revision 3.05:
When the current exceeds this value, bit 6
in the MPU status word is set, and the MPU might choose to log a
warning. Event logs are not implemented in Demo Code.
LSB = 9.4045*10
-13
*IMAX
2
V
2
h
RMS
The default value of 17695797 is equivalent to 50.9A
RMS
if IMAX =
208A and a 1-second accumulation interval is used.
http://www.datasheetcatalog.com/