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

PIC24FJ32GA104T-I/PT 参数 Datasheet PDF下载

PIC24FJ32GA104T-I/PT图片预览
型号: PIC24FJ32GA104T-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 44分之28引脚, 16位通用闪存微控制器采用nanoWatt XLP技术 [28/44-Pin, 16-Bit General Purpose Flash Microcontrollers with nanoWatt XLP Technology]
分类和应用: 闪存微控制器
文件页数/大小: 308 页 / 2416 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第180页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第181页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第182页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第183页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第185页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第186页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第187页浏览型号PIC24FJ32GA104T-I/PT的Datasheet PDF文件第188页  
PIC24FJ64GA104 FAMILY  
The maximum baud rate (BRGH = 0) possible is  
FCY/16 (for UxBRG = 0) and the minimum baud rate  
17.1 UART Baud Rate Generator (BRG)  
The UART module includes a dedicated 16-bit Baud  
Rate Generator. The UxBRG register controls the  
period of a free-running, 16-bit timer. Equation 17-1  
shows the formula for computation of the baud rate  
with BRGH = 0.  
possible is FCY/(16 * 65536).  
Equation 17-2 shows the formula for computation of  
the baud rate with BRGH = 1.  
EQUATION 17-2: UART BAUD RATE WITH  
BRGH = 1(1,2)  
EQUATION 17-1: UART BAUD RATE WITH  
BRGH = 0(1,2)  
FCY  
Baud Rate =  
4 • (UxBRG + 1)  
FCY  
Baud Rate =  
16 • (UxBRG + 1)  
FCY  
1  
UxBRG =  
4 • Baud Rate  
FCY  
16 • Baud Rate  
– 1  
UxBRG =  
Note 1: FCY denotes the instruction cycle clock  
frequency.  
Note 1: FCY denotes the instruction cycle clock  
frequency (FOSC/2).  
2: Based on FCY = FOSC/2, Doze mode  
and PLL are disabled.  
2: Based on FCY = FOSC/2, Doze mode  
and PLL are disabled.  
The maximum baud rate (BRGH = 1) possible is FCY/4  
(for UxBRG = 0) and the minimum baud rate possible  
is FCY/(4 * 65536).  
Example 17-1 shows the calculation of the baud rate  
error for the following conditions:  
Writing a new value to the UxBRG register causes the  
BRG timer to be reset (cleared). This ensures the BRG  
does not wait for a timer overflow before generating the  
new baud rate.  
• FCY = 4 MHz  
• Desired Baud Rate = 9600  
EXAMPLE 17-1:  
BAUD RATE ERROR CALCULATION (BRGH = 0)(1)  
Desired Baud Rate = FCY/(16 (UxBRG + 1))  
Solving for UxBRG Value:  
UxBRG  
UxBRG  
UxBRG  
= ((FCY/Desired Baud Rate)/16) – 1  
= ((4000000/9600)/16) – 1  
= 25  
Calculated Baud Rate = 4000000/(16 (25 + 1))  
= 9615  
Error  
= (Calculated Baud Rate – Desired Baud Rate)  
Desired Baud Rate  
= (9615 – 9600)/9600  
= 0.16%  
Note 1: Based on FCY = FOSC/2, Doze mode and PLL are disabled.  
DS39951C-page 184  
2010 Microchip Technology Inc.  
 复制成功!