參數(shù)資料
型號: ADUC831BS
廠商: ANALOG DEVICES INC
元件分類: 微控制器/微處理器
英文描述: MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
中文描述: 8-BIT, FLASH, 16.78 MHz, MICROCONTROLLER, PQFP52
封裝: PLASTIC, MQFP-52
文件頁數(shù): 57/76頁
文件大小: 1211K
代理商: ADUC831BS
REV. 0
ADuC831
–57–
Timer 1 Generated Baud Rates
When Timer 1 is used as the baud rate generator, the baud rates
in Modes 1 and 3 are determined by the Timer 1 overflow rate
and the value of SMOD as follows:
Modes and Baud Rate =
(
/
) (Timer Overflow Rate)
2
32
SMOD
1
3
1
The Timer 1 interrupt should be disabled in this application. The
Timer itself can be configured for either timer or counter opera-
tion, and in any of its three running modes. In the most typical
application, it is configured for timer operation in the Autoreload
mode (high nibble of TMOD = 0010 binary). In that case, the baud
rate is given by the formula:
Modes and Baud Rate=
SMOD
(
) (
2
32
/
Core Clock/(
–TH
[
]))
1
12
256
×
Table XXIV shows some commonly used baud rates and how they
might be calculated from a core clock frequency of 11.0592 MHz
and 12 MHz. Generally speaking, a 5% error is tolerable using
asynchronous (start/stop) communications.
Table XXIV. Commonly-Used Baud Rates, Timer 1
Core
CLK
(MHz)
Ideal
Baud
SMOD
Value
TH1-Reload
Value
Actual
Baud
%
Error
9600
19200
9600
2400
12
11.0592
11.0592
11.0592
1
1
0
0
–7
–3
–3
–12 (F4H)
(F9H)
(FDH)
(FDH)
8929
19200
9600
2400
7
0
0
0
Timer 2 Generated Baud Rates
Baud rates can also be generated using Timer 2. Using Timer 2 is
similar to using Timer 1 in that the timer must overflow 16 times
before a bit is transmitted/received. Because Timer 2 has a 16-bit
Autoreload mode, a wider range of baud rates is possible using
Timer 2.
1
3
Modes and Baud Rate=(1 16
Therefore, when Timer 2 is used to generate baud rates, the timer
increments every two clock cycles and not every core machine
cycle as before. Thus, it increments six times faster than Timer 1,
and therefore baud rates six times faster are possible. Because
Timer 2 has 16-bit autoreload capability, very low baud rates are
still possible.
Timer 2 is selected as the baud rate generator by setting the TCLK
and/or RCLK in T2CON. The baud rates for transmit and receive
can be simultaneously different. Setting RCLK and/or TCLK puts
Timer 2 into its baud rate generator mode as shown in Figure 53.
In this case, the baud rate is given by the formula:
Modes 1 and 3 Baud Rate =
(Core Clk)/(
– RCAP H, RCAP L
32
65536
×
[
) (Timer Overflow Rate)
2
2
2
(
)])
Table XXV shows some commonly used baud rates and how they
might be calculated from a core clock frequency of 11.0592MHz
and 12 MHz.
Table XXV. Commonly Used Baud Rates, Timer 2
Core
CLK
(MHz)
Ideal
Baud
RCAP2H
Value
RCAP2L
Value
Actual %
Baud
Error
19200
9600
2400
1200
19200
9600
2400
1200
12
12
12
12
11.0592
11.0592
11.0592
11.0592
–1 (FFH)
–1 (FFH)
–1 (FFH)
–2 (FEH)
–1 (FFH)
–1 (FFH)
–1 (FFH)
–2 (FFH)
–20
–41
–164 (5CH)
–72
(B8H)
–18
(EEH)
–36
(DCH)
–144 (70H)
–32
(E0H)
(ECH)
(D7H)
19661
9591
2398
1199
19200
9600
2400
1200
2.4
0.1
0.1
0.1
0
0
0
0
CORE
CLK
2
T2
PIN
TR2
CONTROL
TL2
(8 BITS)
TH2
(8 BITS)
RELOAD
EXEN2
CONTROL
T2EX
PIN
TRANSITION
DETECTOR
EXF 2
TIMER 2
INTERRUPT
NOTE: AVAILABILITY OF ADDITIONAL
EXTERNAL INTERRUPT
RCAP2L
RCAP2H
TIMER 2
OVERFLOW
2
16
16
RCLK
TCLK
RX
CLOCK
TX
CLOCK
0
0
1
1
1
0
SMOD
TIMER 1
OVERFLOW
C/
T2
= 0
C/
T2
= 1
NOTE: OSC. FREQ. IS DIVIDED BY 2, NOT 12.
Figure 53. Timer 2, UART Baud Rates
相關(guān)PDF資料
PDF描述
ADUC836 MicroConverter, Dual 16-Bit-ADCs with Embedded 62 kB Flash MCU
ADUC836BCP MicroConverter, Dual 16-Bit-ADCs with Embedded 62 kB Flash MCU
ADUC836BS MicroConverter, Dual 16-Bit-ADCs with Embedded 62 kB Flash MCU
ADUC842BCP62-3 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
ADUC843BCP62-5 MicroConverter 12-Bit ADCs and DACs with Embedded High Speed 62-kB Flash MCU
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC831BS-REEL 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 62KB Flash 3.3V/5V 52-Pin MQFP T/R
ADUC831BSZ 功能描述:IC ADC/DAC 12BIT W/MCU 52-MQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲器容量:40KB(20K x 16) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
ADUC831BSZ-REEL 功能描述:IC MCU 62K FLASH ADC/DAC 52MQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:MicroConverter® ADuC8xx 標(biāo)準(zhǔn)包裝:38 系列:Encore!® XP® 核心處理器:eZ8 芯體尺寸:8-位 速度:5MHz 連通性:IrDA,UART/USART 外圍設(shè)備:欠壓檢測/復(fù)位,LED,POR,PWM,WDT 輸入/輸出數(shù):16 程序存儲器容量:4KB(4K x 8) 程序存儲器類型:閃存 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 寬) 包裝:管件 其它名稱:269-4116Z8F0413SH005EG-ND
ADUC832 制造商:AD 制造商全稱:Analog Devices 功能描述:MicroConverter, 12-Bit ADCs and DACs with Embedded 62 kBytes Flash MCU
ADUC832BCP 制造商:Analog Devices 功能描述:MCU 8-Bit ADuC8xx 8052 CISC 62KB Flash 3V/5V 56-Pin LFCSP EP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 62KB FLASH 16.78MHZ 3.3/5V 56LFCSP - Bulk