
MAXQ7667
16-Bit, RISC, Microcontroller-Based,
Ultrasonic Distance-Measuring System
______________________________________________________________________________________
21
MAXQ is a registered trademark of Maxim Integrated Products, Inc.
Type 2 Timers/Counters
The MAXQ7667 includes three 16-bit timers/counters
with programmable I/O (Figure 9). Each timer is a Type
2 timer implemented in the MAXQ family. The Type 2
timer is an autoreload 16-bit timer/counter offering the
following functions:
8-bit/16-bit timer/counter
Up/down autoreload
Counter function of external pulse
Capture
Compare
Clock Sources
The MAXQ7667 oscillator module supplies the system
clock for the C core and all of the peripheral modules.
The high-frequency oscillator operates with a 1MHz to
16MHz crystal. Use the internal RC oscillator as the
system clock for applications that do not require pre-
cise timing. See Section 15 of the
MAXQ7667 User’s
Guide.
The MAXQ7667 supports the following master clock
sources:
Internal high-frequency oscillator drives an exter-
nal 1MHz–16MHz crystal or ceramic resonator
Internal, fast-starting, 13.5MHz RC oscillator
(default oscillator at startup and in the event the
external crystal fails)
External 4MHz–16MHz clock input
Crystal Selection
The MAXQ7667 requires a crystal with the following
specifications:
Frequency: 1MHz–16MHz
CLOAD: 6pF (min)
Drive level: 5W
Series resonance resistance: 30
(max)
Note: Quartz crystal vendors often specify series reso-
nance resistance (R1). Series resonance resistance is
the resistance observed when the resonator is in the
series resonant condition. When a resonator is used in
the parallel resonant mode with an external load capac-
itance, as is the case with the MAXQ7667 oscillator cir-
cuit, the effective resistance at the loaded frequency of
oscillation is:
R1 x (1 + (CO/CLOAD))2
For typical shunt capacitance (CO) and load capaci-
tance (CLOAD) values, the effective resistance poten-
tially exceeds R1 by a factor of 2.