PIC18F2221-E/SO Microchip Technology, PIC18F2221-E/SO Datasheet - Page 157

no-image

PIC18F2221-E/SO

Manufacturer Part Number
PIC18F2221-E/SO
Description
4KB, Flash, 512bytes-RAM, 25I/O, 8-bit Family,nanoWatt 28 SOIC .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
4KB (2K x 16)
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 ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
FIGURE 17-2:
FIGURE 17-3:
© 2009 Microchip Technology Inc.
Relationships:
• Period = 4 * T
• Duty Cycle = T
• Delay = 4 * T
Note 1:
00
10
01
11
00
10
01
11
(Single Output)
CCP1CON
(Single Output)
(Half-Bridge)
CCP1CON
(Full-Bridge,
(Full-Bridge,
(Half-Bridge)
(Full-Bridge,
(Full-Bridge,
Forward)
Reverse)
Reverse)
Forward)
<7:6>
<7:6>
Dead-band delay is programmed using the ECCP1DEL register (see Section 17.4.6 “Programmable
Dead-Band Delay”).
OSC
PWM OUTPUT RELATIONSHIPS (ACTIVE-HIGH STATE)
PWM OUTPUT RELATIONSHIPS (ACTIVE-LOW STATE)
OSC
PIC18F2221/2321/4221/4321 FAMILY
OSC
* (ECCP1DEL<6:0>)
* (PR2 + 1) * (TMR2 Prescale Value)
* (CCPR1L<7:0>:CCP1CON<5:4>) * (TMR2 Prescale Value)
P1A Modulated
P1A Modulated
P1B Modulated
P1A Active
P1B Inactive
P1C Inactive
P1D Modulated
P1A Inactive
P1B Modulated
P1C Active
P1D Inactive
P1A Modulated
P1A Modulated
P1B Modulated
P1A Active
P1B Inactive
P1C Inactive
P1D Modulated
P1A Inactive
P1B Modulated
P1C Active
P1D Inactive
SIGNAL
SIGNAL
0
0
Delay
Delay
(1)
(1)
Cycle
Duty
Cycle
Duty
Delay
Period
Delay
Period
(1)
(1)
DS39689F-page 157
PR2 + 1
PR2 + 1

Related parts for PIC18F2221-E/SO