MAXQ7670
Microcontroller with 10-Bit ADC,
PGA, 64KB Flash, and CAN Interface
______________________________________________________________________________________ 19
The MAXQ7670 ADC uses a fully differential SAR con-
version technique and an integrated T/H (track and
hold) block to convert voltage signals into a 10-bit digi-
tal result. Both single-ended and differential configura-
tions are implemented using an analog input channel
multiplexer that supports 8 single-ended or 4 differen-
tial channels.
In single-ended mode, the mux selects from either of
the ground-referenced analog inputs AIN0–AIN7. In dif-
ferential input configuration, analog inputs are selected
from the following pairs: AIN0/AIN1, AIN2/AIN3,
AIN4/AIN5, and AIN6/AIN7. Table 1 shows the single-
ended and differential input configurations possible for
the ADC mux.
Analog Input Track and Hold
A SAR conversion in the MAXQ7670 has different T/H
cycles depending on whether a gain of 1 (bypass) or a
gain of 16 (PGA enabled) is selected.
Gain = 1V/V
In gain = 1V/V, the conversion has a two-stage T/H
cycle. In track mode, a positive input capacitor con-
nects to the signal channel. A negative input capacitor
connects to the reference channel. After the T/H enters
hold mode, the difference between the signal and the
reference channel is converted to a 10-bit value. This
two-stage cycle takes 16 SARCLKs to complete.
Gain = 16V/V
In gain = 16V/V, the conversion has a three-stage T/H
cycle: amplification, ADC track, and ADC hold. First,
the PGA tracks the selected input and reference sig-
nals. The PGA amplifies the difference between the two
signals and holds the result for the next stage, ADC
track. The ADC tracks and converts the PGA result into
a 10-bit value. The SAR operation itself does not
change irrespective of the chosen gain. This three-
stage cycle takes 26.5 SARCLKs to complete. Figure 5
shows the conversion timing differences between gain
= 1V/V and gain = 16V/V.
SAR CHANNEL
SELECT
(REGISTER
ACNT[14:11])
SIGNAL CHANNEL
INTO ADC
REFERENCE
CHANNEL INTO
ADC
MEASUREMENT TYPE
0000 AIN0 AGND Single-ended measurement on AIN0
0001 AIN1 AGND Single-ended measurement on AIN1
0010 AIN2 AGND Single-ended measurement on AIN2
0011 AIN3 AGND Single-ended measurement on AIN3
0100 AIN4 AGND Single-ended measurement on AIN4
0101 AIN5 AGND Single-ended measurement on AIN5
0110 AIN6 AGND Single-ended measurement on AIN6
0111 AIN7 AGND Single-ended measurement on AIN7
1000 Reserved
1001 Reserved
1010 AIN0 AIN1 AIN0/AIN1
1011 AIN2 AIN3 AIN2/AIN3
1100 AIN4 AIN5 AIN4/AIN5
1101 AIN6 AIN7 AIN6/AIN7
1110 Reserved
1111 VCIM differential zero offset trim
Table 1. ADC Mux Input Configurations
MAXQ7670
Microcontroller with 10-Bit ADC,
PGA, 64KB Flash, and CAN Interface
20 ______________________________________________________________________________________
Input Impedance
The input-capacitance charging rate determines the
time required for the T/H to acquire an input signal. The
required acquisition time lengthens with the increase of
the input signals source resistance. Any source below
5k does not significantly affect the ADC’s perfor-
mance. A high-impedance source can be accommo-
dated by placing a 1µF capacitor between the input
channel and AGND. The combination of analog-input
source impedance and the capacitance at the analog
input creates an RC filter that limits the analog-input
bandwidth.
Controlling ADC Conversions
Use the following methods to control the ADC conver-
sion timing:
1) Software register bit control
2) Continuous conversion
3) Internal timer (T0)
4) External input through ADCCNV
Refer to the
MAXQ7670 User’s Guide
for more detailed
information on the ADC and mux.
POR and Brownout
The MAXQ7670 operates from a single, external +5V
supply connected to the DVDDIO. DVDDIO is the sup-
ply rail for the digital I/O and the supply input for both
integrated linear regulators. The +3.3V linear regulator
powers AVDD, while the +2.5V linear regulator powers
DVDD. Alternatively, connect REGEN2 to DVDDIO and
apply external power supplies to AVDD and DVDD.
Power supplies DVDDIO, DVDD, and AVDD each
include a brownout monitor that alerts the µC through
an interrupt when the corresponding supply voltages
drop below a defined threshold. This condition is gen-
erally referred to as brownout interrupt (BOI). Enable
BOI by setting the VABE, VDBE, and VIBE bits in the
APE register. By continually checking for low supply
voltages, appropriate action can be taken for brownout
conditions.
Startup Using Internal Regulators
Once the +5V DVDDIO supply reaches approximately
1.25V, the +2.5V linear regulator turns on and DVDD
begins ramping. Between the DVDD levels of 1V and
the reset threshold, the DVDD monitor holds RESET
low. DVDD releases RESET after reaching the reset
threshold. The MAXQ7670 jumps to the reset vector
location (8000h in the utility ROM). During this time,
DVDD finishes ramping to its nominal voltage of +2.5V.
During this POR time, the software-enabled +3.3V lin-
ear regulator remains off. Turn on the +3.3V linear regu-
lator after the MAXQ7670 has completed its bootup
routines and is running application code. To turn on the
+3.3V regulator, set the LRAPD bit in the APE register
to 0. The AVDD supply begins ramping to its nominal
voltage of +3.3V.
Brownout Detectors
The MAXQ7670 features brownout monitors for the +5V
DVDDIO, +3.3V AVDD, and +2.5V DVDD power sup-
plies. When enabled, these monitors generate interrupts
when DVDDIO, AVDD, or DVDD fall below their respec-
tive brownout thresholds. Monitoring the supply rails
alerts the µC to brownout conditions so appropriate
action can be taken. Under normal conditions the DVDDIO
brownout monitor signals a falling +5V supply before
the DVDD or AVDD brownout monitors indicate that the
+2.5V or +3.3V are falling. The exceptions to this condi-
tion are:
If either DVDD or AVDD are externally powered and
the source of power is removed
If there is some type of device failure that pulls the reg-
ulator outputs low without affecting the +5V DVDDIO
supply
SAR CYCLE
PGA = 1V/V
SAR CYCLE
PGA = 16V/V
SAR TRACK HOLD AND SAR CONVERT
PGA TRACK PGA HOLD, SAR TRACK HOLD AND SAR CONVERT
3 SCLK
13 SCLK
7.5 SCLK 6 SCLK 13 SCLK
Figure 5. Conversion Timing Differences Between Gain = 1V/V and Gain = 16V/V
MAXQ7670
Microcontroller with 10-Bit ADC,
PGA, 64KB Flash, and CAN Interface
______________________________________________________________________________________ 21
The DVDD reset supervisor resets the MAXQ7670 when
the +2.5V DVDD falls below the reset threshold. The
processor remains in reset until DVDD returns above
the reset threshold. The µC does not execute com-
mands in reset mode. See Figure 6 for the µC response
to DVDD brownout and reset.
Refer to the
MAXQ7670 User’s Guide
for detailed pro-
gramming information, and a more thorough descrip-
tion of POR and brownout behavior.
Internal 3.3V Linear Regulator
The integrated 3.3V 50mA linear regulator or an exter-
nal 3.3V supply powers AVDD. The integrated 3.3V reg-
ulator is inactive upon power-up. Enable the integrated
regulator with software programming after power-up.
When using an external supply, connect a regulated
3.3V supply to AVDD after applying DVDDIO.
Internal 2.5V Linear Regulator
The integrated 2.5V 50mA linear regulator or an exter-
nal 2.5V supply applied at DVDD powers DVDD.
Connect REGEN2 to GNDIO to enable the integrated
regulator. Connect REGEN2 to DVDDIO to use an
external supply. When using an external supply, con-
nect a regulated 2.5V supply to DVDD after applying
DVDDIO.
DVDDIO Current Requirements
Both internal linear regulators are capable of supplying
up to 50mA each. When using the regulators to power
AVDD and DVDD and to provide power to external
devices, make sure DVDDIO’s power input can source
a current greater than the sum of the MAXQ7670 sup-
ply current and the load currents of the two regulators.
DGND
NOMINAL
DVDD (+2.5V)
BROWNOUT
RESET
(BOR)
+2.38V
INTERNAL RESET
BOR STATE
RESET OUTPUT
+2.25V
BROWNOUT
INTERRUPT
(BOI)
DVLVL FLAG
(ASR[14])
DVBI FLAG
(ASR[4])
FLAG ARBITRARILY
CLEARED BY
µ
C
VDBE BIT SET BY µC
DVDD BROWNOUT
INTERRUPT
THRESHOLD RANGE
Figure 6. DVDD Brownout and Reset Behavior

MAXQ7670ATL+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
16-bit Microcontrollers - MCU MCU w/12-Bit ADC PGA 64KB Flash & CAN Int
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union