PIC16LF628A-I/P Microchip Technology, PIC16LF628A-I/P Datasheet - Page 4

IC MCU FLASH 2KX14 EEPROM 18DIP

PIC16LF628A-I/P

Manufacturer Part Number
PIC16LF628A-I/P
Description
IC MCU FLASH 2KX14 EEPROM 18DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

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
TIMER1 MODULE
EXAMPLE 1:
EXAMPLE 2:
EXAMPLE 3:
DS80233C-page 4
Note:
ISR @ 0x004
RELOAD
EXIT
ISR @ 0x0008
HIGHINT
ISR @ 0x0018
RELOAD
EXIT
MOVWF
MOVF
MOVWF
BANKSEL PIR
BTFSS
GOTO
BSF
MOVF
MOVWF
SWAPF
SWAPF
RETFIE
BRA
BTFSC
BSF
RETFIE FAST
MOVFF
MOVFF
MOVFF
BTFSS
BRA
BSF
MOVFF
MOVFF
MOVFF
RETFIE
These instructions are required based on the function of the ISR. If the only code in the ISR is to reload
Timer1, then they are not required, but may be required if additional code is added.
HIGHINT
PIR,TMRIF
TMR1H,7
STATUS,STATUS_TEMP
WREG,WREG_TEMP
BSR,BSR_TEMP
PIR,TMRIF
EXIT
TMR1H,7
BSR_TEMP,BSR
WREG_TEMP,WREG
STATUS_TEMP,STATUS
PIC12/PIC14/PIC16 INTERRUPT SERVICE ROUTINE
w_temp
STATUS,w
status_temp
PIR,TMRIF
EXIT
TMR1H,7
status_temp,w
STATUS
w_temp,f
w_temp,w
PIC18 HIGH PRIORITY INTERRUPT SERVICE ROUTINE
PIC18 LOW PRIORITY INTERRUPT SERVICE ROUTINE
; (3-4Tcy), fixed interrupt latency
; (1Tcy), save off current W register contents
; (1Tcy), move status register into W register
; (1Tcy), save off contents of STATUS register
; (2Tcy), choose correct SFR bank
; (2Tcy), did a Timer1 overflow occur?
; No
; (1Tcy) Yes, reload for a 1 second overflow
; retrieve copy of STATUS register
; restore pre-isr STATUS register contents
; restore pre-isr W register contents
Total = 11-12 T
; (3-4Tcy), fixed interrupt latency
; (2Tcy), go to high priority interrupt routine
; (1Tcy), did a Timer1 overflow occur?
; (1Tcy) Yes, reload for a 1 second overflow
Total = 7-8 T
; (3-4Tcy), fixed interrupt latency
; (2Tcy), save STATUS register
; (2Tcy), save working register, refer to note 1
; (2Tcy), save BSR register, refer to note 1
; (2Tcy), did a Timer1 overflow occur?
; No
; (1Tcy) Yes, reload for a 1 second overflow
;restore BSR register, refer to note 1
;restore working register, refer to note 1
;restore STATUS register
Total = 12-13 T
CY
CY
CY
(if Timer1 overflow occurred)
(if Timer1 overflow occurred)
(if Timer1 overflow occurred)
© 2007 Microchip Technology Inc.

Related parts for PIC16LF628A-I/P