PIC18F86J50-I/PT Microchip Technology, PIC18F86J50-I/PT Datasheet - Page 231

no-image

PIC18F86J50-I/PT

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

Specifications of PIC18F86J50-I/PT

Core Size
8-Bit
Program Memory Size
64KB (32K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
48MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
65
Program Memory Type
FLASH
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 12x10b
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Controller Family/series
PIC18
No. Of I/o's
65
Ram Memory Size
3904Byte
Cpu Speed
48MHz
No. Of Timers
5
No. Of
RoHS Compliant
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3904 B
Interface Type
I2C, MSSP, SPI, EUSART
Maximum Clock Frequency
48 MHz
Number Of Programmable I/os
65
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, ICE2000, ICE4000, DV164136, DM183022, DM183032
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 12 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC162087 - HEADER MPLAB ICD2 18F87J50 68/84MA180021 - MODULE PLUG-IN 18F87J50 FS USBAC164328 - MODULE SKT FOR 80TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F86J50-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
18.4.9
The following steps should be taken when configuring
the ECCPx module for PWM operation:
1.
2.
3.
4.
5.
6.
7.
© 2009 Microchip Technology Inc.
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 ECCPx 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
PIC18F87J50 FAMILY
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
DS39775C-page 231

Related parts for PIC18F86J50-I/PT