PIC16F689-E/ML Microchip Technology, PIC16F689-E/ML Datasheet - Page 299

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

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

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
F
Fail-Safe Clock Monitor....................................................... 57
Firmware Instructions........................................................ 217
Flash Program Memory .................................................... 119
Fuses. See Configuration Bits
G
General Purpose Register File............................................ 26
I
I
ID Locations ...................................................................... 215
In-Circuit Serial Programming (ICSP) ............................... 215
Indirect Addressing, INDF and FSR registers ..................... 44
Instruction Format ............................................................. 217
Instruction Set ................................................................... 217
© 2008 Microchip Technology Inc.
2
C Mode
Synchronous Master Mode ............................... 171, 175
Synchronous Slave Mode
Fail-Safe Condition Clearing ....................................... 57
Fail-Safe Detection ..................................................... 57
Fail-Safe Operation..................................................... 57
Reset or Wake-up from Sleep..................................... 57
Addressing ................................................................ 189
Associated Registers ................................................ 196
Master Mode ............................................................. 195
Mode Selection ......................................................... 188
Multi-Master Mode .................................................... 195
Operation .................................................................. 188
Reception.................................................................. 190
Slave Mode
Transmission............................................................. 193
ADDLW ..................................................................... 219
ADDWF..................................................................... 219
ANDLW ..................................................................... 219
ANDWF..................................................................... 219
BCF........................................................................... 219
BSF ........................................................................... 219
BTFSC ...................................................................... 219
BTFSS ...................................................................... 220
CALL ......................................................................... 220
CLRF......................................................................... 220
CLRW ....................................................................... 220
CLRWDT................................................................... 220
COMF ....................................................................... 220
DECF ........................................................................ 220
DECFSZ.................................................................... 221
Baud Rate Error, Calculating ............................ 163
Baud Rates, Asynchronous Modes .................. 164
Formulas ........................................................... 163
High Baud Rate Select (BRGH Bit) .................. 163
Associated Registers
Reception.......................................................... 173
Requirements, Synchronous Receive .............. 249
Requirements, Synchronous Transmission ...... 249
Timing Diagram, Synchronous Receive ........... 249
Timing Diagram, Synchronous Transmission ... 249
Transmission .................................................... 171
Associated Registers
Reception.......................................................... 176
Transmission .................................................... 175
SCL and SDA pins ............................................ 188
Receive..................................................... 174
Transmit.................................................... 172
Receive..................................................... 176
Transmit.................................................... 175
PIC16F631/677/685/687/689/690
INTCON Register................................................................ 38
Inter-Integrated Circuit (I
Internal Oscillator Block
Internal Sampling Switch (R
Internet Address ............................................................... 301
Interrupts .......................................................................... 208
INTOSC Specifications ..................................................... 242
IOCA Register..................................................................... 62
IOCB Register..................................................................... 70
L
Load Conditions................................................................ 240
M
MCLR ............................................................................... 201
Memory Organization ......................................................... 25
Microchip Internet Web Site.............................................. 301
Migrating from other PICmicro Devices ............................ 293
MPLAB ASM30 Assembler, Linker, Librarian ................... 228
MPLAB ICD 2 In-Circuit Debugger ................................... 229
MPLAB ICE 2000 High-Performance Universal
MPLAB Integrated Development Environment Software.. 227
MPLAB PM3 Device Programmer .................................... 229
MPLAB REAL ICE In-Circuit Emulator System ................ 229
MPLINK Object Linker/MPLIB Object Librarian ................ 228
O
OPCODE Field Descriptions............................................. 217
OPTION Register.......................................................... 37, 83
OSCCON Register.............................................................. 48
GOTO ....................................................................... 221
INCF ......................................................................... 221
INCFSZ..................................................................... 221
IORLW ...................................................................... 221
IORWF...................................................................... 221
MOVF ....................................................................... 222
MOVLW .................................................................... 222
MOVWF.................................................................... 222
NOP.......................................................................... 222
RETFIE..................................................................... 223
RETLW ..................................................................... 223
RETURN................................................................... 223
RLF........................................................................... 224
RRF .......................................................................... 224
SLEEP ...................................................................... 224
SUBLW..................................................................... 224
SUBWF..................................................................... 225
SWAPF..................................................................... 225
XORLW .................................................................... 225
XORWF .................................................................... 225
Summary Table ........................................................ 218
INTOSC
ADC .......................................................................... 111
Associated Registers................................................ 210
Context Saving ......................................................... 211
Interrupt-on-Change ................................................... 60
Interrupt-on-change .................................................... 69
PORTA/PORTB Interrupt-on-Change ...................... 209
RA2/INT.................................................................... 208
Timer0 ...................................................................... 209
TMR1.......................................................................... 86
Internal...................................................................... 201
Data ............................................................................ 26
Program...................................................................... 25
In-Circuit Emulator.................................................... 229
Specifications ................................................... 242
2
C). See I
SS
) Impedance ..................... 116
2
C Mode
DS41262E-page 297

Related parts for PIC16F689-E/ML