EEWORLDEEWORLDEEWORLD

Part Number

Search

PIC16F688T-I/SN

Description
8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 0.150 INCH, PLASTIC, MS-012, SO-14
CategoryThe embedded processor and controller    Microcontrollers and processors   
File Size5MB,178 Pages
ManufacturerMicrochip
Websitehttps://www.microchip.com
Environmental Compliance  
Download Datasheet Parametric Compare View All

PIC16F688T-I/SN Overview

8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 0.150 INCH, PLASTIC, MS-012, SO-14

PIC16F688T-I/SN Parametric

Parameter NameAttribute value
Is it lead-free?Lead free
Is it Rohs certified?conform to
MakerMicrochip
Parts packaging codeSOIC
package instruction0.150 INCH, PLASTIC, MS-012, SO-14
Contacts14
Reach Compliance Codecompliant
Has ADCYES
Other featuresOPERATES AT 2.5 V MINIMUM SUPPLY @ 4 MHZ
Address bus width
bit size8
maximum clock frequency20 MHz
DAC channelNO
DMA channelNO
External data bus width
JESD-30 codeR-PDSO-G14
JESD-609 codee3
length8.69 mm
Humidity sensitivity level1
Number of I/O lines12
Number of terminals14
On-chip program ROM width14
Maximum operating temperature85 °C
Minimum operating temperature-40 °C
PWM channelNO
Package body materialPLASTIC/EPOXY
encapsulated codeSOP
Package shapeRECTANGULAR
Package formSMALL OUTLINE
Peak Reflow Temperature (Celsius)260
Certification statusNot Qualified
RAM (bytes)256
rom(word)4096
ROM programmabilityFLASH
Maximum seat height1.75 mm
speed20 MHz
Maximum supply voltage5.5 V
Minimum supply voltage4.5 V
Nominal supply voltage5 V
surface mountYES
technologyCMOS
Temperature levelINDUSTRIAL
Terminal surfaceMatte Tin (Sn)
Terminal formGULL WING
Terminal pitch1.27 mm
Terminal locationDUAL
Maximum time at peak reflow temperature40
width3.9 mm
uPs/uCs/peripheral integrated circuit typeMICROCONTROLLER, RISC

PIC16F688T-I/SN Preview

