PIC12/16(L)F157X
MCUs with High-Precision 16-Bit PWMs Product Brief
Description
PIC12(L)F1571/2 and PIC16(L)F1574/5/8/9 microcontrollers combine the capabilities of 16-bit PWMs with Analog to
suit a variety of applications. These devices deliver up to four 16-bit PWMs with independent timers for applications
where high resolution is needed, such as LED lighting, stepper motors, power supplies and other general purpose
applications. The core independent peripherals (16-bit PWMs, Complementary Waveform Generator), Enhanced
Universal Synchronous Asynchronous Receiver Transceiver (EUSART) and Analog (ADCs, Comparator and DAC)
enable closed-loop feedback and communication for use in multiple market segments. The Peripheral Pin Select (PPS)
functionality allows for I/O pin remapping of the digital peripherals for increased flexibility. The EUSART peripheral
enables the communication for applications such as LIN.
Core Features
• C Compiler Optimized RISC Architecture
• Only 49 Instructions
• Operating Speed:
- DC – 32 MHz clock input
- 125 ns minimum instruction cycle
• Interrupt Capability
• 16-Level Deep Hardware Stack
• Two 8-Bit Timers
• One 16-Bit Timer
• Up to Four Additional 16-Bit Timers Available
Using the 16-Bit PWMs
• Power-on Reset (POR)
• Power-up Timer (PWRT)
• Low-Power Brown-out Reset (LPBOR)
• Programmable Watchdog Timer (WDT) up to
256s
• Programmable Code Protection
Low-Power Features
• Sleep mode: 20 nA @ 1.8V, typical
• Watchdog Timer: 260nA @ 1.8V, typical
• Operating Current:
- 30 uA/MHz @ 1.8V, typical
Digital Peripherals
• 16-Bit PWM:
- Up to four 16-bit PWMs with independent
timers
- Multiple output modes (standard, center
aligned, set and toggle on register match)
- User settings for phase, duty cycle, period,
offset and polarity
- 16-bit timer capability
- Interrupts generated based on timer matches
with offset, duty cycle, period and phase
registers.
• Complementary Waveform Generator (CWG):
- Rising and falling edge dead-band control
- Multiple signal sources
• Enhanced Universal Synchronous Asynchronous
Receiver Transceiver (EUSART):
- Supports LIN applications
• Peripheral Pin Select (PPS):
- I/O pin remapping of digital peripherals
(PIC16(L)F1574/5/8/9 devices only)
Memory
•
•
•
•
Up to 14 Kbytes Program Flash Memory (PFM)
Up to 1 Kbytes Data SRAM Memory
Direct, Indirect and Relative Addressing modes
128 Bytes of Nonvolatile Data Storage,
High-Endurance Flash (HEF)
Operating Characteristics
• Operating Voltage Range:
- 1.8V to 3.6V (PIC12LF1571/2, PIC16LF1574/
5/8/9)
- 2.3V to 5.5V (PIC12F1571/2, PIC16F1574/5/
8/9)
• Temperature Range:
- Industrial: -40°C to 85°C
- Extended: -40°C to 125°C
Device I/O Port Features
• Up to 18 I/Os
• Individually Selectable Weak Pull-ups
• Interrupt-on-Change Pins Option with
Edge-Selectable Option
2013-2014 Microchip Technology Inc.
Advance Information
DS40001719D-page 1
PIC12/16(L)F157X
Analog Peripherals
• 10-Bit Analog-to-Digital Converter (ADC):
- Up to 12 external channels
- Conversion available during Sleep
• Comparator:
- Up to two
- Low-Power/High-Speed modes
- Fixed Voltage Reference at inverting and
non-inverting input(s)
- Comparator outputs externally accessible
- Synchronization with Timer1 clock source
- Software hysteresis enable
• 5-Bit Digital-to-Analog Converter (DAC):
- 5-bit resolution, rail-to-rail
- Positive Reference Selection
- Unbuffered I/O pin output
- Internal connections to ADCs and
comparators
• Voltage Reference:
- Fixed Voltage Reference with 1.024V, 2.048V
and 4.096V output levels
Clocking Structure
• Precision Internal Oscillator:
- Factory calibrated ±1%, typical
- Software-selectable clock speeds from
31 kHz to 32 MHz
• External Oscillator Block with:
- Resonator modes up to 20 MHz
- Two external clock modes up to 32 MHz
• Fail-Safe Clock Monitor
• Two-Speed Oscillator Start-up
• Digital Oscillator Input available
TABLE 1:
PIC12(L)F1571/2 AND PIC16(L)F1574/5/8/9 FAMILY TYPES
Program Flash Memory
(Kwords)
Program Flash Memory
(Kbytes)
Data SRAM (bytes)
8-Bit/16-Bit Timers
Data Sheet Index
10-Bit ADC (ch)
Comparators
16-Bit PWM
5-Bit DAC
EUSART
Device
PIC12(L)F1571
PIC12(L)F1572
PIC16(L)F1574
PIC16(L)F1575
PIC16(L)F1578
PIC16(L)F1579
Note 1:
2:
3:
(A)
(A)
(B)
(B)
(B)
(B)
1
2
4
8
4
8
1.75
3.5
7
14
7
14
128
256
512
1024
512
1024
6
6
12
18
12
18
2/4
(2)
2/4
(2)
2/5
(3)
2/5
(3)
2/5
(3)
2/5
(3)
1
1
2
2
2
2
3
3
4
4
4
4
4
4
8
8
12
12
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
1
1
N
N
Y
Y
Y
Y
I – Debugging integrated on chip.
Three additional 16-bit timers available when not using the 16-bit PWM outputs.
Four additional 16-bit timers available when not using the 16-bit PWM outputs.
PIC12(L)F1571/2 Data Sheet, 8-Pin Flash, 8-bit MCU with High-Precision 16-bit PWM
PIC16(L)F1574/5/8/9 Data Sheet, 8-Pin Flash, 8-bit MCU with High-Precision 16-bit
PWM
Data Sheet Index:
A:
DS-40001723
B:
Future Release
Note:
For other small form-factor package availability and marking information, please visit
http://www.microchip.com/packaging
or contact your local sales office.
DS40001719D-page 2
Advance Information
2013-2014 Microchip Technology Inc.
Debug
(1)
I
I
I
I
I
I
I/O Pins
CWG
PPS