PIC18F86K90-I/PT Microchip Technology, PIC18F86K90-I/PT Datasheet - Page 167

no-image

PIC18F86K90-I/PT

Manufacturer Part Number
PIC18F86K90-I/PT
Description
64kB Flash, 4kB RAM, 1kB EE, 16MIPS, NanoWatt XLP, LCD, 5V 80 TQFP 12x12x1mm TRA
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F86K90-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
69
Program Memory Size
64KB (32K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
4K 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:
PIC18F86K90-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F86K90-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18F86K90-I/PT
Quantity:
492
Part Number:
PIC18F86K90-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
11.6
PORTE is a 8-bit wide, bidirectional port. The
corresponding Data Direction and Output Latch registers
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 clearing 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.
Pins, RE<6:3>, are multiplexed with the LCD common
drives. I/O port functions are available only on those
PORTE pins according to which commons are active.
The configuration is determined by the LMUX<1:0>
control bits (LCDCON<1:0>). The availability is
summarized in Table 11-9.
TABLE 11-9:
 2010 Microchip Technology Inc.
Note 1:
LCDCON
Note:
<1:0>
00
01
10
11
PORTE, TRISE and
LATE Registers
If the LCD bias voltages are generated
using the internal resistor ladder, the
LCDBIASx pins are also available as I/O
ports (RE0, RE1 and RE2).
These pins are configured as digital inputs
on any device Reset.
through COM3)
COM0, COM1
COM0, COM1
Active LCD
Commons
and COM2
All (COM0
PORTE PINS AVAILABLE IN
DIFFERENT LCD DRIVE
CONFIGURATIONS
COM0
Available for I/O
RE6, RE5, RE4
PORTE Pins
RE6, RE5
None
RE6
(1)
Preliminary
PIC18F87K90 FAMILY
Pins, RE2, RE1 and RE0, are multiplexed with the
functions of LCDBIAS3, LCDBIAS2 and LCDBIAS1.
When LCD bias generation is required (in any applica-
tion where the device is connected to an external LCD),
these pins cannot be used as digital I/O. These pins
can be used as digital I/O, however, when the internal
resistor ladder is used for bias generation.
PORTE is also multiplexed with Enhanced PWM
outputs, B and C for ECCP1 and ECCP3, and outputs,
B, C and D for ECCP2. For all devices, their default
assignments are on PORTE<6:0>. On 80-pin devices,
the multiplexing for the outputs of ECCP1 and ECCP3 is
controlled by the ECCPMX Configuration bit. Clearing
this bit reassigns the P1B/P1C and P3B/P3C outputs to
PORTH.
RE7 is multiplexed with the LCD segment drive
(SEG31) that is controlled by the LCDSE3<7> bit. I/O
port function is only available when the segment is dis-
abled. RE7 can also be configured as the alternate
peripheral pin for the ECCP2 module. This is done by
clearing the CCP2MX Configuration bit.
RE3 can also be configured as the Reference Clock
Output (REFO) from the system clock. For further details,
refer to Section 3.7 “Reference Clock Output”.
EXAMPLE 11-5:
CLRF
CLRF
MOVLW
MOVWF
PORTE
LATE
03h
TRISE
; 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
DS39957B-page 167

Related parts for PIC18F86K90-I/PT