PIC18F87J72-I/PT Microchip Technology, PIC18F87J72-I/PT Datasheet - Page 448

IC PIC MCU 8BIT 14KB FLSH 80TQFP

PIC18F87J72-I/PT

Manufacturer Part Number
PIC18F87J72-I/PT
Description
IC PIC MCU 8BIT 14KB FLSH 80TQFP
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheet

Specifications of PIC18F87J72-I/PT

Program Memory Type
FLASH
Program Memory Size
128KB (64K x 16)
Package / Case
80-TQFP
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, LVD, POR, PWM, WDT
Number Of I /o
51
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 12x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Data Bus Width
8 bit
Data Ram Size
4 KB
Interface Type
SPI, USART, SPI, I2C
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
51
Number Of Timers
4
Operating Supply Voltage
2 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
On-chip Adc
14
Controller Family/series
PIC18F
No. Of I/o's
51
Ram Memory Size
3923Byte
Cpu Speed
48MHz
No. Of Timers
4
Rohs Compliant
Yes
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:
PIC18F87J72-I/PT
Manufacturer:
Microchip
Quantity:
210
Part Number:
PIC18F87J72-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC18F87J72 FAMILY
B.4.8
When the ARESET pin is low, both ADCs will be in
Reset and output code, 0x0000h. The RESET pin per-
forms a Hard Reset (DC biases still on, part ready to
convert) and clears all charges contained in the
Sigma-Delta modulators. The comparator output is
‘0011’ for each ADC.
The sinc filters are all reset, as well as their double
output buffers. This pin is independent of the serial
interface. It brings the CONFIG registers to the default
state. When RESET is low, any write with the SPI
interface will be disabled and will have no effect. The
output pins (SDOA, DR) are high impedance and no
clock is propagated through the chip.
B.4.9
The AFE incorporates a phase delay generator which
ensures that the two ADCs are converting the inputs
with a fixed delay between them. The two ADCs are
synchronously
modulator outputs is delayed so that the sinc filter
outputs (thus, the ADC outputs) show a fixed phase
delay, as determined by the PHASE register setting.
The PHASE register (PHASE<7:0>) is a 7-bit + sign,
MSB first, two’s complement register, that indicates
how much phase delay there is to be between
Channel 0 and Channel 1. The reference channel for
the delay is Channel 1 (typically the voltage channel for
power metering applications). When PHASE<7:0> bits
are positive, Channel 0 is lagging versus Channel 1.
When PHASE<7:0> are negative, Channel 0 is leading
versus Channel 1. The amount of delay between two
ADC conversions is given by the following formula:
EQUATION B-16:
The timing resolution of the phase delay is 1/DMCLK or
1 µs in the default configuration with MCLK = 4 MHz.
The data ready signals are affected by the phase delay
settings. Typically, the time difference between the data
ready pulses of Channel 0 and Channel 1 is equal to
the phase delay setting.
DS39979A-page 448
Note:
Delay
ARESET EFFECT ON DELTA-SIGMA
MODULATOR/SINC FILTER
PHASE DELAY BLOCK
A detailed explanation of the Data Ready
pin (DR) with phase delay is present in
Section B.5.9.1 “Data Ready Latches
And
(DRMODE<1:0>)”.
sampling,
=
Phase Register Code
------------------------------------------------- -
Data
DMCLK
but
Ready
the
averaging
Modes
Preliminary
of
B.4.9.1
The phase delay can only go from -OSR/2 to +OSR/2 – 1.
This sets the fine phase resolution. The PHASE register is
coded with 2’s complement.
If larger delays between the two channels are needed,
they can be implemented by the microcontroller. A
FIFO can save incoming data from the leading channel
for a number N of DRCLK clocks. In this case, DRCLK
would represent the coarse timing resolution, and
DMCLK the fine timing resolution. The total delay will
then be equal to:
The Phase Delay register can be programmed once
with the OSR = 256 setting, and will adjust to the OSR
automatically afterwards, without the need to change
the value of the PHASE register.
• OSR = 256: the delay can go from -128 to +127.
• OSR = 128: the delay can go from -64 to +63.
• OSR = 64: the delay can go from -32 to +31.
• OSR = 32: the delay can go from -16 to +15.
TABLE B-10:
0 1 1 1 1 1 1 1
0 1 1 1 1 1 1 0
0 0 0 0 0 0 0 1
0 0 0 0 0 0 0 0
1 1 1 1 1 1 1 1
1 0 0 0 0 0 0 1
1 0 0 0 0 0 0 0
PHASE<7> is the sign bit. PHASE<6> is the MSB
and PHASE<0> is the LSB.
PHASE<6> is the sign bit. PHASE<5> is the MSB
and PHASE<0> is the LSB.
PHASE<5> is the sign bit. PHASE<4> is the MSB
and PHASE<0> is the LSB.
PHASE<4> is the sign bit. PHASE<3> is the MSB
and PHASE<0> is the LSB.
PHASE Register Value
Delay = N/DRCLK + PHASE/DMCLK
Binary
Phase Delay Limits
PHASE VALUES WITH
MCLK = 4 MHZ, OSR = 256
0x7E
0xFF
0x7F
0x01
0x00
0x81
0x80
Hex
 2010 Microchip Technology Inc.
(CH0 relative
+127 µs
+126 µs
to CH1)
-127 µs
-128 µs
Delay
+1 µs
-1 µs
0 µs

Related parts for PIC18F87J72-I/PT