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

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
PIC18F87J11 FAMILY
18.4.9
The following steps should be taken when configuring
the ECCP module for PWM operation:
1.
2.
3.
4.
5.
6.
7.
DS39778D-page 220
Configure the PWM pins PxA and PxB (and PxC
and PxD, if used) as inputs by setting the
corresponding TRIS bits.
Set the PWM period by loading the PR2 (PR4)
register.
Configure the ECCP module for the desired
PWM mode and configuration by loading the
CCPxCON register with the appropriate values:
• Select one of the available output
• Select the polarities of the PWM output
Set the PWM duty cycle by loading the CCPRxL
register and the CCPxCON<5:4> bits.
For auto-shutdown:
• Disable auto-shutdown; ECCPxASE = 0
• Configure auto-shutdown source
• Wait for Run condition
For
dead-band delay by loading ECCPxDEL<6:0>
with the appropriate value.
If auto-shutdown operation is required, load the
ECCPxAS register:
• Select the auto-shutdown sources using the
• Select the shutdown states of the PWM
• Set the ECCPxASE bit (ECCPxAS<7>).
configurations and direction with the
PxM1:PxM0 bits.
signals with the CCPxM3:CCPxM0 bits.
ECCPxAS2:ECCPxAS0 bits.
output pins using the PSSxAC1:PSSxAC0
and PSSxBD1:PSSxBD0 bits.
Half-Bridge
SETUP FOR PWM OPERATION
Output
mode,
set
the
8.
9.
10. Enable PWM outputs after a new PWM cycle
18.4.10
Both Power-on Reset and subsequent Resets will force
all ports to Input mode and the ECCP registers to their
Reset states.
This forces the Enhanced CCP module to reset to a
state compatible with the standard CCP module.
If auto-restart operation is required, set the
PxRSEN bit (ECCPxDEL<7>).
Configure and start TMRn (TMR2 or TMR4):
• Clear the TMRn interrupt flag bit by clearing
• Set the TMRn prescale value by loading the
• Enable Timer2 (or Timer4) by setting the
has started:
• Wait until TMRn overflows (TMRnIF bit is set).
• Enable the ECCPx/PxA, PxB, PxC and/or
• Clear the ECCPxASE bit (ECCPxAS<7>).
the TMRnIF bit (PIR1<1> for Timer2 or
PIR3<3> for Timer4).
TnCKPS bits (TnCON<1:0>).
TMRnON bit (TnCON<2>).
PxD pin outputs by clearing the respective
TRIS bits.
EFFECTS OF A RESET
© 2009 Microchip Technology Inc.

Related parts for PIC18F87J11-I/PT