PIC18F1220-I/SO Microchip Technology Inc., PIC18F1220-I/SO Datasheet - Page 300

no-image

PIC18F1220-I/SO

Manufacturer Part Number
PIC18F1220-I/SO
Description
Microcontroller; 4 KB Flash; 256 RAM; 256 EEPROM; 16 I/O; 18-Pin-SOIC
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F1220-I/SO

A/d Inputs
7-Channel, 10-Bit
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
16
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
18-pin SOIC
Programmable Memory
4K Bytes
Ram Size
256 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
PIC18F1220/1320
Capture/Compare/PWM (CCP)
Clock Sources .................................................................... 15
Clocking Scheme ............................................................... 45
CLRF ................................................................................ 207
CLRWDT .......................................................................... 207
Code Examples
Code Protection ............................................................... 171
COMF ............................................................................... 208
Compare (CCP Module) ................................................... 117
Compare (CCP1 Module)
Computed GOTO ............................................................... 47
Configuration Bits ............................................................. 171
Context Saving During Interrupts ....................................... 85
Conversion Considerations .............................................. 294
CPFSEQ .......................................................................... 208
CPFSGT ........................................................................... 209
CPFSLT ........................................................................... 209
D
Data EEPROM Memory ..................................................... 67
DS39605C-page 298
Capture Mode. See Capture.
CCP1 ........................................................................ 116
Compare Mode. See Compare.
Timer Resources ...................................................... 116
Selection Using OSCCON Register ........................... 16
16 x 16 Signed Multiply Routine ................................. 72
16 x 16 Unsigned Multiply Routine ............................. 72
8 x 8 Signed Multiply Routine ..................................... 71
8 x 8 Unsigned Multiply Routine ................................. 71
Changing Between Capture Prescalers ................... 117
Computed GOTO Using an Offset Value ................... 47
Data EEPROM Read ................................................. 69
Data EEPROM Refresh Routine ................................ 70
Data EEPROM Write .................................................. 69
Erasing a Flash Program Memory Row ..................... 62
Fast Register Stack .................................................... 44
How to Clear RAM (Bank 1) Using
Implementing a Real-Time Clock Using
Initializing PORTA ...................................................... 87
Initializing PORTB ...................................................... 90
Reading a Flash Program Memory Word ................... 61
Saving Status, WREG and
Writing to Flash Program Memory ....................... 64–65
CCP Pin Configuration ............................................. 117
CCPR1 Register ....................................................... 117
Software Interrupt ..................................................... 117
Special Event Trigger ....................................... 113, 117
Timer1/Timer3 Mode Selection ................................ 117
Special Event Trigger ............................................... 164
Associated Registers ................................................. 70
EEADR Register ........................................................ 67
EECON1 Register ...................................................... 67
EECON2 Register ...................................................... 67
Operation During Code-Protect .................................. 70
Protection Against Spurious Write ............................. 69
Reading ...................................................................... 69
Using .......................................................................... 70
Write Verify ................................................................. 69
Writing ........................................................................ 69
CCPR1H Register ............................................ 116
CCPR1L Register ............................................ 116
Indirect Addressing ............................................ 53
a Timer1 Interrupt Service ............................... 107
BSR Registers in RAM ....................................... 85
Data Memory ..................................................................... 47
DAW ................................................................................ 210
DC and AC Characteristics
DC Characteristics ........................................................... 252
DCFSNZ .......................................................................... 211
DECF ............................................................................... 210
DECFSZ .......................................................................... 211
Demonstration Boards
Details on Individual Family Members ................................. 6
Development Support ...................................................... 233
Device Differences ........................................................... 293
Direct Addressing ............................................................... 54
E
Effects of Power Managed Modes on
Electrical Characteristics .................................................. 239
Enhanced Capture/Compare/PWM (ECCP) .................... 115
Enhanced PWM Mode. See PWM (ECCP Module).
Enhanced Universal Synchronous Asynchronous
Equations
Errata ................................................................................... 4
EUSART
General Purpose Registers ....................................... 47
Map for PIC18F1220/1320 Devices ........................... 48
Special Function Registers ........................................ 49
Graphs and Tables .................................................. 269
Power-Down and Supply Current ............................ 243
Supply Voltage ......................................................... 242
PICDEM 1 ................................................................ 236
PICDEM 17 .............................................................. 237
PICDEM 18R ........................................................... 237
PICDEM 2 Plus ........................................................ 236
PICDEM 3 ................................................................ 236
PICDEM 4 ................................................................ 236
PICDEM LIN ............................................................ 237
PICDEM USB .......................................................... 237
PICDEM.net Internet/Ethernet ................................. 236
Various Clock Sources .............................................. 18
Outputs .................................................................... 116
PWM Mode. See PWM (ECCP Module).
Receiver Transmitter (EUSART) ............................. 131
16 x 16 Signed Multiplication Algorithm ..................... 72
16 x 16 Unsigned Multiplication Algorithm ................. 72
A/D Minimum Charging Time ................................... 160
Acquisition Time ...................................................... 160
Asynchronous Mode ................................................ 140
Baud Rate Generator (BRG) ................................... 135
Serial Port Enable (SPEN Bit) ................................. 131
12-bit Break Transmit and Receive ................. 146
Associated Registers, Receive ........................ 144
Associated Registers, Transmit ....................... 142
Auto-Wake-up on Sync Break ......................... 145
Receiver .......................................................... 143
Setting up 9-bit Mode with
Transmitter ....................................................... 140
Associated Registers ....................................... 136
Auto-Baud Rate Detect .................................... 139
Baud Rate Error, Calculating ........................... 135
Baud Rates, Asynchronous Modes ................. 136
High Baud Rate Select (BRGH Bit) ................. 135
Power Managed Mode Operation .................... 135
Sampling .......................................................... 135
Address Detect ........................................ 143
 2004 Microchip Technology Inc.

Related parts for PIC18F1220-I/SO