Announcing the
PIC16(L)F1579 and PIC16(L)F18877 Families of 8-bit MCUs
July 20, 2015
2
Continued 8-bit Innovation
PIC16F1579 Family 14-20 pins, Up to 14 KB of Memory, 1.8-5.5V Operating Range and XLP
Enables functions for LED lighting, motor control and other applications.
First 8-bit PIC® MCUs with four independent time-based 16-bit PWMs.
PIC16F18877 Family 8-40 pins, Up to 56 KB of Memory, 1.8-5.5V Operating Range and XLP
Enables functions for consumer electronics, Internet of Things (IoT),
safety-critical and other applications.
First MCUs with ADC with Computation
First PIC16 MCUs with Peripheral Module Disable, IDLE and DOZE
low-power modes
3
8-bit MCUs That Do More
Continuing to redraw the boundaries of 8-bit
applications via Core Independent
Peripherals
Flexible, interconnected peripherals that perform
functions deterministically and autonomously, without
the core
Intelligent peripherals that enable system
performance far beyond typical 8-bit MCUs
Simplified design experience and less code makes
application development Easy
Flexible Intelligence Made Easy…
4
PIC16F1579 Family Function Enablement
PIC16F1579 Microcontrollers
CPU Memory
mTouch®
Comparators
Voltage
Reference
DAC eXtreme Low Power
XLP Technology
8/16/-bit
Timers
TEMP Indicator
Peripheral Pin
Select
(E)USART ADC Complementary
Waveform Generator
High Endurance
Flash (Data)
LIN/DMX 16-bit PWM
Family Functionality Highlights: • High-accuracy pulse drive with flexibility for many applications
• Signal and sensor interface via intelligent analog integration
• EUSART for serial communications, including LIN and DMX
• Interconnected Core Independent Peripherals increase system performance
• Integrated function enablement increases system reliability, via hardware
Focus Functions
Human Interface
System Communications
Input & Sensor Interface
Output & Signal Generation
Human Interface
System Communications
Input & Sensor Interface
Output & Signal Generation
5
PIC16F1579 Family Function Enablement
PIC16F1579 Microcontrollers
CPU Memory
Complementary
Waveform Generator
16-bit PWM
Flexible Output & Signal Generation:
• First 8-bit PIC® MCU with four 16-bit PWMs with independent timers
• Edge, center-aligned and additional output modes
• Automated complementary output generation
• Control over dead-band and automatic shutdown states
• Remapping of outputs using Peripheral Pin Select
Peripheral Pin
Select
mTouch®
Comparators
Voltage
Reference
DAC eXtreme Low Power
XLP Technology
8/16/-bit
Timers
TEMP Indicator
(E)USART ADC High Endurance
Flash (Data)
LIN
Focus Function
Output & Signal Generation Output & Signal Generation
6
PIC16F1579 Family Function Enablement
PIC16F1579 Microcontrollers
CPU Memory
(E)USART
LIN/DMX
System Communications: • Support for serial communications, including LIN and DMX
• Enables intelligent systems with host or master device
• Flexible PCB routing to minimize EMI and crosstalk with Peripheral Pin Select
Peripheral Pin
Select
mTouch®
Comparators
Voltage
Reference
DAC eXtreme Low Power
XLP Technology
8/16/-bit
Timers
TEMP Indicator
ADC Complementary
Waveform Generator
High Endurance
Flash (Data)
16-bit PWM
Focus Function
System Communications System Communications
7
PIC16F1579 Family Target End Equipment & Functions
Consumer
Indoor / Outdoor Color LEDs
Electric Razors
Remote-Controlled Toys
Industrial & Automotive
Motor Control
Automotive Ambient Lighting
General-Purpose Functions
mTouch® Capacitive Buttons & Sliders
Low-Cost RGB LED Control
LIN and DMX Communication
8
PIC16F18877 Family Function Enablement
PIC16F18877 Microcontrollers
Cyclical
Redundancy Check
mTouch®
Comparators
Zero Cross
Detect
Voltage
Reference
DAC
ADC with
Computation
Windowed WDT
IDLE & DOZE
Peripheral Module
Disable
eXtreme Low Power
XLP Technology
8/16/24-bit
Timers
TEMP Indicator
Signal
Measurement Timer
Peripheral Pin
Select
Configurable
Logic Cell
SPI
(E)USART
Hardware
Limit Timer
I2C™
LIN
Focus Functions
Human Interface
System Communications
Timing & Counting
System & Safety Management
Input & Sensor Interface
Output & Signal Generation CPU Memory
Family Functionality Highlights: • High analog and digital peripheral integration enables closed-loop control in hardware (not software)
• These Core Independent Peripherals have flexible interconnections
• To perform multiple combinations of functions in hardware
• Internet-of-Things ready with low system power, bootloader capable and high level of functionality
• Hardware for automatic fault detection and monitoring of safe operation
• Balance power consumption and performance with additional low-power features
Numerically
Controlled Oscillator
10-bit PWM
Data Signal
Modulator
Complementary
Waveform Generator
Capture Compare
PWM
9
PIC16F18877 Family Function Enablement
PIC16F18877 Microcontrollers
Comparators
Zero Cross
Detect
Voltage
Reference
DAC
Focus Function
Input & Sensor Interface
CPU Memory
Input & Sensor Interface: • First MCU to integrate an ADC with Computation
• Built in Accumulation, Averaging and Low Pass Filter calculations, while in SLEEP
• Windowed comparison with programmable thresholds
• Reduced CPU requirement for calculations and interrupts, versus software implementation
• Zero-crossing detection of signals, including high-voltage AC
Cyclical
Redundancy Check
mTouch®
Windowed WDT
IDLE & DOZE
Peripheral Module
Disable
eXtreme Low Power
XLP Technology
8/16/24-bit
Timers
TEMP Indicator
Signal
Measurement Timer
Peripheral Pin
Select
Configurable
Logic Cell
SPI
(E)USART
Hardware
Limit Timer
I2C™
LIN
Numerically
Controlled Oscillator
10-bit PWM
Data Signal
Modulator
Complementary
Waveform Generator
Capture Compare
PWM
Comparators
Zero Cross
Detect
Voltage
Reference
DAC
ADC with
Computation
10
PIC16F18877 Family Function Enablement
Focus Function
System & Safety Management
System & Safety Management: • First PIC16 MCUs with increased low-power functionality, in addition to XLP
• IDLE and DOZE modes to help reduce active power consumption
• Peripheral Module Disable removes peripherals from power rail and clock tree; zero power
• Easy implementation of safety-critical functions
• Ensure data integrity of program memory, data EEPROM and communications
PIC16F18877 Microcontrollers
Cyclical
Redundancy Check
Windowed WDT
IDLE & DOZE
Peripheral Module
Disable
eXtreme Low Power
XLP Technology
Peripheral Pin
Select
Hardware
Limit Timer
CPU Memory
mTouch®
Comparators
Zero Cross
Detect
Voltage
Reference
DAC
ADC with
Computation
8/16/24-bit
Timers
TEMP Indicator
Signal
Measurement Timer
Configurable
Logic Cell
SPI
(E)USART
I2C™
LIN
Numerically
Controlled Oscillator
10-bit PWM
Data Signal
Modulator
Complementary
Waveform Generator
Capture Compare
PWM
11
Motor Control BLDC
Brushed DC
AC Induction
Home Appliance Washers & Dryers
Dishwashers
Refrigerators
Industrial & Automotive System Monitoring
Fail-Safe Protection
Sensor Interfaces
TRIAC-Based Applications Dimming Control
Blenders / Small Appliances
General-Purpose Functions Internet of Things
Bluetooth® LE, LoRa™, Ethernet Communication enablement
mTouch® Capacitive Buttons & Sliders
PIC16F18877 Family Target End Equipment & Functions
12
Things of the Internet Demonstration
www.microchip.com/iotsensorbadge
13
Flexible Communication
CPU Required
Firmware
3-Axis
Accelerometer
Read accelerometer
Calculate LED
intensity based on
accelerometer data
Transmit LED data
Simplified LED Drive Control • Combined peripherals increase
capabilities
• LED data transmission reduced to
one CPU instruction
• Easily scalable for larger displays
• For more info see Application Note
AN1606 http://www.microchip.com/wwwAppNotes/
AppNotes.aspx?appnote=en567146
WS2812B WS2812B WS2812B
SPI
PWM
Configurable
Logic Cell
(CLC)
14
Flexible Communication CPU vs. CIP
CPU Required
SPI
PWM
Configurable
Logic Cell
(CLC)
Firmware
Read accelerometer
Calculate LED
intensity based on
accelerometer data
Transmit LED data
Easily scales to drive 160 WS2812B RGB LEDs Without CIPs
OSC Speed – 90 MHz
100% of CPU overhead
OSC Speed – 365 MHz
20% of CPU overhead
With CIPs
OSC Speed – 16 MHz
20% of CPU overhead
IDLE/DOZE modes reduce power consumption
CPU is free to perform other tasks or to SLEEP
WS2812B WS2812B WS2812B
15
Development Made Easy All Available Now
Development Boards Curiosity Development Board (DM164137, $20)
www.microchip.com/curiosity
Programmers/Debuggers PICkit™ 3 (PG164130, $47.95)
MPLAB® ICD 3 (DV164035, $199.95)
MPLAB PM3 (DV007004, $895)
IDE/Compiler MPLAB X IDE
MPLAB Code Configurator
MPLAB XC8 Compiler
Curiosity Development Board
(DM164137)
16
MPLAB® Code Configurator
Generate Code with the Click of a Button
Visual representation of all peripherals; no data
sheet reading required
Easy setup of Core Independent Peripherals
Benefits both new and experienced users
Production-ready code for quick, efficient
designs
17
Options & Availability Starting at $0.51 in 10k Quantities
Product Package Options Sample
Availability
Production
Availability
PIC16(L)F1574
PIC16(L)F1575
14-pin: SOIC, PDIP, TSSOP,
UQFN Now Now
PIC16(L)F1578
PIC16(L)F1579
20-pin: SOIC, PDIP, SSOP,
UQFN Now Now
PIC16(L)F18313 8-pin: SOIC, PDIP, UDFN Now 8/14/15
PIC16(L)F18323
PIC16(L)F18324
PIC16(L)F18325
PIC16(L)F18326
14-pin: SOIC, PDIP, TSSOP,
UQFN
Now
Now
Now
CQ1 2016
8/14/15
8/14/15
8/14/15
CQ2 2016
PIC16(L)F18344
PIC16(L)F18345
PIC16(L)F18346
20-pin: SOIC, PDIP, SSOP,
UQFN
Now
Now
CQ1 2016
8/14/15
8/14/15
CQ2 2016
PIC16(L)F18855 28-pin: SPDIP, SOIC, SSOP,
UQFN Now 8/31/15
PIC16(L)F18875 40-pin: PDIP, UQFN
44-pin: TQFP Now 8/31/15
18
Summary
Flexibility Wide range of interconnected peripherals that perform many functions
Peripheral Pin Select provides flexibility in PCB routing
Several low-power operating modes
Multiple package options; small footprint and low z-height
Wide operating range
Intelligence Function Enablement via interconnected:
Core Independent Peripherals
Intelligent Analog
Combined peripherals increase capabilities; free up CPU
Higher system performance, hardware versus software
Made Easy Comprehensive development environment
Curiosity, PICDEM™ Lab II Development Boards
PICkit™ 3, MPLAB® ICD 3 Programmers/Debuggers
MPLAB® X IDE
MPLAB Code Configurator
Quickly develop applications Easily generate production-ready code
Thank You
Note: The Microchip name and logo, PIC, mTouch, and MPLAB are registered trademarks of Microchip
Technology Incorporated in the U.S.A. and other countries. All other trademarks mentioned herein are the
property of their respective companies.
Back-Up Slides
21
Product Details
22
PIC16F1579 Family Block Diagram
23
PIC16F1579 Family Pricing and Collateral
Pricing:
• 8 pin – PIC12(L)F1571, PIC12(L)F1572 PIC12(L)F1571 10ku Pricing Starting at $0.38 PIC12(L)F1572 10ku Pricing Starting at $0.41
• 14 pin – PIC16(L)F1574, PIC16(L)F1575 PIC16(L)F1574 10ku Pricing Starting at $0.61 PIC16(L)F1575 10ku Pricing Starting at $0.68
• 20 pin – PIC16(L)F1578, PIC16(L)F1579 PIC16(L)F1578 10ku Pricing Starting at $0.67 PIC16(L)F1579 10ku Pricing Starting at $0.73
Collateral:
• PIC12(L)F157X Sell Sheet available now at www.microchip.com • PIC12(L)F157X Data Sheets available now at www.microchip.com • PIC16(L)F157X Sell Sheet available now at www.microchip.com • PIC16(L)F157X Data Sheets available now at www.microchip.com
Planned Availability:
• PIC12(L)F1571/2 Samples: Now
• PIC12(L)F1571/2 Orderable: Now
• PIC16(L)F1574/5/8/9 Samples: Now
• PIC16(L)F1574/5/8/9 Orderable: Now
24
PIC12F1572
3.5KB / HEF / 256B
EUSART
PIC12F1571
1.75KB / HEF / 128B
4x10b ADC, 5b DAC,
Comp, CWG, TEMP,
3x16b PWM
Featu
res &
Mem
ory
PIC16F1579 Family 16-bit PWMs with Communications
14 Pin 8 Pin 20 Pin
PIC16F1575
14KB / HEF / 1KB
PIC16F1574
7KB / HEF / 512B
8x10b ADC, 5b DAC,
2xComp, CWG, TEMP,
4x16b PWM, PPS,
EUSART
PIC16F1579
14KB / HEF / 1KB
PIC16F1578
7KB / HEF / 512B
12x10b ADC, 5b DAC,
2xComp, CWG, TEMP,
4x16b PWM, PPS,
EUSART
25
PIC16F18877 Family Block Diagram
26
Pricing:
• 8 pin – PIC16(L)F18313 PIC16(L)F18313 10ku Pricing Starting at $0.51
• 14 pin – PIC16(L)F18323, PIC16(L)F18324, PIC16(L)F18325 PIC16(L)F18323 10ku Pricing Starting at $0.55 PIC16(L)F18324 10ku Pricing Starting at $0.61 PIC16(L)F18325 10ku Pricing Starting at $0.68 PIC16(L)F18326 TBD Available CQ3 2015
• 20 pin – PIC16(L)F18344, PIC16(L)F18345 PIC16(L)F18344 10ku Pricing Starting at $0.67 PIC16(L)F18345 10ku Pricing Starting at $0.73 PIC16(L)F18346 TBD Available CQ3 2015
Collateral:
• PIC16(L)F183XX Product Brief now • PIC16(L)F183XX Sell Sheet available now • PIC16(L)F18313/23 Data Sheets available now • PIC16(L)F18324/44 Data Sheets available July 31, 2015 • PIC16(L)F18325/45 Data Sheets available now • PIC16(L)F18326/46 Data Sheets available CQ1 2016
Planned Availability:
• PIC16(L)F18313/23 – Samples: Now; RTP: Now
• PIC16(L)F18324/44 – Samples: Now; RTP: July 31, 2015
• PIC16(L)F18325/45 – Samples: Now; RTP: July 26, 2015
• PIC16(L)F18326/46 – Samples : CQ4 2015:
PIC16F18877 Family Pricing and Collateral (8 to 20 Pins)
27
PIC16F18877 Family Pricing and Collateral (28 and 40 Pins)
Pricing:
• 28 pin – PIC16(L)F18854, PIC16(L)F18855, PIC16(L)F18856, PIC16(L)F18857 PIC16(L)F18854 10ku Pricing Starting at $1.07
PIC16(L)F18855 10ku Pricing Starting at $1.14
PIC16(L)F18856 10ku Pricing Starting at $1.22
PIC16(L)F18857 10ku Pricing Starting at $1.31
• 40 pin – PIC16(L)F18875, PIC16(L)F18876, PIC16(L)F18877
PIC16(L)F18875 10ku Pricing Starting at $1.22
PIC16(L)F18876 10ku Pricing Starting at $1.30
PIC16(L)F18877 10ku Pricing Starting at $1.46
Collateral:
• PIC16(L)F188XX Product Brief now
• PIC16(L)F188XX Sell Sheet will be available in CQ3’15
• PIC16(L)F188XX Data Sheets will be available in Jul’15
Availability:
• PIC16(L)F18855/75 – Samples: July 2015; RTP: Aug. 2015
• PIC16(L)F18856/76 – Samples: CQ4 2015; RTP: CQ1 2016
• PIC16(L)F18857/77 – Samples: CQ4 2015; RTP: CQ1 2016
• PIC16(L)F18854 – Samples: CQ4 2015; RTP: CQ1 2016
28
PIC16F18346
28KB / 256B EE / 2KB
PIC16F18326
28KB / 256B EE / 2KB
PIC16F18313
3.5KB / 256B EE / 256B
5x10b ADC, 5b DAC,
2xComp, 2xCCP,
2xPWM, CWG, NCO,
DSM, 2xCLC, PPS,
IDLE/DOZE, PMD,
TEMP, SPI/I2C, EUSART
PIC16F18325
14KB / 256B EE / 1KB
2xCWG, 4xCCP, 4xCLC,
2x(SPI/I2C), EUSART
PIC16F18324
7KB / 256B EE / 512B
2xCWG, 4xCCP, 4xCLC
PIC16F18323
3.5KB / 256B EE / 256B
11x10b ADC, 5b DAC,
2xComp, 2xCCP,
2xPWM, CWG, NCO,
DSM, 2xCLC, PPS,
IDLE/DOZE, PMD,
TEMP, SPI/I2C, EUSART
PIC16F18345
14KB / 256B EE / 1KB
2xCWG, 2x(SPI/I2C)
PIC16F18344
7KB / 256B EE / 512B
17x10b ADC, 5b DAC,
2xComp,
2xCWG,4xCCP,
2xPWM, CWG, NCO,
DSM, 4xCLC, PPS,
IDLE/DOZE, PMD,
TEMP, SPI/I2C, EUSART
Fe
atu
res
& M
em
ory
PIC16(L)F183XX
Feature Rich & General Purpose
14 Pin 8 Pin 20 Pin
29
Featu
res &
Mem
ory
PIC16(L)F188XX Feature Rich, General Purpose & Safety Critical
28 Pin 40 Pin
PIC16F18857
56KB / 256B EE / 4KB
PIC16F18856
28KB / 256B EE / 2KB
PIC16F18855
14KB / 256B EE / 1KB
PIC16F18854
7KB / 256B EE / 512B
24x10b ADC2, 5b DAC,
2xComp, DSM, 2xPWM,
5xCCP, 3xCWG, NCO,
3x16TMR, 2xSMT,
3xHLT, WWDT, TEMP,
CRC/SCAN, 4xCLC, ZCD,
PPS, IDLE/DOZE, PMD,
EUSART, 2x(SPI/I2C)
PIC16F18877
56KB / 256B EE / 4KB
PIC16F18876
28KB / 256B EE / 2KB
PIC16F18875
14KB / 256B EE / 1KB
35x10b ADC2, 5b DAC,
2xComp, DSM, 2xPWM,
5xCCP, 3xCWG, NCO,
3x16TMR, 2xSMT,
3xHLT, WWDT, TEMP,
CRC/SCAN, 4xCLC, ZCD,
PPS, IDLE/DOZE, PMD,
EUSART, 2x(SPI/I2C)
30
Family Details
31
PIC16F1579 Family Feature Set
32
3 x 3 x 0.9 mm
(DFN)
6 x 4.9 x 1.75 mm
(SOIC)
60%
reduction
50%
reduction 4.9 x 3 x 1 mm
(MSOP)
PIC16F1579 Family Package Info
39%
reduction
19 x 7.9 x 5.3 mm
(PDIP)
26 x 7.9 x 5.3 mm
(PDIP)
12.8 x 10.3 x 2.65 mm
(SOIC) 8.7 x 6 x 1.75 mm
(SOIC)
4 x 4 x 0.5 mm
(UQFN)
5 x 6.4 x 1.2 mm
(TSSOP) 7.2 x 7.8 x 2 mm
(SSOP)
35%
reduction
40%
reduction 70%
reduction
72%
reduction
50%
Lower profile
9.3 x 7.9 x 5.3 mm
(PDIP)
8-pin Package Options & Footprint
PIC12(L)F1571/2
14-pin Package Options & Footprint
PIC16(L)F1574/5
20-pin Package Options & Footprint
PIC16(L)F1578/9
4 x 4 x 0.5 mm
(UQFN)
33
PIC16F18877 Family Feature Set
34
4.9 x 6 x 1.75 mm
(SOIC)
9.3 x 7.9 x 5.3 mm
(PDIP)
8-pin Package Options & Footprint
PIC16(L)F18313
60%
reduction
70%
reduction
PIC16(L)F183XX Package Info
14-pin Package Options & Footprint
PIC16(L)F18323/4/5
20-pin Package Options & Footprint
PIC16(L)F18344/5
19 x 7.9 x 5.3 mm
(PDIP)
26 x 7.9 x 5.3 mm
(PDIP)
12.8 x 10.3 x 2.65 mm
(SOIC) 8.7 x 6 x 1.75 mm
(SOIC)
4 x 4 x 0.5 mm
(UQFN)
5 x 6.4 x 1.2 mm
(TSSOP) 7.2 x 7.8 x 2 mm
(SSOP)
35%
reduction
40%
reduction 70%
reduction
72%
reduction
50%
Lower profile
3 x 3 x 0.5 mm
(UDFN)
4 x 4 x 0.5 mm
(UQFN)
35
10.2 x 7.8 x 1.75 mm
(SSOP)
6 x 6 x 0.9 mm
(QFN)
17.9 x 10.3 x 2.1 mm
(SOIC)
34.3 x 7.4 x 5.1 mm
(SPDIP)
28-pin Package Options & Footprint PIC16(L)F18854/5/6/7
27%
reduction
57%
reduction
55%
reduction 8 x 8 x 0.9 mm
(QFN)
12 x 12 x 1 mm
(TQFP)
56%
reduction
81%
reduction
40/44-pin Package Options & Footprint PIC16(L)F18875/6/7
50.3 x 15 x 6.35 mm
(PDIP)
5 x 5 x 0.5 mm
(UQFN)
56%
reduction 5 x 5 x 0.5 mm
(UQFN)
61%
reduction
PIC16(L)F188XX Package Info
36
PIC16F1579 Family Peripheral Details
37
16-bit Pulse Width Modulation (PWM)
Period, Phase, Duty Cycle and Offset control
PWM Modes
Standard
Center Aligned
Configurable Set/toggle on timer match
Flexibility when using multiple PWM Outputs
Use of offset registers to stagger outputs
Selectable internal or external clock source
Dedicated 16-bit Time Base
Four compare modes
Useable as a general purpose 16-bit timer/counter
Paired with the DSM to create LED dimming engine
Benefits Reduced EMI using Center Aligned
Intelligent PWM Reconfiguration
Use interrupts to trigger events
Precise duty cycle control
Smaller step size
Smoother transitions
Core-independent operation
Example Uses Motor Control
Switch Mode Power Supplies (SMPS)
Intelligent LED Lighting
Color mixing & Smooth Dimming
16-bit Pulse Width Modulation High Resolution with Independent Time Base
16-bit PWM
16-bit
PWM
16-bit
Timer
Compare
Interrupts
Prescaler
(1/2/4/8/16/
32/64/128)
Clock Source
38
Complementary Waveform Generator (CWG) Adds synchronous output to selectable input sources
Up to (4) steerable outputs
Steerable complementary output pair
Auto shutdown & restart
Polarity control
Dead band with independent rise & fall control
Selectable internal or external clock source
Internal or external input sources
2 1
Complementary Waveform Generator Waveform Generation from Selectable Input Sources
Benefits Synchronizes switching frequency
Simplified Drive Topologies: H-Bridge, Push/Pull
Faster response to fault conditions
Minimizes effects of switching noise
Core independent operation
Operation while in low power SLEEP
Example Uses Motor control
Switch Mode Power Supplies (SMPS)
Lighting drive
Switching control
Input Source
1 2
CWG
Output
Controller
39
Peripheral Pin Select (PPS) Configure any digital peripheral to any I/O pin
Provides increased freedom & optimized use of integrated digital resources
Flexible pin function assignment
Route peripheral to multiple pins to increase current drive
Runtime configuration of pin out
Benefits Eliminates “pin overlap” for total
optimization of peripheral resources
Simplified and optimized migration
Provides layout flexibility
Example Uses Systems requiring highest signal
integrity
Migration of legacy designs
Support for new pin-out configurations
Applications that require optimized tracing & board space usage
PIC® Microcontroller VDD Vss
PPS Digital
Peripherals
Peripheral Pin Select I/O Pin Remapping of Digital Signals
40
PIC16F18877 Family Peripheral Details
41
Idle Mode CPU will stop executing instructions
Peripherals continue operating at full performance
Enables lower power consumption while still monitoring system
Doze Mode Separate control of CPU and peripheral speed
Scalable CPU and peripheral performance
Enables balance of performance vs. power consumption
Benefits Increases battery life
Decreases standby power consumption for AC powered devices
Example Uses Consumer appliances
Smoke & CO detectors
Battery-operated devices
Devices requiring low standby power
Idle & Doze Modes Scalable Performance & Power Consumption
CPU
IDLE
Peripherals CPU
DOZE
Peripherals CPU
Zzz…
42
Cyclical Redundancy Check & Scan Data Integrity Monitoring for Fault Detection
Cyclical Redundancy Check /Scan (CRC/SCAN) General purpose 2-bit to 16-bit CRC
For use with memory and communications data
Automated CRC checksum with background SCAN
Program memory
DataEE memory
Calculates CRC checksum on communications data
Configurable polynomial (all standard CRC implementations)
Corruption is detected upon checksum mismatch
All memory scan operations are controlled via software
Benefits Increased code & data integrity
Software configurable for easy updates & modifications
Eases implementation of safety standards (ex. Class B, UL, etc.)
Core independent operation
Operation while in low power SLEEP
Example Uses Dishwashers
Ovens / Microwaves
Laundry Equipment
Data logging integrity
Memory Data
Address
CRC
Communications Data
SCAN
Ch
ec
ks
um
43
Windowed Watch Dog Timer System Supervisory Circuit
Windowed Watch Dog Timer (WWDT) Detects software timing anomalies within a configurable
critical window
Supports standard watch dog timer functions
Resets the CPU if…
the WWDT overflows (standard WDT function)
the WWDT underflows
Benefits Monitors timing-critical functions
Eases implementation of safety standards (e.g., Class B, UL, etc.)
Core-independent operation
Operation while in low-power SLEEP
Example Uses Dishwashers
Ovens / microwaves
Laundry equipment
Power tools
Overflow
Normal Operation
Underflow
Time
WW
DT
Va
lue
Restart WWDT after
proper execution RESET PIC® MCU after
improper execution
44
Hardware Limit Timer Hardware Monitoring & Fault Detection
Hardware Limit Timer (HLT) Extension of 8-bit timer/counter with external reset
capabilities
Hardware monitoring for missed periodic events and fault detection (stalls, stops, etc.)
Period timer with external reset input
Flexible design
Selectable start of event trigger
Multiple modes
Seven available clock sources
Resolution of ¼ instruction cycle
Benefits Reduces code complexity
No code for detection setup
No code to manage timer
Core-independent operation
Operation while in low-power SLEEP
Example Uses Safety limit in closed-loop control
applications
Power supplies
Motor driver
PWM
Hall Effect Sensor
FE
T
Driv
ers
Example: Monitoring a motor for fault conditions
HLT
45
ADC with Computation (ADC2)
10-bit ADC with Automated Analog Signal Analysis
Analog to Digital Converter with Computation General purpose 10-bit ADC with automated post processing
Automates math functions on input signals
Averaging
Filter calculations
Threshold comparison
Oversampling
Operates in sleep mode
Benefits Accelerates common math tasks
normally done in software
Reduces time in interrupt handler
Minimizes CPU overhead and code space
Fast and efficient capacitive sense signal sequencing
Improves power efficiency
Core-independent operation
Operation while in low-power SLEEP
Example Uses Sensor interface applications
Filtering for signal conditioning
Example: Traditional ADC versus ADC with MATHPAK
Calculation via
Software ADC
Calculation via
Computation
ADC with
Computation
46
Peripheral Module Disable Eliminates Power Consumption of Unused Peripherals
Peripheral Module Disable Mode 1:
Disables unused peripherals individually
Removes peripheral from memory map
Mode 2:
Disables system clock to all peripherals
Benefits Zero power consumption from disabled
peripherals
Optimizes power consumption
Improves battery life for battery-powered applications
Reduces standby currents in AC-power applications
Example Uses Battery-powered applications
AC-powered applications requiring low standby power consumption
PIC® Microcontroller
Peripheral Peripheral
Peripheral
Peripheral
Peripheral
Peripheral
PMD
System
Clock Memory Map
47
Signal Measurement Timer 24-bit Measurement of any Digital Signal
24-bit Signal Measurement Timer (SMT) Accurate measurement of any digital signal
Period, pulse width, frequency, duration, duty cycle, time of flight, etc.
High-resolution 24-bit signal measurement
Provides relative timing measurements
Multiple interrupt sources
Period match, measure period, pulse width
(2) Data Capture interrupts
Flexible input source sources
Useable as a general purpose 24-bit timer
Useable as a custom digital protocol decoder
Benefits Code size reduction
Faster response to changing inputs
Core-independent operation
Operation while in low-power SLEEP
Example Uses Precise speed control
RPM indicators, sensors
Range finding
Protocol decode
SMT
Source Signal
Clock
48
Peripheral Pin Select (PPS) Configure any digital peripheral to any I/O pin
Provides increased freedom & optimized use of integrated digital resources
Flexible pin function assignment
Route peripheral to multiple pins, to increase current drive
Runtime configuration of pin out
Benefits Eliminates “pin overlap” for total
optimization of peripheral resources
Simplified and optimized migration
Provides layout flexibility
Example Uses Systems requiring highest signal
integrity
Migration of legacy designs
Support for new pin-out configurations
Applications that require optimized tracing & board space usage
PIC® Microcontroller VDD Vss
PPS Digital
Peripherals
Peripheral Pin Select I/O Pin Remapping of Digital Signals