beautypg.com

Table 1-7: mpu status word bit assignment – Maxim Integrated 71M6533-DB User Manual

Page 32

background image

71M6533-

DB Demo Board User’s Manual

Page: 32 of 75

`

REV 3

Status

Word Bit

Name

DESCRIPTION

20

POWER_BAD

Set after reset when the read of the power register data has a bad
longitudinal redundancy check or read failure in both copies. Two copies
are used because a power failure can occur while one of the copies is
being updated.

21

GNDNEUTRAL

Indicates that a grounded neutral was detected.

22

TAMPER

Tamper was detected †**

23

SOFTWARE

A software defect was detected.

25

SAGA

Element A has a sag condition. This bit is set in real time by the CE and
detected by the ce_busy interrupt (ce_busy_isr() in ce.c) within 8 sample
intervals, about 2.6ms. A transition from normal operation to SAGA
causes the power registers to be saved, because the demo PCB is
powered from element A.

26

SAGB

Element B has a sag condition. This bit is set in real time by the CE and
detected by the ce_busy interrupt (ce_busy_isr() in ce.c) within 8 sample
intervals, about 2.6ms.

27

SAGC‡

Element C has a sag condition. See the description of the other sag bits.

28

F0_CE

A square wave at the line frequency, with a jitter of up to 8 sample
intervals, about 2.6ms.

31

ONE_SEC

Changes each accumulation interval.

Table 1-7: MPU Status Word Bit Assignment

MPU ACCUMULATION OUTPUT VARIABLES

Accumulation values are accumulated from XFER cycle to XFER cycle (see Table 1-8). They are organized as
two 32-bit registers. The first register stores the decimal number displayed on the LCD. For example, if the LCD
shows “001.004”, the value in the first register is 1004. This register wraps around after the value 999999 is
reached. The second register holds fractions of the accumulated energy, with an LSB of
9.4045*10

-13

*VMAX*IMAX*In_8 Wh.

The MPU accumulation registers always hold positive values.

The CLI commands with two question marks, e.g.

)39??

should be used to read the variables.

XRAM

Word

Address

Name

Description

0x2C

Whi

Total Watt hours consumed (imported)

0x44

Whe

Total Watt hours generated (exported)

0x34

VARhi

Total VAR hours consumed

0x4C

VARhe

Total VAR hours generated (inverse consumed)

0x3C

VAh

Total VA hours

0x2E

Whi_A

Total Watt hours consumed through element 0

0x46

Whe_A

Total Watt hours generated (inverse consumed) through element 0

0x36

VARhi_A

Total VAR hours consumed through element 0

0x4E

VARhe_A

Total VAR hours generated (inverse consumed) through element 0

0x3E

VAh_A

Total VA hours in element 0

0x30

Whi_B

Total Watt hours consumed through element 1

0x48

Whe_B

Total Watt hours generated (inverse consumed) through element 1

0x38

VARhi_B

Total VAR hours consumed through element 1

0x50

VARhe_B

Total VAR hours generated (inverse consumed) through element 1