Cs5490 – Cirrus Logic CS5490 User Manual
Page 34

CS5490
34
DS982F3
6.6.3 Configuration 2 (Config2)
–
Page 16, Address 0
Default = 0x10 0200
[23]
Reserved.
POS
Positive energy only. Suppress negative values in P
AVG
. If a negative value is calculated,
a zero result will be stored.
0 = Positive and negative energy (Default)
1 = Positive energy only
[21:15]
Reserved.
APCM
Selects the apparent power calculation method.
0 = V
RMS
x I
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
REG_CSUM_OFF Disable checksum on critical registers.
0 = Enable checksum on critical registers (Default)
1 = Disable checksum on critical registers
AFC
Enables automatic line frequency measurement which sets Epsilon every time a new line
frequency measurement completes. Epsilon is used to control the gain of 90° phase shift
integrator used in quadrature power calculations.
0 = Disable automatic line frequency measurement
1 = Enable automatic line frequency measurement (Default)
[8:5]
Reserved.
IFLT[1:0]
Filter enable for current channel.
00 = No filter (Default)
01 = High-pass filter (HPF) on current channel
10 = Phase-matching filter (PMF) on current channel
11 = Rogowski coil integrator (INT) on current channel
VFLT[1:0]
Filter enable for voltage channel.
00 = No filter (Default)
01 = High-pass filter (HPF) on voltage channel
10 = Phase-matching filter (PMF) on voltage channel
11 = Reserved
IIR_OFF[0]
Bypass IIR filter.
0 = Do not bypass IIR filter (Default)
1 = Bypass IIR filter
23
22
21
20
19
18
17
16
-
POS
-
1
-
0
0
-
15
14
13
12
11
10
9
8
-
APCM
-
ZX_LPF
AVG_MODE REG_CSUM_OFF
AFC
0
7
6
5
4
3
2
1
0
0
0
0
IFLT[1]
IFLT[0]
VFLT[1]
VFLT[0]
IIR_OFF