PIC16C781-I/P Microchip Technology, PIC16C781-I/P Datasheet - Page 69

IC MCU OTP 1KX14 W/AD COMP 20DIP

PIC16C781-I/P

Manufacturer Part Number
PIC16C781-I/P
Description
IC MCU OTP 1KX14 W/AD COMP 20DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C781-I/P

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
13
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x8b; D/A 1x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-DIP (0.300", 7.62mm)
Controller Family/series
PIC16C
No. Of I/o's
16
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
2
Operating Supply Voltage
2.5 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
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
On-chip Dac
8 bit, 1 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMINGDVA16XP202 - ADAPTER DEVICE PIC16C781/782DM163012 - BOARD DEMO PICDEM FOR 16C781/782AC164028 - MODULE SKT PROMATEII 20SOIC/DIP
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
Other names
PIC16C781I/P
Example 8-1 shows the configuration of the PLVD mod-
ule and a sample polling routine to monitor for low volt-
age conditions.
EXAMPLE 8-1:
;************************************************
;*
;*
;*
;*
WRM_UP
;**************************************************
;* Test for PLVD trip
8.3
When enabled, the PLVD circuitry continues to operate
during SLEEP. If the device voltage crosses the trip
point, the LVDIF bit is set and the device awakens from
SLEEP. Device execution continues from the interrupt
vector address, if interrupts have been globally
enabled.
TABLE 8-1:
09Ch
08Ch
08Ch
Address
2001 Microchip Technology Inc.
This code block will configure the PLVD for polling
and set the trip point for 4.2 to 4.4 volts
Includes polling routine
BANKSEL
BCF
MOVLW
MOVWF
BTFSS
GOTO
BANKSEL
BCF
BANKSEL
BTFSC
GOTO
Operation During SLEEP
PIE1
PIR1
LVDCON
Name
LVDCON
PIE1,LVDIE
B’00011101’
LVDCON
LVDCON,BGST
WRM_UP
PIR1
PIR1,LVDIF
PIR1
PIR1,LVDIF
LO_V_DET
SUMMARY OF REGISTERS ASSOCIATED WITH LOW VOLTAGE DETECT
LVDIE
LVDIF
Bit 7
PLVD EXAMPLE
ADIE
ADIF
Bit 6
BGST
C2IE
Bit 5
C2IF
; Select Bank 1
; Disable PLVD interrupt
; Enable PLVD, 4.2-4.4V trip
;
;
; Select Bank 0
; Clear PLVD interrupt flag
; Select Bank 0
; Test for PLVD trip
; If tripped save 4 pwrfail
LVDEN
Bit 4
C2IE
C2IF
Preliminary
Bit 3
LV3
8.4
A device RESET forces all registers to their RESET
state. This forces the PLVD module to be disabled.
8.5
The registers associated with Programmable Low Volt-
age Detect are shown in Table 8-1.
Bit 2
LV2
Effects of a RESET
Low Voltage Detect Registers
Bit 1
LV1
PIC16C781/782
TMR1IE
TMR1IF
Bit 0
LV0
--00 0101
0000 ---0
0000 ---0
POR, BOR
Value on:
DS41171A-page 67
--00 0101
0000 ---0
0000 ---0
Value on
all other
RESETS

Related parts for PIC16C781-I/P