PIC16LF1906-E/MV Microchip Technology, PIC16LF1906-E/MV Datasheet - Page 89

no-image

PIC16LF1906-E/MV

Manufacturer Part Number
PIC16LF1906-E/MV
Description
14KB Flash, 512B RAM, LCD, 11x10b ADC, EUSART, NanoWatt XLP 28 UQFN 4x4x0.5mm TU
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16LF1906-E/MV

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
LIN, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-UFQFN Exposed Pad
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
10.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 instruction.
 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
10-2.
Preliminary
FIGURE 10-4:
PIC16LF1904/6/7
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)
(2 ms typical)
(WREN = 1)
(WREN = 0)
FLASH PROGRAM
MEMORY ERASE
FLOWCHART
(FREE = 1)
Figure 10-3
(GIE = 0)
(GIE = 1)
(CFGS)
Select
Start
End
DS41569A-page 89

Related parts for PIC16LF1906-E/MV