PIC18F4431-I/PT Microchip Technology Inc., PIC18F4431-I/PT Datasheet - Page 228
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC18F4431-I/PT
Manufacturer Part Number
PIC18F4431-I/PT
Description
Microcontroller; 16 KB Flash; 768 RAM; 256 EEPROM; 36 I/O; 44-Pin TQFP
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC18F4431-IPT.pdf
(396 pages)
Specifications of PIC18F4431-I/PT
A/d Inputs
9-Channel, 10-Bit
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
36
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin TQFP
Programmable Memory
16K Bytes
Ram Size
768 Bytes
Speed
40 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F4431-I/PT
Manufacturer:
MICROCHIP
Quantity:
1 400
Company:
Part Number:
PIC18F4431-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F4431-I/PT
Manufacturer:
MICROCHI
Quantity:
20 000
- Current page: 228 of 396
- Download datasheet (8Mb)
PIC18F2331/2431/4331/4431
EXAMPLE 19-1:
TABLE 19-2:
TABLE 19-3:
DS39616B-page 226
TXSTA
RCSTA
BAUDCTL
SPBRGH
SPBRG
Legend:
For a device with F
Desired Baud Rate= F
Solving for SPBRGH:SPBRG:
Calculated Baud Rate=16000000 / (64 (25 + 1))
Error =
BAUD
BAUD
RATE
RATE
115.2
115.2
19.2
57.6
19.2
57.6
Name
(K)
0.3
1.2
2.4
9.6
(K)
0.3
1.2
2.4
9.6
X
125.000
=
=
=
=
=
Actual
19.531
56.818
Actual
20.833
62.500
62.500
2.441
9.615
0.300
1.202
2.404
8.929
x = unknown, – = unimplemented, read as ‘0’. Shaded cells are not used by the BRG.
Rate
Rate
Baud Rate Generator Register, High Byte
Baud Rate Generator Register, Low Byte
(K)
(K)
—
—
CSRC
SPEN
F
Bit 7
F
((Fosc / Desired Baud Rate)/64) – 1
((16000000 / 9600) / 64) – 1
[25.042] = 25
9615
(Calculated Baud Rate – Desired Baud Rate) / Desired Baud Rate
(9615 – 9600) / 9600 = 0.16%
OSC
—
OSC
REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
BAUD RATES FOR ASYNCHRONOUS MODES
= 40.000 MHz
= 4.000 MHz
-45.75
Error
Error
-1.36
-6.99
1.73
0.16
1.73
8.51
0.16
0.16
0.16
8.51
8.51
%
—
—
%
RCIDL
CALCULATING BAUD RATE ERROR
Bit 6
RX9
TX9
OSC
(decimal)
(decimal)
SPBRG
SPBRG
OSC
value
value
of 16 MHz, desired baud rate of 9600, Asynchronous mode, 8-bit BRG:
255
207
64
31
10
51
25
—
—
4
6
2
0
0
SREN
TXEN
Bit 5
/ (64 ([SPBRGH:SPBRG] + 1))
—
SYNC = 0, BRGH = 0, BRG16 = 0
104.167
Actual
19.531
62.500
Actual
1.221
2.404
9.766
Rate
Rate
1201
2403
300
(K)
(K)
—
—
—
—
—
CREN
F
SYNC
SCKP
F
Bit 4
OSC
OSC
= 20.000 MHz
= 2.000 MHz
Error
Error
-9.58
-0.16
-0.16
-0.16
1.73
0.16
1.73
1.73
8.51
SYNC = 0, BRGH = 0, BRG16 = 0
—
—
—
—
—
%
%
SENDB
ADDEN
BRG16
Preliminary
Bit 3
(decimal)
(decimal)
SPBRG
SPBRG
value
value
255
129
103
—
31
15
25
12
—
—
—
—
4
2
BRGH
FERR
Bit 2
—
Actual
19.531
52.083
78.125
Actual
1.202
2.404
9.766
Rate
Rate
1201
300
(K)
(K)
—
—
—
—
—
—
F
F
OSC
TRMT
OERR
OSC
WUE
Bit 1
= 10.000 MHz
= 1.000 MHz
-32.18
Error
Error
-9.58
-0.16
-0.16
0.16
0.16
1.73
1.73
—
—
—
—
—
—
%
%
ABDEN
RX9D
TX9D
Bit 0
(decimal)
(decimal)
SPBRG
SPBRG
value
value
129
64
15
51
12
—
—
—
—
—
—
7
2
1
2003 Microchip Technology Inc.
0000 -010
0000 -00x
-1-1 0-00
0000 0000
0000 0000
POR, BOR
Value on
Actual
1201
2403
9615
Rate
(K)
—
—
—
—
F
OSC
= 8.000 MHz
Error
-0.16
-0.16
-0.16
other Resets
—
—
—
—
%
Value on all
0000 -010
-1-1 0-00
0000 0000
0000 0000
0000 -00x
(decimal)
SPBRG
value
103
51
12
—
—
—
—
Related parts for PIC18F4431-I/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F-LF1XK50](/images/no-image3.png)
Part Number:
Description:
20-Pin USB Flash Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![PIC18F6393T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6493T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8393T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8493T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6585-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6680-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90T-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F87K90T-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm T/
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/MR](/photos/16/3/160368/qfn64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F65K90-I/PT](/photos/16/3/160367/tqfp-64_tmb.jpg)
Part Number:
Description:
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 TQFP 10x10x1mm TRAY
Manufacturer:
Microchip Technology
![PIC18F87K90-I/PT](/photos/40/31/403173/tqfp-80_tmb.jpg)
Part Number:
Description:
128kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TR
Manufacturer:
Microchip Technology