PIC18F87K90-I/PTRSL Microchip Technology, PIC18F87K90-I/PTRSL Datasheet - Page 391

no-image

PIC18F87K90-I/PTRSL

Manufacturer Part Number
PIC18F87K90-I/PTRSL
Description
MCU PIC 128K FLASH XLP 80TQFP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F87K90-I/PTRSL

Core Size
8-Bit
Program Memory Size
128KB (64K x 16)
Core Processor
PIC
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 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-TFQFP
Controller Family/series
PIC18
Eeprom Memory Size
1024Byte
Ram Memory Size
4096Byte
Cpu Speed
16MIPS
No. Of Timers
11
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
4 KB
Interface Type
I2C, SPI
Maximum Clock Frequency
64 MHz
Number Of Timers
11
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit, 24 Channel
A/d Bit Size
12 bit
A/d Channels Available
24
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F87K90-I/PTRSL
Manufacturer:
Maxim
Quantity:
89
Part Number:
PIC18F87K90-I/PTRSL
Manufacturer:
Microchip Technology
Quantity:
10 000
24.5
Each comparator has up to eight possible combina-
tions of inputs: up to four external analog inputs and
one of two internal voltage references.
All of the comparators allow a selection of the signal from
pin, CxINA, or the voltage from the Comparator Voltage
Reference (CV
compared to either CxINB, CxINC, C2INB/C2IND or the
microcontroller’s fixed internal reference voltage (V
1.024V nominal) on the inverting channel. The
comparator inputs and outputs are tied to fixed I/O pins,
defined in Table 24-1. The available comparator config-
urations and their corresponding bit settings are shown
in Figure 24-4.
TABLE 24-1:
24.5.1
Setting the CON bit of the CMxCON register
(CMxCON<7>) enables the comparator for operation.
Clearing the CON bit disables the comparator, resulting
in minimum current consumption.
The CCH<1:0> bits in the CMxCON register
(CMxCON<1:0>) direct either one of three analog input
pins, or the Internal Reference Voltage (VBG), to the
comparator, V
 2010 Microchip Technology Inc.
Note 1:
Comparator
1
2
3
Comparator Control and
Configuration
C1INC, C2INC and C2IND are all
unavailable for 64-pin devices
(PIC18F6XK90).
COMPARATOR ENABLE AND
INPUT SELECTION
REF
IN
-. Depending on the comparator
) on the non-inverting channel. This is
COMPARATOR INPUTS AND
OUTPUTS
Input or Output
C1INC
C2IND
C2INC
C1INA (V
C2INA (V
C3INA (V
C1INB (V
C2INB (V
C2INB (V
C3INB (V
C3INC (V
C2INB (V
C1OUT
C2OUT
C3OUT
(1)
(1)
(1)
(V
(V
(V
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
IN
+)
+)
+)
-)
-)
-)
-)
-)
-)
-)
-)
-)
I/O Pin
RH6
RH4
RH5
RG2
RG3
RG4
RG1
RF6
RF5
RF3
RF2
RF4
RF3
RF1
RF3
Preliminary
BG
,
PIC18F87K90 FAMILY
operating mode, either an external or internal voltage
reference may be used. For external analog pins that
are unavailable in 64-pin devices (C1INC, C2INC and
C2IND), the corresponding configurations that use
them as inputs are unavailable.
The analog signal present at V
signal at V
is adjusted accordingly.
The external reference is used when CREF = 0
(CMxCON<2>) and V
pin. When external voltage references are used, the
comparator module can be configured to have the
reference sources externally. The reference signal
must be between V
either pin of the comparator.
The comparator module also allows the selection of an
internally generated voltage reference from the Compar-
ator Voltage Reference (CV
described in more detail in Section 25.0 “Comparator
Voltage Reference Module” . The reference from the
comparator voltage reference module is only available
when CREF = 1 . In this mode, the internal voltage
reference is applied to the comparator’s V
24.5.2
The comparator outputs are read through the CMSTAT
register. The CMSTAT<5> bit reads the Comparator 1
output, CMSTAT<6> reads Comparator 2 output and
CMSTAT<7> reads Comparator 3 output. These bits
are read-only.
The comparator outputs may also be directly output to
the RF2, RF1 and RG1 I/O pins by setting the COE bit
(CMxCON<6>). When enabled, multiplexers in the
output path of the pins switch to the output of the
comparator. While in this mode, the TRISF<2:1> and
TRISG<1> bits still function as the digital output enable
bits for the RF2, RF1 and RG1 pins.
By default, the comparator’s output is at logic high
whenever the voltage on V
The polarity of the comparator outputs can be inverted
using the CPOL bit (CMxCON<5>).
The uncertainty of each of the comparators is related to
the input offset voltage and the response time given in
the specifications, as discussed in Section 24.2
“Comparator Operation” .
Note:
IN
The comparator input pin selected by
CCH<1:0> must be configured as an input
by setting both the corresponding TRISF,
TRISG or TRISH bit and the corresponding
ANSELx bit in the ANCONx register.
COMPARATOR ENABLE AND
OUTPUT SELECTION
+ and the digital output of the comparator
SS
IN
and V
+ is connected to the CxINA
REF
IN
DD
+ is greater than on V
) module. This module is
IN
and can be applied to
- is compared to the
DS39957B-page 391
IN
+ pin.
IN
-.

Related parts for PIC18F87K90-I/PTRSL