欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F25J10-I/SS 参数 Datasheet PDF下载

PIC18F25J10-I/SS图片预览
型号: PIC18F25J10-I/SS
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能, RISC微控制器 [28/40/44-Pin High-Performance, RISC Microcontrollers]
分类和应用: 微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 368 页 / 5652 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第196页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第197页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第198页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第199页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第201页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第202页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第203页浏览型号PIC18F25J10-I/SS的Datasheet PDF文件第204页  
PIC18F45J10 FAMILY  
EXAMPLE 17-1:  
CALCULATING BAUD RATE ERROR  
For a device with FOSC of 16 MHz, desired baud rate of 9600, Asynchronous mode, 8-bit BRG:  
Desired Baud Rate FOSC/(64 ([SPBRGH:SPBRG] + 1))  
Solving for SPBRGH:SPBRG:  
=
X
=
=
=
=
=
=
=
((FOSC/Desired Baud Rate)/64) – 1  
((16000000/9600)/64) – 1  
[25.042] = 25  
16000000/(64 (25 + 1))  
9615  
Calculated Baud Rate  
Error  
(Calculated Baud Rate – Desired Baud Rate)/Desired Baud Rate  
(9615 – 9600)/9600 = 0.16%  
TABLE 17-2: REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR  
Reset Values  
on page  
Name  
Bit 7  
Bit 6  
Bit 5  
Bit 4  
Bit 3  
Bit 2  
Bit 1  
Bit 0  
TXSTA  
RCSTA  
CSRC  
SPEN  
TX9  
RX9  
TXEN  
SREN  
SYNC  
CREN  
SCKP  
SENDB  
ADDEN  
BRG16  
BRGH  
FERR  
TRMT  
OERR  
WUE  
TX9D  
RX9D  
49  
49  
49  
49  
49  
BAUDCON ABDOVF RCIDL  
ABDEN  
SPBRGH EUSART Baud Rate Generator Register High Byte  
SPBRG EUSART Baud Rate Generator Register Low Byte  
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by the BRG.  
DS39682E-page 198  
© 2009 Microchip Technology Inc.  
 复制成功!