參數(shù)資料
型號: PIC27CR43
廠商: Microchip Technology Inc.
英文描述: High-Performance 8-Bit CMOS EPROM/ROM Microcontroller(每個I/O口有20mA吸收,35mA驅(qū)動,4K位PROM,微控制器)
中文描述: 高性能的8位CMOS存儲器/ ROM的微控制器(每個的I / O口有20mA的吸收,35毫安驅(qū)動,4K的位胎膜早破,微控制器)
文件頁數(shù): 86/241頁
文件大?。?/td> 1548K
代理商: PIC27CR43
第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頁當(dāng)前第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頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁
PIC17C4X
DS30412B-page 86
1996 Microchip Technology Inc.
13.1
USART Baud Rate Generator (BRG)
The BRG supports both the Asynchronous and Syn-
chronous modes of the USART. It is a dedicated 8-bit
baud rate generator. The SPBRG register controls the
period of a free running 8-bit timer. Table 13-1 shows
the formula for computation of the baud rate for differ-
ent USART modes. These only apply when the USART
is in synchronous master mode (internal clock) and
asynchronous mode.
Given the desired baud rate and Fosc, the nearest inte-
ger value between 0 and 255 can be calculated using
the formula below. The error in baud rate can then be
determined.
TABLE 13-1:
BAUD RATE FORMULA
SYNC
Mode
Baud Rate
/(64(X+1))
OSC
/(4(X+1))
0
1
Asynchronous
Synchronous
F
F
OSC
X = value in SPBRG (0 to 255)
Example 13-1 shows the calculation of the baud rate
error for the following conditions:
F
OSC
= 16 MHz
Desired Baud Rate = 9600
SYNC = 0
EXAMPLE 13-1: CALCULATING BAUD
RATE ERROR
Writing a new value to the SPBRG, causes the BRG
timer to be reset (or cleared), this ensures that the BRG
does not wait for a timer overflow before outputting the
new baud rate.
Desired Baud rate=Fosc / (64 (X + 1))
9600 =
16000000 /(64 (X + 1))
X
=
25.042 = 25
Calculated Baud Rate=16000000 / (64 (25 + 1))
=
9615
Error =
(Calculated Baud Rate - Desired Baud Rate)
Desired Baud Rate
=
(9615 - 9600) / 9600
=
0.16%
TABLE 13-2:
REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
Power-on
Reset
Value on all
other resets
(Note1)
13h, Bank 0
RCSTA
SPEN
RX9
SREN
CREN
FERR
OERR
RX9D
0000 -00x
0000 -00u
15h, Bank 0
TXSTA
CSRC
TX9
TXEN
SYNC
TRMT
TX9D
0000 --1x
0000 --1u
17h, Bank 0
Legend:
Note 1:
SPBRG
= unknown,
Other (non power-up) resets include: external reset through MCLR and Watchdog Timer Reset.
Baud rate generator register
= unchanged,
xxxx xxxx
uuuu uuuu
x
u
-
= unimplemented read as a '0', shaded cells are not used by the Baud Rate Generator.
相關(guān)PDF資料
PDF描述
PIC17C752 64/68 Pin 8 Bit High-Performance 8-Bit CMOS EPROM/ROM Microcontroller(驅(qū)動/吸收電流高,4路捕捉,3路PWM)
PIC17C756 64/68 Pin 8 Bit High-Performance 8-Bit CMOS EPROM/ROM Microcontroller(驅(qū)動/吸收電流高,4路捕捉,3路PWM的微控制器)
pic17c756a 64/68-Pin 8-Bit OTP High-Performance Microcontroller(具ADC的8位CMOS微控制器)
PIC17FR42 High-Performance 8-Bit CMOS FlexROM Microcontroller(每個I/O口有25mA驅(qū)動/吸收電流,并行從動口,2路捕捉/PWM的微控制器)
PIC17FR43 High-Performance 8-Bit CMOS FlexROM Microcontroller(每個I/O口有25mA驅(qū)動/吸收電流,并行從動口,2路捕捉/PWM的微控制器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
PIC-28041TM2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic
PIC-28042TM2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic
PIC-28043TM2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic
PIC-28044TM2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic
PIC-28045TM2 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic