PIC16F946-E/PT Microchip Technology, PIC16F946-E/PT Datasheet - Page 63

Microcontroller

PIC16F946-E/PT

Manufacturer Part Number
PIC16F946-E/PT
Description
Microcontroller
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F946-E/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 ~ 125°C
Package / Case
64-TFQFP
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
352 B
Interface Type
SSP, I2C, AUSART, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
53
Number Of Timers
3
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, MA160011
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA160011 - DAUGHTER BOARD PICDEM LCD 16F91X
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F946-E/PT
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F946-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
3.6
PORTE is a 4-bit port with Schmitt Trigger input buffers.
RE<7:0> are individually configured as inputs or out-
puts. RE3 is only available as an input if MCLRE is ‘0’
in Configuration Word (Register 16-1). .
REGISTER 3-11:
REGISTER 3-12:
© 2005 Microchip Technology Inc.
Note:
PORTE and TRISE Registers
bit 7-0
bit 7-4
bit 3
bit 2-0
Analog lines that carry LCD signals
(i.e., SEGx, where x are segment identifi-
ers) are shown as direct connections to
the device pins. The signals are outputs
from the LCD module and may be
tri-stated, depending on the configuration
of the LCD module.
PORTE – PORTE REGISTER (ADDRESS: 09h)
TRISE – PORTE TRI-STATE REGISTER (ADDRESS: 89h)
bit 7
RE<7:0>: PORTE I/O Pin bits
1 = Port pin is >V
0 = Port pin is <V
Legend:
R = Readable bit
- n = Value at POR
bit 7
TRISE<7:4>: Data Direction bits
TRISE3: Data Direction bit. RE3 is always an input, so this bit always reads as a ‘1’
TRISE<2:0>: Data Direction bits
Legend:
R = Readable bit
- n = Value at POR
TRISE7
R/W-x
R/W-1
RE7
TRISE6
R/W-x
R/W-1
RE6
IH
IL
TRISE5
R/W-x
R/W-1
RE5
Preliminary
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
TRISE4
R/W-x
R/W-1
RE4
EXAMPLE 3-5:
BCF
BCF
CLRF
BSF
BCF
MOVLW
MOVWF
CLRF
BCF
BCF
TRISE3
R/W-x
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
STATUS,RP0
STATUS,RP1
PORTE
STATUS,RP0
STATUS,RP1
0Fh
TRISE
ANSEL
STATUS,RP0
STATUS,RP1
RE3
R-1
TRISE2
R/W-x
R/W-1
RE2
INITIALIZING PORTE
PIC16F946
;Bank 0
;
;Init PORTE
;Bank 1
;
;Set RE<3:0> as inputs
;
;Make RE<2:0> as I/O’s
;Bank 0
;
x = Bit is unknown
x = Bit is unknown
TRISE1
R/W-x
R/W-1
RE1
DS41265A-page 61
TRISE0
R/W-x
R/W-1
RE0
bit 0
bit 0

Related parts for PIC16F946-E/PT