PIC16F639-I/SS Microchip Technology, PIC16F639-I/SS Datasheet - Page 28

IC MCU FLASH 2KX14 20SSOP

PIC16F639-I/SS

Manufacturer Part Number
PIC16F639-I/SS
Description
IC MCU FLASH 2KX14 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F639-I/SS

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
20-SSOP
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, LVD, POR, WDT
Number Of I /o
11
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
2
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPXLT20SS-1 - SOCKET TRANSITION 18DIP 20SSOPAC162066 - HEADER INTRFC MPLAB ICD2 20PINAC164307 - MODULE SKT FOR PM3 28SSOP
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
PIC16F630/676
3.3
PORTC is a general purpose I/O port consisting of 6 bi-
directional pins. The pins can be configured for either
digital I/O or analog input to A/D converter. For specific
information about individual functions such as the
comparator or the A/D, refer to the appropriate section
in this Data Sheet.
EXAMPLE 3-2:
3.3.1
The RC0/RC1/RC2/RC3 pins are configurable to
function as one of the following:
• a general purpose I/O
• an analog input for the A/D Converter
FIGURE 3-6:
DS40039C-page 26
PORTC
PORTC
bcf
clrf
bsf
clrf
movlw
movwf
bcf
TRISC
TRISC
Data bus
WR
WR
Note:
(PIC16F676 only)
RD
RD
PORTC
D
D
STATUS,RP0
PORTC
STATUS,RP0
ANSEL
0Ch
TRISC
STATUS,RP0
To A/D Converter
CK
CK
The ANSEL register (9Fh) must be clear to
configure an analog channel as a digital
input. Pins configured as analog inputs will
read ‘0’. The ANSEL register is defined for
the PIC16F676.
RC0/AN4, RC1/AN5, RC2/AN6, RC3/
AN7
Q
Q
Q
Q
INITIALIZING PORTC
BLOCK DIAGRAM OF
RC0/RC1/RC2/RC3 PINs
Analog Input
;Bank 0
;Init PORTC
;Bank 1
;digital I/O
;Set RC<3:2> as inputs
;and set RC<5:4,1:0>
;as outputs
;Bank 0
Mode
V
V
DD
SS
I/O Pin
3.3.2
The RC4 and RC5 pins are configurable to function as
a general purpose I/Os.
FIGURE 3-7:
PORTC
PORTC
TRISC
TRISC
Data bus
WR
WR
RD
RD
D
D
CK
CK
RC4 AND RC5
Q
Q
Q
Q
BLOCK DIAGRAM OF RC4
AND RC5 PINS
 2003 Microchip Technology Inc.
V
V
DD
SS
I/O Pin

Related parts for PIC16F639-I/SS