On-Chip Resources Overview
The MAX78615+PPM device integrates all the hardware
blocks required for accurate AC power and energy mea-
surement. Included on the device are the following:
●Oscillator and clock management logic
●Power-on reset, watchdog timer, and reset circuitry
●24-bit measurement processor with RAM and flash
memory
●UART, SPI, and I2C serial communication interfaces
and multipurpose digital I/O
●Pulse transformer interfaces (for connection to up to
three or more MAX78700 or MAX71071 devices)
Clock Management
The device can be clocked by oscillator circuitry that
relies on an external crystal or, as a backup source, by a
trimmed internal RC oscillator. The internal RC oscillator
provides an accurate clock source for UART baud rate
generation.
The chip hardware automatically handles the clock
sources logic and distributes the clock to the rest of the
device. Upon reset or power-on, the device will utilize the
internal RC oscillator circuit for the first 1024 clock cycles,
allowing the external crystal adequate time to startup. The
device will then automatically select the external clock,
if available. It will also automatically switch back to the
internal oscillator in the event of a failure with the external
oscillator. This condition is also monitored by the proces-
sor and available to the user in the STATUS register.
The MAX78615+PPM external clock circuitry requires
a 20.000MHz crystal. The circuitry includes two 18pF
ceramic capacitors. Figure 3 shows the typical connection
of the external crystal. This oscillator is self-biasing and
therefore an external resistor should not be connected
across the crystal.
An external 20MHz system clock signal can also be uti-
lized instead of the crystal. In this case, the external clock
should be connected to the XOUT pin while the XIN pin
should be connected to GND.
Alternatively, if no external crystal or clock is utilized, the
XOUT pin should be connected to GND and the XIN pin
left unconnected.
Power-On Reset, Watchdog-Timer,
and Reset Circuitry
Power-On Reset (POR)
An on-chip power-on reset (POR) block monitors the
supply voltage (VDD) and initializes the internal digital
circuitry at power-on. Once VDD is above the minimum
operating threshold, the POR circuit triggers and initi-
ates a reset sequence. It also issues a reset to the digital
circuitry if the supply voltage falls below the minimum
operating level.
Watchdog Timer (WDT)
A watchdog timer (WDT) block detects any software
processing errors. The embedded software periodically
refreshes the free-running watchdog timer to prevent it
from timing out. If the WDT times out, it is an indication
that software is no longer being executed in the intended
sequence; thus, a system reset is initiated.
External Reset Pin (RESET Pin)
In addition to the internal sources, a reset can be forced
by applying a low level to the RESET pin. If the RESET
pin is pulled low, all digital activities in the device stop,
except the clock management circuitry and oscillators,
which continue to run. The external reset input is filtered
to prevent spurious reset events in noisy environments.
The reset does not occur until RESET has been held low
for at least 1µs.
Once initiated, the reset mode persists until the RESET is
set high and the reset timer times out (4096 clock cycles).
At the completion of the reset sequence, the internal reset
is released and the processor begins executing from
address 0.
If not used, the RESET pin can be connected either
directly or through a pullup resistor to VDD supply.
Figure 4 shows simple connection diagram examples.
Figure 3. Typical Connection of External Crystal
MAX78615+PPM
20MHz
18pF
18pF
XIN
XOUT
MAX78615+PPM Isolated Energy Measurement Processor
for Polyphase Monitoring Systems
www.maximintegrated.com Maxim Integrated
│
8