User manual

AN020201-0904
Abstract
1
Application Note
Battery-Level Detection in Z8 GP
MCU Peripherals
Abstract
This
Application Note
discusses the enhanced peripherals of the ZGP323 and
ZGR323 devices, which are useful for battery-operated applications such as uni
-
versal remote controls.
This document focuses on low and high battery voltage
detection of
fered by the synchronized
T8 and
T16 timers.
Z8 GP
Application Board Overview
ZiLOG’
s ZGP323 and ZGR323 devices are one-time programmable (OTP) infra
-
red
m
icrocontrollers. With 237 bytes of general-purpose RAM, 2.0
–3
.6
V
voltage
range, high and low voltage detect
ion
, and up to 32
KB of OTP, ZiLOG’s CMOS
microcontrollers offer fast execution, efficient use of memory, sophisticated inter-
rupts, input/output bit-manipulation capabilities, automated pulse generation/
reception, and internal key-scan pull-up transistors.
Up to 32 KB OTP
Low power consumption—6 mW (typical)
2.0–3.6 V operating voltage
Three standby modes:
STOP—2 µA (typical)
HALT—0.8 mA (typical)
Low voltage
Intelligent counter/timer architecture:
One programmable 8-bit counter/timer with two capture registers and two
load registers
One programmable 16-bit counter/timer with one 16-bit register pair and
one 16-bit load register pair
Programmable input glitch filter for pulse reception
Six priority interrupts:
Three external interrupts
Two interrupts assigned to counter/timers
One low-voltage detection interrupt
Low battery voltage detection
High battery voltage detection
Programmable Watch-Dog Timer/Power-On Reset (WDT/POR) circuits