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

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
13.1.4
To read a program memory location, the user must
write two bytes of the address to the EEADRL and
EEADRH registers, set the EEPGD control bit
(EECON1<7>),
(EECON1<0>). Once the read control bit is set, the
program memory Flash controller will use the second
instruction cycle to read the data. This causes the
second instruction immediately following the
“BSF EECON1,RD” instruction to be ignored. The data
is available in the very next cycle, in the EEDATL and
EEDATH registers; therefore, it can be read as two
bytes in the following instructions. EEDATL and
EEDATH registers will hold this value until another read
or until it is written to by the user (during a write
operation).
EXAMPLE 13-3:
© 2005 Microchip Technology Inc.
Note 1: The two instructions following a program
;
;
2: If the WR bit is set when EEPGD = 1, it
READING THE FLASH PROGRAM
MEMORY
BSF
BCF
MOVLW
MOVWF
MOVLW
MOVWF
BSF
BSF
BSF
NOP
NOP
BCF
MOVF
MOVWF
MOVF
MOVWF
memory read are required to be NOP’s.
This prevents the user from executing a
two-cycle
instruction after the RD bit is set.
will be immediately reset to ‘0’ and no
operation will take place.
and
STATUS, RP1
STATUS, RP0
MS_PROG_EE_ADDR;
EEADRH
LS_PROG_EE_ADDR;
EEADR
STATUS, RP0
EECON1, EEPGD
EECON1, RD
STATUS, RP0
EEDATA, W
DATAL
EEDATH, W
DATAH
FLASH PROGRAM READ
then
instruction
set
control
on
;
; Bank 2
; MS Byte of Program Address to read
; LS Byte of Program Address to read
; Bank 3
; Point to PROGRAM memory
; EE Read
; Any instructions here are ignored as program
; memory is read in second cycle after BSF EECON1,RD
; Bank 2
; W = LS Byte of Program EEDATA
;
; W = MS Byte of Program EEDATA
;
the
bit
next
Preliminary
RD
PIC16F946
DS41265A-page 163

Related parts for PIC16F946T-I/PT