Address 0, Cs5480, 3 configuration 2 (config2) – Cirrus Logic CS5480 User Manual
Page 40: Page 16, address 0

CS5480
40
DS980F3
6.6.3 Configuration 2 (Config2)
–
Page 16, Address 0
Default = 0x00 0200
VFIX
Use internal RMS voltage reference instead of voltage input for average active power.
0 = Use voltage input. (Default)
1 = Use internal RMS voltage reference (VF
RMS
).
POS
Positive energy only. Suppress negative values in P1
AVG
and P2
AVG
. If a negative
value is calculated, a zero result will be stored.
0 = Positive and negative energy (Default)
1 = Positive energy only
ICHAN
Chooses which current channel is used for the P
SUM
, Q
SUM
, S
SUM
registers.
Applicable only when MCFG[1:0] = 00 and IHOLD = 1.
0 = P
SUM
, Q
SUM
, and S
SUM
registers are driven by current channel 1 (P1) (Default)
1 = P
SUM
, Q
SUM
, and S
SUM
registers are driven by current channel 2 (P2).
IHOLD
IHOLD suspends automatic channel selection for total power calculations. Applicable
only when MCFG[1:0] = 00.
0 = Energy channel selected automatically by magnitude compare and on IVSP bit
(Default)
1 = Energy channel selected by user and depend on ICHAN configuration
Refer to Channel Select Level and Channel Select Minimum Amplitude registers
(Ichan
LEVEL
) and P
MIN
(IRMS
MIN
) for the magnitudes compared.
IVSP
Use I
RMS
results instead of P
AVG
for automatic energy channel selection. Applicable
only when MCFG[1:0] = 00 and IHOLD = 0.
0 = Use P1
AVG
and P2
AVG
instead of I1
RMS
and I2
RMS
(Default)
1 = Use I1
RMS
and I2
RMS
instead of P1
AVG
and P2
AVG
MCFG[1:0]
Meter Configuration bits are used to control how the meter interprets the current
channels when calculating total power — independently or collectively.
00 = 1V, 1I + Neutral mode;
P
SUM
= P1
AVG
or P2
AVG
, Q
SUM
= Q1
AVG
or Q2
AVG
, S
SUM
= S1 or S2
(Default)
01 = 1V, 2I mode;
P
SUM
= (P1
AVG
+P2
AVG
)/2, Q
SUM
=(Q1
AVG
+Q2
AVG
)/2, S
SUM
=(S1+S2)/2
10 = Reserved
11 = Reserved
[16:15]
Reserved.
APCM
Selects the apparent power calculation method.
0 = Vx
RMS
x Ix
RMS
(Default)
1 = SQRT(P
AVG
2
+ Q
AVG
2
)
[13]
Reserved.
ZX_LPF
Enable LPF in zero-cross detect.
0 = LPF disabled (Default)
1 = LPF enabled
AVG_MODE
Select averaging mode for low-rate calculations.
0 = Use SampleCount (Default)
1 = Use CycleCount
23
22
21
20
19
18
17
16
VFIX
POS
ICHAN
IHOLD
IVSP
MCFG[1]
MCFG[0]
-
15
14
13
12
11
10
9
8
-
APCM
-
ZX_LPF
AVG_MODE REG_CSUM_OFF
AFC
I2FLT[1]
7
6
5
4
3
2
1
0
I2FLT[0]
V2FLT[1]
V2FLT[0]
I1FLT[1]
I1FLT[0]
V1FLT[1]
V1FLT[0]
IIR_OFF