PIC16LF1526-I/MR Microchip Technology, PIC16LF1526-I/MR Datasheet - Page 194
![MCU PIC 14KB FLASH 64QFN](/photos/16/3/160367/tqfp-64_sml.jpg)
PIC16LF1526-I/MR
Manufacturer Part Number
PIC16LF1526-I/MR
Description
MCU PIC 14KB FLASH 64QFN
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheet
1.PIC16LF1526T-IPT.pdf
(354 pages)
Specifications of PIC16LF1526-I/MR
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
54
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 30x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-VFQFN Exposed Pad
Processor Series
PIC16LF
Core
PIC
Data Bus Width
8 bit
Data Ram Size
768 B
Interface Type
SPI, I2C
Maximum Clock Frequency
20 MHz
Number Of Timers
ÿ6 x 8-bit, 3 x 16-bit
Operating Supply Voltage
1.8 V to 5.5 V
Mounting Style
SMD/SMT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Details
- Current page: 194 of 354
- Download datasheet (3Mb)
PIC16(L)F1526/27
20.3.5
The PWM duty cycle is specified by writing a 10-bit
value to multiple registers: CCPRxL register and
DCxB<1:0> bits of the CCPxCON register. The
CCPRxL contains the eight MSbs and the DCxB<1:0>
bits of the CCPxCON register contain the two LSbs.
CCPRxL and DCxB<1:0> bits of the CCPxCON
register can be written to at any time. The duty cycle
value is not latched into CCPRxH until after the period
completes (i.e., a match between PRx and TMRx
registers occurs). While using the PWM, the CCPRxH
register is read-only.
Equation 20-2
width.
Equation 20-3
ratio.
EQUATION 20-2:
EQUATION 20-3:
TABLE 20-7:
TABLE 20-8:
DS41458A-page 194
Timer Prescale (1, 4, 16)
PRx Value
Maximum Resolution (bits)
Timer Prescale (1, 4, 16)
PRx Value
Maximum Resolution (bits)
Duty Cycle Ratio
Pulse Width
PWM Frequency
PWM Frequency
PWM DUTY CYCLE
is used to calculate the PWM duty cycle
is used to calculate the PWM pulse
=
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
EXAMPLE PWM FREQUENCIES AND RESOLUTIONS (F
T
=
CCPRxL:CCPxCON<5:4>
OSC
PULSE WIDTH
DUTY CYCLE RATIO
---------------------------------------------------------------------- -
CCPRxL:CCPxCON<5:4>
(TMRx Prescale Value)
4 PRx
1.22 kHz
1.22 kHz
0xFF
0x65
10
16
16
+
8
1
4.88 kHz
4.90 kHz
0xFF
Preliminary
0x65
10
4
4
8
19.53 kHz
19.61 kHz
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 operation.
The 8-bit timer TMRx register is concatenated with either
the 2-bit internal system clock (F
prescaler, to create the 10-bit time base. The system
clock is used if the Timer2/4/6/8/10 prescaler is set to
1:1.
When the 10-bit time base matches the CCPRxH and
2-bit latch, then the CCPx pin is cleared (see
Figure
20.3.6
The resolution determines the number of available duty
cycles for a given period. For example, a 10-bit resolution
will result in 1024 discrete duty cycles, whereas an 8-bit
resolution will result in 256 discrete duty cycles.
The maximum PWM resolution is 10 bits when PRx is
255. The resolution is a function of the PRx register
value as shown by
EQUATION 20-4:
0xFF
Note:
0x65
10
1
1
8
20-4).
Resolution
PWM RESOLUTION
If the pulse width value is greater than the
period the assigned PWM pin(s) will
remain unchanged.
78.12 kHz
76.92 kHz
0x3F
0x19
1
8
1
6
Equation
OSC
OSC
=
PWM RESOLUTION
log
----------------------------------------- - bits
2011 Microchip Technology Inc.
= 20 MHz)
= 8 MHz)
4 PRx
153.85 kHz
log
156.3 kHz
20-4.
0x0C
0x1F
2
OSC
1
7
1
5
+
1
), or 2 bits of the
208.3 kHz
200.0 kHz
0x17
0x09
6.6
1
1
5
Related parts for PIC16LF1526-I/MR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16LF1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16LF, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1827-I/MV](/photos/12/13/121305/c04-152_mv_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16LF, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1827-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16LF, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF874A-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16LF, 20MHZ, TQFP-44
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1827-I/MQ](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
7 KB Flash, 384 Bytes RAM, 32 MHz Int. Osc, 16 I/0, Enhanced Mid Range Core, Nan
Manufacturer:
Microchip Technology
![PIC16LF1906T-I/SO](/photos/16/12/161267/qfn-28_tmb.jpg)
Part Number:
Description:
14KB Flash, 512B RAM, LCD, 11x10b ADC, EUSART, NanoWatt XLP 28 SOIC .300in T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1906T-I/SS](/photos/16/12/161267/qfn-28_tmb.jpg)
Part Number:
Description:
14KB Flash, 512B RAM, LCD, 11x10b ADC, EUSART, NanoWatt XLP 28 SSOP .209in T/R
Manufacturer:
Microchip Technology
Datasheet:
![PIC16LF1906-I/SS](/photos/16/12/161267/qfn-28_tmb.jpg)
Part Number:
Description:
MCU PIC 14KB FLASH XLP 28-SSOP
Manufacturer:
Microchip Technology
![PIC16LF1906-I/SO](/photos/16/12/161267/qfn-28_tmb.jpg)
Part Number:
Description:
MCU PIC 14KB FLASH XLP 28-SOIC
Manufacturer:
Microchip Technology
![PIC16LF1906-I/MV](/photos/16/12/161267/qfn-28_tmb.jpg)
Part Number:
Description:
MCU PIC 512B FLASH XLP 28-UQFN
Manufacturer:
Microchip Technology
![PIC16LF1906-I/SP](/photos/16/12/161267/qfn-28_tmb.jpg)
Part Number:
Description:
MCU PIC 14KB FLASH XLP 28-SPDIP
Manufacturer:
Microchip Technology
![PIC16LF1904-I/MV](/photos/16/3/160374/pdip40_tmb.jpg)
Part Number:
Description:
MCU 7KB FLASH 256B RAM 40-UQFN
Manufacturer:
Microchip Technology
![PIC16LF1904-I/PT](/photos/16/3/160374/pdip40_tmb.jpg)
Part Number:
Description:
MCU 7KB FLASH 256B RAM 44-TQFP
Manufacturer:
Microchip Technology
![PIC16LF1847-I/MV](/photos/16/12/161255/qfn28_tmb.jpg)
Part Number:
Description:
MCU 14KB FLASH 1KB RAM 28-UQFN
Manufacturer:
Microchip Technology
![PIC16LF1907-I/MV](/photos/16/3/160374/pdip40_tmb.jpg)
Part Number:
Description:
MCU PIC 14KB FLASH XLP 40-UQFN
Manufacturer:
Microchip Technology