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

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
4.3
To read a program memory location, the user must
write 2 bytes of the address to the PMADRH and
PMADRL
(PMCON1<0>). Once the read control bit is set, the
Program Memory Read (PMR) controller uses the sec-
ond instruction cycle after to read the data. This causes
the second instruction immediately following the “BSF
PMCON1,RD” instruction to be ignored. The data is
available, in the very next cycle, in the PMDATH and
PMDATL registers. Therefore, it can be read as 2 bytes
EXAMPLE 4-1:
;* This code block will read 1 word of program
;* memory at the memory address:
;* PROG_ADDR_HI : PROG_ADDR_LO
;*
;*
2001 Microchip Technology Inc.
BANKSEL
MOVLW
MOVWF
MOVLW
MOVWF
BANKSEL
CLEAR GIE
BCF
BSF
NOP
BSF
MOVF
MOVWF
MOVF
MOVWF
data will be returned in the variables;
NOP
PROG_DATA_HI, PROG_DATA_LO
Reading the EPROM Program
Memory
registers,
PMADRL
PROG_ADDR_LO
PMADRL
PROG_ADDR_HI
PMADRH
PMCON1
INTCON, GIE
PMCON1,RD
INTCON, GIE
PMDATL,W
PROG_DATA_LO
PMDATH,W
PROG_DATA_HI
OTP PROGRAM MEMORY READ
then
set
; Select Bank 2
;
; Store LSB of address
;
; Store MSB of address
; Select Bank 3
; Turn off INTs
; Initiate read
; Executed (Fig 4-1)
; Ignored (Fig 4-1)
; Turn on INTs
; Get LSB of word
; Get MSB of word
control
bit
Preliminary
RD
in the following instructions. PMDATH and PMDATL
registers hold this value until another read or until
RESET.
Note 1: Interrupts must be disabled during the
2: The following instructions should not be
time from setting PMCON1<0> (RD) to
the second instruction thereafter.
used following the start of a PMR read
cycle: CALL, GOTO, BTFSS, BTFSC,
RETFIE, RETURN, SLEEP.
PIC16C781/782
DS41171A-page 49

Related parts for PIC16C781-I/P