PIC18F87J11-I/PT Microchip Technology, PIC18F87J11-I/PT Datasheet - Page 307

no-image

PIC18F87J11-I/PT

Manufacturer Part Number
PIC18F87J11-I/PT
Description
IC PIC MCU FLASH 64KX16 80TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F87J11-I/PT

Program Memory Type
FLASH
Program Memory Size
128KB (64K x 16)
Package / Case
80-TFQFP
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
68
Ram Size
3930 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 15x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3904 B
Interface Type
EUSART/I2C/MSSP/SPI
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
68
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM183032, DM183022, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
15-ch x 10-bit
Package
80TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
48 MHz
Operating Supply Voltage
1.8|2.5|3.3 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DV164136 - DEVELOPMENT KIT FOR PIC18AC162091 - HEADER MPLAB ICD2 18F87J11 64/80MA180020 - MODULE PLUG-IN HPC EXPL 18F87J11AC164328 - MODULE SKT FOR 80TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F87J11-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F87J11-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
22.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.
Both comparators allow a selection of the signal from
pin, CxINA, or the voltage from the comparator refer-
ence (CV
compared to either CxINB, CxINC, CxIND or the micro-
controller’s fixed internal reference voltage (V
nominal) on the inverting channel. The comparator
inputs and outputs are tied to fixed I/O pins, defined in
Table 22-1. The available configurations and their
corresponding bit settings are shown in Figure 22-1.
TABLE 22-1:
22.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 CCH1:CCH0 bits in the CMxCON register
(CMxCON<1:0>) direct either one of three analog input
pins, or the Internal Reference Voltage (V
comparator V
ing mode, either an external or internal voltage
reference may be used. The analog signal present at
V
output of the comparator 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 ref-
erence sources externally. The reference signal must
be between V
pin of the comparator.
© 2009 Microchip Technology Inc.
Note 1:
IN
Comparator
- is compared to the signal at V
1
2
Comparator Control and
Configuration
REF
Available in 80-pin devices only.
COMPARATOR ENABLE AND
INPUT SELECTION
IN
) on the non-inverting channel. This is
SS
-. Depending on the comparator operat-
and V
COMPARATOR INPUTS AND
OUTPUTS
Input or Output
C1INC (V
C2INC(V
C2IND(V
C1INA (V
C1INB (V
C2INA(V
C2INB(V
IN
DD
C1OUT
C2OUT
+ is connected to the CxINA
, and can be applied to either
IN
IN
IN
IN
IN
IN
IN
-)
-)
-)
+)
+)
-)
-)
(1)
(1)
(1)
IN
+ and the digital
I/O Pin
IRV
RH6
RH4
RH5
RF6
RF5
RF2
RF4
RF3
RF1
IRV
), to the
(1)
(1)
(1)
, 1.2V
PIC18F87J11 FAMILY
The comparator module also allows the selection of an
internally generated voltage reference (CV
the comparator voltage reference module. This module
is described in more detail in Section 23.0 “Compara-
tor 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
pin.
22.5.1.1
In PIC18F87J11 family devices, the C and D input chan-
nels for both comparators are linked to pins in PORTH
and cannot be reassigned to alternate analog inputs.
Because of this, 64-pin devices offer a total of 4 different
configurations for each comparator. In contrast, 80-pin
devices offer a choice of 6 configurations for Comparator
1, and 8 configurations for Comparator 2. The configura-
tions shown in Figure 22-1 are footnoted to indicate
where they are not available.
22.5.2
The comparator outputs are read through the CMSTAT
register. The CMSTAT<0> reads the Comparator 1 out-
put and CMSTAT<1> reads the Comparator 2 output.
These bits are read-only.
The comparator outputs may also be directly output to
the RF1 and RF2 I/O pins by setting the COE bit
(CMxCON<6>). When enabled, multiplexors in the
output path of the pins switch to the output of the com-
parator. The TRISF<1:2> bits still function as the digital
output enable for the RF1 and RF2 pins while in this
mode.
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 22.2
“Comparator Operation”.
Note:
The comparator input pin selected by
CCH1:CH0 must be configured as an input
by setting both the corresponding TRISF or
TRISH bit, and the corresponding PCFG bit
in the ANCON1 register.
COMPARATOR ENABLE AND
OUTPUT SELECTION
Comparator Configurations in 64-Pin
and 80-Pin Devices
IN
+ is greater than on V
DS39778D-page 307
REF
) from
IN
IN
+
-.

Related parts for PIC18F87J11-I/PT