78M6612 Single-Phase, Dual-Outlet Power and Energy Measurement IC
78M6612 Single-Phase, Dual-Outlet Power and Energy Measurement IC
78M6612 Single-Phase, Dual-Outlet Power and Energy Measurement IC
Single-Phase, Dual-Outlet
Power and Energy Measurement IC
DATA SHEET
DS_6612_001
Rev 2 1
19-5348; Rev 2; 1/12
DESCRIPTION
The Teridian 78M6612 is a highly integrated, single-phase,
power and energy measurement and monitoring system-on-
chip (SoC) that includes a 32-bit compute engine (CE), an
MPU core, RTC, and flash. Our Single Converter
Technology
=
t
dt t I t V E
0
) ( ) (
The following formulas apply for wide band mode (true RMS):
P = (i(t) * v(t))
Q = (S
2
P
2
)
S = V * I
V = v(t)
2
I = i(t)
2
For actual measurement equations, refer to the applicable 78M6612 Firmware Description Document.
For some applications, not only voltage and current amplitudes, but also phase angles and harmonic
content may change constantly. Thus, simple RMS measurements are inherently inaccurate. A modern
solid-state electricity measurement IC such as the 78M6612 functions by emulating the integral operation
above, i.e. it processes current and voltage samples through an ADC at a constant frequency. As long
as the ADC resolution is high enough and the sample frequency is beyond the harmonic range of
interest, the current and voltage samples, multiplied with the time period of sampling will yield an accurate
quantity for the momentary energy. Summing up the momentary energy quantities over time will result in
accumulated energy.
Figure 5: Voltage, Current, Momentary and Accumulated Energy
Figure 5 shows the shapes of V(t), I(t), the momentary power and the accumulated power, resulting from
50 samples of the voltage and current signals over a period of 20 ms. The application of 240 VAC and
100 A results in an accumulation of 480 Ws (= 0.133 Wh) over the 20 ms period, as indicated by the
Accumulated Power curve. The described sampling method works reliably, even in the presence of
dynamic phase shift and harmonic distortion.
-500
-400
-300
-200
-100
0
100
200
300
400
500
0 5 10 15 20
Current [A]
Voltage [V]
Energy per Interval [Ws]
Accumulated Energy [Ws]
DS_6612_001 78M6612 Data Sheet
Rev 2 19
2.2 Fault and Reset Behavior
2.2.1 Reset Mode
When the RESET pin is pulled high, all digital activity stops. The oscillator and RTC module continue to
run. Additionally, all I/O RAM bits are set to their default states. As long as V1, the input voltage at the
power fault block, is greater than VBIAS, the internal 2.5 V regulator continues to provide power to the
digital section.
Once initiated, the reset mode persists until the reset timer times out. This occurs in 4096 cycles of the
real time clock after RESET goes low, at which time the MPU begins executing its preboot and boot
sequences from address 00.
2.2.2 Power Fault Circuit
The 78M6612 includes a comparator to monitor system power fault conditions. When the output of the
comparator falls (V1<VBIAS), the PLL status bits in the I/O RAM are zeroed and the IC power downs.
Once system power returns, the MPU remains in reset and does not start until 2048 to 4096 CK32 clock
cycles later. Program execution starts at address 0x00. MPU RAM will be re-initialized.
2.3 Data Flow
The data flow between the Compute Engine (CE) and the MPU is shown in Figure 6. In a typical
application, the 32-bit CE sequentially processes the samples from the current and voltage inputs on pins
IA, VA, IB, and VB, performing calculations to measure active power (Wh), reactive power (VARh), A
2
h,
and V
2
h for four-quadrant measurement. These measurements are then accessed by the MPU,
processed further and output using the peripheral devices available to the MPU.
Figure 6: MPU/CE Data Flow
CE MP
U
Pr
e
-
Processo
r
Pos
t
-
Processo
r
IRQ
Processed
Metering
Data
Pulses
I/O RAM (Configuration RAM)
Samples
Data
78M6612 Data Sheet DS_6612_001
20 Rev 2
2.4 CE/MPU Communication
Figure 7 shows the functional relationship between the CE and the MPU. The CE is controlled by the
MPU via shared registers in the I/O RAM and RAM. The CE outputs two interrupt signals to the MPU to
indicate the CE is actively processing data and the CE is updating data to the output region of the RAM.
Figure 7: MPU/CE Communication
MP
U
C
E
PULSES
INTERRUPTS
DISPLAY (Memory
Mapped
LCD Segments)
DIO
EEPROM
(I2C
)
SERIAL
(UART0/1)
SAMPLES
VAR (DIO7) W
(DIO6)
VARSU
M
WSUM
AD
C
EXT_PULS
E
CE_BUS
Y
XFER_BUSY
Mux
Ctrl
DATA
APULSEW
APULSE
R
SAG CONTROL
I/O RAM (CONFIGURATION RAM)
DS_6612_001 78M6612 Data Sheet
Rev 2 21
3 Application Information
3.1 Connection of Sensors (CT, Resistive Shunt)
Figure 8, Figure 9, and Figure 10 show how resistive voltage dividers, resistive current shunts, and
current transformers are connected to the voltage and current inputs of the 78M6612.
Figure 8: Resistive Voltage Divider
Figure 9: Resistive Current Shunt
Figure 10: Current Transformer
78M6612 Data Sheet DS_6612_001
22 Rev 2
3.2 Connecting 5 V Devices
All digital input pins of the 78M6612 are compatible with external 5 V devices. I/O pins configured as
inputs do not require current-limiting resistors when they are connected to external 5 V devices.
3.3 Temperature Measurement
Measurement of absolute temperature uses the on-chip temperature sensor and applying the following
formula:
n
n
n
T
S
N T N
T +
=
) ) ( (
In the above formula, T is the temperature in C, N(T) is the ADC count at temperature T, N
n
is the ADC
count at 25C, S
n
is the sensitivity in LSB/C and T
n
is +25 C.
3.4 Temperature Compensation
Temperature Coefficients: The internal voltage reference is calibrated during device manufacture.
The temperature coefficients TC1 and TC2 are given as constants that represent typical component
behavior (in V/C and V/C
2
, respectively).
Since TC1 and TC2 are given in V/C and V/C
2
, respectively, the value of the VREF voltage
(1.195V) has to be taken into account when transitioning to PPM/C and PPM/C
2
. This means
that PPMC = 26.84*TC1/1.195, and PPMC2 = 1374*TC2/1.195).
Temperature Compensation: The CE provides the bandgap temperature to the MPU, which then may
digitally compensate the power outputs for the temperature dependence of VREF.
The MPU, not the CE, is entirely in charge of providing temperature compensation. The MPU applies the
following formula to determine GAIN_ADJ (address 0x12). In this formula TEMP_X is the deviation from
nominal or calibration temperature expressed in multiples of 0.1C:
23
2
14
2
2 _
2
_
16385 _
PPMC X TEMP PPMC X TEMP
ADJ GAIN
+
+ =
In a power and energy measurement unit, the 78M6612 is not the only component contributing to
temperature dependency. A whole range of components (e.g. current transformers, resistor
dividers, power sources, filter capacitors) will contribute temperature effects. Since the output of
the on-chip temperature sensor is accessible to the MPU, temperature-compensation mechanisms
with great flexibility are possible (e.g. system-wide temperature correction over the entire unit rather than
local to the chip).
DS_6612_001 78M6612 Data Sheet
Rev 2 23
3.5 Connecting LCDs
The 78M6612 has an on-chip LCD controller capable of controlling static or multiplexed LCDs. Figure 11
shows the basic connection for an LCD.
Figure 11: Connecting LCDs
The LCD segment pins can be organized in the following groups:
Seventeen pins are dedicated LCD segment pins (SEG0 to SEG13, SEG16 to SEG18).
Four pins are dual-function pins CKTEST/SEG19, E_RXTX/SEG38, E_TCLK/SEG33, and
E_RST/SEG32.
Fourteen pins are available as combined DIO and segment pins SEG24/DIO4 to SEG31/DIO11,
SEG34/DIO14 to SEG37/DIO17, SEG39/DIO19, and SEG40/DIO20.
The QFN-68 package adds an additional combination pin, SEG41/DIO21. Also adds two additional
LCD segment pins, SEG13 and SEG14.
3.6 Connecting I
2
C EEPROMs
I
2
C EEPROMs or other I
2
C compatible devices should be connected to the DIO pins DIO4 and DIO5, as
shown in Figure 12.
Pull-up resistors of roughly 10 k to V3P3D should be used for both SCL and SDA signals. The
DIO_EEX register in I/O RAM must be set to 01 in order to convert the DIO pins DIO4 and DIO5 to I
2
C
pins SCL and SDA.
.
Figure 12: I
2
C EEPROM Connection
DIO4
DIO5
78M6612
EEPROM
SCL
SDA
V3P3D
10k
10k
DIO4
DIO5
EEPROM
SCL
SDA
V3P3D
10k
10k
segments
78M6612
LCD
commons
78M6612 Data Sheet DS_6612_001
24 Rev 2
3.7 Connecting Three-Wire EEPROMs
Wire EEPROMs and other compatible devices should be connected to the DIO pins DIO4 and DIO5, as
shown in Figure 13 and described below:
DIO5 connects to both the DI and DO pins of the three-wire device.
The CS pin must be connected to a vacant DIO pin of the 78M6618.
In order to prevent bus contention, a 10 k to resistor is used to separate the DI and DO signals.
The CS and CLK pins should be pulled down with resistors to prevent operation of the three-wire
device on power-up, before the 78M6618 can establish a stable signal for CS and CLK.
The DIO_EEX register in I/O RAM must be set to 2 (b10) in order to convert the DIO pins DIO4 and
DIO5 to Wire pins.
The -Wire EEPROM interface is only functional when MPU_DIV[2:0] = 000.
Figure 13: Three-Wire EEPROM Connection
3.8 UART0 (TX0/RX0)
The UART0 RX0 pin should be pulled down by a 10 k resistor and additionally protected by a 100 pF
ceramic capacitor, as shown in Figure 14.
Figure 14: Connections for the RX0 Pin
TX0
RX0
10k 100pF
RX
TX
78M6612
10k 100pF
RX0
TX0
DIO4
DIO5
EEPROM
SCLK
DI
V3P3D
10k
CS DIOn
DO
10k
DIO4
DIO5
78M6612
EEPROM
SCLK
DI
V3P3D
10k
CS DIOn
DO
10k
DS_6612_001 78M6612 Data Sheet
Rev 2 25
3.9 UART1 (TX1/RX1)
The TX1 and RX1 pins can be used for a regular serial interface (by connecting a RS-232 transceiver for
example), or they can be used to directly operate optical components (for example, an infrared diode and
phototransistor implementing a FLAG interface).
3.10 Connecting V1 and Reset Pins
A voltage divider should be used to establish that V1 is in a safe range (see Figure 15). V1 must be
lower than 2.9 V in all cases in order to keep the hardware watchdog timer enabled. A series 5 k
resistor (R3) and a capacitor to ground (C1) are added for enhanced EMC immunity. The parallel
impedance of R1 and R2 should be approximately 8 k to 10 k in order to provide hysteresis for the
power fault monitor.
Figure 15: Voltage Divider for V1
Even though a functional power and measurement unit will not necessarily need a reset switch, it is useful to
have a reset pushbutton switch for prototyping, as shown in Figure 16, left side. The RESET signal may be
sourced from V3P3SYS, or VBAT (if a battery is present), or from a combination of these sources, depending
on the application.
For production, the RESET pin should be protected by the external components shown in Figure 16, right
side. R
1
should be in the range of 100 and mounted as closely as possible to the IC. The RESET pin
can also be directly connected to ground.
Figure 16: External Components for RESET: Development Circuit (Left), Production Circuit (Right)
V3P3
R
2
V1
R
1
R
3
5k
C
1
100pF
GND
V3P3
R
2
V1
R
1
R
3
5k
C
1
100pF
GND
R
1
RESE
T
78M6612
DGN
D
V3P3D
R
2
Reset
Switc
h
1k
1nF
10k
R
1
DGN
D
R
2
VBAT/
V3P3D
Reset
Switc
h
1k
1nF
10k
R
1
100
R
1
RESET
78M6612
DGND
100
78M6612 Data Sheet DS_6612_001
26 Rev 2
3.11 Connecting the Emulator Port Pins
Even when the emulator is not used, small shunt capacitors to ground (22 pF) should be used for
protection from EMI as illustrated in Figure 17. Production boards should have the ICE_E pin connected
to ground.
Figure 17: External Components for the Emulator Interface
3.12 Flash Programming
Operational or test code can be programmed into the Flash memory using either an in-circuit emulator or
the Flash Programmer Module (TFP2) available from Maxim. The Flash programming procedure uses
the E_RST, E_RXTX, and E_TCLK pins.
3.13 MPU Firmware Library
Any applications-specific MPU functions mentioned above are available from Maxim as a standard ANSI
C library and as ANSI C source code. Sample application code using the measurement library is pre-
programmed in Evaluation Kits for the 78M6618 IC and can be pre-programmed into engineering IC
samples for system evaluation. Application code allows for quick and efficient evaluation of the IC
without having to write firmware or having to purchase an in-circuit emulator (ICE). A Software Licensing
Agreement (SLA) can be signed to receive either the source Flash HEX file for use in a production
environment or source code and SDK documentation for modification.
3.14 Crystal Oscillator
The oscillator drives a standard 32.768 kHz watch crystal. The oscillator has been designed specifically
to handle these crystals and is compatible with their high impedance and limited power handling
capability. Good layouts will have XIN and XOUT shielded from each other.
Since the oscillator is self-biasing, an external resistor must not be connected across the crystal.
E_RST
E_RXT
X
E_TCL
K
62
62
6
2
22p
F
22p
F
22p
F
LCD
Segments (optional
)
ICE_E
V3P3D
E_RST
78M661
2
E_RXTX
E_TCLK
62
62
6
2
22p
F
22p
F
22p
F
LCD
Segments (optional
)
ICE_E
V3P3D
DS_6612_001 78M6612 Data Sheet
Rev 2 27
3.15 Measurement Calibration
Once the 78M6612 energy measurement device has been installed in a measurement system, it is
typically calibrated. A complete calibration includes the following:
Calibration of the metrology section, i.e. calibration for tolerances of the current sensors, voltage
dividers and signal conditioning components as well as of the internal reference voltage (VREF).
Establishment of the reference temperature (Section 3.3) for temperature measurement and
temperature compensation (Section 3.4).
The metrology section can be calibrated using the gain and phase adjustment factors accessible to the
CE. The gain adjustment is used to compensate for tolerances of components used for signal
conditioning, especially the resistive components. Phase adjustment is provided to compensate for
phase shifts introduced by certain types of current sensors or by the effects of reactive power supplies.
Due to the flexibility of the MPU firmware, any calibration method, such as calibration based on energy, or
current and voltage can be implemented. It is also possible to implement segment-wise calibration
(depending on current range).
78M6612 Data Sheet DS_6612_001
28 Rev 2
4 Electrical Specifications
4.1 Absolute Maximum Ratings
Table 5 shows the absolute maximum ranges for the device. Stresses beyond Absolute Maximum
Ratings may cause permanent damage to the device. These are stress ratings only and functional
operation at these or any other conditions beyond those indicated under recommended operating
conditions (Section 4.3) is not implied. Exposure to absolute-maximum-rated conditions for extended
periods may affect device reliability. All voltages are with respect to GNDA.
Table 5: Absolute Maximum Ratings
Supplies and Ground Pins
V3P3SYS, V3P3A -0.5 V to 4.6 V
VBAT -0.5 V to 4.6 V
GNDD -0.5 V to +0.5 V
Analog Output Pins
V3P3D
-10 mA to 10 mA,
-0.5 V to 4.6 V
VREF
-10 mA to +10 mA,
-0.5 V to V3P3A+0.5 V
V2P5
-10 mA to +10 mA,
-0.5 V to 3.0 V
Analog Input Pins
IA, VA, IB, VB, V1
-10 mA to +10 mA
-0.5 V to V3P3A+0.5 V
XIN, XOUT
-10 mA to +10 mA
-0.5 V to 3.0 V
All Other Pins
Configured as SEG or COM drivers
-1 mA to +1 mA,
-0.5 to V3P3D+0.5
Configured as Digital Inputs
-10 mA to +10 mA,
-0.5 to 6 V
Configured as Digital Outputs
-15 mA to +15 mA,
-0.5 V to V3P3D+0.5 V
All other pins -0.5 V to V3P3D+0.5 V
Temperature and ESD Stress
Operating junction temperature (peak, 100 ms) 140 C
Operating junction temperature (continuous) 125 C
Storage temperature -45 C to +165 C
Solder temperature 10 second duration 250 C
ESD stress on all pins 4 kV
Stresses beyond Absolute Maximum Ratings may cause permanent damage to the device. These are
stress ratings only and functional operation at these or any other conditions beyond those indicated under
recommended operating conditions is not implied. Exposure to absolute-maximum-rated conditions for
extended periods may affect device reliability. All voltages are with respect to GNDA.
DS_6612_001 78M6612 Data Sheet
Rev 2 29
4.2 Recommended External Components
Table 6: Recommended External Components
Name From To Function Value Unit
C1 V3P3A AGND Bypass capacitor for 3.3V supply. 0.120% F
C2 V3P3D DGND Bypass capacitor for 3.3V output. 0.120% F
CSYS V3P3SYS DGND Bypass capacitor for V3P3SYS. 1.030% F
C2P5 V2P5 DGND Bypass capacitor for V2P5. 0.120% F
XTAL XIN XOUT 32.768 kHz crystal electrically similar to
ECS .327-12.5-17X or Vishay XT26T, load
capacitance 12.5 pF.
32.768 kHz
CXS
Depending on trace capacitance, higher or lower values for CXS and CXL must be used. Capacitance
from XIN to GNDD and XOUT to GNDD (combining pin, trace and crystal capacitance) should be 35 pF
to 37 pF.
4.3 Recommended Operating Conditions
Table 7: Recommended Operation Conditions
Parameter Condition Min Typ Max Unit
V3P3SYS, V3P3A: 3.3V Supply Voltage
V3P3A and V3P3SYS must be at the
same voltage
Normal Operation 3.0 3.3 3.6 V
Battery Backup 0 3.6 V
VBAT No Battery Externally Connect to V3P3SYS
Battery Backup
BRN and LCD modes
SLEEP mode
3.0
2.0
3.8
3.8
V
V
Operating Temperature -40 +85 C
78M6612 Data Sheet DS_6612_001
30 Rev 2
4.4 Performance Specifications
4.4.1 Input Logic Levels
Table 8: Input Logic Levels
Parameter Condition Min Typ Max Unit
Digital high-level input voltage
, V
IH
2 V
Digital low-level input voltage
, V
IL
0.8 V
Input pull-up current, IIL
E_RXTX,
E_RST, CKTEST
Other digital inputs
VIN=0V, ICE_E=1
10
10
-1
0
100
100
1
A
A
A
Input pull down current, IIH
ICE_E
Other digital inputs
VIN=V3P3D
10
-1
0
100
1
A
A
In battery powered modes, digital inputs should be below 0.3 V or above 2.5 V to minimize battery
current.
4.4.2 Output Logic Levels
Table 9: Output Logic Levels
Parameter Condition Min Typ Max Unit
Digital high-level output voltage V
OH
I
LOAD
= 1 mA V3P3D-0.4 V
I
LOAD
= 15 mA V3P3D-0.6 V
Digital low-level output voltage V
OL
I
LOAD
= 1 mA 0 0.4 V
I
LOAD
= 15 mA 0.8 V
TX1 VOH (V3P3D-TX1) ISOURCE=1 mA 0.4 V
TX1 VOL ISINK=20 mA 0.7 V
4.4.3 Power-Fault Comparator
Table 10: Power-Fault Comparator Performance Specifications
Parameter Condition Min Typ Max Unit
Offset Voltage: V1-VBIAS -20 +15 mV
Hysteresis Current: V1 Vin = VBIAS 100 mV 0.8 1.2 A
Response Time: V1 +100 mV overdrive 2 5 10 s
WDT Disable Threshold (V1-V3P3A) -400 -10 mV
DS_6612_001 78M6612 Data Sheet
Rev 2 31
4.4.4 Battery Monitor
Table 11: Power-Fault Comparator Performance Specifications (BME=1)
Parameter Condition Min Typ Max Unit
Load Resistor 27 45 63 k
LSB Value - does not include the 9-bit
left shift at CE input.
FIR_LEN=0
FIR_LEN=1
-6.0
-2.6
-5.4
-2.3
-4.9
-2.0
V
V
Offset Error -200 -72 +100 mV
4.4.5 Supply Current
Table 12: Supply Current Performance Specifications
Parameter Condition Min Typ Max Unit
V3P3A + V3P3SYS current
Normal Operation,
V3P3A=V3P3SYS=3.3V
MPU_DIV[1:0]=3 (614 kHz)
CKOUT_E[1:0]=00, CE_EN=1,
RTM_E=0, ECK_DIS=1,
ADC_E=1, ICE_E=0
6.1 7.7 mA
VBAT current -300 +300 nA
V3P3A + V3P3SYS current
vs. MPU clock frequency
Same conditions as above 0.5
mA/
MHz
V3P3A + V3P3SYS current,
Write Flash
Normal Operation as above,
except write Flash at maximum
rate, CE_E=0, ADC_E=0
9.1 10 mA
VBAT current
VBAT=3.6V
BROWNOUT mode, <25C
BROWNOUT mode, <>5C
LCD Mode, 25 C
LCD mode, over temperature
SLEEP Mode, 25 C
Sleep mode, over temperature
48
65
5.7
2.9
120
150
8.5
15
5.0
10
A
A
A
A
A
A
Current into V3P3A and V3P3SYS pins is not zero if voltage is applied at these pins in brownout, LCD or
sleep modes.
4.4.6 V3P3D Switch
Table 13: V3P3D Switch Performance Specifications
Parameter Condition Min Typ Max Unit
On resistance V3P3SYS to V3P3D | I
V3P3D
| 1 mA 10
On resistance VBAT to V3P3D | I
V3P3D
| 1 mA 40
78M6612 Data Sheet DS_6612_001
32 Rev 2
4.4.7 2.5V Voltage Regulator
Unless otherwise specified, load = 5 mA.
Table 14: 2.5 V Voltage Regulator Performance Specifications
Parameter Condition Min Typ Max Unit
Voltage overhead V3P3-V2P5
Reduce V3P3 until
V2P5 drops 200 mV
440 mV
PSSR V2P5/V3P3 RESET=0, iload=0 -3 +3 mV/V
4.4.8 Low Power Voltage Regulator
Unless otherwise specified, V3P3SYS=V3P3A=0.
Table 15: Low-Power Voltage Regulator Performance Specifications
Parameter Condition Min Typ Max Unit
V2P5 ILOAD=0 2.0 2.5 2.7 V
V2P5 load regulation ILOAD=0 mA to 1 mA 30 mV
VBAT voltage requirement
ILOAD=1 mA,
Reduce VBAT until
REG_LP_OK=0
3.0 V
PSRR V2P5/VBAT ILOAD=0 -50 50 mV/V
4.4.9 Crystal Oscillator
Table 16: Crystal Oscillator Performance Specifications
Parameter Condition Min Typ Max Unit
Maximum Output Power to Crystal Crystal connected 1 W
XIN to XOUT Capacitance 3 pF
Capacitance to DGND
XIN
XOUT
5
5
pF
pF
DS_6612_001 78M6612 Data Sheet
Rev 2 33
4.4.10 VREF, VBIAS
Unless otherwise specified, VREF_DIS=0.
Table 17: VREF, VBIAS Performance Specifications
Parameter Condition Min Typ Max Unit
VREF output voltage, VNOM(25) Ta = 22C 1.193 1.195 1.197 V
VREF chop step 50 mV
VREF output impedance
VREF_CAL =1,
ILOAD = 10 A, -10 A
2.5 k
VNOM definition
1
2 ) 22 ( 1 ) 22 ( ) 22 ( ) (
2
TC T TC T VREF T VNOM + + = V
VREF temperature coefficients
TC1
TC2
+7.0
-0.341
V/C
V/C
2
VREF aging 25
ppm/
year
VREF(T) deviation from VNOM(T)
62
10 ) ( ) (
6
VNOM
T VNOM T VREF
Ta = -40C to +85C -40 +40
ppm/
C
VBIAS voltage
Ta = 25 C
Ta = -40 C to 85 C
(-1%)
(-4%)
1.6
1.6
(+1%)
(+4%)
V
V
1
This relationship describes the nominal behavior of VREF at different temperatures.
4.4.11 LCD Drivers
The information in Table 18 applies to all COM and SEG pins.
Table 18: LCD Drivers Performance Specifications
Parameter Condition Min Typ Max Unit
VLC2 Max Voltage With respect to VLCD -0.1 0+.1 V
VLC1 Voltage,
bias
bias
With respect to 2*VLC2/3
With respect to VLC2/2
-4
-3
0
+2
%
%
VLC0 Voltage,
bias
bias
With respect to VLC2/3
With respect to VLC2/2
-3
-3
+2
+2
%
%
VLCD is V3P3SYS in MISSION mode and VBAT in BROWNOUT and LCD modes.
78M6612 Data Sheet DS_6612_001
34 Rev 2
4.4.12 ADC Converter, V3P3A Referenced
FIR_LEN=0, VREF_DIS=0, LSB values do not include the 9-bit left shift at CE input.
Table 19: ADC Converter Performance Specifications
Parameter Condition Min Typ Max Unit
Recommended Input Range
(Vin-V3P3A)
-250 250
mV
peak
Voltage to Current Crosstalk:
) cos(
* 10
6
Vcrosstalk Vin
Vin
Vcrosstalk
Vin = 200 mV peak,
65 Hz, on VA
Vcrosstalk = largest
measurement on IA or IB
-10 10 V/V
THD (First 10 harmonics)
250 mV-pk
20 mV-pk
Vin=65 Hz,
64 kpts FFT, Blackman-
Harris window
-75
-90
dB
dB
Input Impedance Vin=65 Hz 40 90 k
Temperature coefficient of Input
Impedance
Vin=65 Hz 1.7 /C
LSB size
FIR_LEN=0
FIR_LEN=1
357
151
nV/LSB
Digital Full Scale
FIR_LEN=0
FIR_LEN=1
+884736
2097152
LSB
ADC Gain Error vs
%Power Supply Variation
3 . 3 / 3 3 100
/ 357 10
6
A P V
V nV Nout
IN PK
Vin=200 mV pk, 65 Hz
V3P3A=3.0V, 3.6V
50 ppm/%
Input Offset (Vin-V3P3A) -10 10 mV
4.4.13 UART1 Interface
Table 20: UART1 Interface Performance Specifications
Parameter Condition Min Typ Max Unit
TX1 VOH (V3P3D-TX1) ISOURCE=1 mA 0.4 V
TX1 VOL ISINK=20 mA 0.7 V
4.4.14 Temperature Sensor
Table 21: Temperature Sensor Performance Specifications
Parameter Condition Min Typ Max Unit
Nominal Sensitivity (S
n
)
TA=25C, TA=75C,
FIR_LEN = 1
Nominal relationship:
N(T)= S
n
*(T-T
n
)+N
n
-2180 LSB/C
Nominal (N
n
)
1.0
10
6
LSB
Temperature Error
=
n
n
n
T
S
N T N
T ERR
) ) ( (
TA = -40C to +85C
Tn = 25C
-10 +10 C
LSB values do not include the 9-bit left shift at CE input.
N
n
is measured at T
n
during calibration and is stored in MPU or CE for use in temperature calculations.
DS_6612_001 78M6612 Data Sheet
Rev 2 35
4.5 Timing Specifications
4.5.1 RAM and Flash Memory
Table 22: RAM and Flash Memory Specifications
Parameter Condition Min Typ Max Unit
CE DRAM wait states
CKMPU = 4.9152 MHz 5 Cycles
CKMPU = 1.25 MHz 2 Cycles
CKMPU = 614 kHz 1 Cycles
Flash Read Pulse Width
V3P3A=V3P3SYS=0
BROWNOUT MODE
30
100 ns
Flash write cycles -40 C to +85 C 20,000 Cycles
Flash data retention 25 C 100 Years
Flash data retention 85 C 10 Years
Flash byte writes between page or
mass erase operations
2 Cycles
4.5.2 Flash Memory Timing
Table 23: Flash Memory Timing Specifications
Parameter Condition Min Typ Max Unit
Write Time per Byte 42 s
Page Erase (512 bytes) 20 ms
Mass Erase 200 ms
4.5.3 EEPROM Interface
Table 24: EEPROM Interface Timing
Parameter Condition Min Typ Max Unit
Write Clock frequency (I
2
C)
CKMPU=4.9152 MHz,
Using interrupts
78 kHz
CKMPU=4.9152 MHz,
bit-banging DIO4/5
150 kHz
Write Clock frequency (3-wire) CKMPU=4.9152 MHz 500 kHz
4.5.4 RESET and V1
Table 25: RESET and V1 Timing
Parameter Condition Min Typ Max Unit
Reset pulse fall time 1 s
Reset pulse width 5 s
V1 Response Time +100 mv overdrive 10 37 100 s
4.5.5 RTC
Table 26: RTC Range
Parameter Condition Min Typ Max Unit
Range for date 2000 2255 year
78M6612 Data Sheet DS_6612_001
36 Rev 2
5 Packaging
5.1 64-Pin LQFP Package
5.1.1 Pinout
1
TERIDIAN
78M6612-IGT
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
3
1
3
2
2
6
2
7
2
8
2
9
3
0
1
7
1
8
1
9
2
0
2
1
2
2
2
3
2
4
2
5
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
6
4
6
3
6
2
6
1
5
1
5
2
5
3
5
4
5
5
5
6
5
7
5
8
5
9
6
0
4
9
5
0
TMUXOUT
TX1/DIO2
TX0
SEG37/DIO17
SEG3
V3P3D
SEG19/CKTEST
SEG4
SEG5
COM1
V3P3SYS
COM3
E_RXTX/SEG38
GNDD
COM2
S
E
G
1
3
S
E
G
1
2
S
E
G
7
S
E
G
8
S
E
G
6
S
E
G
3
6
/
D
I
O
1
6
S
E
G
3
5
/
D
I
O
1
5
S
E
G
3
4
/
D
I
O
1
4
S
E
G
2
S
E
G
1
S
E
G
1
6
S
E
G
0
S
E
G
9
S
E
G
1
1
S
E
G
1
0
SEG27/DIO7
SEG40/DIO20
SEG26/DIO6
SEG25/DIO5
SEG29/DIO9
RX0
SEG31/DIO11
RESET
V2P5
VBAT
SEG24/DIO4
SEG28/DIO8
ICE_E
SEG18
SEG17
SEG30/DIO10
E
_
R
S
T
/
S
E
G
3
2
E
_
T
C
L
K
/
S
E
G
3
3
V
A
G
N
D
D
X
O
U
T
T
E
S
T
X
I
N
V
1
V
R
E
F
I
A
I
B
V
3
P
3
A
G
N
D
A
V
B
G
N
D
D
R
X
1
/
D
I
O
1
S
E
G
3
9
/
D
I
O
1
9
COM0
Figure 18: 64-Pin LQFP Pinout
DS_6612_001 78M6612 Data Sheet
Rev 2 37
5.1.2 Package Outline (LQFP 64)
11.7
12.3
0.60 Typ.
1.40
1.60
11.7
12.3
0.00
0.20
9.8
10.2
0.50 Typ.
0.14
0.28
PIN No. 1 Indicator
+
NOTE: Controlling dimensions are in mm.
78M6612 Data Sheet DS_6612_001
38 Rev 2
5.1.3 Recommended PCB Land Pattern for the LQFP-64 Package
x
y
A
G
G A
x
y
e
e
Recommended PCB Land Pattern Dimensions
Symbol Description
Typical
Dimension
e Lead pitch 0.5 mm
x Pad width 0.25 mm
y Pad length. See Note. 2.0 mm
A 7.75 mm
G 9.0 mm
Note: The y dimension has been elongated to allow for hand soldering and reworking. Production
assembly may allow this dimension to be reduced as long as the G dimension is maintained.
DS_6612_001 78M6612 Data Sheet
Rev 2 39
5.2 68-Pin QFN Package
5.2.1 Pinout
TERIDIAN
78M6612-IM
GNDD
E_RXTX/SEG38
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
51
50
49
48
47
46
45
44
43
42
41
40
39
38
37
36
35
TX1/DIO2
TMUXOUT
DIO3
TX0
SEG3
V3P3D
CKTEST/SEG19
V3P3SYS
SEG4
SEG5
SEG37/DIO17
COM0
COM1
COM2
COM3
S
E
G
0
S
E
G
1
S
E
G
2
S
E
G
3
4
/
D
I
O
1
4
S
E
G
3
5
/
D
I
O
1
5
S
E
G
3
6
/
D
I
O
1
6
S
E
G
3
9
/
D
I
O
1
9
S
E
G
6
S
E
G
7
S
E
G
8
S
E
G
9
S
E
G
1
0
S
E
G
1
1
S
E
G
1
2
S
E
G
1
3
S
E
G
1
4
S
E
G
1
5
SEG16
SEG17
SEG18
ICE_E
SEG24/DIO4
SEG25/DIO5
SEG26/DIO6
SEG27/DIO7
SEG28/DIO8
SEG29/DIO9
SEG30/DIO10
SEG31/DIO11
SEG40/DIO20
RX0
VBAT
V2P5
RESET
G
N
D
A
V
3
P
3
A
V
A
V
B
I
B
I
A
V
R
E
F
V
1
R
X
1
/
D
I
O
1
G
N
D
D
X
I
N
X
O
U
T
T
E
S
T
G
N
D
D
E
_
R
S
T
/
S
E
G
3
2
E
_
T
C
L
K
/
S
E
G
3
3
S
E
G
4
1
/
D
I
O
2
1
Figure 19: 68-Pin QFN Pinout
78M6612 Data Sheet DS_6612_001
40 Rev 2
5.2.2 Package Outline
Dimensions (in mm):
*) Pin length is nominally 0.4 mm (min. 0.3 mm, max 0.4 mm).
**) Exposed pad is internally connected to GNDD.
0.850
DS_6612_001 78M6612 Data Sheet
Rev 2 41
5.2.3 Recommended PCB Land Pattern for the QFN-68 Package
Recommended PCB Land Pattern Dimensions
Symbol Description
Typical
Dimension
e Lead pitch 0.4 mm
x Pad width 0.23 mm
y Pad length. See Note 3. 0.8 mm
d See Note 1. 6.3 mm
A 6.63 mm
G 7.2 mm
Note 1: Do not place unmasked vias in region denoted by dimension d.
Note 2: Soldering of bottom internal pad is not required for proper operation.
Note 3: The y dimension has been elongated to allow for hand soldering and reworking. Production
assembly may allow this dimension to be reduced as long as the G dimension is maintained.
78M6612 Data Sheet DS_6612_001
42 Rev 2
6 Pin Descriptions
6.1 Power/Ground Pins
Table 27: Power/Ground Pins
Name Type Circuit Description
GNDA P Analog ground: This pin should be connected directly to the ground
plane.
GNDD P Digital ground: This pin should be connected directly to the ground
plane.
V3P3A P Analog power supply: A 3.3V power supply should be connected to
this pin, must be the same voltage as V3P3SYS.
V3P3SYS P System 3.3 V supply. This pin should be connected to a 3.3 V power
supply.
V3P3D O 13 Auxiliary voltage output of the chip, controlled by the internal 3.3 V
selection switch. In mission mode, this pin is internally connected to
V3P3SYS. In BROWNOUT mode, it is internally connected to VBAT.
This pin is floating in LCD and sleep mode.
VBAT P 12 Battery backup power supply. A battery or super-capacitor is to be
connected between VBAT and GNDD. If no battery is used, connect
VBAT to V3P3SYS.
V2P5 O 10 Output of the internal 2.5 V regulator. A 0.1 F capacitor to GNDA
should be connected to this pin.
6.2 Analog Pins
Table 28: Analog Pins
Name Type Circuit Description
IA, IB I 6 Line Current Sense Inputs: These pins are voltage inputs to the
internal A/D converter. Typically, they are connected to the outputs of
current sensors. Unused pins must be connected to V3P3A.
VA, VB I 6 Line Voltage Sense Inputs: These pins are voltage inputs to the
internal A/D converter. Typically, they are connected to the outputs
of resistor dividers. Unused pins must be connected to V3P3A or
tied to the voltage sense input that is in use.
V1 I 7 Comparator Input: This pin is a voltage input to the internal power-fail
comparator. The input voltage is compared to the internal BIAS
voltage (1.6 V). If the input voltage is above VBIAS, the comparator
output will be high (1). If the comparator output is lower, a voltage
fault will occur and the chip will be forced to battery mode.
VREF O 9 Voltage Reference for the ADC. This pin is normally disabled by
setting the VREF_CAL bit in the I/O RAM and can then be left
unconnected. If enabled, a 0.1 F capacitor to GNDA should be
connected.
XIN
XOUT
I 8 Crystal Inputs: A 32 kHz crystal should be connected across these
pins. Typically, a 27 pF capacitor is also connected from each pin to
GNDA. It is important to minimize the capacitance between these
pins. See the crystal manufacturer datasheet for details.
Pin types: P = Power, O = Output, I = Input, I/O = Input/Output
The circuit number denotes the equivalent circuit, as specified in Section 7 I/O Equivalent Circuits.
DS_6612_001 78M6612 Data Sheet
Rev 2 43
6.3 Digital Pins
Name Type Circuit Description
COM3,
COM2,
COM1,
COM0
O 5 LCD common outputs: These four pins provide the select signals for the
LCD display.
SEG0SEG18 O 5 Dedicated LCD segment output pins. SEG 14 and SEG15 are only
available on the 68-pin package.
SEG24/DIO4
SEG31/DIO11
I/O 3, 4, 5 Multi-use pins, configurable as either LCD SEG driver or DIO. (DIO4 =
SCK, DIO5 = SDA when configured as EEPROM interface, WPULSE =
DIO6, VARPULSE = DIO7 when configured as pulse outputs). If unused,
these pins must be configured as DIOs and set to outputs by the
firmware.
SEG34/DIO14
SEG37/DIO17,
SEG39/DIO19,
SEG40/DIO20
I/O 3, 4, 5 Multi-use pins, configurable as either LCD SEG driver or DIO. If unused,
these pins must be configured as DIOs and set to outputs by the
firmware.
SEG41/DIO21 I/O 3, 4, 5 Multi-use pins, configurable as LCD driver or DIO (QFN 68 package only).
If unused, this pin must be configured as a DIO and set to an output
by the firmware.
E_RXTX/SEG38
E_RST/SEG32
I/O 1, 4, 5 Multi-use pins, configurable as either emulator port pins (when ICE_E
pulled high) or LCD SEG drivers (when ICE_E tied to GND).
E_TCLK/SEG33 O 4, 5
ICE_E I 2 ICE enable. When zero, E_RST, E_TCLK, and E_RXTX become SEG32,
SEG33, and SEG38 respectively. For production units, this pin should be
pulled to GND to disable the emulator port. This pin should be brought out
to the programming interface in order to create a way for reprogramming
parts that have the SECURE bit set.
CKTEST/SEG19 O 4, 5 Multi-use pin, configurable as either Clock PLL output or LCD segment
driver. Can be enabled and disabled by CKOUT_E[1:0].
TMUXOUT O 4 Digital output test multiplexer. Controlled by TMUX[4:0].
RX1/DIO1 I/O 3, 4, 7 Multi-use pin, configurable as UART1 Input or general DIO. When con-
figured as RX1, this pin can optionally receive a signal from an external
photo-detector used in an IR serial interface. If unused, this pin must be
terminated to V3P3D or GNDD, or configured as a DIO and set to an
output by the firmware.
TX1/DIO2 I/O 3, 4 Multi-use pin, configurable as a transmit output from UART1 (or optionally
an Optical LED Transmit Output), WPULSE, RPULSE, or general DIO.
When configured as TX1, this pin is capable of directly driving an LED for
transmitting data in an IR serial interface. If unused, this pin must be left
open, or configured as a DIO and set to an output by the firmware.
DIO3 I/O 3, 4 DIO pin (QFN 68 package only)
RESET I 3 This input pin resets the chip into a known state. For normal operation,
this pin is connected to GNDD. To reset the chip, this pin should be pulled
high. No external reset circuitry is necessary. Direct connect to ground in
normal operation.
RX0 I 3 UART input. If unused, this pin must be terminated to V3P3D or GNDD.
TX0 O 4 UART output.
TEST I 7 Enables Production Test. Must be grounded in normal operation.
Pin types: P = Power, O = Output, I = Input, I/O = Input/Output
The circuit number denotes the equivalent circuit, as specified on the following page.
78M6612 Data Sheet DS_6612_001
44 Rev 2
7 I/O Equivalent Circuits
Digital Input Equivalent Circuit
Type 1:
Standard Digital Input or
pin configured as DIO Input
with Internal Pull-Up
GNDD
110K
V3P3D
CMOS
Input
V3P3D
Digital
Input
Pin
CMOS
Output
GNDD
V3P3D
GNDD
V3P3D
Digital Output Equivalent Circuit
Type 4:
Standard Digital Output or
pin configured as DIO Output
Digital
Output
Pin
LCD Output Equivalent Circuit
Type 5:
LCD SEG or
pin configured as LCD SEG
LCD
Driver
GNDD
LCD SEG
Output
Pin
To
MUX
GNDA
V3P3A
Analog Input Equivalent Circuit
Type 6:
ADC Input
Analog
Input
Pin
Comparator Input Equivalent
Circuit Type 7:
Comparator Input
GNDA
V3P3A
To
Comparator
Comparator
Input
Pin
VREF Equivalent Circuit
Type 9:
VREF
from
internal
reference
GNDA
V3P3A
VREF
Pin
V2P5 Equivalent Circuit
Type 10:
V2P5
from
internal
reference
GNDD
V3P3D
V2P5
Pin
VBAT Equivalent Circuit
Type 12:
VBAT Power
GNDD
Power
Down
Circuits
VBAT
Pin
V3P3D Equivalent Circuit
Type 13:
V3P3D
from
V3P3SYS
V3P3D
Pin
from
VBAT
10
40
Oscillator Equivalent Circuit
Type 8:
Oscillator I/O
To
Oscillator
GNDD
Oscillator
Pin
Digital Input
Type 2:
Pin configured as DIO Input
with Internal Pull-Down
GNDD
110K
GNDD
CMOS
Input
V3P3D
Digital
Input
Pin
Digital Input Type 3:
Standard Digital Input or
pin configured as DIO Input
GNDD
CMOS
Input
V3P3D
Digital
Input
Pin
DS_6612_001 78M6612 Data Sheet
Rev 2 45
8 Ordering Information
Part
Part Description
(Package,
accuracy)
Flash
Memory
Size
Packaging Ordering Number
Package
Marking
78M6612
64-pin LQFP, 0.5%
(Lead(Pb)-free)
32KB Bulk 78M6612-IGT/F 78M6612-IGT
78M6612
64-pin LQFP, 0.5%
(Lead(Pb)-free)
32KB Tape & Reel 78M6612-IGTR/F 78M6612-IGT
78M6612
64-pin LQFP, 0.5%
(Lead(Pb)-free)
32KB
*Programmed,
Bulk
78M6612-IGT/F/P 78M6612-IGT
78M6612
64-pin LQFP, 0.5%
(Lead(Pb)-free)
32KB
*Programmed,
Tape & Reel
78M6612-IGTR/F/P 78M6612-IGT
78M6612
68-pin QFN, 0.5%
(Lead(Pb)-free)
32KB Bulk 78M6612-IM/F 78M6612-IM
78M6612
68-pin QFN, 0.5%
(Lead(Pb)-free)
32KB Tape & Reel 78M6612-IMR/F 78M6612-IM
78M6612
68-pin QFN, 0.5%
(Lead(Pb)-free)
32KB
*Programmed,
Bulk
78M6612-IM/F/P 78M6612-IM
78M6612
68-pin QFN, 0.5%
(Lead(Pb)-free)
32KB
*Programmed,
Tape & Reel
78M6612-IMR/F/P 78M6612-IM
*Contact the factory for more information on programmed part options.
9 Contact Information
For more information about Maxim products or to check the availability of the 78M6613, contact technical
support at www.maxim-ic.com/support.
78M6612 Data Sheet DS_6612_001
46 Rev 2
Maxim cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim product. No circuit
patent licenses are implied. Maxim reserves the right to change the circuitry and specifications without notice at any time.
Maxi m I nt egr at ed Pr oduct s, 120 San Gabr i el Dr i ve, Sunnyval e, CA 94086 408- 737- 7600
2012 Maxim Integrated Products Maxim is a registered trademark of Maxim Integrated Products.
Revision History
REVISION DATE DESCRIPTION
1.0 4/1/2009 First publication.
1.3 5/7/2010
Moved firmware specific information to respective developers manuals.
Added Caution to Section 1.4.6: Caution. If UART1 is being used for full
duplex operation, TX interrupts may be inadvertently cleared and thus a
TX safety timer is recommended.
Added Caution to Section 1.4.6 about UART0 interrupts.
In Section 3.10, changed I/O RAM register TX1DIS to I/O RAM register
TX1E.
In Figure 18, corrected the name of pin 45 from RX to RX0.
2 1/12 Added Maxim logo.