PIC16F72-I/SS Microchip Technology, PIC16F72-I/SS Datasheet - Page 38

IC PIC MCU FLASH 2KX14 28-SSOP

PIC16F72-I/SS

Manufacturer Part Number
PIC16F72-I/SS
Description
IC PIC MCU FLASH 2KX14 28-SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F72-I/SS

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
28-SSOP
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C/SPI/SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 8-bit
Controller Family/series
PIC16F
No. Of I/o's
22
Ram Memory Size
128Byte
Cpu Speed
20MHz
No. Of Timers
3
Embedded Interface Type
I2C, SPI
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164307 - MODULE SKT FOR PM3 28SSOPXLT28SS-1 - SOCKET TRANSITION ICE 28SSOP
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F72-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F72
7.3
To read a program memory location, the user must
write two bytes of the address to the PMADRL and
PMADRH registers and then set control bit, RD
(PMCON1<0>). Once the read control bit is set, the
program memory FLASH controller will use the second
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 PMDATL and
PMDATH registers; therefore, it can be read as two
bytes in the following instructions. PMDATL and
PMDATH registers will hold this value until another
read, or until it is written to by the user (during a write
operation).
EXAMPLE 7-1:
TABLE 7-1:
DS39597C-page 36
10Dh
10Fh
10Ch
10Eh
18Ch
Legend: x = unknown, u = unchanged, r = reserved, - = unimplemented, read as '0'.
Note 1: This bit always reads as a ‘1’.
Address
BANKSEL PMADRH
MOVLW
MOVWF
MOVLW
MOVWF
BANKSEL PMCON1
BSF
NOP
NOP
BANKSEL PMDATL
MOVF
MOVF
Reading the FLASH Program
Memory
Shaded cells are not used during FLASH access.
PMADRL
PMADRH
PMDATL
PMDATH
PMCON1
Name
MS_PROG_EE_ADDR ;
PMADRH
LS_PROG_EE_ADDR ;
PMADRL
PMCON1, RD
PMDATL, W
PMDATH, W
REGISTERS ASSOCIATED WITH PROGRAM FLASH
FLASH PROGRAM READ
Address Register Low Byte
Data Register Low Byte
Bit 7
(1)
Bit 6
; Select Bank for PMADRH
; MS Byte of Program Address to read
; Select Bank for PMCON1
; memory is read in second cycle after BSF PMCON1,RD
; W = MS Byte of Program PMDATL
; LS Byte of Program Address to read
; EE Read
;
; Any instructions here are ignored as program
;
; First instruction after BSF PMCON1,RD executes normally
; Select Bank for PMDATL
; W = LS Byte of Program PMDATL
Data Register High Byte
Bit 5
Address Register High Byte
Bit 4
Bit 3
7.4
The FLASH program memory control can read any-
where within the program memory, whether or not the
program memory is code protected.
This does not compromise the code, because there is
no way to rewrite a portion of the program memory, or
leave contents of a program memory read in a register
while changing modes.
Bit 2
Operation During Code Protect
Bit 1
Bit 0
RD
© 2007 Microchip Technology Inc.
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
xxxx xxxx uuuu uuuu
1--- ---0 1--- ---0
POR, BOR
Value on
Value on
RESETS
all other

Related parts for PIC16F72-I/SS