PIC18LF4331-I/P Microchip Technology, PIC18LF4331-I/P Datasheet - Page 384
![IC PIC MCU FLASH 4KX16 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18LF4331-I/P
Manufacturer Part Number
PIC18LF4331-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
(4 pages)
8.PIC18LF2331-ISO.pdf
(40 pages)
9.PIC18F4331-EP.pdf
(400 pages)
Specifications of PIC18LF4331-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)
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
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF4331-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18LF4331-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F2331/2431/4331/4431
Power-on Reset (POR) ............................................... 49, 263
Power-up Delays................................................................. 37
Power-up Timer (PWRT)............................................. 37, 263
Prescaler, Timer0.............................................................. 129
Prescaler, Timer2.............................................................. 150
PRI_IDLE Mode .................................................................. 44
PRI_RUN Mode .................................................................. 40
Program Counter (PC) ........................................................ 62
Program Memory
Program Verification.......................................................... 279
Pulse-Width Modulation. See PWM (CCP Module).
PUSH ................................................................................ 312
PUSH and POP Instructions ............................................... 64
PWM
DS39616D-page 384
Run Modes.................................................................. 40
Selecting ..................................................................... 39
Sleep Mode ................................................................. 43
Summary (table) ......................................................... 39
Assignment (PSA Bit) ............................................... 129
Rate Select (T0PS2:T0PS0 Bits) .............................. 129
Instructions.................................................................. 66
Interrupt Vector ........................................................... 61
Map and Stack
Reset Vector ............................................................... 61
Associated Registers ................................................ 203
Complementary Operation ........................................ 190
Control Registers ...................................................... 176
Dead-Time Generators ............................................. 191
Duty Cycle................................................................. 187
Fault Inputs ............................................................... 199
Functionality .............................................................. 176
Modes
Output and Polarity Control....................................... 198
Output Override ........................................................ 194
Single-Pulse Operation ............................................. 194
Special Event Trigger................................................ 202
Time Base ................................................................. 176
Update Lockout ......................................................... 202
PRI_RUN ............................................................ 40
RC_RUN ............................................................. 41
SEC_RUN........................................................... 40
Two-Word ........................................................... 66
PIC18F2331/4331............................................... 61
PIC18F2431/4431............................................... 61
Center-Aligned .................................................. 189
Comparison....................................................... 187
Edge-Aligned .................................................... 188
Register Buffers ................................................ 188
Registers........................................................... 187
Continuous Up/Down Count ............................. 180
Free-Running .................................................... 180
Single-Shot ....................................................... 180
Interrupts........................................................... 181
Postscaler ......................................................... 181
Prescaler........................................................... 180
Continuous Up/Down
Double Update Mode ................................ 184
Free-Running Mode .................................. 181
Single-Shot Mode ..................................... 182
Count Mode ...................................... 182
PWM (CCP Module)
PWM Period...................................................................... 185
Q
Q Clock ............................................................................. 150
QEI
Quadrature Encoder Interface (QEI)................................. 161
R
R/W Bit...................................................... 206, 213, 214, 215
RAM. See Data Memory.
RC Oscillator....................................................................... 31
RC_IDLE Mode................................................................... 45
RC_RUN Mode................................................................... 41
RCALL .............................................................................. 313
RCSTA Register
Reader Response............................................................. 388
Registers
Associated Registers ................................................ 150
CCPR1H:CCPR1L Registers.................................... 149
Duty Cycle ................................................................ 149
Example Frequencies/Resolutions ........................... 150
Period ....................................................................... 149
PR2 Register, Writing ............................................... 149
Setup for PWM Operation......................................... 150
TMR2 to PR2 Match ......................................... 136, 149
and IC Shared Interrupts .......................................... 170
Configuration ............................................................ 162
Direction of Rotation ................................................. 163
Interrupts .................................................................. 164
Operation .................................................................. 163
Operation in Sleep Mode .......................................... 170
Sampling Modes ....................................................... 163
Velocity Measurement .............................................. 167
RCIO Oscillator Mode................................................. 31
SPEN Bit................................................................... 217
ADCHS (A/D Channel Select) .................................. 244
ADCON0 (A/D Control 0).......................................... 240
ADCON1 (A/D Control 1).......................................... 241
ADCON2 (A/D Control 2).......................................... 242
ADCON3 (A/D Control 3).......................................... 243
ANSEL0 (Analog Select 0) ....................................... 245
ANSEL1 (Analog Select 1) ....................................... 245
BAUDCON (Baud Rate Control)............................... 220
CAPxCON (Input Capture x Control) ........................ 155
CCPxCON (CCPx Control) ....................................... 145
CONFIG1H (Configuration 1 High) ........................... 264
CONFIG2H (Configuration 2 High) ........................... 266
CONFIG2L (Configuration 2 Low) ............................ 265
CONFIG3H (Configuration 3 High) ........................... 268
CONFIG3L (Configuration 3 Low) ............................ 267
CONFIG4L (Configuration 4 Low) ............................ 269
CONFIG5H (Configuration 5 High) ........................... 270
CONFIG5L (Configuration 5 Low) ............................ 270
CONFIG6H (Configuration 6 High) ........................... 271
CONFIG6L (Configuration 6 Low) ............................ 271
CONFIG7H (Configuration 7 High) ........................... 272
CONFIG7L (Configuration 7 Low) ............................ 272
DEVID1 (Device ID 1)............................................... 273
3x Input Capture ............................................... 170
2010 Microchip Technology Inc.