PIC16LF1904-E/PT Microchip Technology, PIC16LF1904-E/PT Datasheet - Page 88

no-image

PIC16LF1904-E/PT

Manufacturer Part Number
PIC16LF1904-E/PT
Description
7KB Flash, 256B RAM, LCD, 14x10b ADC, EUSART, NanoWatt XLP 44 TQFP 10x10x1mm TRA
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet

Specifications of PIC16LF1904-E/PT

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
36
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
-
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16LF1904-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16LF1904/6/7
10.2.2
The unlock sequence is a mechanism that protects the
Flash program memory from unintended self-write pro-
gramming or erasing. The sequence must be executed
and completed without interruption to successfully
complete any of the following operations:
• Row Erase
• Load program memory write latches
• Write of program memory write latches to pro-
• Write of program memory write latches to User
The unlock sequence consists of the following steps:
1. Write 55h to PMCON2
2. Write AAh to PMCON2
3. Set the WR bit in PMCON1
4. NOP instruction
5. NOP instruction
Once the WR bit is set, the processor will always force
two NOP instructions. When an Erase Row or Program
Row operation is being performed, the processor will stall
internal operations (typical 2 ms), until the operation is
complete and then resume with the next instruction.
When the operation is loading the program memory write
latches, the processor will always force the two NOP
instructions and continue uninterrupted with the next
instruction.
Since the unlock sequence must not be interrupted,
global interrupts should be disabled prior to the unlock
sequence and re-enabled after the unlock sequence is
completed.
DS41569A-page 88
gram memory
IDs
FLASH MEMORY UNLOCK
SEQUENCE
Preliminary
FIGURE 10-3:
Instruction Fetched ignored
Instruction Fetched ignored
Write or Erase operation
NOP execution forced
NOP execution forced
Unlock Sequence
Unlock Sequence
Write 0AAh to
Write 055h to
FLASH PROGRAM
MEMORY UNLOCK
SEQUENCE FLOWCHART
PMCON2
PMCON2
(WR = 1)
 2011 Microchip Technology Inc.
Initiate
Start
End

Related parts for PIC16LF1904-E/PT