PIC16F161X Press Presentation November 2014
PIC16F161X Press Presentation November 2014
Announcing the
PIC16(L)F161X 8-bit MCUs
PIC16(L)F161X
Closed Loop control and Safety-Monitoring
with Core Independent Peripherals
Advanced Digital and Analog Integration in a Small Form Factor
• Family contains 6 product with up to 14KB of Flash and 1KB of RAM
• 8-, 14- and 20-pin packages
• 10-bit ADC (up to 28 ch), 8-bit DAC, 2x Comparators, 2 x 10-bit PWMs
Math
Accelerator
TRIAC Control
Complementary
TRIAC
10b/16b PWM
Monitoring Output Generator
Execution Time
• Programmable PID Controller 75 μs
• 16-bit PID function based on configurable
Kp, Ki, Kd constants with a 34-bit result 1.75 μs
~300
Instruction 7
Benefits Cycles Instruction Cycles
• Speeds up math performance
• Reduces code size
• Accelerates PID control W/O
• Core independent operation MathACC MathACC
• PIC16F1619 Controlled
• Uses integrated peripherals, including:
• Angular Timer – Timing measurement
• ADC – Sensor
• I/O Pins – Driving LEDs directly
• Sensor
• Initiates timing activities
• 12 – LEDS
Powered via:
• 2 x AAA www.microchip.com/angtmrdemo
PIC16(L)F161X Product Family Introduction 12
Advantages of
Core Independent Peripherals
225 μs Off-loading from the CPU
Reduces instruction cycles
Execution Time
(Instruction cycles)
L L
Math E Math E
CPU – w/o AngTmr D D
L L
CPU – w/AngTmr Free E Free E
D D
Cycle Time
PIC16(L)F161X Product Family Introduction 13
PIC16(L)F161X
Development Tools
• Development Board
• PICkit™ 3 Starter Kit (DV164130)
• 8-bit Low Pin Count Dev Kit (DM164130-9)
MPLAB® Code Configurator: (available in 2.10: expected Dec’14) PICkit 3 Starter Kit (DV164130)
• Generates seamless, easy to understand Drivers and Initializers
that can be inserted into your project
• Enables, configures and utilizes a rich set of peripherals across many of
Microchip’s most popular PIC® microcontrollers
• Generated C code can be easily modified and debugged
Note: The Microchip name and logo, PIC, MPLAB and mTouch are registered trademarks of Microchip Technology
Incorporated in the U.S.A., and other countries. All are trademark of Microchip Technology Inc. in the U.S.A., and other
countries. All other trademarks mentioned herein are the property of their respective companies.
PIC16(L)F161X
Back-up
PIC16(L)F161X
eXtreme Low Power 8-bit MCUs with Core Independent Peripherals
PIC16F1615 PIC16F1619
14KB / HEF / 1KB 14KB / HEF / 1KB
4xCLC 4xCLC
PIC16F1614 PIC16F1618
7KB / HEF / 512B 7KB / HEF / 512B
Features/Memory
PIC12F1612 PIC16F1613
3.5KB / HEF / 256B 3.5KB / HEF / 256B
4x10b ADC, 8b DAC, 8x10b ADC, 8b DAC,
Comp, 2xCCP, CWG, 2xComp, 2xCCP, CWG,
3xHLT, 2xSMT, WWDT, 3xHLT, 2xSMT, WWDT,
CRC/SCAN, ZCD CRC/SCAN, ZCD
Packages:
• 8 pin – PIC12(L)F1612
• PDIP, SOIC, DFN, UDFN
• 14 pin – PIC16(L)F1613, 16(L)F1614 & 16(L)F1615
• PDIP, SOIC, TSSOP, QFN, UQFN
• 20 pin – PIC16(L)F1618 & 16(L)F1619
• PDIP, SOIC, SSOP, QFN,UQFN
Availability:
• PIC16F161X variants samples Now and Volume in Jan’15
www.microchip.com/PIC16F161X
PIC16(L)F161X Product Family Introduction 19
Angular Timer
Automatically Converts Timed-Based Events to Degrees
Angular Timer (AngTMR) Benefits
Automatically provides phase angle conversion for Increased accuracy
control of rotational & periodic events Improved performance
e.g. Motor, AC Mains, TRIAC, etc. Reduced code size
Converts time-based signals to degrees Core-independent operation
Generates interrupts based on angles Operation while in low power SLEEP
Detects missed events
Simplified code development
Program in terms of degrees Example Uses
Automatically adjusts for frequency changes Motors (Electric & Internal Combustion)
Simplifies math required Dishwashers
Washer & Dryers
Blenders
Lighting
MathACC
a → a + (b x c) a+b a x (-b)
Kpe(t) + Ki ∫t e(T)dT + Kd d/dt e(t)
a → a + (b x c) a+b a x (-b)
Kpe(t) + Ki ∫t e(T)dT + Kd d/dt e(t)
CRC
Checksum
Overflow
WWDT Value
Normal Operation
Underflow
Time
Restart WWDT after
proper execution RESET PIC® MCU after
improper execution
PIC16(L)F161X Product Family Introduction 23
Hardware Limit Timer
Hardware Monitoring & Fault Detection
Hardware Limit Timer (HLT) Benefits
Hardware monitoring for missed periodic events and Reduces code complexity
fault detection (stalls, stops, etc.) No code for detection set-up
Period timer with external reset input No code to manage timer
Flexible design Core independent operation
Selectable start of event trigger Operation while in low-power SLEEP
Multiple modes
Seven available clock sources Example Uses
Resolution of ¼ instruction cycle Safety limit in closed-loop control
applications
Useable as a general purpose 8-bit timer/counter with
external reset capabilities Power supplies
Motor driver
Drivers
FET
HLT PWM
SMT
Source Signal
Clock
PPS
Digital
Peripherals
Example Uses
Data logging
Look-up tables
Configuration & calibration settings
Non-volatile
Application
Data