PIC18F85K22-I/PT Microchip Technology, PIC18F85K22-I/PT Datasheet - Page 178

no-image

PIC18F85K22-I/PT

Manufacturer Part Number
PIC18F85K22-I/PT
Description
IC, 8BIT MCU, PIC18F, 64MHZ, TQFP-80
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F85K22-I/PT

Controller Family/series
PIC18
No. Of I/o's
69
Eeprom Memory Size
1KB
Ram Memory Size
2KB
Cpu Speed
64MHz
No. Of Timers
8
Core Size
8 Bit
Program Memory Size
32KB
Core Processor
PIC
Speed
64MHz
Connectivity
EBI/EMI, I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 24x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F85K22-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F85K22-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F85K22-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
corresponding Data Direction and Output Latch registers
PIC18F87K22 FAMILY
12.6
PORTE is an eight-bit wide, bidirectional port. The
are TRISE and LATE.
All pins on PORTE are implemented with Schmitt
Trigger input buffers. Each pin is individually
configurable as an input or output. The RE7 pin is also
configurable for open-drain output when ECCP2 is
active on this pin. Open-drain configuration is selected
by setting the CCP2OD control bit (ODCON1<6>)
Each of the PORTE pins has a weak internal pull-up. A
single control bit can turn off all the pull-ups. This is
performed by setting bit, REPU (PADCFG1<6>). The
weak pull-up is automatically turned off when the port
pin is configured as an output. The pull-ups are
disabled on any device Reset.
PORTE is also multiplexed with Enhanced PWM
Outputs, B and C for ECCP1 and ECCP3, for Outputs,
B, C and D for ECCP2. For all devices, their default
assignments are on PORTE<6:0>.
TABLE 12-9:
DS39960D-page 178
RE0/RD/P2D
AD8
RE1/P2C/WR/
AD9
Legend:
Note 1:
Note:
Pin Name
2:
PORTE, TRISE and
LATE Registers
O = Output, I = Input, ANA = Analog Signal, DIG = Digital Output, ST = Schmitt Trigger Buffer Input,
x = Don’t care (TRIS bit does not affect port direction or is overridden for this option).
Alternate assignment for ECCP2 when the CCP2MX Configuration bit is cleared and in Microcontroller mode.
This feature is only available on PIC18F8XKXX devices.
These pins are configured as digital inputs
on any device Reset.
PORTE FUNCTIONS
Function
AD8
AD9
RE0
P2D
RE1
P2C
WR
RD
(2)
(2)
Setting
TRIS
0
1
x
x
0
x
x
0
1
0
x
x
x
x
I/O
O
O
O
O
O
O
O
O
I
I
I
I
I
I
Type
DIG
DIG
TTL
DIG
TTL
DIG
DIG
TTL
DIG
TTL
I/O
ST
ST
LATE<0> data output.
PORTE<0> data input.
Parallel Slave Port read strobe pin.
Parallel Slave Port read pin.
ECCP2 PWM Output D.
May be configured for tri-state during Enhanced PWM shutdown events.
External memory interface, Data Bit 8 output.
External memory interface, Data Bit 8 input.
LATE<1> data output.
PORTE<1> data input.
ECCP2 PWM Output C.
May be configured for tri-state during Enhanced PWM shutdown events.
Parallel Slave Port write strobe pin.
Parallel Slave Port write pin.
External memory interface, Data Bit 9 output.
External memory interface, Data Bit 9 input.
On 80-pin devices, the multiplexing for the outputs of
ECCP1 and ECCP3 is controlled by the ECCPMX Con-
figuration bit. Clearing this bit re-assigns the P1B/P1C
and P3B/P3C outputs to PORTH.
For devices operating in Microcontroller mode, the RE7
pin can be configured as the alternate peripheral pin for
the ECCP2 module and Enhanced PWM Output 2A.
This is done by clearing the CCP2MX Configuration bit.
PORTE is also multiplexed with the Parallel Slave Port
address lines. RE1 and RE0 are multiplexed with the
control signals, WR and RD.
RE3 can also be configured as the Reference Clock
Output (REFO) from the system clock. For further
details, see
EXAMPLE 12-5:
CLRF
CLRF
MOVLW
MOVWF
PORTE
LATE
03h
TRISE
Section 3.7 “Reference Clock
Description
 2009-2011 Microchip Technology Inc.
; Initialize PORTE by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Value used to
; initialize data
; direction
; Set RE<1:0> as inputs
; RE<7:2> as outputs
INITIALIZING PORTE
Output”.

Related parts for PIC18F85K22-I/PT