PIC14000-20I/SS Microchip Technology, PIC14000-20I/SS Datasheet - Page 4

IC MCU OTP 4KX14 A/D 28SSOP

PIC14000-20I/SS

Manufacturer Part Number
PIC14000-20I/SS
Description
IC MCU OTP 4KX14 A/D 28SSOP
Manufacturer
Microchip Technology
Series
PIC® 14r

Specifications of PIC14000-20I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C
Peripherals
POR, Temp Sensor, WDT
Number Of I /o
20
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 6 V
Data Converters
Slope A/D
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SSOP
Processor Series
PIC14000
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
SPI, UART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
1
Operating Supply Voltage
2.7 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
14 bit
For Use With
309-1025 - ADAPTER 28-SSOP TO 28-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
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 PIC14000-20I/SS