參數(shù)資料
型號(hào): ADUC832BCP
廠商: ANALOG DEVICES INC
元件分類(lèi): 微控制器/微處理器
英文描述: MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
中文描述: 8-BIT, FLASH, 16.78 MHz, MICROCONTROLLER, PQFP52
封裝: MO-112AC-1, MQFP-52
文件頁(yè)數(shù): 59/80頁(yè)
文件大小: 1311K
代理商: ADUC832BCP
REV. 0
ADuC832
–59–
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 115200 is
not possible. To address this problem, the ADuC832 has added
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 115200
and 230400. Timer 3 also allows a much wider range of baud
rates to be obtained. In fact, every desired bit rate from 12 bit/s
to 393216 bit/s 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 54.
(1 + T3FD/64)
2
T3 RX/TX
CLOCK
CORE
CLK
*
T3EN
RX
CLOCK
TX CLOCK
TIMER 1/TIMER 2
RX CLOCK (FIG 53)
FRACTIONAL
DIVIDER
0
0
1
1
TIMER 1/TIMER 2
TX CLOCK (FIG 53)
16
2
DIV
*
CORE CLK IS DEFINED BY THE CD BITS IN PLLCON
Figure 54. Timer 3, UART Baud Rates
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).
Table XXVII. T3CON SFR Bit Designations
Bit
Name
Description
7
T3BAUDEN
T3UARTBAUD 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 DIV1 DIV0 Bin Divider
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 1
1 0 1 1
1 1 0 1
1 1 1 1
6
5
4
3
2
1
0
DIV2
DIV1
DIV0
The appropriate value to write to the DIV2-1-0 bits can be calculated
using the following formula where
f
CORE
defined in PLLCON SFR:
Note: The DIV value must be rounded down.
DIV
f
CORE
Baud Rate
=
×
log( )
log
32
2
T3FD is the fractional divider ratio required to achieve the
required baud rate. We can calculate the appropriate value for
T3FD using the following formula:
Note: T3FD should be rounded to the nearest integer.
T FD
3
f
Baud Rate
CORE
DIV
2
2
=
×
×
Once the values for DIV and T3FD are calculated the actual
baud rate can be calculated using the following formula:
Actual Baud Rate
=
×
T FD
(
×
+
2
2
3
64
f
CORE
DIV
)
For example, to get a baud rate of 115200 while operating at
16.7 MHz
(
=
(
3
2 11059200
2
/
DIV
LOG
LOG
T FD
H
=
)
(
)
=
=
)
×
(
)
=
=
11059200
32 115200
2
1 58
.
1
115200
64
32
20
1
/
/
therefore, the actual baud rate is 114912 bit/s.
Table XXVIII. Commonly Used Baud Rates Using Timer 3
Ideal
Baud
%
Error
CD
DIV
T3CON
T3FD
230400
0
1
81H
09H
0.25
115200
115200
115200
0
1
2
2
1
0
82H
81H
80H
09H
09H
09H
0.25
0.25
0.25
57600
57600
57600
57600
0
1
2
3
3
2
1
0
83H
82H
81H
80H
09H
09H
09H
09H
0.25
0.25
0.25
0.25
38400
38400
38400
38400
0
1
2
3
3
2
1
0
83H
82H
81H
80H
2DH
2DH
2DH
2DH
0.2
0.2
0.2
0.2
19200
19200
19200
19200
19200
0
1
2
3
4
4
3
2
1
0
84H
83H
82H
81H
80H
2DH
2DH
2DH
2DH
2DH
0.2
0.2
0.2
0.2
0.2
9600
9600
9600
9600
9600
9600
0
1
2
3
4
5
5
4
3
2
1
0
85H
84H
83H
82H
81H
80H
2DH
2DH
2DH
2DH
2DH
2DH
0.2
0.2
0.2
0.2
0.2
0.2
相關(guān)PDF資料
PDF描述
ADUC832BS MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC834 MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
ADUC834BS MicroConverter, Dual 16-/24- Bit ADCs with Embedded 62KB FLASH MCU
ADUM1310BRWZ Triple-Channel Digital Isolator with Programmable Default Output
ADUM1310BRWZ-RL Triple-Channel Digital Isolator with Programmable Default Output
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC832BCP-REEL 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3V/5V 56-Pin LFCSP EP T/R
ADUC832BCPZ 功能描述:IC MCU 62K FLASH ADC/DAC 56LFCSP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:250 系列:LPC11Uxx 核心處理器:ARM? Cortex?-M0 芯體尺寸:32-位 速度:50MHz 連通性:I²C,Microwire,SPI,SSI,SSP,UART/USART,USB 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,POR,WDT 輸入/輸出數(shù):40 程序存儲(chǔ)器容量:96KB(96K x 8) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:4K x 8 RAM 容量:10K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:48-LQFP 包裝:托盤(pán) 其它名稱(chēng):568-9587
ADUC832BCPZ-REEL 功能描述:IC MCU 62K FLASH ADC/DAC 56LFCSP RoHS:是 類(lèi)別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:38 系列:Encore!® XP® 核心處理器:eZ8 芯體尺寸:8-位 速度:5MHz 連通性:IrDA,UART/USART 外圍設(shè)備:欠壓檢測(cè)/復(fù)位,LED,POR,PWM,WDT 輸入/輸出數(shù):16 程序存儲(chǔ)器容量:4KB(4K x 8) 程序存儲(chǔ)器類(lèi)型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 105°C 封裝/外殼:20-SOIC(0.295",7.50mm 寬) 包裝:管件 其它名稱(chēng):269-4116Z8F0413SH005EG-ND
ADUC832BS 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3.3V/5V 52-Pin MQFP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 16.78MHZ 3.3/5V 52MQFP - Bulk 制造商:Analog Devices 功能描述:8BIT MCU +12BIT ADC LQFP52 832
ADUC832BS-REEL 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3.3V/5V 52-Pin MQFP T/R