ADUC7021BCPZ62-RL Analog Devices Inc, ADUC7021BCPZ62-RL Datasheet - Page 54
![IC,MICROCONTROLLER,16-BIT,ARM7 CPU,CMOS,LLCC,40PIN,PLASTIC](/photos/6/50/65062/505-40-lfcsp_sml.jpg)
ADUC7021BCPZ62-RL
Manufacturer Part Number
ADUC7021BCPZ62-RL
Description
IC,MICROCONTROLLER,16-BIT,ARM7 CPU,CMOS,LLCC,40PIN,PLASTIC
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC7xxxr
Datasheet
1.USB-I2CLIN-CONV-Z.pdf
(96 pages)
Specifications of ADUC7021BCPZ62-RL
Core Processor
ARM7
Core Size
16/32-Bit
Speed
44MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
PLA, PWM, PSM, Temp Sensor, WDT
Number Of I /o
13
Program Memory Size
62KB (62K x 8)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 8x12b, D/A 2x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-LFCSP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
ADuC7019/20/21/22/24/25/26/27/28/29
Input offset voltage (V
the hysteresis range and the ground level. This can either be
positive or negative. The hysteresis voltage (V
width of the hysteresis range.
Comparator Interface
The comparator interface consists of a 16-bit MMR, CMPCON,
which is described in Table 56.
Table 55. CMPCON Register
Name
CMPCON
Table 56. CMPCON MMR Bit Descriptions
Bit
15:11
10
9:8
7:6
5
4:3
2
1
0
Name
CMPEN
CMPIN
CMPOC
CMPOL
CMPRES
CMPHYST
CMPORI
CMPOFI
Address
0xFFFF0444
Value
00
01
10
11
00
01
10
11
00
11
01/10
OS
) is the difference between the center of
Description
Reserved.
Comparator enable bit. Set by user
to enable the comparator. Cleared
by user to disable the comparator.
Comparator negative input
select bits.
AV
ADC3 input.
DAC0 output.
Reserved.
Comparator output configuration
bits.
Reserved.
Reserved.
Output on CMP
IRQ.
Comparator output logic state bit.
When low, the comparator output
is high if the positive input (CMP0)
is above the negative input (CMP1).
When high, the comparator output
is high if the positive input is below
the negative input.
Response time.
5 μs response time is typical for
large signals (2.5 V differential).
17 μs response time is typical for
small signals (0.65 mV differential).
3 μs typical.
Reserved.
Comparator hysteresis bit. Set by
user to have a hysteresis of about
7.5 mV. Cleared by user to have no
hysteresis.
Comparator output rising edge
interrupt. Set automatically when a
rising edge occurs on the moni-
tored voltage (CMP0). Cleared by
user by writing a 1 to this bit.
Comparator output falling edge
interrupt. Set automatically when a
falling edge occurs on the monitored
voltage (CMP0). Cleared by user.
DD
Default Value
0x0000
/2.
OUT
H
) is one-half the
.
Access
R/W
Rev. C | Page 54 of 96
OSCILLATOR AND PLL—POWER CONTROL
Clocking System
Each ADuC7019/20/21/22/24/25/26/27/28/29 integrates a
32.768 kHz ±3% oscillator, a clock divider, and a PLL. The PLL
locks onto a multiple (1275) of the internal oscillator or an external
32.768 kHz crystal to provide a stable 41.78 MHz clock (UCLK) for
the system. To allow power saving, the core can operate at this
frequency, or at binary submultiples of it. The actual core oper-
ating frequency, UCLK/2
core clock is the PLL clock divided by 8 (CD = 3) or 5.22 MHz.
The core clock frequency can also come from an external clock
on the ECLK pin as described in Figure 57. The core clock can
be outputted on ECLK when using an internal oscillator or
external crystal.
Note that when the ECLK pin is used to output the core clock,
the output signal is not buffered and is not suitable for use as a
clock source to an external device without an external buffer.
The selection of the clock source is in the PLLCON register. By
default, the part uses the internal oscillator feeding the PLL.
External Crystal Selection
To switch to an external crystal, the user must do the following:
1.
2.
3.
WATCHDOG
*32.768kHz ±3%
WAKE-UP
TIMER
TIMER
Enable the Timer2 interrupt and configure it for a timeout
period of >120 μs.
Follow the write sequence to the PLLCON register, setting
the MDCLK bits to 01 and clearing the OSEL bit.
Force the part into NAP mode by following the correct
write sequence to the POWCON register.
When the part is interrupted from NAP mode by the
Timer2 interrupt source, the clock source has switched to
the external clock.
CORE
OSCILLATOR
INT. 32kHz*
Figure 57. Clocking System
PLL
I
CD
2
C
32.768kHz
, is refered to as HCLK. The default
CD
41.78MHz
UCLK
AT POWER-UP
OSCILLATOR
P0.7/ECLK
CRYSTAL
/2
OCLK
CD
HCLK
PERIPHERALS
ANALOG
MDCLK
XCLKO
XCLKI
P0.7/XCLK