PIC16F687-E/P Microchip Technology, PIC16F687-E/P Datasheet - Page 211

IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,20PIN,PLASTIC

PIC16F687-E/P

Manufacturer Part Number
PIC16F687-E/P
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,20PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F687-E/P

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
18
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-DIP (0.300", 7.62mm)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C, SPI, SSP, EUSART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
18
Number Of Timers
2
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163029, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Data Rom Size
256 B
A/d Bit Size
10 bit
A/d Channels Available
12
Height
3.3 mm
Length
26.16 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4.5 V
Width
6.35 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162061 - HEADER INTRFC MPLAB ICD2 20PINAC164039 - MODULE SKT PROMATE II 20DIP/SOICDM163029 - BOARD PICDEM FOR MECHATRONICSACICE0203 - MPLABICE 20P 300 MIL ADAPTER
Lead Free Status / Rohs Status
 Details
14.3.2
An overflow (FFh → 00h) in the TMR0 register will set
the T0IF (INTCON<2>) bit. The interrupt can be
enabled/disabled by setting/clearing T0IE (INTCON<5>)
bit. See Section 5.0 “Timer0 Module” for operation of
the Timer0 module.
FIGURE 14-7:
© 2008 Microchip Technology Inc.
IOC-RA0
IOC-RA1
IOC-RA2
IOC-RA3
IOC-RA4
IOC-RA5
IOC-RB4
IOC-RB5
IOC-RB6
IOC-RB7
IOCA0
IOCA1
IOCA2
IOCA3
IOCA4
IOCA5
IOCB4
IOCB5
IOCB6
IOCB7
TIMER0 INTERRUPT
INTERRUPT LOGIC
PIC16F631/677/685/687/689/690
TMR2IF
TMR2IE
TMR1IF
TMR1IE
CCP1IF
CCP1IE
SSPIF
SSPIE
OSFIF
OSFIE
RCIF
RCIE
ADIF
ADIE
EEIE
TXIF
TXIE
C1IF
C1IE
C2IF
C2IE
EEIF
14.3.3
An input change on PORTA or PORTB change sets the
RABIF (INTCON<0>) bit. The interrupt can be enabled/
disabled by setting/clearing the RABIE (INTCON<3>)
bit. Plus, individual pins can be configured through the
IOCA or IOCB registers.
Note 1:
Note:
RABIF
RABIE
INTF
INTE
PEIE
T0IF
T0IE
GIE
PORTA/PORTB INTERRUPT
If a change on the I/O pin should occur
when the read operation is being executed
(start of the Q2 cycle), then the RABIF
interrupt flag may not get set. See
Section 4.2.3 “Interrupt-on-change” for
more information.
Some peripherals depend upon the system
clock for operation. Since the system clock is
suspended during Sleep, these peripherals
will not wake the part from Sleep. See
Section 14.6.1 “Wake-up from Sleep”.
Wake-up (If in Sleep mode)
DS41262E-page 209
Interrupt to CPU
(1)

Related parts for PIC16F687-E/P