PIC16LF628A-I/P Microchip Technology, PIC16LF628A-I/P Datasheet - Page 165
![IC MCU FLASH 2KX14 EEPROM 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
PIC16LF628A-I/P
Manufacturer Part Number
PIC16LF628A-I/P
Description
IC MCU FLASH 2KX14 EEPROM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F627A-IP.pdf
(180 pages)
2.PIC16LF627A-IP.pdf
(8 pages)
3.PIC16F627A-ISO.pdf
(168 pages)
Specifications of PIC16LF628A-I/P
Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
18-DIP (0.300", 7.62mm)
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
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
Processor Series
PIC16LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
224 B
Interface Type
SCI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Power Control/Status Register (PCON) .............................. 99
Power-Down Mode (SLEEP) ............................................ 107
Power-On Reset (POR) ...................................................... 98
Power-up Timer (PWRT) .................................................... 98
PR2 Register................................................................. 52, 58
PRO MATE II Universal Device Programmer ................... 127
Program Memory Organization ........................................... 15
PWM (CCP Module) ........................................................... 58
Q
Q-Clock ............................................................................... 59
Quick-Turnaround-Production (QTP) Devices ...................... 7
R
RC Oscillator ....................................................................... 96
RC Oscillator Mode
Registers
Reset................................................................................... 97
RETFIE Instruction............................................................ 120
RETLW Instruction ............................................................ 121
RETURN Instruction ......................................................... 121
Revision History ................................................................ 155
RLF Instruction.................................................................. 121
RRF Instruction ................................................................. 122
S
Serial Communication Interface (SCI) Module, See USART
Serialized Quick-Turnaround-Production (SQTP) Devices ... 7
SLEEP Instruction ............................................................. 122
Software Simulator (MPLAB SIM)..................................... 126
Software Simulator (MPLAB SIM30)................................. 126
Special Event Trigger. See Compare
Special Features of the CPU .............................................. 93
Special Function Registers ................................................. 18
Status Register ................................................................... 22
SUBLW Instruction............................................................ 122
SUBWF Instruction ........................................................... 123
SWAPF Instruction............................................................ 123
T
T1CKPS0 bit ....................................................................... 48
T1CKPS1 bit ....................................................................... 48
T1OSCEN bit ...................................................................... 48
T1SYNC bit ......................................................................... 48
T2CKPS0 bit ....................................................................... 53
T2CKPS1 bit ....................................................................... 53
Timer0
2004 Microchip Technology Inc.
Block Diagram............................................................. 58
CCPR1H:CCPR1L Registers...................................... 58
Duty Cycle................................................................... 59
Example Frequencies/Resolutions ............................. 59
Period.......................................................................... 58
Set-Up for PWM Operation ......................................... 59
TMR2 to PR2 Match ................................................... 58
Block Diagram............................................................. 96
Maps
Block Diagrams
External Clock Input.................................................... 45
Interrupt....................................................................... 45
Prescaler..................................................................... 46
Switching Prescaler Assignment................................. 47
Simplified PWM .................................................. 58
PIC16F627A ................................................. 16, 17
PIC16F628A ................................................. 16, 17
Timer0/WDT ....................................................... 46
Preliminary
PIC16F627A/628A/648A
Timer1
Timer2
Timing Diagrams
Timing Diagrams and Specifications ................................ 140
TMR0 Interrupt.................................................................. 105
TMR1CS bit ........................................................................ 48
TMR1ON bit........................................................................ 48
TMR2ON bit........................................................................ 53
TOUTPS0 bit ...................................................................... 53
TOUTPS1 bit ...................................................................... 53
TOUTPS2 bit ...................................................................... 53
TOUTPS3 bit ...................................................................... 53
TRIS Instruction ................................................................ 123
TRISA ................................................................................. 31
TRISB ................................................................................. 36
U
Universal Synchronous Asynchronous Receiver Transmitter
(USART) ............................................................................. 69
USART
Timer0 Module............................................................ 45
Asynchronous Counter Mode ..................................... 50
Capacitor Selection .................................................... 51
External Clock Input ................................................... 49
External Clock Input Timing........................................ 50
Oscillator..................................................................... 51
Prescaler .............................................................. 49, 51
Resetting Timer1 ........................................................ 51
Resetting Timer1 Registers ........................................ 51
Special Event Trigger (CCP) ...................................... 57
Synchronized Counter Mode ...................................... 49
Timer Mode................................................................. 49
TMR1H ....................................................................... 50
TMR1L........................................................................ 50
Block Diagram ............................................................ 52
Postscaler ................................................................... 52
PR2 register................................................................ 52
Prescaler .............................................................. 52, 59
Timer2 Module............................................................ 52
TMR2 output ............................................................... 52
TMR2 to PR2 Match Interrupt..................................... 58
Timer0....................................................................... 143
Timer1....................................................................... 143
USART
USART Asynchronous Master Transmission ............. 77
USART Asynchronous Reception .............................. 80
USART RX Pin Sampling ..................................... 75, 76
USART Synchronous Reception ................................ 86
USART Synchronous Transmission ........................... 84
Asynchronous Receiver
Asynchronous Receiver Mode
Asynchronous Mode................................................... 76
Asynchronous Receiver.............................................. 79
Asynchronous Reception............................................ 81
Asynchronous Transmission....................................... 77
Asynchronous Transmitter.......................................... 76
Baud Rate Generator (BRG) ...................................... 71
Block Diagrams
BRGH bit .................................................................... 71
Asynchronous Receiver...................................... 80
Setting Up Reception.......................................... 82
Address Detect ................................................... 82
Block Diagram .................................................... 82
Transmit.............................................................. 77
USART Receive ................................................. 79
DS40044B-page 163