PIC16F946T-I/PT Microchip Technology, PIC16F946T-I/PT Datasheet - Page 11

Microcontroller

PIC16F946T-I/PT

Manufacturer Part Number
PIC16F946T-I/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946T-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946T-I/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
3.1.3
The program memory may also be written one word at
a time to allow compatibility with other 8-pin and 14-pin
Flash PIC
and data memory must be written one word (or byte) at
a time.
The sequence for programming one word of program
memory at a time is as follows:
1.
2.
3.
4.
5.
6.
See Figure 3-16 for more information.
3.1.4
The user ID (0x2000-0x2003) and Configuration Word
(0x2007) are mapped into the configuration memory,
but do not physically reside in it. As a result, the write
latches are not reset when programming these loca-
tions and must be reset by the programmer. This can
be done in two ways, either loading all the latches with
‘1’s or by exiting Program/Verify mode. There are four
latches on the PIC16F913/914 and eight latches on the
PIC16F916/917/946.
The sequence for manually resetting the write latches
is as follows:
1.
2.
3.
© 2009 Microchip Technology Inc.
Note:
Load a word at the current program memory
address using Load Data For Program Memory
command.
Issue a Begin Programming command either
internally or externally timed.
Wait T
(externally timed).
Issue
externally timed.
Issue a Increment Address command.
Repeat this sequence as required to write
program, data or configuration memory.
Load a word using Load Data For Program
Memory or Load Data For Configuration
Memory command with a data word of all ‘1’s.
Issue a Increment Address command.
Repeat
PIC16F913/914 and seven times on PIC16F916/
917/946 to reset all write latches.
®
ONE-WORD PROGRAMMING
The write latches must be reset after
programming the user ID (0x2000-0x2003)
or Configuration Word (0x2007). See
Section 3.1.4 “Resetting Write Latches”.
RESETTING WRITE LATCHES
devices. Configuration memory (>0x2000)
PROG
a
this
End
1 (internally timed) or T
sequence
Programming
three
command
times
PROG
on
2
if
3.1.5
The PIC16F91X/946 will erase different memory
locations depending on the Program Counter (PC), CP
and CPD values, and which erase command is
executed. The following sequences can be used to
erase noted memory locations. In each sequence, the
data memory will be erased if the CPD bit in the
Configuration Word is programmed (clear).
To erase the program memory and Configuration Word
(0x2007), the following sequence must be performed.
Note the Calibration Words (0x2008-0x2009) and user
ID (0x2000-0x2003) will not be erased.
1.
2.
To erase the user ID (0x2000-0x2003), Configuration
Word (0x2007) and program memory, use the following
sequence. Note that the Calibration Words (0x2008-
0x2009) will not be erased.
1.
2.
3.
To erase the data memory, use the following sequence:
1.
2.
Do a Bulk Erase Program Memory command.
Wait T
Perform Load Configuration with dummy data to
point the Program Counter (PC) to 0x2000.
Perform a Bulk Erase Program Memory
command.
Wait T
Perform a Bulk Erase Data Memory command.
Wait T
ERA
ERA
ERA
ERASE ALGORITHMS
PIC16F91X/946
to complete erase.
to complete erase.
to complete erase.
DS41244F-page 11

Related parts for PIC16F946T-I/PT