PIC18F8525-I/PT Microchip Technology, PIC18F8525-I/PT Datasheet - Page 163

no-image

PIC18F8525-I/PT

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

Specifications of PIC18F8525-I/PT

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
EBI/EMI, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
69
Program Memory Size
48KB (24K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.75K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3840 B
Interface Type
MSSP, SPI, I2C, EUSART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
69
Number Of Timers
2 x 8 bit
Operating Supply Voltage
4.2 V to 5.5 V
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, DM163032
Minimum Operating Temperature
- 40 C
On-chip Adc
16 bit
For Use With
XLT80PT3 - SOCKET TRAN ICE 80MQFP/TQFPAC164320 - MODULE SKT MPLAB PM3 80TQFPAC174011 - MODULE SKT PROMATEII 80TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F8525-I/PT
Manufacturer:
AMD
Quantity:
1 450
Part Number:
PIC18F8525-I/PT
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC18F8525-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F8525-I/PT
Manufacturer:
MICORICHI
Quantity:
20 000
FIGURE 17-1:
17.4.2
The PWM duty cycle is specified by writing to the
CCPR1L register and to the CCP1CON<5:4> bits. Up
to 10-bit resolution is available. The CCPR1L contains
the eight MSbs and the CCP1CON<5:4> contains the
two LSbs. This 10-bit value is represented by
CCPRxL:CCPxCON<5:4>. The PWM duty cycle is
calculated by the equation:
EQUATION 17-2:
CCPR1L and CCP1CON<5:4> can be written to at any
time but the duty cycle value is not copied into
CCPR1H until a match between PR2 and TMR2 occurs
(i.e., the period is complete). In PWM mode, CCPR1H
is a read-only register.
TABLE 17-4:
 2005 Microchip Technology Inc.
Timer Prescaler (1, 4, 16)
PR2 Value
Maximum Resolution (bits)
PWM Duty Cycle = (CCPR1L:CCP1CON<5:4>) •
PWM Frequency
Note 1: The 8-bit TMR2 register is concatenated with the 2-bit internal Q clock, or 2 bits of the prescaler, to create the 10-bit
PWM DUTY CYCLE
CCPR1H (Slave)
Duty Cycle Registers
Comparator
CCPR1L
PR2
TMR2
Comparator
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS AT 40 MHz
time base.
SIMPLIFIED BLOCK DIAGRAM OF THE ENHANCED PWM MODULE
T
OSC
(Note 1)
• (TMR2 Prescale Value)
Clear Timer,
set ECCP1 pin and
latch D.C.
CCP1CON<5:4>
2.44 kHz
FFh
16
10
R
S
PIC18F6525/6621/8525/8621
9.77 kHz
P1M1<1:0>
Q
FFh
10
4
ECCP1DEL
39.06 kHz
Controller
The CCPRxH register and a 2-bit internal latch are
used to double-buffer the PWM duty cycle. This
double-buffering is essential for glitchless PWM opera-
tion. When the CCPR1H and 2-bit latch match TMR2,
concatenated with an internal 2-bit Q clock or two bits
of the TMR2 prescaler, the ECCP1 pin is cleared. The
maximum PWM resolution (bits) for a given PWM
frequency is given by the equation:
EQUATION 17-3:
ECCP1/P1A
Output
2
Note:
FFh
10
1
PWM Resolution (max) =
P1C
P1D
P1B
4
CCP1M<3:0>
If the PWM duty cycle value is longer than
the PWM period, the ECCP1 pin will not
be cleared.
156.25 kHz
TRISx<x>
TRISx<x>
TRISx<x>
TRISx<x>
3Fh
1
8
312.50 kHz
1Fh
log
1
7
(
log(2)
DS39612B-page 161
F
F
ECCP1/P1A
P1B
P1C
P1D
PWM
OSC
)
416.67 kHz
bits
6.58
17h
1

Related parts for PIC18F8525-I/PT