ADUC845BS62-3 Analog Devices Inc, ADUC845BS62-3 Datasheet - Page 79
![IC FLASH MCU W/24BIT ADC 52-MQFP](/photos/6/65/66517/505-52-mqfp_sml.jpg)
ADUC845BS62-3
Manufacturer Part Number
ADUC845BS62-3
Description
IC FLASH MCU W/24BIT ADC 52-MQFP
Manufacturer
Analog Devices Inc
Series
MicroConverter® ADuC8xxr
Datasheet
1.EVAL-ADUC845QSZ.pdf
(108 pages)
Specifications of ADUC845BS62-3
Core Processor
8052
Core Size
8-Bit
Speed
12.58MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
POR, PSM, PWM, Temp Sensor, WDT
Number Of I /o
34
Program Memory Size
62KB (62K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Data Converters
A/D 10x24b; D/A 1x12b, 2x16b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
52-MQFP, 52-PQFP
For Use With
EVAL-ADUC845QSZ - KIT DEV FOR ADUC845 QUICK START
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Timer/Counter 2 Operating Modes
The following sections describe the operating modes for
Timer/Counter 2. The operating modes are selected by bits in
the T2CON SFR as shown in Table 53.
Table 53. T2CON Operating Modes
RCLK (or) TCLK
0
0
1
X
16-Bit Autoreload Mode
Autoreload mode has two options that are selected by bit
EXEN2 in T2CON. If EXEN2 = 0, when Timer 2 rolls over, it
not only sets TF2 but also causes the Timer 2 registers to be
reloaded with the 16-bit value in registers RCAP2L and
RCAP2H, which are preset by software. If EXEN2 = 1, Timer 2
still performs the above, but with the added feature that a 1-to-0
transition at external input T2EX also triggers the 16-bit reload
and sets EXF2. Autoreload mode is shown in Figure 56.
CAP2
0
1
X
X
T2EX
*
NOTES
1. THE CORE CLOCK IS THE OUTPUT OF THE PLL (SEE THE ON-CHIP PLL SECTION)
PIN
PIN
CORE
CLK
T2
T2EX
*
NOTES
1. THE CORE CLOCK IS THE OUTPUT OF THE PLL (SEE THE ON-CHIP PLL SECTION)
PIN
PIN
CORE
CLK
T2
1
1
TR2
1
1
1
0
TRANSITION
DETECTOR
TRANSITION
DETECTOR
Mode
16-Bit Autoreload
16-Bit Capture
Baud Rate
Off
C/ T2 = 0
C/ T2 = 1
C/ T2 = 0
C/ T2 = 1
EXEN2
Figure 56. Timer/Counter 2, 16-Bit Autoreload Mode
EXEN2
Figure 57. Timer/Counter 2, 16-Bit Capture Mode
CONTROL
CONTROL
TR2
TR2
CONTROL
CAPTURE
CONTROL
RELOAD
Rev. B | Page 79 of 108
RCAP2L
(8 BITS)
RCAP2L
(8 BITS)
TL2
TL2
16-Bit Capture Mode
Capture mode has two options that are selected by Bit EXEN2
in T2CON. If EXEN2 = 0, Timer 2 is a 16-bit timer or counter
that, upon overflowing, sets bit TF2, the Timer 2 overflow bit,
which can be used to generate an interrupt. If EXEN2 = 1,
Timer 2 still performs the above, but a l-to-0 transition on
external input T2EX causes the current value in the Timer 2
registers, TL2 and TH2, to be captured into Registers RCAP2L
and RCAP2H, respectively. In addition, the transition at T2EX
causes Bit EXF2 in T2CON to be set, and EXF2, like TF2, can
generate an interrupt. Capture mode is shown in Figure 57. The
baud rate generator mode is selected by RCLK = 1 and/or
TCLK = 1.
In either case, if Timer 2 is used to generate the baud rate, the
TF2 interrupt flag does not occur. Therefore, Timer 2 interrupts
do not occur, so they do not have to be disabled. In this mode,
the EXF2 flag can, however, still cause interrupts, which can be
used as a third external interrupt. Baud rate generation is
described as part of the UART serial port operation in the
following section.
RCAP2H
RCAP2H
(8 BITS)
(8 BITS)
TH2
TH2
EXF2
TF2
EXF2
TF2
ADuC845/ADuC847/ADuC848
TIMER
INTERRUPT
TIMER
INTERRUPT