PIC16F690-E/P Microchip Technology Inc., PIC16F690-E/P Datasheet - Page 285
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F690-E/P
Manufacturer Part Number
PIC16F690-E/P
Description
20 PIN, 7 KB FLASH, 256 RAM, 18 I/O
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F690-EP.pdf
(294 pages)
Specifications of PIC16F690-E/P
A/d Inputs
12-Channel, 10-Bit
Comparators
2
Cpu Speed
7 MIPS
Eeprom Memory
256 Bytes
Input Output
18
Interface
USART
Memory Type
Flash
Number Of Bits
8
Package Type
20-pin PDIP
Programmable Memory
7K Bytes
Ram Size
256 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part
Electrostatic Device
INDEX
A
A/D
Absolute Maximum Ratings .............................................. 227
AC Characteristics
ACK pulse ......................................................................... 184
ADC .................................................................................. 107
ADCON0 Register............................................................. 113
ADCON1 Register............................................................. 114
ADRESH Register (ADFM = 0) ......................................... 115
ADRESH Register (ADFM = 1) ......................................... 115
ADRESL Register (ADFM = 0).......................................... 115
ADRESL Register (ADFM = 1).......................................... 115
Analog Input Connection Considerations.......................... 100
Analog-to-Digital Converter. See ADC
ANSEL Register .................................................................. 61
ANSELH Register ............................................................... 61
Assembler
B
BAUDCTL Register ........................................................... 160
BF bit................................................................................. 176
Block Diagrams
© 2006 Microchip Technology Inc.
Specifications............................................ 252, 253, 254
Industrial and Extended ............................................ 238
Load Conditions ........................................................ 237
Acquisition Requirements ......................................... 116
Associated registers.................................................. 118
Block Diagram........................................................... 107
Calculating Acquisition Time..................................... 116
Channel Selection..................................................... 108
Configuration............................................................. 108
Configuring Interrupt ................................................. 111
Conversion Clock...................................................... 108
Conversion Procedure .............................................. 111
Internal Sampling Switch (R
Interrupts................................................................... 109
Operation .................................................................. 111
Operation During Sleep ............................................ 111
Port Configuration ..................................................... 108
Reference Voltage (V
Result Formatting...................................................... 110
Source Impedance.................................................... 116
Special Event Trigger................................................ 111
Starting an A/D Conversion ...................................... 110
MPASM Assembler................................................... 224
(CCP) Capture Mode Operation ............................... 128
ADC .......................................................................... 107
ADC Transfer Function ............................................. 117
Analog Input Model ........................................... 100, 117
CCP PWM................................................................. 130
Clock Source............................................................... 47
Comparator C1 ........................................................... 94
Comparator C2 ........................................................... 94
Compare ................................................................... 129
Crystal Operation ........................................................ 50
EUSART Receive ..................................................... 150
EUSART Transmit .................................................... 149
External RC Mode....................................................... 51
Fail-Safe Clock Monitor (FSCM) ................................. 57
In-Circuit Serial Programming Connections.............. 212
Interrupt Logic ........................................................... 205
On-Chip Reset Circuit ............................................... 196
PIC16F631.................................................................... 9
PIC16F677.................................................................. 10
REF
)......................................... 108
SS
) Impedance.............. 116
PIC16F631/677/685/687/689/690
Preliminary
Break Character (12-bit) Transmit and Receive ............... 167
Brown-out Reset (BOR).................................................... 198
C
C Compilers
Capture Module. See Enhanced Capture/Compare/
Capture/Compare/PWM (CCP)
CCPxCON (Enhanced) Register ...................................... 127
CKE bit ............................................................................. 176
CKP bit ............................................................................. 177
PIC16F685 ................................................................. 11
PIC16F687/689 .......................................................... 12
PIC16F690 ................................................................. 13
PWM (Enhanced) ..................................................... 133
RA0 Pins..................................................................... 64
RA1 Pins..................................................................... 65
RA2 Pin ...................................................................... 65
RA3 Pin ...................................................................... 66
RA4 Pin ...................................................................... 66
RA5 Pin ...................................................................... 67
RB4 Pin ...................................................................... 71
RB5 Pin ...................................................................... 72
RB6 Pin ...................................................................... 73
RB7 Pin ...................................................................... 74
RC0 and RC1 Pins ..................................................... 77
RC2 and RC3 Pins ..................................................... 77
RC4 Pin ...................................................................... 78
RC5 Pin ...................................................................... 78
RC6 Pin ...................................................................... 79
RC7 Pin ...................................................................... 79
Resonator Operation .................................................. 50
SSP (I
SSP (SPI Mode) ....................................................... 175
Timer1 ........................................................................ 84
Timer2 ........................................................................ 91
TMR0/WDT Prescaler ................................................ 81
Watchdog Timer (WDT)............................................ 208
Associated ................................................................ 199
Specifications ........................................................... 242
Timing and Characteristics ....................................... 241
MPLAB C18.............................................................. 224
MPLAB C30.............................................................. 224
PWM(ECCP)
Associated registers w/ Capture/Compare/PWM ..... 148
Capture Mode........................................................... 128
CCPx Pin Configuration............................................ 128
Compare Mode......................................................... 129
Prescaler .................................................................. 128
PWM Mode............................................................... 130
PWM Period ............................................................. 131
Setup for PWM Operation ........................................ 132
CCPx Pin Configuration.................................... 129
Software Interrupt Mode ........................... 128, 129
Special Event Trigger ....................................... 129
Timer1 Mode Selection............................. 128, 129
Duty Cycle ........................................................ 131
Effects of Reset ................................................ 132
Example PWM Frequencies and
Example PWM Frequencies and
Operation in Sleep Mode.................................. 132
Setup for Operation .......................................... 132
System Clock Frequency Changes .................. 132
2
C Mode)........................................................ 184
Resolutions, 20 MHZ ................................ 131
Resolutions, 8 MHz .................................. 131
DS41262C-page 283