71M6521 Demo Board User’s Manual
Page: 44 of 111
© 2005-2009 TERIDIAN Semiconductor Corporation
Revision 2.18
1.10.5 CE CODE MEMORY LOCATIONS (71M6521DE/FE)
All CE memory locations are listed in the 71M6521DE/FE data sheet. These locations are listed again in
Table 1-16, along with the addresses used by the CLI and the physical addresses used by the hex records
interface. The corresponding CE address for the most significant byte is given by 4 x CLI_address
and 4 x CLI_address for the least significant byte.
CLI
Ad-
dress
Physical
Address
Name
Default
Description
0x08
0x1020
CAL_IA
16384
These constants control the gain of their respective channels.
The nominal value for each parameter is 2
14
= 16384. The gain
of each channel is directly proportional to its CAL parameter.
Thus, if the gain of a channel is 1% slow, CAL should be scaled
by 1/(1 – 0.01).
0x09
0x1024
CAL_VA
16384
0x0A
0x1028
CAL_IB
16384
0x0B
0x102C
CAL_VB
16384
0x0C
0x1030
PHADJ_A
0
These two constants control the CT phase compensation. No
compensation occurs when
PHADJ_X
= 0. As
PHADJ_X
is
increased, more compensation (lag) is introduced. Range:
±
2
15
–
1.
0x0D
0x1034
PHADJ_B
0
0x0E
0x1038
APULSEW
0
Watt pulse generator input (see
DIO_PW
bit). The output pulse
rate is:
APULSEW
* F
S
* 2
-32
*
WRATE * X
* 2
-14
. This input is
buffered and can be loaded during a computation interval. The
change will take effect at the beginning of the next interval.
0x0F
0x103C
APULSER
0
VAR pulse generator input (see
DIO_PV
bit). The output pulse
rate is:
APULSER
* F
S
*2
-32
*
WRATE * X
* 2
-14
. This input is
buffered and can be loaded during a computation interval. The
change will take effect at the beginning of the next interval.
0x10
0x1040
CESTATE
0x5020
See description of
CESTATE
below
0x11
0x1044
WRATE
122
Kh =
VMAX
*
IMAX
*47.1132
/
(
In_8
*
WRATE
*N
ACC
*X) Wh/pulse.
The default value results in a Kh of 3.2 Wh/pulse when 2520
samples are taken in each accumulation interval (and
VMAX=600, IMAX = 208, In_8 = 1, X = 6).
0x12
0x1048
GAIN_ADJ
16384
Scales all voltage and current inputs. 16384 provides unity gain.
0x13
0x104C
QUANTA
0
This parameter is added to the Watt calculation for element 0 to
compensate for input noise and truncation.
LSB = (
VMAX
*
IMAX / In_8
) *7.4162*10
-10
W
0x14
0x1050
SAG_THR
443000
The threshold for sag warnings. The default value is equivalent
to 80V RMS if VMAX = 600V. The LSB value is VMAX *
4.255*10
-7
V (peak).
0x15
0x1054
QUANT_VARA
0
This parameter is added to the VAR calculation for element A to
compensate for input noise and truncation.
0x16
0x1058
QUANT_I
0
This parameter is added to compensate for input noise and
truncation in the squaring calculations for I
2
and V
2
.
0x18
0x1060
QUANTB
0
This parameter is added to the Watt calculation for element 1 to
compensate for input noise and truncation. Same LSB as
QUANTA.
0x19
0x1064
CRV0
0
Smoothing factors for low currents on element 0 and 1.
I
RMS
is the operating RMS current.
0x1A
0x1068
CRV1
0
0x1B
0x106C
QUANT_VARB
0
This parameter is added to the VAR calculation for element B to
compensate for input noise and truncation.