18 system gain (g) – address: 28, 19 system time (time) – address: 29, Cs5464 – Cirrus Logic CS5464 User Manual
Page 38: 4 page 2 registers, 18 system gain (g), Address: 28, 19 system time (time), Address: 29, 1 voltage sag and current fault duration (v1sag, V2sag

CS5464
38
DS682F3
8.3.18 System Gain (G)
–
Address: 28
Default = 1.25
System Gain (G) is applied to all channels. By default, G = 1.25, but can be finely adjusted to compensate for
voltage reference error. It is a two's complement value in the range of -2.0
value 2.0, with the binary point to
the right of the second MSB. Values should be kept within 5% of 1.25.
8.3.19 System Time (Time)
–
Address: 29
Default = 0
System Time (Time) is measured in output word rate (OWR) samples. This is an unsigned integer in the range
of 0 to 16,777,215 samples. At 4.0 kHz, OWR it will overflow every 1 hour, 9 minutes, and 54 seconds. Time
can be used by the application to manage real-time events.
8.4 Page 2 Registers
8.4.1 Voltage Sag and Current Fault Duration (V1Sag
DUR
, V2Sag
DUR ,
I1Fault
DUR ,
I2Fault
DUR
)
Address: 0 (V1Sag
DUR
), 8 (V2Sag
DUR
), 4 (I1Fault
DUR
), 12 (I2Fault
DUR
)
Default = 0
Voltage sag duration, V1Sag
DUR
(V2Sag
DUR
) and current fault
duration
,
I1Fault
DUR
(
I2Fault
DUR
) determine the
count of output word rate (OWR) samples utilized to determine a sag or fault event. These are integers in the
range of 0 to 8,388,607 samples. A value of zero disables the feature.
8.4.2 Voltage Sag and Current Fault Level (V1Sag
LEVEL
, V2Sag
LEVEL
, I1Fault
LEVEL
, I2Fault
LEVEL
)
Address: 1 (V1Sag
LEVEL
), 9 (V2Sag
LEVEL
), 5 (I1Fault
LEVEL
), 13 (I2Fault
LEVEL
)
Default = 0
Voltage sag level, V1Sag
LEVEL
(V2Sag
LEVEL
) and current fault level, I1Fault
LEVEL
(I2Fault
LEVEL
) establish an
input level below which a sag or fault is triggered These are two's complement values in the range of
-1.0
value 1.0, with the binary point to the right of the MSB. Negative values are not used.
MSB
LSB
-(2
1
)
2
0
2
-1
2
-2
2
-3
2
-4
2
-5
2
-6
.....
2
-16
2
-17
2
-18
2
-19
2
-20
2
-21
2
-22
MSB
LSB
2
23
2
22
2
21
2
20
2
19
2
18
2
17
2
16
.....
2
6
2
5
2
4
2
3
2
2
2
1
2
0
MSB
LSB
0
2
22
2
21
2
20
2
19
2
18
2
17
2
16
.....
2
6
2
5
2
4
2
3
2
2
2
1
2
0
MSB
LSB
-(2
0
)
2
-1
2
-2
2
-3
2
-4
2
-5
2
-6
2
-7
.....
2
-17
2
-18
2
-19
2
-20
2
-21
2
-22
2
-23