PIC18F2221-I/SS Microchip Technology, PIC18F2221-I/SS Datasheet - Page 395

IC PIC MCU FLASH 2KX16 28SSOP

PIC18F2221-I/SS

Manufacturer Part Number
PIC18F2221-I/SS
Description
IC PIC MCU FLASH 2KX16 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-I/SS

Core Size
8-Bit
Program Memory Size
4KB (2K x 16)
Core Processor
PIC
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP
Controller Family/series
PIC18
No. Of I/o's
25
Eeprom Memory Size
256Byte
Ram Memory Size
512Byte
Cpu Speed
40MHz
No. Of Timers
4
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
EUSART, I2C, MSSP, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
4
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE4000, ICE2000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 10 Channel
Package
28SSOP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164307 - MODULE SKT FOR PM3 28SSOP
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2221-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PWM (ECCP Module) ...................................................... 155
Q
Q Clock .................................................................... 151, 156
R
RAM. See Data Memory.
RC Oscillator
RC_IDLE Mode .................................................................. 45
RC_RUN Mode .................................................................. 41
RCALL ............................................................................. 309
RCON Register
Reader Response ............................................................ 400
Register File ....................................................................... 67
Register File Summary ................................................ 69–71
Registers
© 2009 Microchip Technology Inc.
Example Frequencies/Resolutions .......................... 151
Operation Setup ....................................................... 151
Period ....................................................................... 150
TMR2 to PR2 Match ........................................ 150, 155
CCPR1H:CCPR1L Registers ................................... 155
Duty Cycle ................................................................ 156
Effects of a Reset ..................................................... 165
Enhanced PWM Auto-Shutdown ............................. 162
Example Frequencies/Resolutions .......................... 156
Full-Bridge Application Example .............................. 160
Full-Bridge Mode ...................................................... 159
Half-Bridge Mode ..................................................... 158
Half-Bridge Output Mode Applications
Operation in Power-Managed Modes ...................... 165
Operation with Fail-Safe Clock Monitor ................... 165
Output Configurations .............................................. 156
Output Relationships (Active-High) .......................... 157
Output Relationships (Active-Low) ........................... 157
Period ....................................................................... 155
Programmable Dead-Band Delay ............................ 162
Setup for PWM Operation ........................................ 165
Start-up Considerations ........................................... 164
RCIO Oscillator Mode ................................................ 31
Bit Status During Initialization .................................... 54
ADCON0 (A/D Control 0) ......................................... 233
ADCON1 (A/D Control 1) ......................................... 234
ADCON2 (A/D Control 2) ......................................... 235
BAUDCON (Baud Rate Control) .............................. 214
CCP1CON (Enhanced Capture/Compare/PWM
CCPxCON (CCPx Control) ...................................... 145
CMCON (Comparator Control) ................................ 243
CONFIG1H (Configuration 1 High) .......................... 260
CONFIG2H (Configuration 2 High) .......................... 262
CONFIG2L (Configuration 2 Low) ............................ 261
CONFIG3H (Configuration 3 High) .......................... 263
CONFIG4L (Configuration 4 Low) ............................ 264
CONFIG5H (Configuration 5 High) .......................... 265
CONFIG5L (Configuration 5 Low) ............................ 265
CONFIG6H (Configuration 6 High) .......................... 266
CONFIG6L (Configuration 6 Low) ............................ 266
CONFIG7H (Configuration 7 High) .......................... 267
CONFIG7L (Configuration 7 Low) ............................ 267
CVRCON (Comparator Voltage
DEVID1 (Device ID 1) .............................................. 268
DEVID2 (Device ID 2) .............................................. 268
ECCP1AS (ECCP Auto-Shutdown Control) ............. 163
Direction Change ............................................. 160
Example ........................................................... 158
Control 1) ......................................................... 153
Reference Control) .......................................... 249
PIC18F2221/2321/4221/4321 FAMILY
RESET ............................................................................. 309
Reset State of Registers .................................................... 54
Resets ....................................................................... 47, 259
RETFIE ............................................................................ 310
RETLW ............................................................................ 310
RETURN .......................................................................... 311
Return Address Stack ........................................................ 60
Return Stack Pointer (STKPTR) ........................................ 61
Revision History ............................................................... 385
RLCF ............................................................................... 311
RLNCF ............................................................................. 312
RRCF ............................................................................... 312
RRNCF ............................................................................ 313
S
SCK ................................................................................. 167
SDI ................................................................................... 167
SDO ................................................................................. 167
SEC_IDLE Mode ............................................................... 44
SEC_RUN Mode ................................................................ 40
Serial Clock, SCK ............................................................ 167
Serial Data In (SDI) .......................................................... 167
Serial Data Out (SDO) ..................................................... 167
Serial Peripheral Interface. See SPI Mode.
SETF ............................................................................... 313
Single-Supply ICSP Programming.
Slave Select (SS) ............................................................. 167
SLEEP ............................................................................. 314
Sleep
ECCP1DEL (PWM Dead-Band Delay) .................... 162
EECON1 (Data EEPROM Control 1) ................... 81, 90
HLVDCON (High/Low-Voltage Detect Control) ....... 253
INTCON (Interrupt Control) ....................................... 99
INTCON2 (Interrupt Control 2) ................................ 100
INTCON3 (Interrupt Control 3) ................................ 101
IPR1 (Peripheral Interrupt Priority 1) ....................... 106
IPR2 (Peripheral Interrupt Priority 2) ....................... 107
OSCCON (Oscillator Control) .................................... 37
OSCTUNE (Oscillator Tuning) ................................... 33
PIE1 (Peripheral Interrupt Enable 1) ....................... 104
PIE2 (Peripheral Interrupt Enable 2) ....................... 105
PIR1 (Peripheral Interrupt Request (Flag) 1) ........... 102
PIR2 (Peripheral Interrupt Request (Flag) 2) ........... 103
RCON (Reset Control) ....................................... 48, 108
RCSTA (Receive Status and Control) ..................... 213
SSPADD(MSSP Address) ....................................... 180
SSPCON1 (MSSP Control 1, I
SSPCON1 (MSSP Control 1, SPI Mode) ................ 169
SSPCON2 (MSSP Control 2, I
SSPSTAT (MSSP Status, I
SSPSTAT (MSSP Status, SPI Mode) ...................... 168
STATUS .................................................................... 72
STKPTR (Stack Pointer) ............................................ 61
T0CON (Timer0 Control) ......................................... 129
T1CON (Timer1 Control) ......................................... 133
T2CON (Timer2 Control) ......................................... 139
T3CON (Timer3 Control) ......................................... 141
TRISE (PORTE/PSP Control) ................................. 124
TXSTA (Transmit Status and Control) ..................... 212
WDTCON (Watchdog Timer Control) ...................... 270
Brown-out Reset (BOR) ........................................... 259
Oscillator Start-up Timer (OST) ............................... 259
Power-on Reset (POR) ............................................ 259
Power-up Timer (PWRT) ......................................... 259
Associated Registers ................................................. 60
OSC1 and OSC2 Pin States ...................................... 38
2
C Mode) ...................... 177
2
2
C Mode) ................. 178
C Mode) ................. 179
DS39689F-page 395

Related parts for PIC18F2221-I/SS