ADUC832 Analog Devices, ADUC832 Datasheet - Page 78

no-image

ADUC832

Manufacturer Part Number
ADUC832
Description
Precision Analog Microcontroller: 1.3MIPS 8052 MCU + 62kB Flash + 8-Ch 12-Bit ADC + Dual 12-Bit DAC
Manufacturer
Analog Devices
Datasheet

Specifications of ADUC832

Mcu Core
8052
Mcu Speed (mips)
1.3
Sram (bytes)
2304Bytes
Gpio Pins
34
Adc # Channels
8
Other
PWM

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ADUC832BCPZ-REEL
Manufacturer:
ADI
Quantity:
208
Part Number:
ADUC832BS
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC832BSZ
Manufacturer:
SONY
Quantity:
101
Part Number:
ADUC832BSZ
Manufacturer:
ADI
Quantity:
150
Part Number:
ADUC832BSZ
Manufacturer:
Analog Devices Inc
Quantity:
10 000
Part Number:
ADUC832BSZ
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
ADUC832BSZ-REEL
Manufacturer:
Analog Devices Inc
Quantity:
10 000
ADuC832
TIMER 3 GENERATED BAUD RATES
The high integer dividers in a UART block mean that high
speed baud rates are not always possible using some particular
crystals. For example, using a 12 MHz crystal, a baud rate of
115,200 is not possible. To address this problem, the ADuC832
has a dedicated baud rate timer (Timer 3) specifically for
generating highly accurate baud rates.
Timer 3 can be used instead of Timer 1 or Timer 2 for generating
very accurate high speed UART baud rates including 115,200
and 230,400. Timer 3 also allows a much wider range of baud
rates to be obtained. Every desired bit rate from 12 bits/sec to
393,216 bits/sec can be generated to within an error of ±0.8%.
Timer 3 also frees up the other three timers, allowing them to
be used for different applications. A block diagram of Timer 3 is
shown in Figure 84.
Two SFRs (T3CON and T3FD) are used to control Timer 3.
T3CON is the baud rate control SFR, allowing Timer 3 to be
used to set up the UART baud rate, and setting up the binary
divider (DIV).
FRACTIONAL
*CORE CLK IS DEFINED BY THE CD BITS IN PLLCON.
DIVIDER
CORE
CLK
*
÷ (1 + T3FD/64)
÷2
OSC. FREQ. IS DIVIDED BY 2, NOT 12.
NOTE AVAILABILITY OF ADDITIONAL
EXTERNAL INTERRUPT
*
÷16
CORE CLK IS DEFINED BY THE CD BITS IN PLLCON.
Figure 84. Timer 3, UART Baud Rates
÷2
DIV
TRANSITION
T2EX
DETECTOR
PIN
PIN
CORE
CLK
T2
*
T3 RX/TX
CLOCK
RX CLOCK (FIG 83)
TIMER 1/TIMER 2
2
1
1
TX CLOCK (FIG 83)
0
0
C/T2 = 0
C/T2 = 1
TIMER 1/TIMER 2
EXEN2
CONTROL
T3EN
CONTROL
TR2
TX CLOCK
RX
CLOCK
Figure 83. Timer 2, UART Baud Rates
EXF 2
Rev. A | Page 78 of 92
RCAP2L
(8 BITS)
TL2
TIMER 2
INTERRUPT
RCAP2H
(8 BITS)
TH2
Table 43. T3CON SFR Bit Designations
Bit
[7]
[6:4]
[2:0]
The appropriate value to write to the DIV[2:0] bits can be
calculated using the following formula
where f
Note that the DIV value must be rounded down.
T3FD is the fractional divider ratio required to achieve the
required baud rate. The appropriate value for T3FD can be
calculated using the following formula:
Note that T3FD should be rounded to the nearest integer.
RELOAD
OVERFLOW
T
DIV
TIMER 2
3
Name
T3BAUDEN
Reserved
DIV[2:0]
CORE
FD
=
=
is defined in the PLLCON SFR, PLLCON[2:0].
log
2
DIV
32
2
1
1
×
×
×
log(
Baud
OVERFLOW
Description
T3 UART baud rate enable. Set to enable
Timer 3 to generate the baud rate. When
set, PCON[7], T2CON[4], and T2CON[5] are
ignored. Cleared to let the baud rate be
generated as per a standard 8052.
Binary divider factor
DIV2
0
0
0
0
1
1
1
1
2
Baud
f
f
CORE
TIMER 1
0
CORE
) 2
0
0
Rate
Rate
1
DIV1
0
0
1
1
0
0
1
1
RCLK
TCLK
16
16
SMOD
DIV0
0
1
0
1
0
1
0
1
RX
CLOCK
TX
CLOCK
Binary Divider
1
1
1
1
1
1
1
1

Related parts for ADUC832