PIC18LF4331-I/PT Microchip Technology, PIC18LF4331-I/PT Datasheet - Page 222
![IC PIC MCU FLASH 4KX16 44TQFP](/photos/6/82/68251/c04-076_pt_sml.jpg)
PIC18LF4331-I/PT
Manufacturer Part Number
PIC18LF4331-I/PT
Description
IC PIC MCU FLASH 4KX16 44TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F818-ISO.pdf
(6 pages)
3.PIC18F2331-ISO.pdf
(392 pages)
4.PIC18F2331-ISO.pdf
(8 pages)
5.PIC18F2331-ISO.pdf
(6 pages)
6.PIC18F2331-ISO.pdf
(16 pages)
7.PIC18LF2331-ISO.pdf
(4 pages)
8.PIC18LF2331-ISO.pdf
(40 pages)
Specifications of PIC18LF4331-I/PT
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 9x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC18LF4331-I/PTR
PIC18LF4331-I/PTR
PIC18LF4331-I/PTR
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF4331-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC16F616T-ISL PDF datasheet
- PIC16F818-ISO PDF datasheet #2
- PIC18F2331-ISO PDF datasheet #3
- PIC18F2331-ISO PDF datasheet #4
- PIC18F2331-ISO PDF datasheet #5
- PIC18F2331-ISO PDF datasheet #6
- PIC18LF2331-ISO PDF datasheet #7
- PIC18LF2331-ISO PDF datasheet #8
- Current page: 222 of 392
- Download datasheet (4Mb)
PIC18F2331/2431/4331/4431
EXAMPLE 20-1:
TABLE 20-2:
TABLE 20-3:
DS39616D-page 222
TXSTA
RCSTA
BAUDCON
SPBRGH
SPBRG
Legend: — = unimplemented, read as ‘0’. Shaded cells are not used by the BRG.
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
(K)
0.3
1.2
2.4
9.6
(K)
0.3
1.2
2.4
9.6
Name
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
Rate
Rate
(K)
(K)
—
—
F
EUSART Baud Rate Generator Register High Byte
EUSART Baud Rate Generator Register Low Byte
F
OSC
((F
((16000000/9600)/64) – 1
[25.042] = 25
9615
(Calculated Baud Rate – Desired Baud Rate)/Desired Baud Rate
(9615 – 9600)/9600 = 0.16%
OSC
CSRC
SPEN
Bit 7
OSC
REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
BAUD RATES FOR ASYNCHRONOUS MODES
—
OSC
= 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
/Desired Baud Rate)/64) – 1
—
—
%
%
OSC
CALCULATING BAUD RATE ERROR
of 16 MHz, desired baud rate of 9600, Asynchronous mode, 8-bit BRG:
/(64 ([SPBRGH:SPBRG] + 1))
RCIDL
(decimal)
(decimal)
Bit 6
SPBRG
SPBRG
RX9
TX9
value
value
255
207
64
31
10
51
25
—
—
4
6
2
0
0
SYNC = 0, BRGH = 0, BRG16 = 0
104.167
Actual
19.531
62.500
Actual
SREN
TXEN
1.221
2.404
9.766
0.300
1.201
2.403
Bit 5
Rate
Rate
(K)
(K)
—
—
—
—
—
—
F
F
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
%
—
%
—
—
—
—
CREN
SYNC
SCKP
Bit 4
(decimal)
(decimal)
SPBRG
SPBRG
value
value
255
129
103
31
15
25
12
—
—
—
—
—
2
4
SENDB
ADDEN
BRG16
Bit 3
Actual
19.531
52.083
78.125
Actual
1.202
2.404
9.766
0.300
1.201
Rate
Rate
(K)
(K)
—
—
—
—
—
—
F
F
OSC
OSC
BRGH
FERR
Bit 2
= 10.000 MHz
= 1.000 MHz
-32.18
—
Error
Error
-9.58
-0.16
-0.16
0.16
0.16
1.73
1.73
—
—
—
—
—
—
%
%
(decimal)
(decimal)
SPBRG
SPBRG
OERR
TRMT
value
value
WUE
Bit 1
129
64
15
51
12
—
—
—
—
—
—
7
2
1
2010 Microchip Technology Inc.
Actual
1.201
2.403
9.615
Rate
ABDEN
(K)
—
—
—
—
RX9D
TX9D
Bit 0
F
OSC
= 8.000 MHz
Error
-0.16
-0.16
-0.16
—
—
—
—
Reset Values
%
on Page:
56
56
56
56
56
(decimal)
SPBRG
value
103
—
51
12
—
—
—
Related parts for PIC18LF4331-I/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: