beautypg.com

Cs5480, 68 dc offset for current (i1, 69 dc offset for voltage (v1 – Cirrus Logic CS5480 User Manual

Page 60: 70 gain for current (i1, 71 gain for voltage (v1, 72 average active power offset (p1

background image

CS5480

60

DS980F3

6.6.68 DC Offset for Current (I1

DCOFF

, I2

DCOFF

)

Page 16, Address 32, 39

Default = 0x00 0000

DC offset registers I1

DCOFF

and I2

DCOFF

are initialized to zero on reset. During DC offset calibration, selected

registers are written with the inverse of the DC offset measured. The application program can also write the
DC offset register values. 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.

6.6.69 DC Offset for Voltage (V1

DCOFF

, V2

DCOFF

)

Page 16, Address 34, 41

Default = 0x00 0000

DC offset registers V1

DCOFF

and V2

DCOFF

are initialized to zero on reset. During DC offset calibration, select-

ed registers are written with the inverse of the DC offset measured. The application program can also write
the DC offset register values. 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.

6.6.70 Gain for Current (I1

GAIN

, I2

GAIN

)

Page 16, Address 33, 40

Default = 0x40 0000 (1.0)

Gain registers I1

GAIN

and I2

GAIN

are initialized to 1.0 on reset. During gain calibration, selected registers are

written with the multiplicative inverse of the gain measured. These are unsigned, fixed-point values in the
range of 0

value4.0, with the binary point to the right of the second MSB.

6.6.71 Gain for Voltage (V1

GAIN

, V2

GAIN

)

Page 16, Address 35, 42

Default = 0x40 0000 (1.0)

Gain registers V1

GAIN

and V2

GAIN

are initialized to 1.0 on reset. During gain calibration, selected register are

written with the multiplicative inverse of the gain measured. These are unsigned fixed-point values in the
range of 0

value4.0, with the binary point to the right of the second MSB.

6.6.72 Average Active Power Offset (P1

OFF

, P2

OFF

)

Page 16, Address 36, 43

Default = 0x00 0000
Average Active Power offset P1

OFF

(P2

OFF

) is added to averaged power to yield P1

AVG

(P2

AVG

) register re-

sults. It can be used to reduce systematic energy errors. 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.

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

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

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

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