PIC16F884-E/ML Microchip Technology, PIC16F884-E/ML Datasheet - Page 321

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

PIC16F884-E/ML

Manufacturer Part Number
PIC16F884-E/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F884-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, PWM, WDT
Number Of I /o
35
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 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PORTA Register ................................................................. 39
PORTB................................................................................ 47
PORTB Register ................................................................. 48
PORTC ............................................................................... 53
PORTC Register ................................................................. 53
PORTD ............................................................................... 57
PORTD Register ................................................................. 57
PORTE................................................................................ 59
PORTE Register ................................................................. 59
Power-Down Mode (Sleep) ............................................... 226
Power-on Reset (POR) ..................................................... 213
Power-up Timer (PWRT) .................................................. 213
Precision Internal Oscillator Parameters........................... 257
Prescaler
Program Memory ................................................................ 21
Programming, Device Instructions .................................... 231
PSTRCON Register .......................................................... 146
Pulse Steering................................................................... 146
© 2009 Microchip Technology Inc.
Additional Pin Functions ............................................. 47
Associated Registers .................................................. 52
Interrupt-on-Change.................................................... 47
P1B/P1C/P1D.See Enhanced Capture/
Pin Descriptions and Diagrams................................... 50
RB0 ............................................................................. 50
RB1 ............................................................................. 50
RB2 ............................................................................. 50
RB3 ............................................................................. 50
RB4 ............................................................................. 51
RB5 ............................................................................. 51
RB6 ............................................................................. 51
RB7 ............................................................................. 51
Associated Registers .................................................. 56
P1A.See Enhanced Capture/Compare/
RC0............................................................................. 54
RC1............................................................................. 54
RC2............................................................................. 54
RC3............................................................................. 55
RC3 Pin..................................................................... 190
RC4............................................................................. 55
RC5............................................................................. 55
RC6............................................................................. 56
RC7............................................................................. 56
Specifications............................................................ 257
Associated Registers .................................................. 58
P1B/P1C/P1D.See Enhanced Capture/
RD0, RD1, RD2, RD3, RD4 ........................................ 58
RD5............................................................................. 58
RD6............................................................................. 58
RD7............................................................................. 58
Associated Registers .................................................. 60
RE0 ............................................................................. 60
RE1 ............................................................................. 60
RE2 ............................................................................. 60
RE3 ............................................................................. 60
Specifications............................................................ 259
Shared WDT/Timer0 ................................................... 74
Switching Prescaler Assignment................................. 74
Map and Stack ............................................................ 21
Map and Stack (PIC16F883/884) ............................... 21
Map and Stack (PIC16F886/887) ............................... 21
ANSELH Register ............................................... 47
Weak Pull-up ...................................................... 47
Compare/PWM+ (ECCP+).................................. 47
PWM+ (ECCP+) ................................................. 53
Compare/PWM+ (ECCP+).................................. 57
PIC16F882/883/884/886/887
PWM (ECCP Module)
PWM Mode. See Enhanced Capture/Compare/PWM ...... 132
PWM1CON Register......................................................... 145
R
RCREG............................................................................. 158
RCSTA Register ............................................................... 161
Reader Response............................................................. 324
Read-Modify-Write Operations ......................................... 231
Register
Registers
Pulse Steering .......................................................... 146
Steering Synchronization.......................................... 148
RCREG Register ...................................................... 167
ADCON0 (ADC Control 0) ........................................ 104
ADCON1 (ADC Control 1) ........................................ 105
ADRESH (ADC Result High) with ADFM = 0) .......... 106
ADRESH (ADC Result High) with ADFM = 1) .......... 106
ADRESL (ADC Result Low) with ADFM = 0)............ 106
ADRESL (ADC Result Low) with ADFM = 1)............ 106
ANSEL (Analog Select) .............................................. 40
ANSELH (Analog Select High) ................................... 48
BAUDCTL (Baud Rate Control)................................ 162
CCP1CON (Enhanced CCP1 Control) ..................... 124
CCP2CON (CCP2 Control) ...................................... 125
CM1CON0 (C1 Control) ............................................. 88
CM2CON0 (C2 Control) ............................................. 89
CM2CON1 (C2 Control) ............................................. 91
CONFIG1 (Configuration Word Register 1).............. 210
CONFIG2 (Configuration Word Register 2).............. 211
ECCPAS (Enhanced CCP Auto-shutdown Control) . 142
EEADR (EEPROM Address) .................................... 112
EECON1 (EEPROM Control 1) ................................ 113
EEDAT (EEPROM Data) .......................................... 112
EEDATH (EEPROM Data) ....................................... 112
INTCON (Interrupt Control) ........................................ 31
IOCB (Interrupt-on-Change PORTB).......................... 49
OPTION_REG (OPTION)..................................... 30, 75
OSCCON (Oscillator Control)..................................... 62
OSCTUNE (Oscillator Tuning).................................... 66
PCON (Power Control Register)................................. 36
PCON (Power Control) ............................................. 215
PIE1 (Peripheral Interrupt Enable 1) .......................... 32
PIE2 (Peripheral Interrupt Enable 2) .......................... 33
PIR1 (Peripheral Interrupt Register 1) ........................ 34
PIR2 (Peripheral Interrupt Request 2) ........................ 35
PORTA ....................................................................... 39
PORTB ....................................................................... 48
PORTC ....................................................................... 53
PORTD ....................................................................... 57
PORTE ....................................................................... 59
PSTRCON (Pulse Steering Control)......................... 146
PWM1CON (Enhanced PWM Control) ..................... 145
RCSTA (Receive Status and Control) ...................... 161
Reset Values ............................................................ 217
Reset Values (special registers)............................... 219
Special Function Register Map
Special Function Registers......................................... 22
Special Register Summary
SRCON (SR Latch Control)........................................ 93
PIC16F883/884 ............................................ 23, 24
PIC16F886/887 .................................................. 25
Bank 0 ................................................................ 26
Bank 1 ................................................................ 27
Bank 2 ................................................................ 28
Bank 3 ................................................................ 28
DS41291F-page 319

Related parts for PIC16F884-E/ML