Cs5490, 54 temperature offset (t, 55 calibration scale (scale) – Cirrus Logic CS5490 User Manual
Page 51: 56 zero-crossing number (zx, 57 v-channel zero-crossing threshold (vzx, 58 i-channel zero-crossing threshold (izx
CS5490
DS982F3
51
6.6.54 Temperature Offset (T
OFF
)
–
Page 16, Address 55
Default = 0xD5 3998
Register T
OFF
is used to offset the Temperature register (T), and is a two's complement value in the range of
-128.0
value128.0 (°C), with the binary point to the right of bit 16.
Register T can be rescaled by the application using the T
GAIN
and T
OFF
registers. Refer to section
on page 54 for more information.
6.6.55 Calibration Scale (Scale)
–
Page18, Address 63
Default = 0x4C CCCC (0.6)
The Scale register is used in the gain calibration to set the level of calibrated results of I-channel RMS. During
gain calibration, the I
RMS
results register is divided into the Scale register. The quotient is put into the I
GAIN
register. It is a two's complement value in the range of -1.0
value 1.0, with the binary point to the right of
the MSB. Negative values are not used.
6.6.56 Zero-crossing Number (ZX
NUM
)
–
Page 0, Address 55
Default = 0x00 0064 (100)
ZX
NUM
is the number of zero crossings used for line frequency measurement. It is an integer in the range of
1 to 8,388,607. Zero should not be used.
6.6.57 V-channel Zero-crossing Threshold (VZX
LEVEL
)
–
Page 18, Address 58
Default = 0x10 0000 (0.125)
VZX
LEVEL
is the level that the peak instantaneous voltage must exceed for the zero-crossing detection to
function. This is a two's complement value in the range of -1.0
value<1.0, with the binary point to the right of
the MSB. Negative values are not used.
6.6.58 I-channel Zero-crossing Threshold (IZX
LEVEL
)
–
Page 18, Address 24
Default = 0x10 0000 (0.125)
IZX
LEVEL
is the level that the peak instantaneous current must exceed for the zero-crossing detection to func-
tion. This is a two's complement value 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
7
)
2
6
2
5
2
4
2
3
2
2
2
1
2
0
.....
2
-10
2
-11
2
-12
2
-13
2
-14
2
-15
2
-16
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
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
-(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
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