Address 0, Cs5484 – Cirrus Logic CS5484 User Manual
Page 38

CS5484
38
DS981F3
DO1MODE[3:0]
Output control for DO1 pin.
0000 = Energy pulse generation block 1 (EPG1) output
0001 = Energy pulse generation block 2 (EPG2) output
0010 = Energy pulse generation block 3 (EPG3) output
0011 = Energy pulse generation block 4 (EPG4) output
0100 = P1 sign
0101 = P2 sign
0110 = P
SUM
sign
0111 = Q1 sign
1000 = Q2 sign
1001 = Q
SUM
sign
1010 = Reserved
1011 = V1/V2 zero-crossing
1100 = I1/I2 zero-crossing
1101 = Reserved
1110 = Hi-Z, pin not driven (Default)
1111 = Interrupt
6.6.3 Configuration 2 (Config2) – Page 16, Address 0
Default = 0x06 0200
[23]
Reserved.
POS
Positive energy only. Suppress negative values in P1
AVG
and P2
AVG
. If a negative val-
ue 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 = Vx
RMS
Ix
RMS
(Default)
1 = SQRT(Px
AVG
2
+ Qx
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
23
22
21
20
19
18
17
16
-
POS
-
-
-
1
1
-
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