PIC16F688
Data Sheet
14-Pin FLASH-Based 8-Bit
CMOS Microcontrollers with
nanoWatt Technology
2003 Microchip Technology Inc.
Advance Information
DS41203A
Note the following details of the code protection feature on Microchip devices:
Microchip products meet the specification contained in their particular Microchip Data Sheet.
Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Information contained in this publication regarding device
applications and the like is intended through suggestion only
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
No representation or warranty is given and no liability is
assumed by Microchip Technology Incorporated with respect
to the accuracy or use of such information, or infringement of
patents or other intellectual property rights arising from such
use or otherwise. Use of Microchip’s products as critical
components in life support systems is not authorized except
with express written approval by Microchip. No licenses are
conveyed, implicitly or otherwise, under any intellectual
property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
K
EE
L
OQ
, MPLAB, PIC, PICmicro, PICSTART, PRO MATE
and PowerSmart are registered trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries.
FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL
and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Accuron, Application Maestro, dsPICDEM, dsPICDEM.net,
ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-
Circuit Serial Programming, ICSP, ICEPIC, microPort,
Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM,
PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo,
PowerMate, PowerTool, rfLAB, rfPIC, Select Mode,
SmartSensor, SmartShunt, SmartTel and Total Endurance
are trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
Serialized Quick Turn Programming (SQTP) is a service mark
of Microchip Technology Incorporated in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2003, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and Tempe, Arizona in July 1999
and Mountain View, California in March 2002.
The Company’s quality system processes and
procedures are QS-9000 compliant for its
PICmicro
®
8-bit MCUs, K
EE
L
OQ
®
code hopping
devices, Serial EEPROMs, microperipherals,
non-volatile memory and analog products. In
addition, Microchip’s quality system for the
design and manufacture of development
systems is ISO 9001 certified.
DS41203A-page ii
Advance Information
2003 Microchip Technology Inc.
PIC16F688
14-Pin FLASH-Based 8-Bit CMOS Microcontroller
High Performance RISC CPU
• Only 35 instructions to learn
- All single-cycle instructions except branches
• Operating speed:
- DC – 20 MHz oscillator/clock input
- DC – 200 ns instruction cycle
• Interrupt capability
• 8-level deep hardware stack
• Direct, Indirect and Relative Addressing modes
Low-Power Features
• Standby Current:
- 1 nA @ 2.0V, typical
• Operating Current:
- 8.5
µA
@ 32 kHz, 2.0V, typical
- 100
µA
@ 1 MHz, 2.0V, typical
• Watchdog Timer Current:
- 1
µA
@ 2.0V, typical
Peripheral Features
Special Microcontroller Features
• Precision Internal Oscillator
- Factory calibrated to ±1%
- Software selectable frequency range of
8 MHz to 31 kHz
- Software adjustable
- Two-Speed Start-up mode
- Crystal fail detect for critical applications
- Clock mode switching during operation for
low-power operation
• Power-saving SLEEP mode
• Wide operating voltage range (2.0V-5.5V)
• Industrial and Extended temperature range
• Power-on Reset (POR)
• Power-up Timer (PWRT) and Oscillator Start-up
Timer (OST)
• Brown-out Detect (BOD) with software control
option
• Enhanced Low Current Watchdog Timer (WDT)
with on-chip oscillator (software selectable
nominal 268 seconds with full prescaler) with
software enable
• Multiplexed master clear with pull-up/input pin
• Programmable code protection
• High Endurance FLASH/EEPROM cell
- 100,000 write FLASH endurance
- 1,000,000 write EEPROM endurance
- FLASH/Data EEPROM Retention: > 40 years
Program
Memory
FLASH
(words)
4096
• 12 I/O pins with individual direction control
- High current source/sink for direct LED drive
- Interrupt-on-pin change
- Individually programmable weak pull-ups
- Ultra Low-power Wake-up
• Analog comparator module with:
- Two analog comparators
- Programmable on-chip voltage reference
(CV
REF
) module (% of V
DD
)
- Comparator inputs and outputs externally
accessible
• A/D Converter
- 10-bit resolution and 8 channels
• Timer0: 8-bit timer/counter with 8-bit
programmable prescaler
- Enhanced Timer1
- 16-bit timer/counter with prescaler
- External Gate Input mode
- Option to use OSC1 and OSC2 in LP mode as
Timer1 oscillator, if INTOSC mode selected
• Timer2: 8-bit timer/counter with 8-bit period
register, prescaler and postscaler
• Enhanced USART Module
- Supports RS-485, RS-232, and LIN 1.2
- Auto baud detect
- Auto-wake-up on START bit
• In-Circuit Serial Programming
TM
(ICSP
TM
) via two
pins
Data Memory
SRAM
(bytes)
256
EEPROM
(bytes)
256
I/O
Device
10-bit A/D
(ch)
8
Comparators
Timers
8/16-bit
2/1
PIC16F688
12
2
2003 Microchip Technology Inc.
Advance Information
DS41203A-page 1
PIC16F688
Pin Diagram
14-pin PDIP, SOIC, TSSOP
V
DD
RA5/T1CKI/OSC1/CLKIN
RA4/AN3/T1G/OSC2/CLKOUT
RA3/MCLR/V
PP
RC5/RX/DT
RC4/C2OUT/TX/CK
RC3/AN7
1
2
3
4
5
6
7
14
13
12
11
10
9
8
V
SS
RA0/AN0/C1IN+/ICSPDAT
RA1/AN1/C1IN-/V
REF
/ICSPCLK
RA2/AN2/T0CKI/INT/C1OUT
RC0/AN4/C2IN+
RC1/AN5/C2IN-
RC2/AN6
DS41203A-page 2
Advance Information
PIC16F688
2003 Microchip Technology Inc.
PIC16F688
Table of Contents
1.0 Device Overview ......................................................................................................................................................................... 5
2.0 Memory Organization .................................................................................................................................................................. 7
3.0 Oscillator Configurations ........................................................................................................................................................... 21
4.0 I/O Ports .................................................................................................................................................................................... 35
5.0 Timer0 Module .......................................................................................................................................................................... 49
6.0 Timer1 Module with Gate Control.............................................................................................................................................. 53
7.0 Comparator Module................................................................................................................................................................... 57
8.0 Enhanced Universal Asynchronous Receiver Transmitter (EUSART) ...................................................................................... 65
9.0 Analog-to-Digital Converter (A/D) Module................................................................................................................................. 89
10.0 Data EEPROM and FLASH Program Memory Control ............................................................................................................. 97
11.0 Special Features of the CPU................................................................................................................................................... 103
12.0 Instruction Set Summary ......................................................................................................................................................... 127
13.0 Development Support.............................................................................................................................................................. 135
14.0 Electrical Specifications........................................................................................................................................................... 141
15.0 Packaging Information............................................................................................................................................................. 163
Appendix A: Data Sheet Revision History......................................................................................................................................... 167
Appendix B: Migrating from other PICmicro® Devices ..................................................................................................................... 167
Index: ................................................................................................................................................................................................. 169
On-Line Support ................................................................................................................................................................................ 173
Systems Information and Upgrade Hot Line ..................................................................................................................................... 173
Reader Response ............................................................................................................................................................................. 174
Product Identification System ........................................................................................................................................................... 175
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at
docerrors@mail.microchip.com
or fax the
Reader Response Form
in the back of this data sheet to (480) 792-4150.
We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000A is version A of document DS30000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
• The Microchip Corporate Literature Center; U.S. FAX: (480) 792-7277
When contacting a sales office or the literature center, please specify which device, revision of silicon and data sheet (include liter-
ature number) you are using.
Customer Notification System
Register on our web site at
www.microchip.com/cn
to receive the most current information on all of our products.
2003 Microchip Technology Inc.
Advance Information
DS41203A-page 3

