PIC16F689-E/ML Microchip Technology, PIC16F689-E/ML Datasheet - Page 300
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,20PIN,PLASTIC](/photos/6/64/66481/c04-126_ml_sml.jpg)
PIC16F689-E/ML
Manufacturer Part Number
PIC16F689-E/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,20PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F690DM-PCTLHS.pdf
(306 pages)
3.PIC16F677-IP.pdf
(2 pages)
4.PIC16F677-IP.pdf
(16 pages)
Specifications of PIC16F689-E/ML
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
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 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-VQFN Exposed Pad, 20-HVQFN, 20-SQFN, 20-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164324 - MODULE SKT FOR MPLAB 8DFN/16QFNAC162061 - HEADER INTRFC MPLAB ICD2 20PIN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC16F631/677/685/687/689/690
Oscillator
Oscillator Module ................................................................ 47
Oscillator Parameters........................................................ 242
Oscillator Specifications .................................................... 241
Oscillator Start-up Timer (OST)
Oscillator Switching
OSCTUNE Register ............................................................ 52
P
P (Stop) bit ........................................................................ 180
P1A/P1B/P1C/P1D.See Enhanced Capture/
Packaging ......................................................................... 287
PCL and PCLATH ............................................................... 44
PCON Register ........................................................... 43, 203
PICSTART Plus Development Programmer ..................... 230
PIE1 Register ...................................................................... 39
PIE2 Register ...................................................................... 40
Pin Diagram ...................................................... 2, 3, 4, 5, 6, 7
PIR1 Register...................................................................... 41
PIR2 Register...................................................................... 42
PORTA
PORTA Register ................................................................. 59
PORTB
DS41262E-page 298
Associated registers.............................................. 58, 89
EC ............................................................................... 47
HFINTOSC.................................................................. 47
HS ............................................................................... 47
INTOSC ...................................................................... 47
INTOSCIO................................................................... 47
LFINTOSC .................................................................. 47
LP................................................................................ 47
RC ............................................................................... 47
RCIO ........................................................................... 47
XT ............................................................................... 47
Specifications ............................................................ 245
Fail-Safe Clock Monitor............................................... 57
Two-Speed Clock Start-up .......................................... 55
Compare/PWM (ECCP) ............................................ 132
Marking ..................................................................... 287
PDIP Details.............................................................. 288
Stack ........................................................................... 44
Additional Pin Functions ............................................. 60
Associated Registers .................................................. 68
Pin Descriptions and Diagrams................................... 64
RA0 ............................................................................. 64
RA1 ............................................................................. 65
RA2 ............................................................................. 65
RA3 ............................................................................. 66
RA4 ............................................................................. 66
RA5 ............................................................................. 67
Registers ..................................................................... 59
Specifications ............................................................ 243
Additional Pin Functions ............................................. 69
Associated Registers .................................................. 75
Interrupt-on-change .................................................... 69
Pin Descriptions and Diagrams................................... 71
RB4 ............................................................................. 71
RB5 ............................................................................. 72
RB6 ............................................................................. 73
RB7 ............................................................................. 74
ANSEL Register.................................................. 60
ANSELH Register ............................................... 60
Interrupt-on-Change............................................ 60
Ultra Low-Power Wake-up ............................ 60, 63
Weak Pull-Up ...................................................... 60
Weak Pull-Up ...................................................... 69
PORTB Register ................................................................. 69
PORTC ............................................................................... 76
PORTC Register................................................................. 76
Power-Down Mode (Sleep)............................................... 214
Power-on Reset (POR)..................................................... 201
Power-up Timer (PWRT) .................................................. 201
Prescaler
Program Memory ................................................................ 25
Programming, Device Instructions .................................... 217
PSTRCON Register.......................................................... 146
Pulse Steering .................................................................. 146
PWM (ECCP Module)
PWM Mode. See Enhanced Capture/Compare/PWM ...... 132
PWMxCON Register ......................................................... 145
R
R/W bit .............................................................................. 180
RCREG............................................................................. 158
RCSTA Register ............................................................... 161
Reader Response............................................................. 302
Read-Modify-Write Operations ......................................... 217
Receive Overflow Indicator bit (SSPOV) .......................... 181
Register
Registers
Registers .................................................................... 69
Associated registers ................................................... 80
P1A/P1B/P1C/P1D.See Enhanced Capture/
RC0 ............................................................................ 77
RC1 ............................................................................ 77
RC2 ............................................................................ 77
RC3 ............................................................................ 77
RC4 ............................................................................ 78
RC5 ............................................................................ 78
RC6 ............................................................................ 79
RC7 ............................................................................ 79
Registers .................................................................... 76
Specifications ........................................................... 243
Specifications ........................................................... 245
Shared WDT/Timer0................................................... 82
Switching Prescaler Assignment ................................ 82
Map and Stack............................................................ 25
Pulse Steering .......................................................... 146
Steering Synchronization.......................................... 148
RCREG Register ...................................................... 167
ADCON0 (ADC Control 0) ........................................ 113
ADCON1 (ADC Control 1) ........................................ 114
ADRESH (ADC Result High) with ADFM = 0) .......... 115
ADRESH (ADC Result High) with ADFM = 1) .......... 115
ADRESL (ADC Result Low) with ADFM = 0)............ 115
ADRESL (ADC Result Low) with ADFM = 1)............ 115
ANSEL (Analog Select) .............................................. 61
ANSELH (Analog Select High) ................................... 61
BAUDCTL (Baud Rate Control) ................................ 162
CCPxCON (Enhanced CCPx Control)...................... 127
CM1CON0 (C1 Control).............................................. 98
CM2CON0 (C2 Control).............................................. 99
CM2CON1 (C2 Control)............................................ 101
CONFIG (Configuration Word) ................................. 199
ECCPAS (Enhanced CCP Auto-shutdown Control) . 142
EEADR (EEPROM Address) .................................... 120
EECON1 (EEPROM Control 1) ................................ 121
EEDAT (EEPROM Data) .......................................... 120
EEDATH (EEPROM Data)........................................ 120
INTCON (Interrupt Control)......................................... 38
IOCA (Interrupt-on-Change PORTA).......................... 62
Compare/PWM+ (ECCP+) ................................. 76
© 2008 Microchip Technology Inc.