PIC18LF4320-I/P Microchip Technology, PIC18LF4320-I/P Datasheet - Page 387
![IC MCU FLASH 4KX16 EEPROM 40DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC18LF4320-I/P
Manufacturer Part Number
PIC18LF4320-I/P
Description
IC MCU FLASH 4KX16 EEPROM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16C770-ISO.pdf
(8 pages)
3.PIC18F1320-ISS.pdf
(36 pages)
4.PIC18F2220-ISO.pdf
(394 pages)
5.PIC18F2220-ISO.pdf
(6 pages)
6.PIC18F2220-ISO.pdf
(6 pages)
7.PIC18F2220-ISO.pdf
(8 pages)
8.PIC18F2220-ISO.pdf
(6 pages)
9.PIC18F2220-ISO.pdf
(6 pages)
Specifications of PIC18LF4320-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, POR, PWM, WDT
Number Of I /o
36
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 13x10b
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
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
SPI, I2C, USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
36
Number Of Timers
2 x 8 bit
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
13 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18LF4320-I/P
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC18LF4320-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18LF4320-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Reset .......................................................................... 43, 287
Resets .............................................................................. 237
RETFIE ............................................................................ 288
RETLW ............................................................................. 288
RETURN .......................................................................... 289
Return Address Stack ........................................................ 54
Return Stack Pointer (STKPTR) ........................................ 54
Revision History ............................................................... 375
RLCF ................................................................................ 289
RLNCF ............................................................................. 290
RRCF ............................................................................... 290
RRNCF ............................................................................. 291
S
SCI. See USART
SCK .................................................................................. 155
SDI ................................................................................... 155
SDO ................................................................................. 155
Serial Clock (SCK) Pin ..................................................... 155
Serial Communication Interface. See USART.
Serial Data In (SDI) Pin .................................................... 155
Serial Data Out (SDO) Pin ............................................... 155
Serial Peripheral Interface. See SPI Mode.
SETF ................................................................................ 291
Shoot-Through Current .................................................... 149
Slave Select (SS) Pin ....................................................... 155
SLEEP .............................................................................. 292
Sleep
Software Simulator (MPLAB SIM) .................................... 302
Special Event Trigger. See Compare (CCP Module).
Special Features of the CPU ............................................ 237
Special Function Registers ................................................ 61
© 2007 Microchip Technology Inc.
OSCTUN2 (INTRC Oscillator Tuning) ........................ 24
PIE1 (Peripheral Interrupt Enable 1) .......................... 94
PIE2 (Peripheral Interrupt Enable 2) .......................... 95
PIR1 (Peripheral Interrupt Request
PIR2 (Peripheral Interrupt Request
PWM1CON (PWM Configuration) ............................ 149
RCON (Reset Control) ......................................... 69, 98
RCSTA (Receive Status and Control) ...................... 197
SSPCON1 (MSSP Control 1, I
SSPCON1 (MSSP Control 1, SPI Mode) ................. 157
SSPCON2 (MSSP Control 2,
SSPSTAT (MSSP Status, I
SSPSTAT (MSSP Status, SPI Mode) ...................... 156
STATUS ..................................................................... 68
STKPTR (Stack Pointer) ............................................ 55
Summary .............................................................. 62–64
T0CON (Timer0 Control) .......................................... 117
T1CON (Timer1 Control) .......................................... 121
T2CON (Timer2 Control) .......................................... 127
T3CON (Timer3 Control) .......................................... 129
TRISE ...................................................................... 112
TXSTA (Transmit Status and Control) ..................... 196
WDTCON (Watchdog Timer Control) ....................... 247
OSC1 and OSC2 Pin States ...................................... 28
Map ............................................................................ 61
(Flag) 1) ............................................................. 92
(Flag) 2) ............................................................. 93
I
2
C Master Mode) ............................................. 167
2
C Mode) ....................... 165
2
C Mode) ................. 166
PIC18F2220/2320/4220/4320
SPI Mode
SS .................................................................................... 155
SSPOV Status Flag ......................................................... 185
SSPSTAT Register
Stack Full/Underflow Resets .............................................. 55
SUBFWB ......................................................................... 292
SUBLW ............................................................................ 293
SUBWF ............................................................................ 293
SUBWFB ......................................................................... 294
SWAPF ............................................................................ 295
T
T0CON Register
TABLAT Register ............................................................... 74
Table Pointer Operations (table) ........................................ 74
Table Reads/Table Writes ................................................. 59
TBLPTR Register ............................................................... 74
TBLRD ............................................................................. 296
TBLWT ............................................................................. 297
Time-out in Various Situations (table) ................................ 45
Time-out Sequence ........................................................... 44
Timer0 .............................................................................. 117
Timer1 .............................................................................. 121
Associated Registers ............................................... 163
Bus Mode Compatibility ........................................... 163
Effects of a Reset .................................................... 163
Master in Power-Managed Modes ........................... 163
Master Mode ............................................................ 160
Master/Slave Connection ......................................... 159
Registers ................................................................. 156
Serial Clock .............................................................. 155
Serial Data In ........................................................... 155
Serial Data Out ........................................................ 155
Slave in Power-Managed Modes ............................. 163
Slave Mode .............................................................. 161
Slave Select ............................................................. 155
SPI Clock ................................................................. 160
R/W Bit .............................................................168, 169
PSA Bit .................................................................... 119
T0CS Bit .................................................................. 119
T0PS2:T0PS0 Bits ................................................... 119
T0SE Bit .................................................................. 119
16-Bit Mode Timer Reads and Writes ...................... 119
Associated Registers ............................................... 119
Clock Source Edge Select (T0SE Bit) ..................... 119
Clock Source Select (T0CS Bit) ............................... 119
Interrupt ................................................................... 119
Operation ................................................................. 119
Prescaler. See Prescaler, Timer0.
Switching Prescaler Assignment ............................. 119
16-Bit Read/Write Mode .......................................... 124
Associated Registers ............................................... 125
Interrupt ................................................................... 124
Operation ................................................................. 122
Oscillator ...........................................................121, 123
Oscillator Layout Considerations ............................. 123
Overflow Interrupt .................................................... 121
Resetting, Using a Special Event Trigger
Special Event Trigger (CCP) ................................... 136
TMR1H Register ...................................................... 121
TMR1L Register ....................................................... 121
Use as a Real-Time Clock ....................................... 124
Output (CCP) ................................................... 124
DS39599G-page 385