PIC18F2320-I/SO Microchip Technology Inc., PIC18F2320-I/SO Datasheet - Page 380

no-image

PIC18F2320-I/SO

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

Specifications of PIC18F2320-I/SO

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 SOIC
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
PIC18F2220/2320/4220/4320
Pinout I/O Descriptions
PIR Registers ..................................................................... 92
PLL Lock Time-out ............................................................. 44
Pointer, FSRn ..................................................................... 66
POP .................................................................................. 284
POR. See Power-on Reset.
PORTA
PORTB
PORTC
PORTD
PORTE
Postscaler, WDT
Power Managed Modes ..................................................... 29
Power-on Reset (POR) .............................................. 44, 237
Power-up Delays ................................................................ 27
Power-up Timer (PWRT) ...................................... 27, 44, 237
Prescaler, Capture ........................................................... 135
Prescaler, Timer0 ............................................................. 119
Prescaler, Timer2 ............................................................. 139
PRO MATE II Universal Device Programmer ................... 301
Product Identification System ........................................... 385
Program Counter
DS39599C-page 378
PIC18F2220/2320 ...................................................... 11
PIC18F4220/4320 ...................................................... 14
Associated Registers ............................................... 103
LATA Register .......................................................... 101
PORTA Register ...................................................... 101
TRISA Register ........................................................ 101
Associated Registers ............................................... 106
LATB Register .......................................................... 104
PORTB Register ...................................................... 104
RB7:RB4 Interrupt-on-Change Flag (RBIF Bit) ........ 104
TRISB Register ........................................................ 104
Associated Registers ............................................... 108
LATC Register .......................................................... 107
PORTC Register ...................................................... 107
TRISC Register ........................................................ 107
Associated Registers ............................................... 110
LATD Register .......................................................... 109
Parallel Slave Port (PSP) Function .......................... 109
PORTD Register ...................................................... 109
TRISD Register ........................................................ 109
Analog Port Pins ...................................................... 113
Associated Registers ............................................... 113
LATE Register .......................................................... 111
PORTE Register ...................................................... 111
PSP Mode Select (PSPMODE Bit) .......................... 109
RE0/AN5/RD Pin ...................................................... 113
RE1/AN6/WR Pin ..................................................... 113
RE2/AN7/CS Pin ...................................................... 113
TRISE Register ........................................................ 111
Assignment (PSA Bit) ............................................... 119
Rate Select (T0PS2:T0PS0 Bits) ............................. 119
Entering ...................................................................... 30
Idle Modes .................................................................. 31
Run Modes ................................................................. 36
Selecting .................................................................... 29
Sleep Mode ................................................................ 31
Summary (table) ......................................................... 29
Wake-up from ............................................................. 38
Assignment (PSA Bit) ............................................... 119
Rate Select (T0PS2:T0PS0 Bits) ............................. 119
PCL Register .............................................................. 56
PCLATH Register ....................................................... 56
PCLATU Register ....................................................... 56
Program Memory
Program Memory Code Protection .................................. 252
Program Verification ........................................................ 251
Program Verification and Code Protection
Programming, Device Instructions ................................... 255
PSP. See Parallel Slave Port.
Pulse Width Modulation. See PWM (CCP Module)
PUSH ............................................................................... 284
PUSH and POP Instructions .............................................. 55
PWM (CCP Module) ........................................................ 138
PWM (ECCP Module) ...................................................... 143
Q
Q Clock ............................................................................ 139
R
RAM. See Data Memory.
RC Oscillator ...................................................................... 21
RCALL ............................................................................. 285
RCON Register
RCSTA Register
Register File ....................................................................... 59
Registers
Instructions ................................................................ 58
Interrupt Vector .......................................................... 53
Map and Stack for PIC18F2220/4220 ....................... 53
Map and Stack for PIC18F2320/4320 ....................... 53
Reset Vector .............................................................. 53
Associated Registers ............................................... 251
and PWM (ECCP Module).
Associated Registers ............................................... 139
CCPR1H:CCPR1L Registers ................................... 138
Duty Cycle ............................................................... 138
Example Frequencies/Resolutions .......................... 139
Period ...................................................................... 138
Setup for PWM Operation ........................................ 139
TMR2 to PR2 Match .........................................127, 138
Associated Registers ............................................... 153
Direction Change in Full-Bridge Output Mode ......... 147
Effects of a Reset .................................................... 152
Full-Bridge Application Example .............................. 147
Full-Bridge Mode ..................................................... 146
Half-Bridge Mode ..................................................... 145
Half-Bridge Output Mode Applications Example ...... 145
Operation in Power Managed Modes ...................... 152
Operation with Fail-Safe Clock Monitor ................... 152
Output Configurations .............................................. 143
Output Relationships (Active-High State) ................ 144
Output Relationships (Active-Low State) ................. 144
Programmable Dead Band Delay ............................ 149
Setup for Operation ................................................. 152
Shoot-Through Current ............................................ 149
Start-up Considerations ........................................... 151
RCIO Oscillator Mode ................................................ 21
Bit Status During Initialization .................................... 45
Bits and Positions ...................................................... 45
SPEN Bit .................................................................. 195
ADCON0 (A/D Control 0) ......................................... 211
ADCON1 (A/D Control 1) ......................................... 212
ADCON2 (A/D Control 2) ......................................... 213
CCP1CON (Enhanced CCP
CCPxCON (Capture/Compare/PWM Control) ......... 133
CMCON (Comparator Control) ................................ 221
CONFIG1H (Configuration 1 High) .......................... 238
Two-Word .......................................................... 58
Operation Control 1) ........................................ 141
 2003 Microchip Technology Inc.

Related parts for PIC18F2320-I/SO