PIC16LF627A-I/ML Microchip Technology, PIC16LF627A-I/ML Datasheet - Page 176
![IC MCU FLASH 1KX14 EEPROM 28QFN](/photos/6/81/68120/150-28-qfn_sml.jpg)
PIC16LF627A-I/ML
Manufacturer Part Number
PIC16LF627A-I/ML
Description
IC MCU FLASH 1KX14 EEPROM 28QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Specifications of PIC16LF627A-I/ML
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
PIC16F627A/628A/648A
I
I/O Ports .............................................................................. 33
ID Locations ...................................................................... 113
INCF Instruction ................................................................ 124
INCFSZ Instruction............................................................ 124
In-Circuit Serial Programming™ ....................................... 114
Indirect Addressing, INDF and FSR Registers.................... 30
Instruction Flow/Pipelining .................................................. 15
Instruction Set
Instruction Set Summary................................................... 117
INT Interrupt ...................................................................... 110
INTCON Register ................................................................ 26
DS40044G-page 176
Bidirectional ................................................................ 46
Block Diagrams
PORTA........................................................................ 33
PORTB........................................................................ 38
Programming Considerations ..................................... 46
Successive Operations ............................................... 46
TRISA ......................................................................... 33
TRISB ......................................................................... 38
ADDLW ..................................................................... 119
ADDWF ..................................................................... 119
ANDLW ..................................................................... 119
ANDWF ..................................................................... 119
BCF ........................................................................... 120
BSF ........................................................................... 120
BTFSC ...................................................................... 120
BTFSS ...................................................................... 121
CALL ......................................................................... 121
CLRF......................................................................... 121
CLRW ....................................................................... 122
CLRWDT................................................................... 122
COMF ....................................................................... 122
DECF ........................................................................ 122
DECFSZ.................................................................... 123
GOTO ....................................................................... 123
INCF.......................................................................... 124
INCFSZ ..................................................................... 124
IORLW ...................................................................... 125
IORWF ...................................................................... 125
MOVF........................................................................ 125
MOVLW .................................................................... 125
MOVWF .................................................................... 126
NOP .......................................................................... 126
OPTION .................................................................... 126
RETFIE ..................................................................... 126
RETLW ..................................................................... 127
RETURN ................................................................... 127
RLF ........................................................................... 127
RRF........................................................................... 128
SLEEP ...................................................................... 128
SUBLW ..................................................................... 128
SUBWF ..................................................................... 129
SWAPF ..................................................................... 129
TRIS .......................................................................... 129
XORLW ..................................................................... 130
XORWF..................................................................... 130
RB0/INT Pin ........................................................ 38
RB1/RX/DT Pin ................................................... 39
RB2/TX/CK Pin ................................................... 39
RB3/CCP1 Pin .................................................... 40
RB4/PGM Pin...................................................... 41
RB5 Pin............................................................... 42
RB6/T1OSO/T1CKI Pin ...................................... 43
RB7/T1OSI Pin ................................................... 44
Internet Address ............................................................... 173
Interrupt Sources
Interrupts........................................................................... 109
Interrupts, Enable Bits
Interrupts, Flag Bits
IORLW Instruction ............................................................ 125
IORWF Instruction ............................................................ 125
M
Memory Organization
Microchip Internet Web Site.............................................. 173
Migrating from other PICmicro Devices ............................ 172
MOVF Instruction.............................................................. 125
MOVLW Instruction........................................................... 125
MOVWF Instruction .......................................................... 126
MPLAB ASM30 Assembler, Linker, Librarian ................... 132
MPLAB Integrated Development Environment Software.. 131
MPLAB PM3 Device Programmer .................................... 134
MPLAB REAL ICE In-Circuit Emulator System ................ 133
MPLINK Object Linker/MPLIB Object Librarian ................ 132
N
NOP Instruction ................................................................ 126
O
OPTION Instruction .......................................................... 126
OPTION Register................................................................ 25
OPTION_REG Register...................................................... 25
Oscillator Configurations..................................................... 99
Oscillator Start-up Timer (OST) ........................................ 103
P
Package Marking Information ........................................... 163
Packaging Information ...................................................... 163
PCL and PCLATH............................................................... 30
PCON Register ................................................................... 29
PIE1 Register...................................................................... 27
Pin Functions
PIR1 Register ..................................................................... 28
PORTA ............................................................................... 33
PORTB ............................................................................... 38
PORTB Interrupt ............................................................... 110
Power Control/Status Register (PCON)............................ 104
Power-Down Mode (Sleep)............................................... 112
Power-On Reset (POR) .................................................... 103
Power-up Timer (PWRT) .................................................. 103
PR2 Register ................................................................ 54, 60
Program Memory Organization........................................... 17
PWM (CCP Module) ........................................................... 60
Capture Complete (CCP)............................................ 58
Compare Complete (CCP).......................................... 59
TMR2 to PR2 Match (PWM) ....................................... 60
CCP1 Enable (CCP1IE Bit) ........................................ 58
CCP1 Flag (CCP1IF Bit)............................................. 58
Data EEPROM Memory.................................. 91, 93, 95
Stack........................................................................... 30
RC6/TX/CK ........................................................... 73–89
RC7/RX/DT........................................................... 73–89
Block Diagram ............................................................ 60
CCPR1H:CCPR1L Registers...................................... 60
Duty Cycle .................................................................. 61
Example Frequencies/Resolutions ............................. 61
Period ......................................................................... 60
Set-Up for PWM Operation......................................... 61
TMR2 to PR2 Match ................................................... 60
Simplified PWM .................................................. 60
© 2009 Microchip Technology Inc.