Datasheet

ADE7758 Data Sheet
Rev. E | Page 64 of 72
OPERATIONAL MODE REGISTER (0x13)
The general configuration of the ADE7758 is defined by writing to the OPMODE register. Table 18 summarizes the functionality of each
bit in the OPMODE register.
Table 18. OPMODE Register
Bit
Location
Bit
Mnemonic
Default
Value
Description
0 DISHPF 0 The HPFs in all current channel inputs are disabled when this bit is set.
1 DISLPF 0 The LPFs after the watt and VAR multipliers are disabled when this bit is set.
2 DISCF 1 The frequency outputs APCF and VARCF are disabled when this bit is set.
3 to 5 DISMOD 0
By setting these bits, the ADE7758 ADCs can be turned off. In normal operation, these bits should
be left at Logic 0.
DISMOD[2:0] Description
0 0 0 Normal operation.
1 0 0
Redirect the voltage inputs to the signal paths for the current channels and
the current inputs to the signal paths for the voltage channels.
0 0 1 Switch off only the current channel ADCs.
1 0 1
Switch off current channel ADCs and redirect the current input signals to the
voltage channel signal paths.
0 1 0 Switch off only the voltage channel ADCs.
1 1 0
Switch off voltage channel ADCs and redirect the voltage input signals to the
current channel signal paths.
0 1 1 Put the ADE7758 in sleep mode.
1 1 1 Put the ADE7758 in power-down mode (reduces AI
DD
to 1 mA typ).
6 SWRST 0
Software Chip Reset. A data transfer to the ADE7758 should not take place for at least 166 μs after
a software reset.
7 Reserved 0 This should be left at 0.
MEASUREMENT MODE REGISTER (0x14)
The configuration of the PERIOD and peak measurements made by the ADE7758 is defined by writing to the MMODE register. Table 19
summarizes the functionality of each bit in the MMODE register.
Table 19. MMODE Register
Bit
Location
Bit
Mnemonic
Default
Value Description
0 to 1 FREQSEL 0 These bits are used to select the source of the measurement of the voltage line frequency.
FREQSEL1 FREQSEL0 Source
0 0 Phase A
0 1 Phase B
1 0 Phase C
1 1 Reserved
2 to 4 PEAKSEL 7
These bits select the phases used for the voltage and current peak registers. Setting Bit 2 switches
the IPEAK and VPEAK registers to hold the absolute values of the largest current and voltage
waveform (over a fixed number of half-line cycles) from Phase A. The number of half-line cycles is
determined by the content of the LINECYC register. At the end of the LINECYC number of half-line
cycles, the content of the registers is replaced with the new peak values. Similarly, setting Bit 3 turns
on the peak detection for Phase B, and Bit 4 for Phase C. Note that if more than one bit is set, the
VPEAK and IPEAK registers can hold values from two different phases, that is, the voltage and
current peak are independently processed (see the Peak Current Detection section).
5 to 7 PKIRQSEL 7
These bits select the phases used for the peak interrupt detection. Setting Bit 5 switches on the
monitoring of the absolute current and voltage waveform to Phase A. Similarly, setting Bit 6 turns on
the waveform detection for Phase B, and Bit 7 for Phase C. Note that more than one bit can be set for
detection on multiple phases. If the absolute values of the voltage or current waveform samples in
the selected phases exceeds the preset level specified in the VPINTLVL or IPINTLVL registers the
corresponding bit(s) in the STATUS registers are set (see the Peak Current Detection section).