MA240029 Microchip Technology, MA240029 Datasheet - Page 242

no-image

MA240029

Manufacturer Part Number
MA240029
Description
Daughter Cards & OEM Boards PIC24FJ128GA310 Gen Purpose PIM
Manufacturer
Microchip Technology
Datasheet

Specifications of MA240029

Rohs
yes
Product
Daughter Cards
Core
PIC
Description/function
Plug-in module
Interface Type
I2C, SPI
Tool Is For Evaluation Of
PIC24FJ128GA310
For Use With
Explorer 16 Development Board

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MA240029
Manufacturer:
MICROCHIP
Quantity:
12 000
PIC24FJ128GA310 FAMILY
18.1
The UART module includes a dedicated, 16-bit Baud
Rate Generator. The UxBRG register controls the
period of a free-running, 16-bit timer.
shows the formula for computation of the baud rate with
BRGH = 0.
EQUATION 18-1:
Example 18-1
error for the following conditions:
• F
• Desired Baud Rate = 9600
EXAMPLE 18-1:
DS39996F-page 242
Note 1:
CY
Desired Baud Rate
Solving for BRGx Value:
Calculated Baud Rate = 4000000/(16 (25 + 1))
Error
Note 1:
= 4 MHz
2:
UART Baud Rate Generator (BRG)
UxBRG =
Baud Rate =
F
frequency (F
Based on F
and PLL are disabled.
CY
BRGx
BRGx
BRGx
shows the calculation of the baud rate
denotes the instruction cycle clock
Based on F
UART BAUD RATE WITH
BRGH = 0
BAUD RATE ERROR CALCULATION (BRGH = 0)
16 • Baud Rate
CY
16 • (UxBRG + 1)
OSC
= 0.16%
= F
= (Calculated Baud Rate – Desired Baud Rate)
= ((F
= ((4000000/9600)/16) – 1
= 25
= 9615
= (9615 – 9600)/9600
= F
CY
F
Desired Baud Rate
/2).
CY
CY
OSC
F
CY
= F
CY
/(16 (BRGx + 1))
(1,2)
/Desired Baud Rate)/16) – 1
/2; Doze mode
OSC
/2; Doze mode and PLL are disabled.
Equation 18-1
– 1
The maximum baud rate (BRGH = 0) possible is
F
possible is F
Equation 18-2
the baud rate with BRGH = 1.
EQUATION 18-2:
The maximum baud rate (BRGH = 1) possible is F
(for UxBRG = 0) and the minimum baud rate possible
is F
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.
CY
Note 1:
CY
/16 (for UxBRG = 0) and the minimum baud rate
/(4 * 65536).
2:
UxBRG =
CY
Baud Rate =
F
frequency.
Based on F
and PLL are disabled.
CY
/(16 * 65536).
shows the formula for computation of
(1)
denotes the instruction cycle clock
 2010-2011 Microchip Technology Inc.
UART BAUD RATE WITH
BRGH = 1
CY
4 • Baud Rate
4 • (UxBRG + 1)
= F
F
CY
OSC
F
CY
(1,2)
/2; Doze mode
– 1
CY
/4

Related parts for MA240029