PIC18F2320-I/SP Microchip Technology Inc., PIC18F2320-I/SP Datasheet - Page 379

no-image

PIC18F2320-I/SP

Manufacturer Part Number
PIC18F2320-I/SP
Description
Microcontroller; 8 KB Flash; 512 RAM; 256 EEPROM; 25 I/O; 28-Pin-SPDIP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F2320-I/SP

A/d Inputs
10-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
8K Bytes
Ram Size
512 Bytes
Speed
20 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
M
Master Synchronous Serial Port (MSSP). See MSSP.
Memory Organization ......................................................... 53
Memory Programming Requirements .............................. 320
Migration from Baseline to Enhanced Devices ................ 370
Migration from High-End to Enhanced Devices ............... 371
Migration from Mid-Range to Enhanced Devices ............. 371
MOVF ............................................................................... 279
MOVFF ............................................................................. 280
MOVLB ............................................................................. 280
MOVLW ............................................................................ 281
MOVWF ........................................................................... 281
MPLAB ASM30 Assembler, Linker, Librarian .................. 300
MPLAB ICD 2 In-Circuit Debugger ................................... 301
MPLAB ICE 2000 High Performance
MPLAB ICE 4000 High Performance
MPLAB Integrated Development
MPLINK Object Linker/MPLIB Object Librarian ............... 300
MSSP ............................................................................... 155
MULLW ............................................................................ 282
MULWF ............................................................................ 282
N
NEGF ............................................................................... 283
NOP ................................................................................. 283
O
Opcode Field Descriptions ............................................... 256
OPTION_REG Register
Oscillator Configuration ...................................................... 19
Oscillator Selection .......................................................... 237
 2003 Microchip Technology Inc.
Data Memory ............................................................. 59
Program Memory ....................................................... 53
Universal In-Circuit Emulator ................................... 301
Universal In-Circuit Emulator ................................... 301
Environment Software .............................................. 299
Control Registers (General) ..................................... 155
Enabling SPI I/O ...................................................... 159
I
I
I
Operation ................................................................. 158
Overview .................................................................. 155
Slave Select Control ................................................ 161
SPI Master Mode ..................................................... 160
SPI Master/Slave Connection .................................. 159
SPI Mode ................................................................. 155
SPI Slave Mode ....................................................... 161
Typical Connection .................................................. 159
PSA Bit ..................................................................... 119
T0CS Bit ................................................................... 119
T0PS2:T0PS0 Bits ................................................... 119
T0SE Bit ................................................................... 119
EC .............................................................................. 19
ECIO .......................................................................... 19
HS .............................................................................. 19
HSPLL ........................................................................ 19
Internal Oscillator Block ............................................. 22
INTIO1 ....................................................................... 19
INTIO2 ....................................................................... 19
LP ............................................................................... 19
RC .............................................................................. 19
RCIO .......................................................................... 19
XT .............................................................................. 19
2
2
2
C Master Mode ...................................................... 179
C Mode
C Slave Mode ........................................................ 168
PIC18F2220/2320/4220/4320
Oscillator Start-up Timer (OST) ............................ 27, 44, 237
Oscillator Switching ........................................................... 24
Oscillator Transitions ......................................................... 27
Oscillator, Timer1 ......................................................121, 131
Oscillator, Timer3 ............................................................. 129
P
Packaging Information ..................................................... 361
Parallel Slave Port (PSP) ..........................................109, 114
PICkit 1 Flash Starter Kit ................................................. 303
PICSTART Plus Development Programmer .................... 301
PIE Registers ..................................................................... 94
Pin Functions
Marking .............................................................361, 362
Associated Registers ............................................... 115
CS (Chip Select) ...............................................113, 114
PORTD .................................................................... 114
RD (Read Input) ................................................113, 114
RE0/AN5/RD Pin ..................................................... 113
RE1/AN6/WR Pin ..................................................... 113
RE2/AN7/CS Pin ...................................................... 113
Select (PSPMODE Bit) .....................................109, 114
WR (Write Input) ...............................................113, 114
MCLR/V
OSC1/CLKI/RA7 ...................................................11, 14
OSC2/CLKO/RA6 .................................................11, 14
RA0/AN0 ...............................................................11, 14
RA1/AN1 ...............................................................11, 14
RA2/AN2/V
RA3/AN3/V
RA4/T0CKI/C1OUT ..............................................11, 14
RA5/AN4/SS/LVDIN/C2OUT ................................11, 14
RB0/AN12/INT0 ....................................................12, 15
RB1/AN10/INT1 ....................................................12, 15
RB2/AN8/INT2 ......................................................12, 15
RB3/AN9/CCP2 ....................................................12, 15
RB4/AN11/KBI0 ....................................................12, 15
RB5/KBI1/PGM .....................................................12, 15
RB6/KBI2/PGC .....................................................12, 15
RB7/KBI3/PGD .......................................................... 12
RB7/PGD ................................................................... 15
RC0/T1OSO/T1CKI ..............................................13, 16
RC1/T1OSI/CCP2 .................................................13, 16
RC2/CCP1/P1A ....................................................13, 16
RC3/SCK/SCL ......................................................13, 16
RC4/SDI/SDA .......................................................13, 16
RC5/SDO ..............................................................13, 16
RC6/TX/CK ...........................................................13, 16
RC7/RX/DT ...........................................................13, 16
RD0/PSP0 ................................................................. 17
RD1/PSP1 ................................................................. 17
RD2/PSP2 ................................................................. 17
RD3/PSP3 ................................................................. 17
RD4/PSP4 ................................................................. 17
RD5/PSP5/P1B ......................................................... 17
RD6/PSP6/P1C ......................................................... 17
RD7/PSP7/P1D ......................................................... 17
RE0/AN5/RD .............................................................. 18
RE1/AN6/WR ............................................................. 18
RE2/AN7/CS .............................................................. 18
RE3 ............................................................................ 18
V
V
DD
SS
.......................................................................13, 18
.......................................................................13, 18
PP
/RE3 ....................................................11, 14
REF
REF
-/CV
+ ...................................................11, 14
REF
.........................................11, 14
DS39599C-page 377

Related parts for PIC18F2320-I/SP