參數(shù)資料
型號(hào): ADUC812BCPZ-REEL
廠商: ANALOG DEVICES INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, FLASH, 11.0592 MHz, MICROCONTROLLER, PQCC56
封裝: LEAD FRAME, CSP-56
文件頁(yè)數(shù): 31/60頁(yè)
文件大小: 1276K
代理商: ADUC812BCPZ-REEL
REV. E
ADuC812
–37–
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:
The Timer 1 interrupt should be disabled in this application.
The timer itself can be configured for either timer or counter
operation, 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:
Table XX 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 XX. Commonly Used Baud Rates, Timer 1
Ideal
Core
SMOD
TH1-Reload
Actual
%
Baud
CLK
Value
Baud
Error
9600
12
1
–7 (F9H)
8929
7
19200
11.0592
1
–3 (FDH)
19200
0
9600
11.0592
0
–3 (FDH)
9600
0
2400
11.0592
0
–12 (F4H)
2400
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.
Modes and
Baud Rate
Timer
Overflow Rate
13
=
() × ()
116
2
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. Therefore, it increments six times
faster than Timer 1, and 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 34.
In this case, the baud rate is given by the formula:
Modes and
Baud Rate
Core Clk
RCAP H RCAP L
13
=
()
×
()
[]
()
32
65536
2
,
Table XXI shows some commonly used baud rates and how they
might be calculated from a core clock frequency of 11.0592 MHz
and 12 MHz.
Table XXI. Commonly Used Baud Rates, Timer 2
Ideal
Core
RCAP2H
RCAP2L
Actual
%
Baud
CLK
Value
Baud
Error
19200
12
–1 (FFH)
–20 (ECH)
19661
2.4
9600
12
–1 (FFH)
–41 (D7H)
9591
0.1
2400
12
–1 (FFH)
–164 (5CH) 2398
0.1
1200
12
–2 (FEH)
–72 (B8H)
1199
0.1
19200
11.0592
–1 (FFH)
–18 (EEH)
19200
0
9600
11.0592
–1 (FFH)
–36 (DCH) 9600
0
2400
11.0592
–1 (FFH)
–144 (70H) 2400
0
1200
11.0592
–2 (FFH)
–32 (E0H)
1200
0
CORE
CLK
2
T2
PIN
TR2
CONTROL
TL2
(8 BITS)
TH2
(8 BITS)
RELOAD
EXEN2
CONTROL
T2EX
PIN
RCAP2L
RCAP2H
NOTE: OSCILLATOR FREQUENCY
IS DIVIDED BY 2, NOT 12.
TIMER 2
OVERFLOW
2
16
RCLK
TCLK
RX
CLOCK
TX
CLOCK
0
1
0
SMOD
TIMER 1
OVERFLOW
TRANSITION
DETECTOR
EXF
2
TIMER 2
INTERRUPT
NOTE: AVAILABILITY OF ADDITIONAL
EXTERNAL INTERRUPT
C/T2 = 0
C/T2 = 1
Figure 34. Timer 2, UART Baud Rates
Modes
and
Baud Rate
Timer Overflow Rate
SMOD
13
=
() × ()
232
1
Modes and
Baud Rate
Core Clock
TH
SMOD
13
=
()××
[]
()
232
12
256
1
相關(guān)PDF資料
PDF描述
ADUM1510BRWZ SPECIALTY ANALOG CIRCUIT, PDSO16
ADUM3210ARZ-RL7 SPECIALTY ANALOG CIRCUIT, PDSO8
AE101SD1AB TOGGLE SWITCH, SPDT, LATCHED, 0.02A, 20VDC, THROUGH HOLE-RIGHT ANGLE
AE103MD1CB TOGGLE SWITCH, SPDT, MOMENTARY, 0.02A, 20VDC, THROUGH HOLE-STRAIGHT
AE235RAA2N0JSW 1 ELEMENT, 0.002 uH, CERAMIC-CORE, GENERAL PURPOSE INDUCTOR, SMD
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
ADUC812BS 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 8KB Flash 3.3V/5V 52-Pin MQFP 制造商:Rochester Electronics LLC 功能描述:8BIT CISC 8KB FLASH 16MHZ 3.3/5V 52MQFP - Bulk 制造商:Analog Devices 功能描述:8BIT MCU +12BIT ADC MQFP52 812 制造商:Analog Devices 功能描述:Data Acquisition System, 8 Channel, 12 Bit, 52 Pin, Plastic, QFP
ADUC812BS 制造商:Analog Devices 功能描述:12-BIT ADC WITH EMBEDDED
aduc812bs-01 制造商:Analog Devices 功能描述:
ADUC812BS-REEL 制造商:Analog Devices 功能描述:MCU 8-bit ADuC8xx 8052 CISC 8KB Flash 3.3V/5V 52-Pin MQFP T/R
ADUC812BSZ 功能描述:IC ADC 12BIT MULTICH 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 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 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