PIC16F688T-I/SN Related Products

PIC16F688T-I/SN PIC16F688T-E/SN
Description 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 0.150 INCH, PLASTIC, MS-012, SO-14 8-BIT, FLASH, 20 MHz, RISC MICROCONTROLLER, PDSO14, 0.150 INCH, PLASTIC, MS-012, SO-14
Is it lead-free? Lead free Lead free
Is it Rohs certified? conform to conform to
Maker Microchip Microchip
Parts packaging code SOIC SOIC
package instruction 0.150 INCH, PLASTIC, MS-012, SO-14 0.150 INCH, PLASTIC, MS-012, SO-14
Contacts 14 14
Reach Compliance Code compliant compliant
Has ADC YES YES
Other features OPERATES AT 2.5 V MINIMUM SUPPLY @ 4 MHZ OPERATES AT 2.5 V MINIMUM SUPPLY @ 4 MHZ
bit size 8 8
maximum clock frequency 20 MHz 20 MHz
DAC channel NO NO
DMA channel NO NO
JESD-30 code R-PDSO-G14 R-PDSO-G14
JESD-609 code e3 e3
length 8.69 mm 8.69 mm
Humidity sensitivity level 1 1
Number of I/O lines 12 12
Number of terminals 14 14
On-chip program ROM width 14 14
Maximum operating temperature 85 °C 125 °C
Minimum operating temperature -40 °C -40 °C
PWM channel NO NO
Package body material PLASTIC/EPOXY PLASTIC/EPOXY
encapsulated code SOP SOP
Package shape RECTANGULAR RECTANGULAR
Package form SMALL OUTLINE SMALL OUTLINE
Peak Reflow Temperature (Celsius) 260 260
Certification status Not Qualified Not Qualified
RAM (bytes) 256 256
rom(word) 4096 4096
ROM programmability FLASH FLASH
Maximum seat height 1.75 mm 1.75 mm
speed 20 MHz 20 MHz
Maximum supply voltage 5.5 V 5.5 V
Minimum supply voltage 4.5 V 4.5 V
Nominal supply voltage 5 V 5 V
surface mount YES YES
technology CMOS CMOS
Temperature level INDUSTRIAL AUTOMOTIVE
Terminal surface Matte Tin (Sn) Matte Tin (Sn)
Terminal form GULL WING GULL WING
Terminal pitch 1.27 mm 1.27 mm
Terminal location DUAL DUAL
Maximum time at peak reflow temperature 40 40
width 3.9 mm 3.9 mm
uPs/uCs/peripheral integrated circuit type MICROCONTROLLER, RISC MICROCONTROLLER, RISC

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Robot
development
community

Index Files: 174  1416  1003  1405  1109  4  29  21  23  43 
Datasheet   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Room 1530, 15th Floor, Building B, No. 18 Zhongguancun Street, Haidian District, Beijing Telephone: (010) 82350740 Postal Code: 100190
Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号