Cs5480, 64 temperature (t), Page 16, address 27 – Cirrus Logic CS5480 User Manual

Page 59: 65 total active power (p, Page 16, address 29, 66 total apparent power (s, Page 16, address 30, 67 total reactive power (q, Page 16, address 31

Advertising
background image

CS5480

DS980F3

59

6.6.64 Temperature (T)

Page 16, Address 27

Default = 0x00 0000

T contains results from the on-chip temperature measurement.

By default, T uses the Celsius scale, and is a two's complement value in the range of -128.0

value128.0

(°C), with the binary point to the right of bit 16. Negative values are not used.

T can be rescaled by the application using the T

GAIN

and T

OFF

registers.

6.6.65 Total Active Power (P

SUM

)

Page 16, Address 29

Default = 0x00 0000

P

SUM

= P1

AVG

+P2

AVG

if MCFG[1:0] = 01

P

SUM

= P1

AVG

or P2

AVG

if MCFG[1:0] = 00

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.

6.6.66 Total Apparent Power (S

SUM

)

Page 16, Address 30

Default = 0x00 0000

S

SUM

= S1+S2 if MCFG[1:0] = 01

S

SUM

= S1 or S2 if MCFG[1:0] = 00

This is an unsigned value in the range of 0

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

6.6.67 Total Reactive Power (Q

SUM

)

Page 16, Address 31

Default = 0x00 0000

Q

SUM

= Q1

AVG

+Q2

AVG

if MCFG[1:0] = 01

Q

SUM

= Q1

AVG

or Q2

AVG

if MCFG[1:0] = 00

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.

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

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

Advertising