參數(shù)資料
型號: MQ83C154TXXX-12P883
廠商: TEMIC SEMICONDUCTORS
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 12 MHz, MICROCONTROLLER, CQFP44
文件頁數(shù): 62/234頁
文件大?。?/td> 61013K
代理商: MQ83C154TXXX-12P883
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁當前第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁
154
ATmega165A/PA/325A/PA/3250A/PA/645A/P/6450A/P [DATASHEET]
8285E–AVR–02/2013
The USART Baud Rate Register (UBRRn) and the down-counter connected to it function as a programmable pres-
caler or baud rate generator. The down-counter, running at system clock (f
osc), is loaded with the UBRRn value
each time the counter has counted down to zero or when the UBRRLn Register is written. A clock is generated
each time the counter reaches zero. This clock is the baud rate generator clock output (= f
osc/(UBRRn+1)). The
Transmitter divides the baud rate generator clock output by 2, 8 or 16 depending on mode. The baud rate genera-
tor output is used directly by the Receiver’s clock and data recovery units. However, the recovery units use a state
machine that uses 2, 8 or 16 states depending on mode set by the state of the UMSELn, U2Xn and DDR_XCK bits.
Table 20-1 contains equations for calculating the baud rate (in bits per second) and for calculating the UBRRn
value for each mode of operation using an internally generated clock source.
Note:
1. The baud rate is defined to be the transfer rate in bit per second (bps).
BAUD
Baud rate (in bits per second, bps)
f
OSC
System Oscillator clock frequency
UBRRn
Contents of the UBRRHn and UBRRLn Registers, (0-4095)
Some examples of UBRRn values for some system clock frequencies are found in Table 20-4 on page 168.
20.3.2
Double Speed Operation (U2Xn)
The transfer rate can be doubled by setting the U2Xn bit in UCSRnA. Setting this bit only has effect for the asyn-
chronous operation. Set this bit to zero when using synchronous operation.
Setting this bit will reduce the divisor of the baud rate divider from 16 to 8, effectively doubling the transfer rate for
asynchronous communication. Note however that the Receiver will in this case only use half the number of sam-
ples (reduced from 16 to 8) for data sampling and clock recovery, and therefore a more accurate baud rate setting
and system clock are required when this mode is used. For the Transmitter, there are no downsides.
20.3.3
External Clock
External clocking is used by the synchronous slave modes of operation. The description in this section refers to
Figure 20-2 for details.
External clock input from the XCK pin is sampled by a synchronization register to minimize the chance of meta-sta-
bility. The output from the synchronization register must then pass through an edge detector before it can be used
by the Transmitter and Receiver. This process introduces a two CPU clock period delay and therefore the maxi-
mum external XCK clock frequency is limited by the following equation:
Note that f
osc depends on the stability of the system clock source. It is therefore recommended to add some margin
to avoid possible loss of data due to frequency variations.
Table 20-1.
Equations for Calculating Baud Rate Register Setting.
Operating mode
Equation for calculating Baud Rate (1)
Equation for calculating UBRRn Value
Asynchronous Normal
mode (U2Xn = 0)
Asynchronous Double
Speed mode (U2Xn = 1)
Synchronous Master
mode
BAUD
f
OSC
16 UBRRn
1
+
------------------------------------------
=
UBRRn
f
OSC
16BAUD
------------------------
1
=
BAUD
f
OSC
8 UBRRn
1
+
---------------------------------------
=
UBRRn
f
OSC
8BAUD
--------------------
1
=
BAUD
f
OSC
2 UBRRn
1
+
---------------------------------------
=
UBRRn
f
OSC
2BAUD
--------------------
1
=
f
XCK
f
OSC
4
-----------
相關PDF資料
PDF描述
MQ80C154-L16/883R 8-BIT, 16 MHz, MICROCONTROLLER, CQFP44
MD83C154XXX-30/883D 8-BIT, MROM, 30 MHz, MICROCONTROLLER, CDIP40
MQ80C154-16P883 8-BIT, 16 MHz, MICROCONTROLLER, CQFP44
MQ83C154XXX-L16/883D 8-BIT, MROM, 16 MHz, MICROCONTROLLER, CQFP44
MQ83C154CXXX-25/883R 8-BIT, MROM, 25 MHz, MICROCONTROLLER, CQFP44
相關代理商/技術參數(shù)
參數(shù)描述
MQ86 制造商:TE Connectivity 功能描述:
MQ8797BH 制造商:Rochester Electronics LLC 功能描述:- Bulk 制造商:Intel 功能描述:
MQ87C196KC/R 制造商:Rochester Electronics LLC 功能描述:
MQ87C196KD-16/B 制造商:Rochester Electronics LLC 功能描述:
MQ87C196KD-20/R 制造商:Rochester Electronics LLC 功能描述: