PIC18F4331-I/PT Microchip Technology, PIC18F4331-I/PT Datasheet - Page 230
![IC PIC MCU FLASH 4KX16 44TQFP](/photos/6/82/68251/c04-076_pt_sml.jpg)
PIC18F4331-I/PT
Manufacturer Part Number
PIC18F4331-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
(40 pages)
8.PIC18F4331-EP.pdf
(400 pages)
Specifications of PIC18F4331-I/PT
Core Size
8-Bit
Program Memory Size
8KB (4K x 16)
Core Processor
PIC
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 Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.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
Controller Family/series
PIC18
No. Of I/o's
36
Eeprom Memory Size
256Byte
Ram Memory Size
768Byte
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
EUSART, I2C, SPI, SSP
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
1 x 8
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
9 bit
Package
44TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT44PT3 - SOCKET TRAN ICE 44MQFP/TQFPI3-DB18F4431 - BOARD DAUGHTER ICEPIC3AC164305 - MODULE SKT FOR PM3 44TQFP444-1001 - DEMO BOARD FOR PICMICRO MCUAC164020 - MODULE SKT PROMATEII 44TQFP
Lead Free Status / Rohs Status
Details
Other names
PIC18F4331-I/PTR
PIC18F4331-I/PTR
PIC18F4331-I/PTR
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F4331-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F4331-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 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
- PIC18F4331-EP PDF datasheet #8
- Current page: 230 of 400
- Download datasheet (7Mb)
PIC18F2331/2431/4331/4431
EXAMPLE 19-1:
TABLE 19-2:
TABLE 19-3:
DS39616C-page 228
TXSTA
RCSTA
BAUDCTL
SPBRGH
SPBRG
Legend:
For a device with F
Desired Baud Rate
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
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
EUSART Baud Rate Generator Register High Byte
EUSART Baud Rate Generator Register Low Byte
(K)
(K)
—
—
CSRC
SPEN
F
Bit 7
F
OSC
—
OSC
REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
BAUD RATES FOR ASYNCHRONOUS MODES
X = ((F
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
—
—
%
%
= F
= ((16000000/9600)/64) – 1
= [25.042] = 25
= 9615
= (Calculated Baud Rate – Desired Baud Rate)/Desired Baud Rate
= (9615 – 9600)/9600 = 0.16%
RCIDL
CALCULATING BAUD RATE ERROR
of 16 MHz, desired baud rate of 9600, Asynchronous mode, 8-bit BRG:
Bit 6
RX9
TX9
OSC
OSC
(decimal)
(decimal)
SPBRG
SPBRG
value
value
/(64 ([SPBRGH:SPBRG] + 1))
255
207
64
31
10
51
25
—
—
/Desired Baud Rate)/64) – 1
4
6
2
0
0
SREN
TXEN
Bit 5
—
SYNC = 0, BRGH = 0, BRG16 = 0
104.167
Actual
19.531
62.500
Actual
1.221
2.404
9.766
0.300
1.201
2.403
Rate
Rate
(K)
(K)
—
—
—
—
—
F
SYNC
CREN
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
—
—
—
—
—
2
4
BRGH
FERR
Bit 2
—
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
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
© 2007 Microchip Technology Inc.
0000 0010
0000 000x
-1-1 0-00
0000 0000
0000 0000
POR, BOR
Value on
Actual
1.201
2.403
9.615
Rate
(K)
—
—
—
—
F
OSC
= 8.000 MHz
Error
-0.16
-0.16
-0.16
other Resets
—
—
—
—
%
Value on all
0000 0010
0000 000x
-1-1 0-00
0000 0000
0000 0000
(decimal)
SPBRG
value
103
—
51
12
—
—
—
Related parts for PIC18F4331-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