PIC18F4331-I/P Microchip Technology, PIC18F4331-I/P Datasheet - Page 391
![IC PIC MCU FLASH 4KX16 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18F4331-I/P
Manufacturer Part Number
PIC18F4331-I/P
Description
IC PIC MCU FLASH 4KX16 40DIP
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/P
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
40-DIP (0.600", 15.24mm)
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
4
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
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
40PDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
I3-DB18F4431 - BOARD DAUGHTER ICEPIC3DVA18XP400 - DEVICE ADAPTER 18F4220 PDIP 40LD444-1001 - DEMO BOARD FOR PICMICRO MCUACICE0206 - ADAPTER MPLABICE 40P 600 MIL
Lead Free Status / Rohs Status
Details
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
MPLAB PM3 Device Programmer .................................... 333
MPLAB REAL ICE In-Circuit Emulator System................. 333
MPLINK Object Linker/MPLIB Object Librarian ................ 332
MULLW ............................................................................. 316
MULWF ............................................................................. 316
N
NEGF ................................................................................ 317
NOP .................................................................................. 317
O
Opcode Field Descriptions ................................................ 290
Operation in Sleep Mode .................................................. 178
Oscillator Configuration....................................................... 23
Oscillator Selection ........................................................... 269
Oscillator Start-up Timer (OST) ............................ 31, 48, 269
Oscillator Switching............................................................. 28
Oscillator Transitions .......................................................... 31
Oscillator, Timer1 .............................................................. 139
P
P (Stop) Bit........................................................................ 214
Packaging Information ...................................................... 373
Period Measurement Mode............................................... 165
PICSTART Plus Development Programmer ..................... 334
PIE Registers .................................................................... 101
Pin Functions
© 2007 Microchip Technology Inc.
QEI............................................................................ 178
3x Input Capture ....................................................... 178
EC ............................................................................... 23
ECIO ........................................................................... 23
HS ............................................................................... 23
HSPLL......................................................................... 23
Internal Oscillator Block .............................................. 26
INTIO1 ........................................................................ 23
INTIO2 ........................................................................ 23
LP................................................................................ 23
RC............................................................................... 23
RCIO ........................................................................... 23
XT ............................................................................... 23
Details ....................................................................... 375
Marking ..................................................................... 373
MCLR/V
OSC1/CLKI/RA7 ................................................... 14, 17
OSC2/CLKO/RA6 ................................................. 14, 17
RA0/AN0 ............................................................... 14, 18
RA1/AN1 ............................................................... 14, 18
RA2/AN2/V
RA3/AN3/V
RA4/AN4/CAP3/QEB ............................................ 14, 18
RA5/AN5/LVDIN ......................................................... 18
RB0/PWM0 ........................................................... 15, 19
RB1/PWM1 ........................................................... 15, 19
RB2/PWM2 ........................................................... 15, 19
RB3/PWM3 ........................................................... 15, 19
RB4/KBIO/PWM5........................................................ 15
RB4/KBI0/PWM5 ........................................................ 19
RB5/KBI1/PWM4/PGM ......................................... 15, 19
RB6/KBI2/PGC ..................................................... 15, 19
RB7/KBI3/PGD ..................................................... 15, 19
RC0/T1OSO/T1CKI .............................................. 16, 20
RC1/T1OSI/CCP2/FLTA ....................................... 16, 20
RC2/CCP1/FLTB .................................................. 16, 20
RC3/T0CKI/T5CKI/INT0........................................ 16, 20
RC4/INT1/SDI/SDA............................................... 16, 20
RC5/INT2/SCK/SCL.............................................. 16, 20
PP
/RE3..................................................... 14, 17
REF
REF
-/CAP1/INDX................................. 14, 18
+/CAP2/QEA................................. 14, 18
PIC18F2331/2431/4331/4431
Preliminary
Pinout I/O Descriptions
PIR Registers...................................................................... 98
PLL Lock Time-out.............................................................. 48
Pointer, FSRn ..................................................................... 73
POP .................................................................................. 318
POR. See Power-on Reset.
PORTA
PORTB
PORTC
PORTD
PORTE
Postscaler, WDT
Power-Managed Modes...................................................... 33
Power-on Reset (POR)............................................... 48, 269
Power-up Delays ................................................................ 31
RC6/TX/CK/SS ..................................................... 16, 20
RC7/RX/DT/SDO.................................................. 16, 20
RD0/T0CKI/T5CKI ...................................................... 21
RD1/SDO.................................................................... 21
RD2/SDI/SDA ............................................................. 21
RD3/SCK/SCL ............................................................ 21
RD4/FLTA................................................................... 21
RD5/PWM4................................................................. 21
RD6/PWM6................................................................. 21
RD7/PWM7................................................................. 21
RE0/AN6..................................................................... 22
RE1/AN7..................................................................... 22
RE2/AN8..................................................................... 22
V
V
PIC18F2331/2431 ...................................................... 14
PIC18F4331/4431 ...................................................... 17
Associated Registers................................................ 113
LATA Register .......................................................... 109
PORTA Register....................................................... 109
TRISA Register......................................................... 109
Associated Registers................................................ 119
LATB Register .......................................................... 114
PORTB Register....................................................... 114
RB7:RB4 Interrupt-on-Change Flag
TRISB Register......................................................... 114
Associated Registers................................................ 125
LATC Register .......................................................... 120
PORTC Register....................................................... 120
TRISC Register ........................................................ 120
Associated Registers................................................ 130
LATD Register .......................................................... 126
PORTD Register....................................................... 126
TRISD Register ........................................................ 126
Associated Registers................................................ 133
LATE Register .......................................................... 131
PORTE Register....................................................... 131
TRISE Register......................................................... 131
Assignment (PSA Bit) ............................................... 137
Rate Select (T0PS2:T0PS0 Bits).............................. 137
Comparisons Between Run and Idle Modes .............. 34
Entering ...................................................................... 34
Idle Modes .................................................................. 35
Multiple Sleep Commands.......................................... 34
Run Modes ................................................................. 40
Selecting..................................................................... 33
Sleep Mode ................................................................ 35
Summary (table) ......................................................... 33
Wake From ................................................................. 42
DD
SS
....................................................................... 16, 22
....................................................................... 16, 22
(RBIF Bit).......................................................... 114
DS39616C-page 389