PIC18F66J15-I/PT Microchip Technology, PIC18F66J15-I/PT Datasheet - Page 193

IC PIC MCU FLASH 48KX16 64TQFP

PIC18F66J15-I/PT

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

Specifications of PIC18F66J15-I/PT

Program Memory Type
FLASH
Program Memory Size
96KB (48K x 16)
Package / Case
64-TFQFP
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
50
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3936 B
Interface Type
SPI/I2C/EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
50
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, DV164136, DM183032, DM183022
Minimum Operating Temperature
- 40 C
On-chip Adc
11-ch x 10-bit
Package
64TQFP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Operating Supply Voltage
2.5|3.3 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA180015 - MODULE PLUG-IN 18F87J10 FOR HPCAC162062 - HEADER INTRFC MPLAB ICD2 64/80PAC164327 - MODULE SKT FOR 64TQFP
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F66J15-I/PT
Manufacturer:
TI/CC
Quantity:
1 500
Part Number:
PIC18F66J15-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F66J15-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 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; ECCP1ASE = 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
PxM<1:0> bits.
signals with the CCPxM<3:0> bits.
ECCPxAS<2:0> bits.
output pins using the PSSxAC<1:0> and
PSSxBD<1:0> bits.
Half-Bridge
SETUP FOR PWM OPERATION
Output
mode,
set
the
PIC18F87J10 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 TMRx (TMR2 or TMR4):
• Clear the TMRx interrupt flag bit by clearing
• Set the TMRx prescale value by loading the
• Enable Timer2 (or Timer4) by setting the
has started:
• Wait until TMRx overflows (TMRxIF bit is set).
• Enable the ECCPx/PxA, PxB, PxC and/or
• Clear the ECCPxASE bit (ECCPxAS<7>).
the TMRxIF bit (PIR1<1> for Timer2 or
PIR3<3> for Timer4).
TxCKPS bits (TxCON<1:0>).
TMRxON bit (TxCON<2>).
PxD pin outputs by clearing the respective
TRIS bits.
EFFECTS OF A RESET
DS39663F-page 191

Related parts for PIC18F66J15-I/PT