PIC16F1527-E/MR Microchip Technology, PIC16F1527-E/MR Datasheet - Page 105

64-pin, 28KB Flash, 1536B RAM, 10-bit ADC, 10xCCP, 2xSPI, 2xMI2C, 2xEUSART, 2.3V

PIC16F1527-E/MR

Manufacturer Part Number
PIC16F1527-E/MR
Description
64-pin, 28KB Flash, 1536B RAM, 10-bit ADC, 10xCCP, 2xSPI, 2xMI2C, 2xEUSART, 2.3V
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16F1527-E/MR

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
28KB (16K x 14)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-VFQFN Exposed Pad
Core
PIC
Processor Series
PIC16F
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Data Ram Size
1536 B
Number Of Programmable I/os
54
Operating Supply Voltage
2.3 V to 5.5 V
Mounting Style
SMD/SMT
Interface Type
SPI, I2C
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
11.2.3
While executing code, program memory can only be
erased by rows. To erase a row:
1.
2.
3.
4.
5.
See
After the “BSF PMCON1,WR” instruction, the processor
requires two cycles to set up the erase operation. The
user must place two NOP instructions after the WR bit is
set. The processor will halt internal operations for the
typical 2 ms erase time. This is not Sleep mode as the
clocks and peripherals will continue to run. After the
erase cycle, the processor will resume operation with
the third instruction after the PMCON1 WRITE instruc-
tion.
 2011 Microchip Technology Inc.
Load the PMADRH:PMADRL register pair with
any address within the row to be erased.
Clear the CFGS bit of the PMCON1 register.
Set the FREE and WREN bits of the PMCON1
register.
Write 55h, then AAh, to PMCON2 (Flash
programming unlock sequence).
Set control bit WR of the PMCON1 register to
begin the erase operation.
Example
ERASING FLASH PROGRAM
MEMORY
11-2.
Preliminary
FIGURE 11-4:
PIC16(L)F1526/27
Program or Configuration Memory
Disable Write/Erase Operation
Enable Write/Erase Operation
Erase operation completes
Select Erase Operation
(PMADRH:PMADRL)
Re-enable Interrupts
Select Row Address
Disable Interrupts
Unlock Sequence
Erase Operation
CPU stalls while
Erase Operation
(FIGURE x-x)
(2ms typical)
(WREN = 1)
(WREN = 0)
FLASH PROGRAM
MEMORY ERASE
FLOWCHART
(FREE = 1)
Figure 11-3
(GIE = 0)
(GIE = 1)
(CFGS)
Select
Start
End
DS41458B-page 105

Related parts for PIC16F1527-E/MR