Professional Documents
Culture Documents
Announcing the
PIC16(L)F161X 8-bit MCUs
PIC16(L)F161X
Closed Loop control and
Safety-Monitoring
with Core Independent
Peripherals
PIC16(L)F161X
Closed Loop control and
Reduced Code Complexity, Interrupt Latency, and Power Consumption
Safety-Monitoring
with Increased Core Performance
with Core Independent
Peripherals
Complete Core Independent calculations, with the capability to perform 16-bit math and PID
operations
Speeds math functions by performing tasks in hardware
2
NEW
CIPs
Phase angle timer, measurement and control of rotational and periodic events
Motor control, TRIAC or Capacitive Discharge Ignition (CDI) system
Allows recurring interrupts at a specific rotational or sinusoidal angle with no software setup
hassles
PIC16(L)F161X
Closed Loop control and
Safety-Monitoring
with Core Independent
Peripherals
PIC16F(L)161X
Target End Equipment & Functions
Motor Control
BLDC
Brushed DC
AC Induction
Home Appliance
System Monitoring
Fail-Safe Protection
Sensor Interfaces
TRIAC-Based Applications
Dimming Control
Blenders / Small Appliances
General-Purpose Functions
Power-Supply Control
Fan Control
PIC16(L)F161X
Block Diagram
Function Enablement
Flexible Peripheral Integration
PIC16(L)F161X
CPU
Motor Control
System & Safety Management
Memory
ADC
ADC
Capture
Capture Compare
Compare
PWM
PWM
Configurable
Configurable
Logic
Logic Cell
Cell
Comparators
Complementary
Complementary
Waveform
Waveform Generator
Generator
Math
Math
Accelerator
Accelerator
DAC
DAC
10b
10b PWM
PWM
Angular
Angular Timer
Timer
Voltage
Voltage
Reference
Reference
Human Interface
Zero
Zero Cross
Cross
Detect
Detect
Cyclical
Cyclical
Redundancy
Redundancy Check
Check
Hardware
Hardware
Limit
Limit Timer
Timer
Custom Functions
High
High Current
Current
100
100 mA
mA I/O
I/O
Windowed WDT
High
High Endurance
Endurance
Flash
Flash (Data)
(Data)
Peripheral
Peripheral Pin
Pin
Select
Select
eXtreme
eXtreme Low
Low Power
Power
XLP
XLP Technology
Technology
Signal
Signal
Measurement
Measurement Timer
Timer
mTouch
mTouch
TEMP Indicator
EUSART/LIN
EUSART/LIN
8/16/20/24-bit
8/16/20/24-bit
Timers
Timers
I22C/SPI
Function Enablement
Flexible Peripheral Integration
Application Functions
PIC16(L)F161X
CPU
Motor Control
System & Safety Management
Output & Signal Generation
Input & Sensor Interface
System Communications
Configurable
Configurable
Logic
Logic Cell
Cell
High
High Endurance
Endurance
Flash
Flash (Data)
(Data)
ADC
ADC
Capture
Capture Compare
Compare
PWM
PWM
Comparators
Complementary
Complementary
Waveform
Waveform Generator
Generator
Math
Math
Accelerator
Accelerator
DAC
DAC
10b
10b PWM
PWM
Angular
Angular Timer
Timer
eXtreme
eXtreme Low
Low Power
Power
XLP
XLP Technology
Technology
Signal
Signal
Measurement
Measurement Timer
Timer
mTouch
mTouch
Hardware
Hardware
Limit Timer
Timer
Limit
TEMP Indicator
EUSART/LIN
EUSART/LIN
Windowed
Windowed WDT
WDT
8/16/20/24-bit
8/16/20/24-bit
Timers
Timers
II22C/SPI
C/SPI
Voltage
Voltage
Reference
Reference
Human Interface
Zero
Zero Cross
Cross
Detect
Detect
Custom Functions
High
High Current
Current
100
100 mA
mA I/O
I/O
Memory
Cyclical
Cyclical
Redundancy
Redundancy Check
Check
Peripheral
Peripheral Pin
Pin
Select
Select
Function Enablement
Flexible Peripheral Integration
Application Functions
PIC16(L)F161X
CPU
Motor Control
System & Safety Management
Memory
Configurable
Configurable
Logic
Logic Cell
Cell
ADC
ADC
Capture
Capture Compare
Compare
PWM
PWM
Comparators
Complementary
Complementary
Waveform Generator
Generator
Waveform
Math
Math
Accelerator
Accelerator
Peripheral
Peripheral Pin
Pin
Select
Select
DAC
DAC
10b
10b PWM
PWM
Angular
Angular Timer
Timer
eXtreme
eXtreme Low
Low Power
Power
XLP
XLP Technology
Technology
Voltage
Voltage
Reference
Reference
Human Interface
Zero
Zero Cross
Cross
Detect
Detect
Cyclical
Cyclical
Redundancy
Redundancy Check
Check
Hardware
Hardware
Limit
Limit Timer
Timer
Custom Functions
High
High Current
Current
100
100 mA
mA I/O
I/O
Windowed
Windowed WDT
WDT
High
High Endurance
Endurance
Flash
Flash (Data)
(Data)
Signal
Signal
Measurement
Measurement Timer
Timer
mTouch
mTouch
TEMP
TEMP Indicator
Indicator
EUSART/LIN
EUSART/LIN
8/16/20/24-bit
8/16/20/24-bit
Timers
Timers
II22C/SPI
C/SPI
Function Enablement
8-bit PIC Microcontrollers
Motor
CPU
Memory
Motor Control
Capture
Capture
Compare PWM
Angular
Angular Timer
Timer
10b/16b
10b/16b PWM
PWM
Configurable
Configurable
Logic
Logic Cell
Cell
ADC
TEMP
TEMP Indicator
Indicator
DAC
DAC
Environmental
Sensors
Math
Math
Accelerator
TRIAC Control
Monitoring
Signal
Signal Measurement
Measurement
Timer
Timer
Hardware
Hardware Limit
Limit
Timer
Timer
Complementary
Complementary
Output
Output Generator
Generator
10b/16b PWM
High
High Current
Current
100mA
100mA
Zero
Zero Cross
Cross
Detect
Detect
TRIAC
AC Power
Zero Cross
Detect
Detect
Windowed
Windowed
WDT
WDT
XLP Technology
PPS
10
Advantages of
Core Independent Peripherals
General purpose MATH & PID functions
MULTIPLY, ADD, ACCUMULATE functions
8-bit/16-bit values with 35-bit result
Four Operation Modes
Multiply and Accumulate (MAC)
Add and Multiply
Simple Multiplier
Signed & un-signed multiplies
Programmable PID Controller
16-bit PID function based on configurable
Kp, Ki, Kd constants with a 34-bit result
Benefits
Execution Time
MathACC
11
Angular Timer
Demonstration Platform
PIC16F161X Angular Timer Demonstration
The PIC MCU uses its on-chip Angular Timer to maintain a precise and
consistent location for the displayed image, making automatic
adjustments as the propeller slows to a halt.
Angular Timer offers a latency-free way to identify any angle-of-rotation,
regardless of speed or acceleration.
Hardware-based solution reduces power consumption, increases
system performance, and frees the CPU to perform the task of driving
the LED array.
PIC16F1619 Controlled
Powered via:
2 x AAA
www.microchip.com/angtmrdemo
12
Advantages of
Core Independent Peripherals
225 s
(Instruction cycles)
Execution Time
~900
Instruction
Cycles
0.75 s
3
Instruction Cycles
Improving Performance
W/O
Angular Tmr
Angular Tmr
Math
Free
L
E
D
L
E
D
98%
ime
c
Cy le T
SAVING
Math
L
E
D
Free
L
E
D
Cycle Time
PIC16(L)F161X Product Family Introduction
13
PIC16(L)F161X
Development Tools
Development Board
14
PIC16(L)F161X
Summary
15
Thank you!
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
Features/Memory
PIC12F1612
3.5KB / HEF / 256B
4x10b ADC, 8b DAC,
Comp, 2xCCP, CWG,
3xHLT, 2xSMT, WWDT,
CRC/SCAN, ZCD
8-pin
PIC16(L)F161X Product Family Introduction
PIC16F1615
14KB / HEF / 1KB
4xCLC
PIC16F1619
14KB / HEF / 1KB
4xCLC
PIC16F1614
7KB / HEF / 512B
8x10b ADC, 8b DAC,
2xComp, 2xCCP, 2xPWM,
CWG, 3x16TMR, 3xHLT,
2xSMT, AngTMR, WWDT,
CRC/SCAN, MathACC,
2xCLC, ZCD, PPS,
2x100mA I/O, SPI/I22C,
EUSART
PIC16F1618
7KB / HEF / 512B
12x10b ADC, 8b DAC,
2xComp, 2xCCP, 2xPWM,
CWG, 3x16TMR, 3xHLT,
2xSMT, AngTMR, WWDT,
CRC/SCAN, MathACC,
2xCLC, ZCD, PPS,
2x100mA I/O, SPI/I22C,
EUSART
PIC16F1613
3.5KB / HEF / 256B
8x10b ADC, 8b DAC,
2xComp, 2xCCP, CWG,
3xHLT, 2xSMT, WWDT,
CRC/SCAN, ZCD
14-pin
20-pin
18
PIC16(L)F161X
Pricing and Availability
Pricing:
Packages:
8 pin PIC12(L)F1612
Availability:
www.microchip.com/PIC16F161X
PIC16(L)F161X Product Family Introduction
19
Angular Timer
Automatically Converts Timed-Based Events to Degrees
Angular Timer (AngTMR)
Benefits
Example Uses
Increased accuracy
Improved performance
Reduced code size
Core-independent operation
Operation while in low power SLEEP
20
Math Accelerator
Hardware Accelerated Math Functions
Math Accelerator (MathACC)
Benefits
Simple Multiplier
8-/16-bit
Value
MathACC
aa
aa +
+ (b
(b xx c)
c)
Example Uses
aa +
+ bb
MAC
Motor control
Digital filter
Sensor & temperature control
aa xx (-b)
(-b)
KKppe(t)
e(t) +
+ KKiitt e(T)dT
e(T)dT +
+ KKddd/dt
d/dt e(t)
e(t)
8-/16-bit
Value
aa
aa +
+ (b
(b xx c)
c)
(-b)
PID aa xx (-b)
KK e(t)
e(t) +
+ KK e(T)dT
e(T)dT +
+ KK d/dt
d/dt e(t)
e(t)
pp
ii
tt
aa +
+ bb
34-/35-bit
Result
dd
21
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
Example Uses
SCAN
Memory
Address
Address
Data
Data
Communications
Checksum
CRC
22
Benefits
Example Uses
Dishwashers
Ovens / microwaves
Laundry equipment
Power tools
WWDT Value
Overflow
Normal Operation
Underflow
Time
RESET PIC MCU after
improper execution
23
Benefits
Multiple modes
Example Uses
Power supplies
Motor driver
FET
Drivers
PWM
HLT
24
Benefits
Code-size reduction
Faster response to changing inputs
Core-independent operation
Operation while in low-power SLEEP
Example Uses
SMT
Source
Source Signal
Signal
Signal
Measurement
Clock
Clock
25
Benefits
Example Uses
VDD
PIC Microcontroller
Vss
PPS
Digital
Peripherals
26
Benefits
Example Uses
TRIAC control
Synchronized switching of relays
Reduces external components
Minimizes PCB real estate
Core-independent operation
Operation while in low-power SLEEP
AC Power Supplies
Timing Control
White Goods
TRIAC Control
TRIAC Dimming
27
High-Endurance Flash
Non-Volatile Data Storage without EEPROM
High-Endurance Flash (HEF)
PIC Microcontroller
Benefits
Data logging
Look-up tables
Configuration & calibration settings
HEF
Reads
Example Uses
Writes
Non-volatile
Application
Data
28