MCU8 Quarterly Update CQ2'13

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 227

MCU8 Quarterly Update

C2Q’13
Corporate Overview
 Leading provider of:

High-performance, field-programmable RISC Microcontrollers
and Digital Signal Controllers

Analog and Interface products

Non-volatile EEPROM and Flash Memory products

Flash IP solutions
 ~ $1.4 Billion revenue
 More than 7,000 employees
 Headquartered near Phoenix
in Chandler, AZ

2
Microchip’s Foundation:
Products and Technology
 45 Fully Staffed Product Development Pipelines from
9 Different Divisions
 Low Power (XLP Gold Standard)
 Connectivity (CAN, LIN, USB, WiFi, Zigbee, MiWi, IrDA,
Ethernet, EUSART, I2C, SPI, UNIO, RS-485)
 Output Control (PWM’s, ECCP, CWG, high current I/O’s)
 HMI (Buttons, Sliders, Proximity Detect, Touch Screens)
 Graphics/ Display (LCD, OLED, xVGA)
 Development Tools
 Best in Class Software & Hardware Compatible
Platform
3
Corporate Net Sales Growth
FQ4 Forecast
1700 89 consecutive quarters of profitability
1600
1500
1400
1300
1200
$ Million

1100
1000
900
800
700
600
500
400
300
200
100
0
FY93 FY94 FY95 FY96 FY97 FY98 FY99 FY00 FY01 FY02 FY03 FY04 FY05 FY06 FY07 FY08 FY09 FY10 FY11 FY12 FY13

4
MCU Product Portfolio Growth
1000
32-bit 16-bit 8-bit
900

800
Only
700
Best Unified
Migration Development
600 Story! Tools
500 Environment!
400

300

200

100

0
1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012

Long product lifetimes – not a single product phased out!

5
8-bit PIC® MCUs
Value Proposition
 Wide range of footprint and memory options
• 1000+ 8-bit PIC® MCUs in our portfolio
• Performance, memory, and cost points to suit any application
 Wide operating voltage range
• 1.8-5V available on many 8-bit PIC MCUs!
• Sub-volt capability via companion chips
 eXtreme Low Power consumption
• Industry’s lowest Sleep and Active Mode Currents for longest battery life
 Core Independent Peripherals
• Enable closed-loop control with ZERO intervention from the CPU
• Designed for motor control, power supplies, lighting, and battery charging
 On-board Intelligent Analog
• Op Amps, Comparators, ADCs & specialized peripherals across our portfolio
• Internal interconnects allow maximization of on-board resources

6
8-bit PIC® MCUs
Versatile Peripheral Set Supports Many Applications

Battery
Lighting
Charging

Human
Motor
Machine
Control
Interface

Power General
Supplies Purpose

Security &
Connectivity
Authentication

7
Closed-Loop Control
Applications
 Lighting
 LED/Fluorescent
 Automotive
 Flashlights
 Emergency
 Battery Charging
 CC/CV, NiCD, NiMH
 PB, NaZN, Li-Ion
 Energy Harvesting (e.g., Solar)

 Switch-Mode Power Supplies


 DC-to-DC
 AC-to-DC
 Motor Control
 Brushed/Brushless DC
 Stepper Motors
 AC Induction

8
Connectivity
Applications

 CAN / LIN
 Industrial Control
 Automotive systems
 USB
 Security dongles
 Portable handheld devices
 Remote controls
 Mice/Keyboards
 Medical devices
 Ethernet
 Thermostats
 Set-top boxes
 Wireless
 Key Fob transmitters
 Home automation

9
Human/Machine Interface
Applications
 Capacitive Touch
 Keys, Buttons, Sliders
 Door Locks
 Infotainment Systems
 Access Control
 Consumer Electronics
 Touch Screen
 Resistive or Capacitive
 ATM Machines
 Navigation Displays
 Displays
 Segmented LCD displays
 OLED Displays
 Simple Graphical Displays

10
Enabling Key Technologies:
BodyCom™Technology
 BodyCom Technology is a short-range, low-data-rate communication
solution for securely connecting to a wide range of wireless applications
 Activated by capacitively coupling to the human body, the system
communicates bi-directionally between a centralized controller and one
or more wireless mobile units
 Intra-body communication, using the human body as the transmission
medium
 Compared to existing wireless technologies:
 Lower active and standby energy usage
 Increases security through bidirectional
authentication
 Uses human body as the secure communication
channel
 Allows for simpler circuit-level designs
 BodyCom Development V1.0 Framework Supplied via free Software
Libraries for all PIC® MCUs and Development Kit
11
Quick & Easy Development
with 8-bit PIC MCUs
Programmer/Debuggers
• PICkit 3
• MPLAB ICD3
• MPLAB Real ICE

IDE/Compiler
• MPLAB X IDE
• MPLAB XC8 Compiler

Development Hardware
• Starter Kits
• Demonstration Platforms
• Reference Platforms
• Lab Kits
• Application Specific Development Kits

Free Application Libraries


• USB
• Ethernet
• Touch
…And many more!

12
What’s New In MCU8?

New 8-bit products / solutions include:


 New General Purpose MCUs
 New Core Independent Peripherals
 New MCUs with Intelligent Analog
 New Emulation Headers for Advanced Debugging
 New USB MCUs
 New Lighting & Control Solutions
 New Embedded Security Solutions
 New Human Machine Interface Solutions

13
New General Purpose 8-bit MCUs
 PIC12LF1552
 PIC18F47GT01
 PIC16F183X
 PIC16F157X
 PIC16F161X
 PIC16F527/570
 PIC16F1512/13
PIC10(L)F32x,16F(L)150x, 12LF1552
Low Pin count Enhanced & Mid-Range Core
Core Independent Peripherals
PIC16F1509
14KB / 0EE / 512B
12x10-bit A/D, 5b DAC
2x Comp, EUSART
SPI/I2C, 4x 10b PWM
4x CLC, CWG, NCO

PIC16F1508
Features/Memory

7KB / 0EE / 256B


12x10-bit A/D, 5b DAC
EUSART, SPI/I2C
2x Comp, 4x10b PWM
4x CLC, CWG, NCO
NEW
PIC10F322 PIC12LF1552 PIC16F1503
896B / 0EE / 64B 3.5KB / 0EE / 128B PIC16F1507
3.5KB / 0EE / 256B 3.5KB / 0EE / 128B
3x 8b A/D, 2x 8b PWM 4x 10-bit A/D 8x 10-bit A/D
2x Comp, SPI/I2C 12x 10-bit A/D
Mid-Range Core SPI/I2C
4x 10b PWM, 5b DAC 4x 10b PWM
CLC, CWG, NCO 2x CLC, CWG, NCO
2x CLC, CWG, NCO

PIC10F320 PIC12F1501
448B / 0EE / 64B 1.75KB / 0EE / 64B
4x 10-bit A/D
3x 8b A/D, 2x 8b PWM
1x Comp, 5b DAC
Mid-Range Core
4x 10b PWM
CLC, CWG, NCO 2x CLC, CWG, NCO

6 Pin 8 Pin 14 Pin 20 Pin


15
PIC12LF1552
Cost Effective, Compact MCU with I2C

● General Purpose 8-bit MCU


● Smallest and Lowest Cost PIC® MCU with I2C
● 8-pins
● 2 x 3 UDFN
● Four ADC channels
● 10-bit ADC with Hardware CVD* if Touch or Proximity
Sensing is required
• Automated touch sampling
• Reduced Software size
• Decreased CPU usage over previous function

*Capacitive Voltage Divider


16
PIC12LF1552
Cost Effective, Compact MCU with I2C
What problems does it solve?
 Handles multiple sensing sources in a small footprint.

1. I2C
PIC12F (8-pin) 2. 4x 10-bit ADC (Hardware CVD) PIC12LF1552

Who / What is it for?


 Low cost applications requiring sensor monitoring, or needing to control a
network of I2C devices
 Mobile applications: Several touch buttons + proximity + accelerometer
 Help a main MCU with sensor monitoring and direct I2C communication.
 Typical applications:
 Proximity detection for mobile equipment grabbing (mTouch™)
 Battery Monitoring & Charging.

 Small keypads (up to 4 keys) for home appliances, remote controls

 Automotive: Seat-belt state detection, small console control pads

17
PIC12F1552
Block Diagram

Low Power Performance


BOR, LPBOR, POR, WDT

Program Memory
CPU
3.5 KB (2 Kw) Instruction Set: 49
Internal Oscillator
Instruction Length: 14-bit
Up to 32 MHz
Self Erase/Write Flash

Hardware Call Stack SRAM


16 call levels 256 Bytes

ADC (10-bit) Fixed Voltage MSSP Timers


CVD Reference I2C/SPI 1 x 8-bit
5 channels

18
PIC12LF1552 Positioning
Gain:
Gain:
•• Memory
Memory (x2
(x2 // x4)
x4)
•• Hardware CVD
Hardware CVD PIC12F1503
PIC12F1503
•• I2C
I2C
•• 32
32 MHz
MHz
Loss:
Loss:
Relative Features/Memory

•• Peripherals
Peripherals
•• LF
LF operation
operation only
only

Gain:
Gain:
PIC12F1501
PIC12F1501
•• XLP
XLP
•• 32
32 MHz
MHz
•• Hardware
Hardware CVD
CVD PIC12LF1552
PIC12LF1552
•• Memory
Memory (code: x2,x1/data:
(code: x2,x1/data: x4,x2)
x4,x2) Gain:
Gain:
•• Communication
Communication (I2C)
(I2C) •• Hardware
Hardware CVD
CVD
Loss:
Loss: •• RAM (x2)
RAM (x2)
•• Peripherals
Peripherals •• Smaller
Smaller footprint
footprint
•• LF
LF operation
operation only
only Loss:
Loss:
•• Peripherals
Peripherals
PIC12F615/617
PIC12F615/617 •• ADC
ADC Channels
Channels
•• LF
LF operation only
operation only

Relative Pricing
19
ADC with Hardware CVD Support

 ADC Control Logic


 Significantly reduce Code size
 Decrease CPU usage

 Additional Sample & Hold capacitance up to 28pF


 Flexibility to implement bigger sensor

 Pre-charge and Acquisition Timing Control


 Allow for Maximum Sensitivity

 Double Sampling Conversion


 Pseudo Differential mode for noise rejection

 Guard Ring I/Os


 Improve sensitivity and noise immunity

20
PIC12LF1552
Application Examples
 General Purpose Applications
 Battery chargers
mTouch™
mTouch™
 Smoke detectors
 Remote controls
 Capacitive Touch Keys & Sliders
 Proximity Sensors
 Detect metal presence
 Level Sensing (Water/Humidity/Pressure)
 Sensors measurements

21
PIC12LF1552 Demo Board

Real
RealTime
TimeClock
Clock
RTCC
RTCC

LCD
LCD
22 xx 16
16

Ambient
AmbientTemperature
Temperature

Bus
I2CBus
Probe
Probe

I2C
22 pins
pins

PIC12LF1255
CPU
• Real-Time Button Shift 8-pins

• Date and Time

mTouch
mTouch

pins
Ambient Temperature (ºC & ºF)

44pins
• 2 x AAA Battery Powered
4-Key
4-Key
Touchpad
Touchpad

22
Development Support

Demonstration Board
• Available 2Q13
PG164130
DV164035
Programmer/Debuggers
• PICkit 3 (PG164130)
• MPLAB ICD3 (DV164035)
• MPLAB PM3 (DV007004)

IDE/Compiler
• MPLAB X IDE
• MPLAB XC8 Compiler

23
PIC18(L)F2x/4xGT01
Highest Performance/Largest Memory
Cost Effective
All
!
NEW
Samples: CQ1’14
Production: CQ2’14

PIC18F27GT01 PIC18F47GT01
128KB / 0EE / 8KB 128KB / 0EE / 8KB
17x12b ADC, 3x5b DAC 28x12b ADC, 3x5b DAC
2x EUSART, 2x SPI/I2C 2x EUSART, 2x SPI/I2C
Features/Memory

3x Comp, 3x CCP, PPS 3x Comp, 3x CCP, PPS


8x16b PWM, RTCC, CTMU 8x16b PWM, RTCC, CTMU
8xCLC,3x NCO, 3xCWG 8xCLC,3x NCO, 3xCWG

PIC18F26GT01 PIC18F46GT01
64KB / 0EE / 8KB 64KB / 0EE / 8KB
17x12b ADC, 3x5b DAC 28x12b ADC, 3x5b DAC
2x EUSART, 2x SPI/I2C 2x EUSART, 2x SPI/I2C
3x Comp, 3x CCP, PPS 3x Comp, 3x CCP, PPS
8x16b PWM, RTCC, CTMU 8x16b PWM, RTCC, CTMU
8xCLC,3x NCO, 3xCWG 8xCLC,3x NCO, 3xCWG

PIC18F25GT01 PIC18F45GT01
32KB / 0EE / 4KB 32KB / 0EE / 4KB
17x12b ADC, 3x5b DAC 28x12b ADC, 3x5b DAC
2x EUSART, 2x SPI/I2C 2x EUSART, 2x SPI/I2C
3x Comp, 3x CCP, PPS 3x Comp, 3x CCP, PPS
8x16b PWM, RTCC, CTMU 8x16b PWM, RTCC, CTMU
8xCLC,3x NCO, 3xCWG 8xCLC,3x NCO, 3xCWG

28 Pin 40 Pin
24
PIC18 “GT” Family
Value Proposition
 High Level of Integration Lowers BOM
 Flexible Intelligence (NCO, CWG, CLC, CTMU, PPS)
 Debut PIC18 family with Core Independent Peripherals
 Intelligent Analog (12-bit ADC, Comparators, 5-bit DAC)
 Design Flexibility with Large Memory
 Up to 8KB RAM / 128KB Flash

 More Efficient Development


 Migration Path for Legacy PIC16/18 based Designs
 High Benefit/Cost Ratio
 Under $0.60 in Volume
25
PIC18 “GT” Family
Block Diagram

80MHz Internal
Oscillator

26
PIC18 “GT” Family
Low Cost PIC16/18 Migration Path
PIC18FxxJ94
32 - 128KB / 0EE / 4KB
24x12-bit A/D, 3x Comp
4xEUSART 2xSPI/I2C
10xPWM, RTCC,CTMU
PIC18F47J13 Clk Recov, PPS Lite
64-128KB / 0EE / 4KB 224-480 LCD
28 - 44 pins Gain: NCO, CWG,
PPS, CTMU, RTCC, CLC, More RAM, 20%
3V, 12-bit ADC, XLP more MIPS, 2x more
ADC channels , ~1/3
Lower Price
Price

Loss: XLP Gain: NCO, CWG, CLC,


More RAM, ~1/2 Price
PIC18F46K22
Loss: USB & LCD
8-64KB / 512B-4KB /
256B-1KB
28 - 44 pins
5V, XLP
PIC18F4xGT01
32-128KB / 0EE / 4-8KB
Gain: NCO, CWG, CLC, 2x EUSART, 2x SPI/I2C
More Flash/RAM, PPS, 20% 28x 12b ADC, 3x 5b DAC
more MIPS, More CCPs & 3xComp, 3xCCP , 3x NCO
Comparators, ~1/5 Lower 3xCWG, 8xCLC, 8xPWM
Price RTCC, CTMU, PPS
Loss: EE memory, XLP, 5V

Peripheral and Memory Integration

27
PIC18 “GT” Family
Application Examples
 Alarm Systems
 Cargo Tracking
 Smart Card Reader
 Metering
 White Goods
 Sensor applications
 HVAC Controls
 Electronic Door Locks
Touch sensing applications
 Automotive applications
 Motor Control applications
 General Purpose applications
28
PIC16F183X
Full-Featured Enhanced Mid-Range
Low Pin Count

Samples: CQ4’13
Production: CQ1’14
Features/Memory

PIC12F1832
All
7KB / 256EE / 256B !
5x 10-bit A/D, 1x Comp NEW
5b DAC, 2x10b PWM
ducts!
2x CCP, PPS pro
0K
2x CLC, NCO, CWG t 25
Firs

PIC12F1831 PIC16F1833
3.5KB / 256EE / 256B 3.5KB / 256EE / 256B
5x 10-bit A/D, 1x Comp 11x 10-bit A/D, 2x Comp
5b DAC, 2x10b PWM 5b DAC, 2x10b PWM
2x CCP, PPS 2x CCP, PPS
2x CLC, NCO, CWG 2x CLC, NCO, CWG

8 Pin 14 Pin
29
PIC16F183X
High Feature Enhanced Mid-Range MCUs

 NEW General Purpose PIC MCU family in 8- thru 20-pins!


• Highest performance, highest feature low pin count 8-bit family
• Pin compatible with existing PIC16F182x devices
• Onboard EEPROM, Self-write FLASH, 32MHz INTOSC, Peripheral Pin Select

 Adds the latest peripherals for closed loop control


• Core Independent Peripherals – CLC, NCO, PWM + CWG
• Intelligent Analog Capability – 10b ADC, 5b DAC, fast Comparators
• PPS enables easy re-configurability of pins to suit specific customer needs

 Designed for a wide variety of applications


• eXtreme Low Power consumption in both SLEEP and Active Mode support
low power system monitoring
• Highly integrated feature set helps lower BOM cost of sense and control
applications
30
PIC16F183X Family
Next Generation, High Feature 8bit
What is it?
 Next Gen evolution of the popular PIC16F182x family

1. New 250K Process Technology


PIC16F182x 2. CLC, NCO, PWM + CWG
PIC16F183x
3. Peripheral Pin Select

Benefits:
 eXtreme Low Power in both SLEEP and Active modes
 Easy to use Mainstream Low Pin Count 8-bit MCUs with Core Independent Peripherals
 Easy Migration from legacy 8- thru 20-pin MCUs
 An excellent starting point for any new 8-bit application, including:
 Motor Control
 Power Supplies

 Industrial Communications
 White Goods & Consumer Goods
 Automotive networking
31
All PIC16F157X
NEW
! 8-bit Low-cost Mid-range Core

Samples: CQ2’13
Production: CQ3’13
Features/Memory

PIC12F1572
2KW / 0EE / 256B
4x 10b A/D, 1x Comp
1x 5b DAC, 3x 16b PWM
1x CWG, EUSART

PIC12F1571
1KW / 0EE / 128B
4x 10b A/D, 1x Comp
1x 5b DAC, 3x 16b PWM
1x CWG

8 Pin

32
PIC16F157X
Significance
 Low Cost, 8-bit MCUs with CIP and Intelligent Analog
• Three 16-bit PWMs, each with independent time bases
• Complimentary Waveform Generator (CWG)
• Four 10-bit ADCs
• 5-bit DAC
• Rail to Rail Comparator
• Starting at 1KW Flash Program Memory and 128B RAM
 16-bit PWM Resolution for Better Precision
• Ideal for Indoor/Outdoor Lighting, Interior Automotive LED
Lighting, Color Mixing and Stepper Motor Applications
• Multiple Output Modes
• Standard, Centerline, Set and Toggle Modes based on Internal
Registers all with Polarity Control
 Communication Enabled
• Integrated EUSART for LIN application support

33
PIC16F157X
What is it?
 General purpose MCUs with 16-bit PWMs and
Intelligent Analog

Benefits
 High resolution 16-bit PWMs allow for more
precise duty cycle control for smoother
transitions, thru smaller steps
 Such precise control lends itself well to LED color
mixing applications, motor control where stepper
motors are used
 Direct drive of LEDs with feedback loop options

34
Applications
 Lighting
 Indoor/Outdoor LED Lighting/Color Mixing
 Interior Automotive LED Lighting/Color Mixing

 Motor Control
 Stepper Motor Applications

 General Purpose

35
PIC16(L)F161X
8-bit Low-cost Mid-range Core

Samples: CQ3’13
Production: CQ4’13
Features/Memory

All
!
NEW

PIC12F1612 PIC16F1613
3.5KB / 0EE / 256B 3.5KB / 0EE / 256B
4x 10-bit A/D, 2x SMU 8x 10-bit A/D, 2x SMU
Class B, 2x CCP Class B, 2x CCP
8b DAC, CRC, 1x Comp 8b DAC, CRC, 2x Comp
CWG+, 2x CLC, HLT CWG+, 2x CLC, HLT

8 Pin 14 Pin
36
PIC16(L)F161X
8-bit Low-cost Mid-range Core

 8-bit MCUs with Analog & Digital Peripherals


• 10-bit ADC, 8-bit DAC, CLC, COG
• Signal Measurement Unit (SMU)
• Rail to Rail Comparators

 Added Window WDT & CRC + Memory Scan


• Helps with Class B requirement thru hardware
• Helps provide system safety

 Reduces System Complexity


• Flexibility of software configuration
• Increase overall system performance with hardware operation

37
PIC16(L)F161X
8-bit Low-cost Mid-range Core

What is it?
 Expansion family of the PIC16F61x with add digital peripherals
 Highly suitable for home appliances
 PIC12F1612 in 8-pins and PIC16F1613 in 14-pins

1. Window WDT
PIC16F61x 2. Memory Scan + CRC PIC16(L)F161x
3. 8-bit DAC
4. 2 x SMU
5. CCP/CWG/CLC
6. More RAM
Benefits:
 Addition of Window WDT & CRC combine to help with Class B requirements
 Migration path from the PIC16F61x
 For applications, like:
 Dishwashers, home appliances
 Motor & fan control
 Any General purpose applications requiring digital peripherals

38
PIC16F(L)161X
Application Examples
 Motor/Fan Control
 Sensors System Monitors
 Battery chargers
 Proximity Sensors
 Level Sensing (Water/Humidity/Pressure)
 Sensors measurements
 General Purpose Applications

39
PIC10/12/16
Low-cost Baseline Product Family

NEW
Samples: March ‘13
Production: April ‘13

PIC16F570
3KB / 64B / 132B
Features/Memory

8x 8-bit A/D, 2xComp


2x Op Amps
BOR, Interrupts
NEW 4x Stack

PIC16F505/06/26 PIC16F527
PIC12F508/09/10/19 1.5KB / 64B / 68B
1.5KB / 64B / 67-72B
0.75-1.5KB/64B/25-41B 8x 8-bit A/D, 2xComp
4x 8-bit A/D
3x 8-bit A/D, 8b Timer 2x Op Amps
8-bit Timer
Int Osc, Comp BOR, Interrupts
Int Osc, 2x Comp
4x Stack

PIC10F2xx
448-896B / 0EE /16-23B
3x 8-bit A/D
Int Osc, Comp

6/8 Pin 14 Pin 20 Pin 28 Pin

40
PIC16F527 & PIC16F570
Simple. Intelligent. Analog.
 Two New Devices in 20- and 28- pins
• Pin compatible expansion of Baseline architecture roadmap
• RAM and Flash sizes to suit a variety of cost-sensitive applications
• Prices starting at $0.47 @10KU!

 Analog-Focused Design
• MCP602-spec Op Amps on-board for low cost gain & conditioning
• 8-bit ADC and dual Comparators enable efficient signal measurement
• Enables a completely integrated Smoke & Fire detection solution

 A More Capable Baseline Architecture


• Hardware interrupt handling reduces code size and latency
• Additional enhancements to increase system performance and reliability
• Fully backward code compatible with legacy Baseline products

41
Intelligent Analog
 On-Board Op Amps
• Same specs as the popular MCP602 IC!
• 3MHz Gain-Bandwidth Product covers a wide range of performance criteria

 More ADC Channels


• 8-bit ADC with up to 8 external connections

 Rail to Rail Comparators


• Easily implement 555 Timers or relaxation oscillators

 Intelligent Internal Connections


• Comparators and Op Amps can be internally “wired” to ADC channels
• Eliminate PCB traces while increasing system robustness

42
PIC16F527/570
Baseline with Op Amps
What is it?
 Improved Baseline core products
 PIC16F527 in 20 pins and PIC16F570 in 28 pins
1. 4 level stack (vs. 2)
2. 2 Interrupts
PIC16F526/16F57 3. BOR feature PIC16F527/570
4. 8-bit ADC expanded to 8 ch. from 3

Benefits:
 Addition of two Op Amps
 Migration path from the PIC16F526 & PIC16F57
 General purpose applications requiring analog integration
 Also for applications, like:
 Smoke detectors, CO detectors

 Passive Infrared (PIR) sensors


 Any application needing Analog signal filtering & gain with intelligence (Op Amps)

43
Key Peripherals
PIC16F527 / 570 Block Diagram

New Hardware features – Internal Oscillator


High-Endurance Data flash Brown Out Reset, Interrupts
w/Self-read / write
Reliable Low Power Internal Oscillator
WDT, BOR, POR, DRT
8MHz
Program Memory
Up to 3 KB
(2 K Instructions)
CPU
12-bit Instruction
36 Total Instructions Data Memory
Baseline Core Up to 68 B
with interrupts & 1x 8-bit timer
deep stack 4-Level Deep Stack
with interrupts

(2) Comparators (2) Op Amp

8-bit ADC
8 channel 3MHz Gain Bandwidth
8 channels
8b ADC with Comparable to MCP602
0.6V ref Voltage
Reference

Integrated
Voltage Reference

44
Wide Range of Applications

 Industrial
 Smoke Detectors
 Carbon Monoxide Detectors
 Photo Sensors

 Consumer
 Electronic Toys
 E-Greeting Cards
 Disposable Medical

 Automotive
 Occupant sensing
 Sensor Nodes

45
Development Support
Programmer/Debuggers
PICkit 2
MPLAB ICD3
MPLAB Real ICE

IDE/Compiler
MPLAB X IDE
MPLAB XC8 Compiler

Development Boards
PIC16F527:
PICkit Low Pin Count Demo Board (DM164130-9)
PICDEM Lab Dev Kit (w/ PICkit 3) (DM163045)
PICDEM Mechatronics (DM163029)

PIC16F570:
PICkit 2 28-Pin Demo Board (DM164120-3)
PICDEM 2 Plus (DM163022-1)

46
PIC16F151x/2x
10/12-bit A/D, Cap Touch Channels
Hardware CVD
PIC16F1518 PIC16F1519 PIC16F1527
28KB / 0EE / 1024B 28KB / 0EE / 1024B 28KB / 0EE / 1536B
17x 10-bit A/D 28x 10-bit A/D 30x 10-bit A/D
EAUSART, SPI/I2C EAUSART, SPI/I2C 2xEAUSART, 2xSPI/I2C
2x CCP 2x CCP 10x CCP
2x 8b, 1x 16b Timers 2x 8b, 1x 16b Timers 6x 8b, 3x16b Timers

PIC16F1516 PIC16F1517 PIC16F1526


14KB / 0EE / 512B
Features/Memory

14KB / 0EE / 512B 14KB / 0EE / 768B


17x 10-bit A/D 28x 10-bit A/D 30x 10-bit A/D
EAUSART, SPI/I2C EAUSART, SPI/I2C 2xEAUSART, 2xSPI/I2C
2x CCP 2x CCP 10x CCP
2x 8b, 1x 16b Timers 2x 8b, 1x 16b Timers 6x 8b, 3x16b Timers

PIC16F1513 NEW
7KB / 0EE / 256B
17x 10-bit A/D
EAUSART, SPI/I2C
2x CCP

PIC16F1512 NEW
3.5KB / 0EE / 128
17x 10-bit A/D
EAUSART, SPI/I2C
2x CCP

28 Pin 40 Pin 64 Pin


47
PIC16F1512/13 Family
General Purpose MCU with Hardware CVD

● “Enhanced Midrange Core” MCUs in 28 pins


• C-optimized, higher code density, 16-level deep stack
• ADC, PWMs, Communications for all-around applications

● 10-bit ADC with Hardware CVD* Support


• Automated touch sampling
• Reduced Software size; Decreased CPU usage over previous
function

● eXtreme Low Power for extended battery life


• Active current: ~ 30uA/MHz
• Sleep current: ~ 20nA *Capacitive Voltage Divider

48
PIC16F1512/13 Positioning

PIC16F1933
- Reduced Memory
+ 10b ADC with Hardware CVD
Relative Features/Memory

PIC16F1516/8

+ More ADC Channels PIC16F1512/3 + More ADC Channels


+ 10b ADC with Hardware CVD + 10b ADC with Hardware CVD
+ LPBOR - LCD
+ Self-write

PIC16F722A/3A

Relative Pricing
49
ADC with Hardware CVD Support

 ADC Control Logic


 Significantly reduce Code size
 Decrease CPU usage

 Additional Sample & Hold capacitance up to 28pF


 Flexibility to implement bigger sensor

 Pre-charge and Acquisition Timing Control


 Allow for Maximum Sensitivity

 Double Sampling Conversion


 Pseudo Differential mode for noise rejection

 Guard Ring I/Os


 Improve sensitivity and noise immunity

50
PIC16F1512/13
Application Examples
 General Purpose Applications
 Battery chargers
 Smoke detectors
 Remote controls
 Capacitive Touch Keys & Sliders
 Proximity Sensors
 Detect metal presence (seatbelt On/Off)
 Level Sensing (Water/Humidity/Pressure)
 Sensors measurements

51
Development Support
PIC16F1512/13

Programmer/Debuggers
• PICkit 3 (PG164130)
• MPLAB ICD3 (DV164035)
• MPLAB PM3 (DV007004)
PG164130
DV164035 IDE/Compiler
• MPLAB X IDE
• MPLAB XC8 Compiler

Development Boards
• PICkit 28-pin Demo Board
(DM164120-3)
• F1 Evaluation Platform (DM164130-1)

DM164120-3
DM164130-1

52
Core Independent Peripherals
● Complementary Waveform Generator (CWG)
● Complementary Output Generator (COG)
● Numerically Controlled Oscillator (NCO)
● Configurable Logic Cell (CLC)
● Programmable Switch Mode Controller (PSMC)
● High Resolution PWM (HRPWM)
Core Independent Peripherals

CLC – Configurable Logic Cell


Integrated combinational & sequential logic
NCO – Numerically Controlled Oscillator
Industry’s most precise, linear, low-cost 20-bit PWM
CWG – Complementary Waveform Generator
Non-overlapping waveform generator
COG – Complementary Output Generator
Enhanced non-overlapping waveform generator
PSMC – Programmable Switch Mode Controller
Advanced, customizable high speed 16-bit PWM module
HRPWM – High Resolution PWM
>16-bit PWM capabilities utilizing CLC & NCO

54
Half Bridge Switching Circuits
Some Background Info

The Half-Bridge Switching Circuit is at the


heart of many modern electronic applications

Electric Motors
Power Supplies
Battery Chargers
LED Lighting
Digital Amplifiers

55
Half Bridge Control
MCU-based control requires a pulse and its
complement to alternately turn on and off a
transistor pair
PIC® Microcontroller

T1

T2

56
Complementary
Waveform Generator (CWG)

The CWG provides a complementary output


 Of an on-board PWM, NCO, Comparator, or Logic Cell module
 With advanced features (deadband, auto shutdown/restart)
 Zero software overhead
 On the smallest MCUs in the industry
Available on: PIC10F32X & PIC1XF150X
57
Linear Frequency Control?
 Some applications require extremely precise
frequency control
 Fluorescent and neon lights operate most efficiently at
a “specific” frequency
 Fire alarm sounders must emit tones that conform to
local regulations

58
Complimentary Output
Generator (COG)
Complementary waveforms with enhanced capabilities
 Provides non-overlapping complementary outputs
 Various input sources:
Benefits
 Comparators, PWM
 Works with multiple peripherals
 Key Features:
 Fewer components
 Blanking Control for transient filtering
 Runs up to 8MHz for better clock
 Phase Control for output delay
 Dead band control resolution
 Independent rise & fall control
 Polarity Control
 Auto Shutdown & Restart

Complementary Outputs
Input Source 2 – phase control
1 – blanking control 3 – rising edge deadband control
4 – falling edge deadband control

Comparator PWM
2
Source Out0
1
Input COG
Out1 3 4
Electrical
Transient

59
Numerically Controlled
Oscillator (NCO)
Pulse generation with true linear frequency control

● Lowest Cost precision PWM on the market


● Single Pulse mode supports tone generation
● Can be Used as a fixed duty cycle PWM
Available on: PIC10F32X & PIC1XF150X
60
NCO Example Applications
● Fluorescent & LED Lighting Control ● Motor Drivers
● Neon Lighting Control ● Radio Tuning Circuitry
● Lighting Ballast ● Class D Audio Amplifiers
● Power Supplies

PIC® Microcontroller

Bulb Current
Start-Up Current

Optimal Current
NCO CWG
Frequency
Linear Output via NCO

Frequency OUT
ADC

Ex: Fluorescent Lighting Control Steps


Using NCO to create linear frequencies for start-up and dimming control
Lower power and extend life of fluorescent bulb
61
Configurable Logic Cell
CLC – Configurable Logic Cell
Signal
• User configurable real time logic control Conditioning

• Combinational Logic Functions


Data
• AND/OR/XOR/NOT/NAND/NOR/XNOR Modulation

• State Functions / Clock


General
• D & JK Flip-flops, SR Latch Purpose
Logic

Benefits Event
Sequencing

• Increases on chip interconnection


• Reduced component count
• Asynchronous & Configurable at run time
• Saves code space (Mini-PLD)

62
CLC Example Applications
● Data Modulation ● Event Sequencing
● Power Sequencing ● Conditional Signaling
● Manchester/irDA Encoder ● General Purpose Logic
● Switch Mode Power Supply ● Customizable Circuitry
● Boost Regulator with feedback

PIC® Microcontroller

CLC1
CLC1 CLC2
CLC2
CLC2OUT
CLC1OUT
TMR2:PR2
TMR2:PR2 Match
Match

L1POL

Ex: Phase Shifted Data Modulator


Combinational and Sequential logic can easily be designed using on chip hardware

63
CLC Configuration Tool

Use “CLC Configuration Tool GUI”


for easy CLC programming
Free Download from MCU product Web pages at
http://www.microchip.com

64
Programmable Switch
Mode Controller (PSMC)
Advanced 16-bit PWM capabilities for power supplies, motor control, and lighting
 Independent 64 MHz clock source
 Blanking Control for transient filtering 1 Benefits
 Independent rising/falling output control 2  Customizable high speed 16b PWM with
 Dead band with independent rise & fall control 3 4 increased resolution and control
 Polarity Control / Auto Shutdown & Restart  Simplifies the implementation of applications
 Flexible output modes such as: motor control, lighting, and power
 Push/Pull, Pulse Skipping, 3-phase, Fixed Duty Cycle, & more supplies.

Up to six single PWM Outputs


or
Up to three Complimentary Pair Outputs
2 – Independent rising/falling output control
3 – rising edge deadband control
Input Sources 4 – falling edge deadband control
1 – blanking control

1
Comparator Out0
Source Out1 2
External Input
Electrical Out2
Transient PSMC 3 4
Out3
64 MHz Clock Out4
Clock Out5

65
High Resolution PWM
Microchip Patent

HRPWM – High Resolution PWM


• 17-bit PWM capability at high frequency
• Utilizes integrated NCO & CLC (application note available soon)
• Higher Frequency  Reduced sizing of inductors and capacitors
• Induced jitter with improved EMC performance

Input Sources HRPWM Output

Max Steps 0
System Clock
PWM
CLC NCO Variable PWM Duty
Comparator Cycle 17-bit
External Pin
Clock
Period

17-bit PWM
• Max # Steps = 217 = 131,072

66
High Resolution PWM
Resolution Comparison Example

Conventional PWM versus HRPWM

Conventional PWM HRPWM

PWM Resolution 16b variable

PWM Clock Frequency 16 MHz 16 MHz

Target Switching Frequency 500 kHz 500 kHz

Target Period Width 1 ÷ 500kHz = 2µs 1 ÷ 500kHz = 2µs

Best PWM Pulse Adjustment 1 ÷ 16MHz = 62.5ns 15.26ps **

Maximum # of Steps per Period 2µs ÷ 62.5ns = 32 2µs ÷ 15.26ps = 131,072

Effective Full Range PWM Resolution log2 32 = 5 bits log2 131,072 = 17 bits

** reference application note for calculation

67
Microchip 8-bit MCUs with
Core Independent Peripherals

8/16 bit tim ers

Availability
CWG/COG

HRPWM
EUSART
FLASH

Com p

PSM C
M SSP

PWM
RAM

PINS

NCO
ADC

DAC

USB

CLC
I/O
PIC10F320 448 64 6 4 3x8 bit 2 2/0 1 x W X NOW
PIC10F322 896 64 6 4 3x8 bit 2 2/0 1 x w X NOW
Low Pin Count

PIC12F1501 1.75K 64 8 6 4x10 bit 1 5 bit 4 2/1 2 x w X NOW


PIC16F1503 3.5K 128 14 12 8x10 bit 2 5 bit x 4 2/1 2 x w X NOW
PIC16F1507 3.5K 128 20 18 12x10 bit 2 x w X NOW
PIC16F1508 7K 256 20 18 12x10 bit 2 5 bit x x 4 2/1 4 x w x NOW
PIC16F1509 14K 512 20 18 12x10 bit 2 5 bit x x 4 2/1 4 x w X NOW

PIC16F1455 8192 1024 14 11 5x10 bit 2 5 bit x x x 2/1 w NOW


USB

PIC16F1459 8192 1024 20 17 9x10 bit 2 5 bit x x x 2/1 w NOW


3/1
PIC12F752 /
Inteligent Analog line up

HV752 1024 64 8 6 4x10 bit 2 5 bit 1 O NOW


PIC16F753 /
HV753 2048 128 14 12 8x10 bit 2 9 bit 1 3/1 O NOW
PIC16F1782 2048 256 28 25 11x12 bit 3 8 bit x x 2 2/1 2 NOW
PIC16F1783 4096 512 28 25 11x12 bit 3 8 bit x x 2 2/1 2 NOW
PIC16F1784 4096 512 44 36 14x12 bit 4 8 bit x x 3 2/1 3 Q1 '13
PIC16F1786 8192 1024 28 25 11x12 bit 4 8 bit x x 3 2/1 2 Q1 '13
PIC16F1787 8192 1024 44 36 14x12 bit 4 8 bit x x 3 2/1 3 Q1 '13
PIC16F1788 16384 2048 28 25 11x12 bit 4 8 / 3x5 x x 3 2/1 3 Q1 '13
PIC16F1789 16384 2048 44 36 14x12 bit 4 8 / 3x5 x x 3 2/1 3 Q1 '13

68
New 8-bit MCUs with
Intelligent Analog
 PIC16F178X
 PIC16F170X/1X

 PIC16F753
PIC16(L)F178X Family
Full-Featured Intelligent Analog
All
!
New PIC16F1788 PIC16F1789
28KB / 256EE / 2KB 28KB / 256EE / 2KB PIC16F1788/89
11x12-bit A/D 14x12-bit A/D Samples: NOW
4x PSMC, UART, I2C 4x PSMC, UART, I2C Production: Apr‘13
8-bit DAC, 3x 5-bit DAC 8-bit DAC, 3x 5-bit DAC
2x Op Amp, 4x Fast Comp 3x Op Amp, 4xFast Comp

PIC16F1786 PIC16F1787
Features/Memory

14KB / 256EE / 1KB 14KB / 256EE / 1KB


11x12-bit A/D 14x12-bit A/D
3x PSMC, UART, I2C 3x PSMC, UART, I2C
8-bit DAC, 2x Op Amp 8-bit DAC, 3x Op Amp
4x Fast Comp 4x Fast Comp

PIC16F1783 PIC16F1784
7KB / 256EE / 512B 7KB / 256EE / 512B
11x12-bit A/D 14x12-bit A/D
2x PSMC, UART, I2C 3x PSMC, UART, I2C
8-bit DAC, 2x Op Amp 8-bit DAC, 3x Op Amp
3x Fast Comp 4x Fast Comp

PIC16F1782
3.5KB / 256EE / 256B
11x12-bit A/D
2x PSMC, UART, I2C
8-bit DAC, 2x Op Amp
3x Fast Comp

28 Pin 40 Pin
70
Significance
PIC16F178X
 8-bit MCUs with Intelligent Analog Peripherals
• 16-bit PWM with a high degree of configurability
• Programmable Switch Mode Controller (PSMC)
• Independent Clock Source
• 12-bit ADC, 5-bit DAC, 8-bit DAC, UART, I2C
• Operational Amplifiers (Op Amps) with Rail to Rail input/output
• High Speed Rail to Rail Comparators

 Increased System Efficiency


• Lighting, Motor, and Digital Power Supply applications
• Increased system performance & BOM cost reductions

 Feature nanoWatt XLP Technology


• 50 nA Sleep and 32uA/MHz Active Current Consumption
71
PIC16(L)F178X
28/40-pin Intelligent Analog MCU Family
What is it?
 Expansion of PIC16F785 with enhanced analog peripherals
 Highly suitable for LED and Power applications
1. Enhanced Mid-Range Core
2. 32MHz Internal Oscillator
3. Op Amps with Rail to Rail input/output
PIC16F785 4. Programmable Switch Mode Controller PIC16F178X
5. Communications
6. 12-bit ADC
7. 5-bit/8-bit DAC (only 1788/89 have both)
8. Temperature Indicator

Benefits
 High level of analog integration
 Migration path for existing PIC16F785 applications
 General purpose applications requiring higher level of analog integration
 Also for applications, like:
 Power Supplies, Power Factor Correction, Motor Control, Sensors, Measurement
 LED Lighting, Lamp Ballast, Power Factor Correction, LCD backlighting
 Automotive Head & Tail Lamps, Battery Charging, Signal Conditioning
72
PIC16(L)F178X MCUs
Target Markets & Applications
 Lighting
 LED/Fluorescent
 Automotive
 Flashlights
 Emergency
 Battery Charging
 CC/CV, NiCD, NiMH
 PB, NaZN, LiIon
 Energy Harvesting (ie. Solar)

 Switch-Mode Power Supplies


 DC-to-DC
 AC-to-DC
 Motor Control
 BLDC/BDC, Stepper, AC Induction
 General Purpose

73 73
Application Example:
LED Buck Converter
16-bit PWM with dedicated 64MHz clock • High Efficiency closed-loop control with fast switching speeds
6 steerable outputs or 3 steerable output pairs
Blanking Control for transient filtering
• Cost effective integration with BOM reductions
Independent rising/falling output control • OpAmp, Voltage Reference, reduced size of inductors,
Dead band with independent rise & fall control
Polarity Control / Auto Shutdown & Restart capacitors, & resistors Synchronous Buck Regulator controlled
by PIC16F178X microcontroller for
PIC16F178X maximum efficiency
Rail – Rail 50nS
response time 64 MHz High Voltage
Fast switching
for high speed Clock MOSFET Drive Stage
frequency allows use
switching of smaller inductor &
frequency capacitor
+ PSMC
MOSFET
Comparator Programmable
Driver
Switch Mode
- Controller
Overvoltage
monitor with
PSMC auto-
shutdown
+
Comparator
Voltage divider to prevent
- FVR over-voltage of load

8b DAC with FVR 8-bit DAC Real time temperature


input @1.024V monitoring of LEDs for
equating to 4mV fail-safe operation Resistive
resolution Temperature
Sensor
10/12b ADC
System Health
Monitor: Output +
voltage, OpAmp
Rail – Rail OpAmp in Current sense and
temperature, & Gain operation allows feedback to sustain
current -
use of smaller current constant current
sense resistor for less
loss

74
Application Example:
Sensorless 3-Phase BLDC Motor
16-bit PWM with dedicated 64MHz clock • High Efficiency closed-loop control enabling higher RPMs
6 steerable outputs or 3 steerable output pairs
Blanking Control for transient filtering
• Cost effective integration with BOM reductions
Independent rising/falling output control • OpAmp, Voltage Reference, reduced size of inductors,
Dead band with independent rise & fall control
Polarity Control / Auto Shutdown & Restart capacitors, & resistors 3-phase drive controlled by PIC16F178X microcontroller with
(3) complementary pairs for maximum efficiency
PIC16F178X
Firmware control 64 MHz
of PSMC based Clock
on T1G & ADC
input
PSMC High Voltage
Programmable MOSFET
Switch Mode Drive Stage
BEMF Zero Cross Firmware
Firmware Controller
Commutation Control
Control
Sensing:
Determines the
position & speed of
the motor

Commutation
period
measurement for Voltage divider to determine
speed & position + commutation point
control
Comparator
TMR1 Gate
- 8-bit DAC
8-bit DAC Voltage
Reference for
adjustable +
commutation point OpAmp
Current sense and feedback to sustain
(RPM set point) 10/12b ADC
- constant current

10b or 12b ADC for high resolution voltage Rail – Rail OpAmp in Gain operation allows use of
measurements for over current detection smaller current sense resistor for less energy loss

75
PIC16F170X/1X Family
Cost-Optimized Intelligent Analog

Samples: CQ2’13 All ! Samples: CQ3’14


Production: CQ3’13 NEW Production: CQ4’14

PIC16F1705 PIC16F1709 PIC16F1718 PIC16F1719


14KB / 0EE / 1KB 14KB / 0EE / 1KB 28KB / 0EE / 2KB 28KB / 0EE / 2KB
8 x 10b ADC, 8b DAC 12 x 10b ADC, 8b DAC 17 x 10b ADC, 5b & 8b 28 x 10b ADC, 5b & 8b
2 x Op Amps, PPS 2 x Op Amps, PPS DAC, 2xOp Amps, ZCD DAC, 2xOp Amps, ZCD
Features/Memory

4x CLC, COG, 2xCCP 4x CLC, COG, 2xCCP, 4x CLC, 2x PWM, NCO 4x CLC, 2x PWM, NCO
SPI/I2C, EUSART, ZCD SPI/I2C, EUSART, ZCD COG, SPI/I2C,EUSART COG, SPI/I2C,EUSART
2x Comp, 2xPWM 2x Comp, 2xPWM PPS, 2xCCP, 2x Comp PPS, 2xCCP, 2x Comp

PIC16F1704 PIC16F1708 PIC16F1716 PIC16F1717


7KB / 0EE / 512B 7KB / 0EE / 512B 14KB / 0EE / 1KB 14KB / 0EE / 1KB
8 x 10b ADC, 8b DAC 12 x 10b ADC, 8b DAC 17 x 10b ADC, 5b & 8b 28 x 10b ADC, 5b & 8b
2 x Op Amps, PPS 2x Op Amps, PPS DAC, 2xOp Amps, ZCD DAC, 2xOp Amps, ZCD
2x CLC, COG, 2xCCP, 2x CLC, COG, 2xCCP, 4x CLC, 2x PWM, NCO 4x CLC, 2xPWM, NCO
SPI/I2C, EUSART, ZCD SPI/I2C, EUSART, ZCD COG, SPI/I2C,EUSART COG, SPI/I2C,EUSART
2x Comp, 2xPWM 2x Comp, 2xPWM PPS, 2xCCP, 2x Comp PPS, 2xCCP, 2x Comp

PIC16F1713
PIC16F1703 PIC16F1707 7KB / 0EE / 512B
3.5KB / 0EE / 256B 3.5KB / 0EE / 512B 17 x 10b ADC, 5b & 8b
8 x 10bADC 8 x 10b ADC DAC, 2xOp Amps, ZCD
2 x Op Amp, PPS 2 x Op Amps, PPS 4x CLC, 2x PWM, NCO
SPI/I2C, 2xCCP, ZCD SPI/I2C, 2xCCP, ZCD COG,SPI/I2C,EUSART,
PPS, 2xCCP, 2x Comp

14 Pin 20 Pin 28 Pin 40 Pin


76
Significance
PIC16F170X/1X
 Cost effective 8-bit MCUs with Intelligent Analog Peripherals
• Core Independent Peripherals
• Configurable Logic Cell (CLC)
• Numerically Controlled Oscillator (NCO)
• Complimentary Output Generator (COG)
• Peripheral Pin Select (PPS), Zero Cross Detect
• 10-bit ADC (up to 28 ch), 5-bit +/or 8-bit DAC
• Two Operational Amplifiers (Op Amps) with Rail to Rail input/output
• Up to Two High Speed Rail to Rail Comparators
• Up to 28KB Flash Program Memory, Up to 2KB RAM

 Increased System Efficiency


• Lighting, Motor, and Digital Power Supply applications
• Increased system performance & BOM cost reductions

 Feature nanoWatt XLP Technology


77
PIC16F170X/1X
Cost-Optimized Intelligent Analog

What is it?
 General purpose MCU devices with Intelligent Analog integration
 PIC161703/04/05 in 14 pins, PIC16F1708/09 in 20 pins, PIC16F1713/16/18 in 28 pins
and PIC16F1717/19 in 40 pins.
1. Op Amps
2. Complementary Output Generator (COG)
3. Peripheral Pin Select (PPS) PIC16F170x/1x
PIC16F150x
4. Zero Cross Detect
5. 10-bit ADC expanded to up to 28 ch. from 6

Benefits:
 Migration path for customers using PIC16F150x MCUs
 Reduce software size, decrease CPU usage & save BOM cost with the Complementary
Output Generator (COG) and Configurable Logic Cell (CLC) peripherals
 Integrated analog decreases system BOM
 Zero Cross Detect enables customers to track 120 VAC without exposing pins to high
voltages (to validate that their application will not damage the device)
 Suitable for a wide range of horizontal markets and application segments that require a
low cost MCU with Intelligent Analog features 78
PIC16F170X/1X Positioning
+ Configurable Logic Cell (CLC)
+ Complementary Output Generator (COG)
+ Peripheral Pin Select (PPS)
+ Zero Cross Detect
- 10b ADC instead of 12b ADC, and less ADC channels
- NO Programmable Switch Mode Controller (PSMC)
Relative Features/Memory

- Less Comparators & Op Amps


+ Op Amps PIC16F178x
+ More ADC Channels
+ Complementary Output
Generator (COG)
+ Peripheral Pin Select
(PPS)
+ Zero Cross Detect PIC16F170x
- NO Numerically
Controlled Oscillator
(NCO)
PIC16F150x + NCO
+ More ADC ch. PIC16F171x
+ More Memory
+ Additional 5b DAC
Relative Pricing
79
Zero Cross Detect
 PIC16F170x/1x are debut PIC MCUs with Zero
Cross Detect feature
 Enables customers to track 120, 230 VAC, etc.
without exposing pins to high voltages.
 Only one external component needed; 1 MΩ
resistor for 120V or 2 MΩ for 230V.
 Pin is held at constant 1 Vdc; usually pin needs to
float above and below rails, possible damaging the
device.
 Will also be considered for future 8-bit PIC MCUs.

80
Wide Range of Applications
 Consumer
 Smoke Detector
 Drill
 Electric Razor
 Home appliance

 Medical
 Blood Pressure Meter
 Glucose Meter
 Pedometer
 Lighting
 Indoor/outdoor
 Automotive lighting
 Portable Lighting
 Specialty Lighting
 Lighting Control
 General Purpose

81
PIC12F752 & PIC16F753
Low cost Mid-range Core with Intelligent Analog

Design
Samples: March ’13
Existing Production: June ‘13

PIC16F(HV)753
3.5KB/ 0EE / 128B
Features/Memory

8x 10-bit A/D
2x Fast Comp, Op Amp
9-bit DAC,CCP, COG

PIC12F(HV)752
1.75KB / 0EE / 64B
4x 10-bit A/D
2x Fast Comp,
5-bit DAC,CCP, COG

8 Pin 14 Pin
82
Significance
PIC12F752 & PIC16F753
 Intelligent Analog and Digital Peripheral Set
• 2x Fast Comparators (40 ns)
• 5-bit Digital-to-Analog Converter (Dual Range; Full and Limited)
• 9-bit Digital-to-Analog Converter (PIC16F753 only)
• Complementary Output Generator (COG)
• Self-write Flash Program Memory
• Op Amp (PIC16F753 only; based on MCP6001)

 Low Power Operation for high energy efficiency


• Active current: ~ 45uA/MHz
• Sleep current: ~ 10nA

 High Voltage Operating Option


• Internal shunt regulator - Eliminates need for external regulators
83
PIC16F(HV)753
14-pin MCU with Advanced Analog
What problems does it solve?
 Expansion of PIC12F752, with enhanced features
 Highly suitable for LED and power applications

1. 9-bit DAC
2. Op Amp
PIC12F752 3. Complementary Output Generator PIC16F(HV)753
4. Slope compensation
5. 8 Ch. 10-bit ADC
6. 2K words flash memory

Who / What is it for?


 Low cost applications requiring fast comparators, for precision output control
 Also for applications, like:
 LED lighting, lamp ballast, Power Factor Correction
 Battery monitoring & charging, Signal Conditioning

 Flyback AC-to-DC converter, low voltage DC-to-DC converter

84
Key Peripherals
PIC16F753 Block Diagram

Low active/dynamic Internal Oscillator


Emulate DataEE currents
w/Self-write Flash
Reliable Low Power Internal Oscillator
WDT, BOR, POR
Program Memory Low power sleep regulator 8MHz / 31kHz
3.5 KB
(2 K Instructions)
CPU
Self Read & Write
Capabilities 14-bit Instruction
35 Total Instructions Data Memory
Mid-range Core 128 B
with interrupts & 3x 8-bit timer
deep stack 1x 16-bit timer
8-Level Stack &
Program Counter

50nS performance
High Resolution
Voltage Steps Capture Complementary (2) High
Down to 4mV 9-bit DAC Compare Output Op Amp Performance
PWM Generator Comparators

10-bit ADC
Capture-Compare- 8 channels
Internal Connections to
PWM DAC and FVR
mTouch™ Low Voltage Voltage Slope
Capacitive Complement waveforms
Touch Sensing Detection Reference Compensation
with dead-band control &
8 channel phase shifting
10b ADC
mTouch buttons & Software LVD using a Integrated Use with SMPS power
sliders via ADC single ADC channel Voltage Reference supplies

85
Target Markets & Applications
 Indoor Lighting
 Commercial / Industrial
 Residential
 Outdoor Lighting
 Streetlamps / Parking
 Pedestrian / Traffic
 Landscape
 Automotive Lighting
 Interior Ambient
 Head & Tail Lamps
 Portable Lighting
 Flashlights / Headlamps
 Specialty Lighting
 Video Screen / Signage
 Architectural / Emergency
 Lighting Controls
 Wall mount
 Remote (PC, phone, etc.)

86
LED Buck Converter

PIC12F752 VDD

PWM
PWM
55 bit
bit COG
COG
V+
DAC
DAC Comparator

V-

current
sense (R)
Lower average current

LED current
Ex: LED Buck Converter
• 5b DAC (limited range) resolution allows for the use of smaller currentt sense resistor
• 5b DAC (limited range) eliminates need for external Op Amp
• 5b DAC (limited range) usage provides for less power consumption and better efficiency
• COG frequency is determined by frequency of PWM
• COG provides dead-band control for the synchronous switches
• COG provides blanking control to prevent transient behavior
87
Development Support
PIC12F752 & PIC16F753

PG164130
Programmer/Debuggers
• PICkit 3 (PG164130)
• MPLAB ICD3 (DV164035)
DV164035 • MPLAB PM3 (DV007004)

IDE/Compiler
• MPLAB X IDE
• MPLAB XC8 Compiler

Development Boards
DM164130-9 • PICkit 3 Low Pin Count Demo
Board (DM164130-9)

88
New Emulation Headers
for Advanced Debugging
Schedule Update
 PIC16F1 Emulation Tools (Currently in Development)
Emulator Products Beta Samples Production
16(L)F1939 Emulation Header May ’13 June ’13
16(L)F1829 Emulation Header June’13 Aug ’13
16(L)F1788/9 Emulation Header Sept ‘13 Nov ‘13

 Additional Emulation Headers Planned


 Will support future PIC16F1 and PIC18 MCU families
 Plan to sample and RTP in calendar 2014

90
Features (1 of 2)

 Instruction and/or Data Trace


 Provides full instruction execution information
 Product full data bus information
 Trace buffer
 Optional stall or resync
 Hardware Breakpoints (32 max)
 Break on program or data read/writes
 Data compare
 with bit mask
 Complex breakpoints
 Data capture

91
Features (2 of 2)

 Background Debug
 Read/write SFR’s/RAM in real time
 Update debug information on the fly
 Software Breakpoints
 Single Step
 Freeze
 Stop-watch Cycle Counter
 Extra Halt sources
 WDT
 RESET instruction
 Stack Overflow

92
Real ICE Connections

93
PICKIT3 Connections

• No instruction/data trace or data capture via PICKIT3; Only supported via Real
ICE
94
ICD3 Connections

• No Instruction/Data Trace or Data Capture with ICD3; Only supported via Real
ICE

95
New 8-bit MCUs with USB
 PIC16F145X

 PIC18F2X/4XK50
 PIC18FXXJ94
8-bit PIC MCU with
USB Device

PIC18FxxJ94
PIC18F47J53
PIC18F13/14K50 64 - 128KB / 4KB
64 - 128KB / 4KB
8-16KB / 256B / 256B 64 – 100 pins
20 pins
28 - 44 pins
XLP, LCD,
NEW
XLP, USB, CTMU,
Features/Memory

XLP, USB USB


RTCC, 3V, 12-bit ADC
Active Clock Tuning

PIC16F1455/8/9 PIC18F46J50
PIC18F87J50
14KB / 1KB 16 - 64KB / 4KB
64 -128KB / 4KB
14 - 20 pins NEW 28 - 44 pins
64-80 pins
USB XLP, USB, PPS,
USB
Active Clock Tuning CTMU, RTCC, 3V

PIC16F1454 PIC18F2x/45K50
7KB / 512B 16 - 32KB / 4KB
14 pins NEW 28-44 pins
EUSART, MI2C/SPI
NEW
XLP, USB
USB Active Clock Tuning
Active Clock Tuning

14-20 Pins 28-44 Pins 64-100 Pins


97
Introducing 15 new USB PIC
Microcontrollers
 Three new families, 15 new devices with USB
• 14 to 100 pins, with packages as small as 4mm x 4mm
• Up to 4KB of RAM, 128K Flash supports a wide range of USB classes
• Active current as low as 35uA/MHz, Sleep current as low as 20nA

 No external crystal needed!


• Internally generated USB accurate clock source
• Save as much as $0.15 by eliminating external crystal
• Saves space, lowers BOM cost, and reduces complexity

 Enabling Low Cost, Flexible Intelligence


• All families support mTouch Cap Sensing
• Easily implement low cost battery charging or high power LED drive
• High Density LCD, CTMU measurement, and RTCC available

98
USB Precision Internal
Oscillator
Three Available Clock Sources Clock
 Source 1: Main Oscillator Main Internal Tuning
 31 kHz - 48 MHz Oscillator Module
 Source 2: Low Power T1 Oscillator 31 kHz – 48 MHz Tuned to USB
 32 kHz Low-Power Crystal Option Clock
 Ultra Low Current Consumption
 Utilize SW RTC Implementation
 Source 3: External Clock Source SYSTEM External Clock
 Up to 48MHz accepted CLOCK Source
Up to 48 MHz

0.25% Accuracy via Clock Tuning Low Power


Timer 1 Oscillator
 Integrated into Main Oscillator (LPT1OSC)
Low Power
 Uses USB Start of Frame bits 32.768 kHz
Real-Time-Clock
 Can also self-tune to external Crystal (RTC)
 Accurate clock for all peripherals
Low Power Crystal

99
Three New USB Families
Fully Featured, LCD + USB

Easy Migration from Legacy USB PIC18FXXJ94


32, 64, or 128KB Flash
Our Lowest cost USB MCUs 4KB RAM
PIC18F2X/4XK50 64, 80, or 100 pins
Features/Memory

16KB or 32KB Flash Crystal Free USB 2.0


PIC16F145X 2KB RAM nanoWatt XLP
Hardware EEPROM
14KB Flash
28 or 40/ 44 pins Features:
1KB RAM
Crystal Free USB 2.0 • 480 Segment (60x8) LCD
14 or 20 pins
nanoWatt XLP • Low Power Real Time
Crystal Free USB 2.0
nanoWatt XLP Clock
Features: • RTCC Battery Backup
• CCP/ECCP • Four (4) EUSARTs
Features:
• EUSART • Two (2) I2C/SPI
• 5-bit DAC (1455/59)
• I2C/SPI Interfaces
• CWG (1455/59)
• Hardware Multiply • 3x Comparators
• EUSART
• CTMU • Up to 24x 12-bit ADC
• I2C/SPI
Touch/Measurement
• Up to 9x 10-bit ADC w/
• Up to 25x 10-bit ADC
CVD mTouch

3 New 3 New 9 New

14-20 Pins 28-44 Pins 64-100 Pins


100
Wide Range of Applications
 Industrial
 Security Panels
 Data loggers
 Printers
 Consumer
 Security Dongles
 Thermostats
 Door Locks
 Portable hand held devices
 Remote controllers
 Human Interface Devices
 Medical
 Blood Pressure Meter
 Glucose Meter
 Pedometer
 Metering
 Single phase energy meters
 Water & Gas meters

101
PIC16F145X Family
Our Lowest Cost USB MCUs to Date

Supports Full Speed PWM with Complement


USB Communication No External Crystal Generation
Required!
Enhanced Communications
Available in 14- & 20-pin Packages 102
Application Example
USB Touch Keypad
Example Device: PIC16F1459

USB-Accurate Clock CVD mTouch


Active Clock Tuning Offers low cost capacitive
eliminates crystal cost touch and proximity sensing

USB 2.0 Device


On-chip interface to PC using
supplied HID firmware

Result: A simple low cost robust human interface device


103
PIC18F2X/4XK50 Family
Easy Migration from Legacy USB Devices

Supports Full Speed PWM with Complement


USB Communication No External Crystal Generation
Required! Touch, Temperature, Humidity
Sensing and More!
Available in 28- & 40-pin Packages 104
Application Example
Temperature/ Humidity Data Logger
Example Device: PIC18F25K50

USB-Accurate Clock Software RTC


Decreases sensitivity to Years of timekeeping on a
humid environments, reduces coin cell using Low Power
system cost Timer 1

USB 2.0 Device CTMU


Easy connection to PC using Enables accurate, low cost
free HID class firmware temperature and humidity
measurement

eXtreme Low Power


World-Class low power consumption extends
battery life when disconnected from USB

Result: Longer run times, added humidity sensing, reduced size and cost
105
PIC18F97J94 Family
Fully Featured, with USB, LCD, & RTCC w/ Vbat

Low Power Real


Time Clock PWM with Complement
Generation
Touch Sensing, Temperature
Supports Full Speed Upto 480 segments
Humidity Measurement and
USB Communication of LCD display
More!
Available in 64, 80 and 100 Pin Packages 106
Application Example
Handheld Scanner
Example Device: PIC18F97J94

480 Segment LCD PWM Generation


60 x 8 Controller supports Can be used to vary laser
large, dense segmented intensity for power savings
displays PL
A CE
HO
LD
USB-Accurate Clock ER Hardware RTCC
Decreases sensitivity to IM Battery backed timekeeping
humid environments, reduces AG with low power consumption
system cost E

USB 2.0 Device Intelligent Analog


On-chip connection to PC for Supports battery charging
docking and /or charging functionality while docked
function

eXtreme Low Power


World-Class low power consumption extends
battery life when disconnected from USB

Result: Complete system on a single MCU!


107
New 8-bit USB Devices
Development Support
Programmer/Debuggers
• PICkit 3
• MPLAB ICD3
• MPLAB Real ICE

IDE/Compiler
• MPLAB X IDE
• MPLAB XC8 Compiler

Development Boards
• Low Pin Count USB Development Board
(DM164139 / DV164127)
• PICDEM FS-USB Board (DM163025-1)
• PIC18 Explorer (DM183032)

Free Application Libraries (MLA)


• HID Device Class
• CDC Device Class
• Win USB Device Class
DM163025-1 • Mass Storage Device Class
…And many more!
DM183032
18F97J94 PIM (Part # MA180034)
DV164127 18F87J94 PIM (Part # MA180033)

108
New Intelligent
Lighting & Control
Solutions
Intelligent Lighting & Control
Enabling Innovation in Lighting…
Visit us on the web at:
www.microchip.com/lighting
or email us at:
[email protected]
Intelligent Control
Communication & Networking
Lumen & Color Control
Environmental Sensing
Thermal Management
Predictive Failure & Maintenance
Day Light Harvesting & Dimming
User Interface & Control

Flexible Power Scalable Design


Flexible Topology Support Scalable Performance
High Efficiency Power Conversion • Analog, 8-, 16-, 32-bit PIC Microcontrollers
Fail Safe Monitoring • Simplified System Modifications
Energy Monitoring & Control Ease of Use
Energy Harvesting (solar, etc.) • Reference Designs & Collateral
Battery Management & Charging • Lighting Design Partner Specialists
Customizable Solutions

110
Target Markets & Applications
 Indoor Lighting
 Commercial / Industrial
 Residential
 Outdoor Lighting
 Streetlamps / Parking
 Pedestrian / Traffic
 Landscape
 Automotive Lighting
 Interior Ambient
 Head & Tail Lamps
 Portable Lighting
 Flashlights / Headlamps
 Specialty Lighting
 Video Screen / Signage
 Architectural / Emergency
 Lighting Controls
 Wall mount
 Remote (PC, phone, etc.)

112
Wall Controllers & Remotes
Legacy Control Microchip Human Interface Options Intelligent
Zone 1 Control
ON
mTouch™ – all PIC MCU families
• Capacitive buttons and sliders O
N

• Metal over Cap capability Brightness Wireless

• Projected Capacitive capability


OF
F

Segmented LCD – PIC16, PIC18, PIC24


Zone
• Up to 480 segments
• Low power display modes Zone 1 Custom
ON
• Contrast control LCD

Graphics – PIC24, PIC32, dsPIC® DSC ON


Capacitive Buttons &
• Integrated graphics controllers

DIMMING
Sliders
• Direct drive for QVGA and W-QVGA OFF

• FREE graphics library and designer tool


Non-Intelligent Lighting Control Audio – PIC18, PIC24, PIC32, dsPIC DSC
• Mechanical Interface • Speech coding libraries
• Limited Luminaire Control • MP3 & echo cancellation libraries Custom Graphical
• Lacks User Feedback Interface
ON OFF
• Lacks Communication • Made for iPod and Android accessories
Projective Capacitive
• Lacks Product Differentiation Communication – all PIC MCU families Touch Control
• Intelligent luminaire control
• DALI, DMX512, LIN/CAN, Wireless, others… Audio Speech &
• FREE code libraries Buzzer Response

113
Networking & Communication
Supported Protocols
Wired Protocols Wall Controllers
Zone 1
ON

DALI DALI
 DALI
ON

SLIDER
OF
F

 DMX512

DALI
 0-10V
Ethernet DMX
 PLC Computers Ethernet
Ethernet –
DALI/DMX/RF

DALI/DMX/RF Gateway
Gateway

 LIN
 CAN Remotes

 RS232/RS485 WiFi
WiFi –

MiWi
MiWi
 USB LS/FS Gateway
Gateway

WiFi MiWi
 Ethernet Smart Phones

Wireless – Transceivers and Modules


 WiFi® 802.11 modules, Bluetooth®
 ZigBee®, RF4CE, MiWi 802.15.4 modules
 Stacks for PIC MCUs
 Infrared/IrDA®

114
DALI
DALI – “Digital Addressable Lighting Interface”
 Designed primarily for Commercial & Industrial lighting
 2-wire connection and offers individual lamp or group
addressability in a bus configuration

FREE DALI Firmware Stack


 ‘C’ based firmware stack
 Control Gear & Control Device libraries (master/slave)
 Firmware implementation on any PIC Microcontrollers
 Automated Commissioning
 Simple API to make it easy to use

115
DMX512
DMX512 – “Digital Multiplex with 512 pieces of information”
 Designed primarily for Theatrical & Architectural lighting
 Increased reliability over that of 0-10V

FREE DMX512 Firmware Stack


 ‘C’ based firmware stack
 Master & Slave in a single library
 Firmware implementation on any PIC Microcontrollers with:
 (1) EUSART & (1) Timer
 Simple API to make it easy to use

116
PWM Resolution
Increased PWM Resolution for LED & DC Supplies
 Increased number of steps between power levels
 Accurate Color Mixing & Color Temperature Control
 “Smooth” Dimming & Brightness Control
8-bit PWM
• Max # Steps = 28 = 256

8-bit 10-bit 16-bit 10-bit PWM


• Max # Steps = 210 = 1,024
Visually
noticeable
light steps 16-bit PWM
Light Output
0  100%

• Max # Steps = 216 = 65,536


Near linear for Max Steps ½ Max Steps 0
smooth lighting PWM Steps
transitions

Variable PWM Duty Cycle


8-bit 10-bit 16-bit
Relative PWM Resolution
Step Size
Clock Period

117
Variable Frequency Modulation
Microchip Patent

VFM – Variable Frequency Modulation


• Variable frequency at fixed duty cycle – Alternative to traditional PWM
• Implemented in Software on any PIC Microcontroller
• Reduces instantaneous current and improves EMC performance

Varying LED Light Intensity (PWM vs. VFM)


Pulse Width Modulation Variable Frequency Modulation

Light Intensity
10%
30%
50%
80%

Color Mixing RGB LED (PWM vs. VFM)


Pulse Width Modulation Variable Frequency Modulation
RED
GREEN
BLUE
118
High Resolution PWM
Microchip Patent

HRPWM – High Resolution PWM


• 17-bit PWM capability at high frequency
• Utilizes integrated NCO & CLC (application note available soon)
• Higher Frequency  Reduced sizing of inductors and capacitors
• Induced jitter with improved EMC performance

Input Sources HRPWM Output

Max Steps 0
System Clock
PWM
CLC NCO Variable PWM Duty
Comparator Cycle 17-bit
External Pin
Clock
Period

17-bit PWM
• Max # Steps = 217 = 131,072

119
High Resolution PWM
Resolution Comparison Example

Conventional PWM versus HRPWM

Conventional PWM HRPWM

PWM Resolution 16b variable

PWM Clock Frequency 16 MHz 16 MHz

Target Switching Frequency 500 kHz 500 kHz

Target Period Width 1 ÷ 500kHz = 2µs 1 ÷ 500kHz = 2µs

Best PWM Pulse Adjustment 1 ÷ 16MHz = 62.5ns 15.26ps **

Maximum # of Steps per Period 2µs ÷ 62.5ns = 32 2µs ÷ 15.26ps = 131,072

Effective Full Range PWM Resolution log2 32 = 5 bits log2 131,072 = 17 bits

** reference application note for calculation

120
PWM Product Capabilities
Options & Variations
Patented
Standard PWM Peripheral Variations
Variation
Microchip
Product/Family 10b 16b 32b CLC
NCO PSMC
COG or CWG
HRPWM
VFM
20b PWM 16b PWM >16b PWM

PIC10F series ● ● ● ● ● ●
8-bit MCU

PIC12F series ● ● ● ● ● ●
8-bit MCU
Product Series

PIC16F series ● ● ● ● ● ● ● ●
8-bit MCU

PIC18F series ● ● ●
8-bit MCU

PIC24 series ● ● ● ●
16-bit MCU

dsPIC series ● ●
16-bit MCU

PIC32 series ● ● ●
32-bit MCU

121
Lighting Collaborative
& Design Partners
Collaborative Partners

Cree®, Inc. leads the industry through performance and application optimized lighting-class LEDs that simplify design
and lower system costs to obsolete energy-wasting traditional lighting. Cree’s relentless innovation drives the LED
lighting revolution with products designed to accelerate LED adoption and push the boundaries of what’s possible with
LED lighting. Cree’s LED product families include Cree® XLamp® and High Brightness LEDs.

LEDnLIGHT optics are made by Gaggione SAS the LaCluse, France plastic optics manufacturer, who produces the
very narrow beam collimator providing excellent color mixing properties to address stage lighting, entertainment
lighting and architectural lighting applications to name a few. Gaggione is an ISO 9001 and ISO TS 16949 certified
company and a leader in producing solutions using polymers for customers around the world. The company provides
comprehensive design, development and manufacturing capabilities for the production of standardized and
customized polymer optics with state of the art production technologies and facilities in France, Switzerland and
Canada.

Lumvatech is a cutting-edge manufacturer of LED light panels and complete backlighting solutions.  Lumvatech


specializes in thin and flexible applications.  From light panels to complete interactive capacitive touch solutions,
Lumvatech manufactures a wide variety of standard or custom products and solutions.

Energizer Holdings, Inc., headquartered in St. Louis, MO, is one of the world's largest manufacturers of primary
batteries, portable flashlights and lanterns. Energizer® Ultimate Lithium batteries deliver long-lasting power to keep up
with today’s high-tech devices like digital cameras, LED flashlights and handheld GPS devices.

An experienced provider of innovative product solutions, Airspeed specializes in the design and manufacturing of
complete mechanical packages with 20 years experience in plastics, metal fabrication, die cast, cable assemblies,
and global logistics management, ensuring that our customer can offer the most competitive product to the market.

123
Intelligent Lighting & Control
Design Partner Specialists
Worldwide Design Partner Specialist Network
 Full turn-key lighting solutions
 Embedded experts in software & hardware
 Manufacturing & design capabilities
 Lighting power conversion & control
 Lighting communications & environmental sensing
 Lighting thermal solutions

Get Started at:


www.microchip.com/lighting
124
Lighting Reference Designs,
Demos, & Development Platforms
mTouch™ Sensing Solution
Luminaire Wall Controller
Blacked Out Panel (Dead Front)
Backlighting with
while in Sleep
mTouch proximity Zone Scene
sensing 1 1
Proximity
Sensing Power
Zone Scene
2 2
Zone Scene
1 1
Zone Scene
3 3
Zone Scene DALI
mTouch Sensing Solution
2 2 Capacitive buttons & Mi-Wi®
slider
TRIAC
Zone Scene
3 3 Backlit partner logos

Intelligent mTouch Wall Controller


 Dead Front Wall Controller
 Blacked out while in sleep
Collaborative Partners  Backlit buttons wake up with mTouch proximity sensing
 mTouch capacitive sensing through light buttons
 Microchip Technology  Visually interactive buttons & slider
 PIC16F1947 Based Design
 Varying light color to indicate press
 AC to DC Power Conversion
 mTouch Sensing Solution Capacitive Buttons & Sliders
 Variable Luminaire Control
 Lighting Communications Firmware
 DALI
 Mi-Wi®
 Lumvatech  Phase-cut (TRIAC)
 True Dead-Front panel technology
 Backlighting & control design specialists
 Customizable
 Buttons, Graphics, Operating Modes
 Communication (DALI, DMX, RF, etc.)
126
Lighting Communications
Development Platform
Common Lighting Protocol Development
Master & Slave with commissioning
Dimming Support & Custom Capabilities
FREE ‘C’ Library Stack (DALI, DMX512A)

Platform Features
Main Communication Board Highlights (DM160214)
 Populated with PIC16F1947 controlling:
 Communications
 User Interface: LCD, buttons, slider
 LED constant current control
 Populated with Cree XLamp XM-L Color LED
 Populated with the LEDnLIGHT optic and holder
Available separately or as a kit…
Prototyping Communication Board Highlights (AC160214)
DALI Starter Kit (DV160214-1)
 Populated with PIC16F1947 for user interface and communications
DMX512A Starter Kit (DV160214-2)
 Bread boarding space for customized lighting development  (2) DALI or DMX512A Adapters
 (2) Main boards
 (1) Prototyping board
Universal Communications Adapter Interface  9V International power supply
 DALI Adapter (DM160214-1)  RJ45 Patch cable
 DMX512A Adapter (DM160214-2)
 Support for future protocols (eg. RF) Go to www.microchip.com/lightingcomms
to learn more

127
Lighting Communications
Development Platform
DALI Adapter DMX512A Adapter Support for future
with 2-wire & with 5-pin barrel & adapters
RJ45 connections RJ45 connections (eg. Wireless)

Universal MCP16322 MCP6004


Adapter Interface (SMPS 24V  5V) (4x Op Amp)

9-12V Power
Supply Input

Slider Potentiometer
PIC16F1947

CREE XLAMP XM-L


PICkit™3 Color LED
Programming
Interface LED’n Light
4 channel analog LED
LCD & Drive Optic & Holder
Programmable Buttons

128
High Power LED Flashlight

Collaborative Lighting Development Platform


Demonstration Highlights
■ > 90% efficient buck power supply
■ ~1000 lumen output at 10W
■ Anodized aluminum enclosure
■ Magnetic rotational mode selector
■ Multiple operating modes
– Low power (60 lumens @ 0.6W)
– Medium power (200 lumens @ 2W)
– High power (1000 lumens @ 10W)
– SOS (customized lighting sequence)
■ Long life operation
– Low power = 31 hours @ 0.6W
– Medium power = 8.5 hours @ 2W
Development Made Easy – High power = 1.5 hours @ 10W
• Low-cost development experience
• Start with the FREE download
• Schematics & ‘C’ source code
• Easily modified to your specific application needs
Download at www.microchip.com/HPLEDFlashlight
129
Dimmable LED Driver
AC-DC Flyback Power Supply 0-100% Triac Dimmable
• PIC12F752 Controlled • Universal Triac Support
• Integrated peripherals including:
• DAC, COG, Fast Comps Communications Capable
• MCP1416 FET Driver • DALI/DMX512
• Active 0.95 PFC • Wireless
• ~85% Efficiency

PIC12F752 MCP1416 LED


Terminals

90 – 240V
AC Input

Top Side Bottom Side


130
Wireless LED Driver
DC-DC SEPIC Power Supply
• PIC16F1783 Controlled
• Integrated peripherals including: 8b DAC, PSMC, & OpAmps 0-10V Interface
• 9-24V DC Input  24V DC Output with ~90% Efficiency 9-24V DC
Input
• Current Mode Control
• Software PI Control
• Variable Frequency: 400kHz  700kHz
• MCP1416 FET Driver
• MCP16322 Voltage Regulator

MRF24J40MA
Wireless Communications MiWi™Module
• MRF24J40MA MiWi™ Module

0-100% Dimming Support


• 0-10V Control PIC16F1783
• MiWi Radio Control
• DALI/DMX512A Capable
MCP1416 MCP16322 24V Output
131
Dimmable Fluorescent Ballast
Resonant Power Supply 0-100% Dimmable
• PIC16F1508 Controlled • NCO linear frequency control
• Integrated peripherals including:
• DAC, CLC, Comps, PWM, NCO Communications Capable
• 50kHz Switching Frequency • DALI/DMX512
• MCP1416 FET Driver • Wireless
• Active PFC
• ~90% Efficiency
MCP1416 PIC16F1508 Output
to FL
AC
Input

132
Additional Development
 RGBW Stage Light
 Solar Powered LED Security Light
 HRPWM RGBW Color Mixer

133
New Embedded Security
Solutions
KeeLoq vs. Encryption
 KeeLoq is NOT an Encryption Algorithm

 KeeLoq System can use “any” security


encryption algorithm:
 Proprietary 32-bit NLFSR block cipher
 eXtended Tiny Encryption Algorithm (XTEA)

 Advance Encryption Standard (AES)

 etc.

135
What is KeeLoq?
 KeeLoq is a “System”
 Key Features:
 Uses patented “code hopping” technology
 Uses counter to create unique data transmissions
 Uses resynchronization scheme to prevent lockout
 Uses large key size and code-hopping combinations
to reduce the possibility of unwanted access
 Uses key generation and management scheme
 Uses a pairing scheme to securely learn transmitters
 Uses proprietary encryption algorithm to obscure data

136
Proprietary NLFSR-based
Block Cipher
 Non-Linear Feedback
Shift Register
(NLFSR) is common
component to most
stream ciphers,
especially RFID and
smartcards
 Currently used in
“Classic” KeeLoq

137
KeeLoq/XTEA
Implementation
 KeeLoq with XTEA algorithm implements
128-bit key encryption using 64-bit hopping
code block sizes
 Transmission includes a 32-bit counter, 24
user defined bits, 8-bit function code, and
32 bit serial number
 Application Notes:
 AN1266 KeeLoq with XTEA Code Hopping
Encoder
 AN1285 KeeLoq with XTEA Receiver/Decoder

138
KeeLoq/AES
Implementation
 KeeLoq with AES algorithm implements
128-bit key encryption using 128-bit
hopping code block sizes
 Small code size still makes it a viable
option where resources are constrained
 Transmission includes a 32-bit counter, 32
user defined bits, 16-bit function code, a
16-bit CRC, and 32 bit serial number
 Application Notes:
 AN1265 KeeLoq with AES Code Hopping Encoder
 AN1275 KeeLoq with AES Receiver/Decoder
139
Next Generation
Embedded Security Solutions
KeeLoq
Software
Firmware
User Defined

Multi-Tier Solution Turn-KeySolution


In Development

PIC PIC
RF RF
or or
HCS Encoder Transmitter Receiver HCS Decoder
Advanced Classic

HCS3xx HCS5xx
Transmitter
Receiver

PIC1xFxxx XTEA Receiver PIC1xFxxx


XTEA
KeeLoq Transmitter KeeLoq
AES AES
Ultimate

MCS3142
w/RF PIC1xFxxx
MCS3042 Receiver
No RF

141
Classic KeeLoq
 Key Features:
 Event Driven- e.g. Button Press

 Uses counter to create unique data transmissions


 Uses resynchronization scheme to prevent lockout
 Uses large key size and code-hopping combinations

 Uses various pairing schemes- Simple,Normal,Secure


 Uses Proprietary NLFSR Encryption algorithm to

obscure data

142
Classic KeeLoq

16-bit Counter 16-bit Disc & Func

32-bit Proprietary

28-bit Serial #

64-bit Key 32-bit Seed


6-bit Func 28-bit SN # 32-bit Hopping Code

66-bit KeeLoq Classic Transmission

32-bit Proprietary

64-bit Manufacturer’s Code

143
Advanced KeeLoq

 Key Features:
 Event Driven- e.g. Button Press
 Uses counter to create unique data transmissions
 Uses resynchronization scheme to prevent lockout
 Uses large key size and code-hopping combinations
 Uses various pairing schemes- Simple,Normal,Secure
 Uses Industry Standard AES-128 or XTEA Encryption
algorithm to obscure data

144
Advanced KeeLoq

32-bit Counter 96-bit (Discr, Func, CRC)

AES-128

32-bit Serial #

128-bit Key 128-bit Seed 32-bit SN # 128-bit Hopping Code

160-bit KeeLoq Advance Transmission

AES-128

128-bit Manufacturer’s Code

145
Ultimate KeeLoq
Benefits
 Key Features:
 Timer Driven messages-counter continuously increments
independent of events
 Messages time stamped and verified on event
 Message only available for short duration
 Automatic time recovery after power loss
 Eliminates transmitter synchronization problems
 Supports multiple receiver synchronization
 Larger key sizes and code-hopping combinations
 Secure Learn Mode for pairing
 Industry Standard AES-128 algorithm to obscure data
 Multi-Key Management- Separate Privacy & Authentication
 Messages authenticated using CBC-MAC
 Message data information is kept secret – privacy

146
Ultimate KeeLoq

2 x 32-bit Timer 16-bit Counter 48-bit Fixed

AES-128

CBC-MAC
32-bit Serial #

128-bit Key 128-bit Seed 128-bit MAC Key

AES-128

128-bit Manufacturer’s Code 32-bit SN # 128-bit Hopping 32-bit MAC


192-bit KeeLoq Ultimate Transmission
147
Benefits of Multi-Key
Management Solution
 Separation of Privacy & Authentication
 Authentication only used for OEM verification
 Privacy only used for securing data transfer
 This allows us to:
 Implement customer proprietary method/s used for
doing OEM authentication
 Seek Legal protection by filing a Trade secret, Trade
Mark, or Patent on the authentication method or
information used – provides business protection
 Do this without compromising the security of the
system for the end user (data security)

148
Wireless Development Kit
Wireless Security Remote Control Development Kit
 433.92 MHz (DM182017-1)
 868 MHz (DM182017-2) gg
omin
in
 915 MHz (DM182017-3) ate CCom
p d a te
UUpd Q1’1’144
FFQ1

 Kit Contains:
 PIC12LF1840T39A Wireless Remote Key Fob
 SX1239 Receiver PICtail
 Embedded Security Development Board
 USB Cable
 Support for Classic KeeLoq and Advanced (XTEA, AES-128) KeeLoq
 Download the demo firmware and user’s guide from
www.microchip.com/security

149
KeeLoq
License & Export Control
 KeeLoq License Agreement
 “Free” license for customers using Microchip products on both
Encoder & Decoder sides
 Royalty Rate is US$1.00 for each unit of Licensee Product
manufactured using non Microchip products

 US Export Control
 U.S. Department of Commerce (DoC) restricts shipping for:
 Asymmetric, key > 512 bits
 Symmetric, key > 64 bits
 Our implementations are reviewed by DoC
 Source code delivered to customer via CD
 “Advanced Encryption” CD can be ordered through MCHP Direct
for $5 + shipping

150
Embedded Security
Roadmaps
Security & Authentication
Wireless Family
PIC12LF1840T39A
4KW/256/256
KeeLoq ® 3 +
Adds Software Library 310-928 MHz
support for Transmitter
PIC16F636
2KW/256EE/128 Advanced Encryption
2xComp, ULPWU, XTEA/AES 128
PIC12LF1840T48A
KeeLoq ®, PLVD
Features/Security

HCS36x 4KW/256/256
KeeLoq ® Code +
Hopping Encoder 418-868 MHz
Transmitter
PIC12F635
1KWord, 1xComp Software/Firmware
128 EE, 64 RAM Improvements
HCS30x PIC12F529T39A
KeeLoq ®, PLVD 1KW/64EE/41
KeeLoq ® Code
+
Hopping Encoder
310-928 MHz
Transmitter

PIC12F529T48A
HCS20x
1KW/64EE/41
KeeLoq ® Code +
Hopping Encoder 418-868 MHz
Transmitter

Time
152
Security & Authentication
Wireless Family
PIC12LF1840T39A PIC16LF1824T39A MCS3142
Ultimate KeeLoq ®
4KW/256/256 4KW/256EE/256 Ultimate KeeLoq®
Timer Driven, Dual
+ + AES-128
Key Management,
310-928 MHz 310-928 MHz 310-928 MHz
Advanced Encryption
Transmitter Transmitter Transmitter
XTEA/AES-128

PIC12LF1840T48A
MCS3042
Features/Security

4KW/256/256
+
System Level Ultimate KeeLoq ®
418-868 MHz Improvements AES-128
Transmitter No TX on board

PIC12F529T39A Turn-Key Solutions MCS3122


1KW/64EE/41 Advanced KeeLoq
+ AES-128
310-928 MHz 310-928 MHz
Transmitter Transmitter

PIC12F529T48A
1KW/64EE/41
MCS3022
+ Advanced KeeLoq
418-868 MHz AES-128
Transmitter No TX on board

Time
153
Integrated MCU + RF
Transmitter Family
Concept
Design PIC16LF1824T39A
PIC12LF1840T39A 20-Pin
Existing 4KW/256EE/256 4KW/256EE/256
310-928 MHz +
Transmitter 310-928 MHz
Transmitter
PIC12LF1840T48A
4KW/256EE Frequency
418-868 MHz
Agile
Cost

Transmitter

PIC12F529T39A
1KW/64EE
310-928 MHz
Transmitter

PIC12F529T48A
1KW/64EE
418-868 MHz
Lower Cost Transmitter

Features/Performance
154
Summary Integrated MCU
+ RF Transmitter Family
 Benefits:
 Single Package Solution
 Small form factor
 Singlesupplier for MCU and RF Transmitter
 XLP technology for Battery Life
 Low Standby/Active current
 “Frequency Agile” Transmitter
 Supports Frequency Hopping
 OOK / FSK Modulation Support
 KeeLoq® Technology, Classic or Advanced (AES-128,
XTEA) can be integrated to provide optimum security

155
Current Receiver Portfolio
 MRF49XA -
 Transceiver for 433Mhz and 868Mhz.  
 FSK only

 MRF89XA -
 Transceiver for 868Mhz . 
 This part has a very low Rx current.
 FSK only

 SX1239 – Partnered with Semtech


 Receiver that will work at 433Mhz or 868Mhz.
 OOK & FSK
 On our development kit today

156
Introducing
BodyCom™ Technology
What is BodyCom™
Technology?
 BodyCom™ Technology is a short-range, low-data-
rate communication solution for securely connecting
to a wide range of wireless applications
 Compared to existing wireless technologies:
 Lower active and standby energy usage
 Increases security through bidirectional authentication
 Uses human body as the secure communication channel
 Allows for simpler circuit-level designs
 BodyCom™ Development V1.0 Framework
Supplied via free Software Libraries for all PIC®
MCUs

158
How does BodyCom™
Technology work?

 Activated by capacitively coupling to the human


body, the system communicates bidirectionally
between a centralized controller and one or more
wireless mobile units
 Intra-body communication, using the human body
as the transmission medium
125 kHz
Mobile Unit Base Station

159
Typical Applications
 Access Control
 Passive Keyless Entry (PKE)
 Security Systems
 Home/Industrial Door Locks
 Pet Doors
 Personal Safety & Security
 Equipment Access/Disable
 Power Tools
 Firearms
 Computer Systems
 Medical
 Patient Monitoring
 Hospital Room Access
 Equipment Tracking
 Consumer
 Profile Management for
 Gaming Consoles
 Exercise Equipment

160
BodyCom™ Technology
Signal Chain

161
BodyCom™ Technology
Benefits
 Simpler Implementation
 No RF antenna design necessary
 Low-frequency design using common microcontroller and AFE
frequencies (125 kHz / 8 MHz), no external crystals needed
 Complies with FCC Part 15-B, Radiated Emissions
 Lower overall BOM, compared to existing technologies
 Lower Power Consumption
 No wireless transceiver required for two-way communication
 Not using high-power inductive fields
 More Secure Communication Channel
 Provides bidirectional authentication using the human body
 Prevents the “Relay Attack” problem typical in PKE solutions
 Supports Advanced Encryption Solutions
 Such as KeeLoq® Technology with AES-128
162
BodyCom™
Development Kit
 Ordering Part# DM160213, available now
 Central Controller Unit + 2 Wireless Mobile Units
 Free BodyCom™ Development V1.0 Framework
 BodyCom Communication Library
 Application Code Examples . 00
$$114499.00
 PC Development GUI UUSSDD

163
BodyCom™ Technology
Support
 www.microchip.com/BodyCom

 AN1391 – Application Note – Introduction to the


BodyCom™ Technology
 DS41391 – Data Sheet – PIC16F/LF1826/27 18/20/28-
Pin Flash Microcontrollers with
nanoWatt XLP Technology
 DS22304 – Data Sheet – MCP2035 Analog Front-End
Device for BodyCom™ Applications
 DM160213 – BodyCom™ Development Kit
 BodyCom™ Development Framework V1.0

164
BodyCom™ Technology
Summary
 BodyCom™ Technology is a short-range, low-
data-rate communication solution for securely
connecting to a wide range of wireless
applications
 Simpler Implementation
 No antennas, lower BOM

 Lower Power Consumption


 No RF or high-power inductive fields

 More Secure Communication Channel


 Provides bidirectional authentication using the human

body

165
New mTouch™
Sensing Solutions
mTouch Solutions
 Broad Solutions Covers Wide Range of Applications
 Proximity detection, Keys, Metal over Capacitive, Sliders, Touch
Pads, Touch Screens, 3D position sensing, and more…
 Easy Path to System Integration
NEW
 Turnkey Products for fast time to market
 Leverage Microchip’s broad PIC microcontroller portfolio
 Access to the Algorithms allows customization
 Firmware framework: easy to start, advanced options for experts
 Robust Noise Performance
 Unique noise limiting options such as differential sensing, active
guard, and various filtering techniques
 Low Power Performance
 Utilizing PIC microcontrollers with XLP technology
 Smallest Package Options
167
mTouch™
Proximity, Keys, Sliders
Capacitive Proximity
Detection
 Small, Low Cost PIC® MCUs
 SOT23, 2x3DFN, MSOP (PIC10F/PIC12F)
 No External Components
 High Signal to Noise Ratio (SNR)
 Detection up to 6-8 inches
 Advanced noise handling and filtering
 IEC61000 Emission & Susceptibility, EFT & BCI tests
 Lowest Power Consumption (as low as 5uA)
 Adjustable sampling frequency
 XLP PIC microcontrollers
 Flexible, Programmable, Customizable

169
Standalone Proximity
High SNR, Low Power, Low Cost

MTCH112
Features

8 Pin SOIC, 3x3DFN Samples: CQ4’12


I22C Configurable Production: CQ4’12
Active Guard Ring
Noise Detector

MTCH101
6 Pin SOT23, 2x3DFN Samples: CQ4’12
Adjustable Sensitivity Production: CQ4’12
Variable Scan Rate
Ultra Low Cost

1 Channel 2 Channels 4 Channels


170
mTouch Keys and Sliders
 Highly customizable implementation on almost any
PIC microcontroller
 Uses ADC available on general purpose PIC microcontrollers
with no additional components
 Easily integrate additional functions such as Communication
stacks, Backlighting effects, Sound effects, other sensor types,
and additional functionality
 Leverage Extreme Low Power (XLP), low cost, small packaging,
quality and broad product portfolio
 Access to robust/proven/tested firmware library to
further optimize, improve and customize
 IEC61000 Emission & Susceptibility, EFT & BCI tests with
continuous improvement in noise handling techniques

171
Metal over Capacitive
 Capacitor constructed with
spacer between front panel
and circuit
 Small deflection in front panel
changes capacitance – Detected
by PIC MCU
 Same Microcontroller
requirements and detection
Techniques
 Pressure Activated:
 Completely Waterproof
 Can be used outdoors
 Used with gloves and non
conductive items (pen, stick, etc.)

172
More Examples of Keys &
Slider implementations
Showing tactile feedback with
Metal over Capacitive

Example Backlighting option


with Metal over Capacitive

Keys and wheel implementation


with ITO on segmented LCD
(Touch, display drive & application
in single PIC microcontroller)
173
PIC MCUs with h/w
Capacitive Voltage Divider
 PIC12LF1552  PIC16F1512/3
● 8 Pin Device, 2x3 uDFN ● 28 Pin Devices
● 3.5KB Flash ● 3.5KB / 7KB Flash
● 256B RAM ● 128B / 256B RAM
● 1.8 – 3.6V Vdd ● 1.8 – 5.5V Vdd
● I2C with 4 ADC channels ● 10-bit ADC with h/w
in 8-pins CVD for Touch
● 10-bit ADC with h/w CVD Sensing
for Touch Sensing

174
Hardware CVD
New Features
 ADC Control Logic
 Significantly reduce Code size
 Decrease CPU usage

 Additional Sample & Hold capacitance up to 28pF


 Flexibility to implement bigger sensor

 Pre-charge and Acquisition Timing Control


 Allow for Maximum Sensitivity

 Double Sampling Conversion


 Pseudo Differential mode for noise rejection

 Guard Ring I/Os


 Improve sensitivity and noise immunity for long traces

175
Capacitive Prox/Keys/Slider
Technology Roadmap/Overview

Noise detect with Turnkey Keys/Slider


frequency hopping Product Development

Adjustable wave timing Turnkey Proximity


Error Detection
for h/w compensation Product Development

Active/Driven Guard
Baseline Tracking Hardware CVD support
Features

Ring for improved SNR

Most pressed decode


Median Filter Matrix keypad
algorithm

Decimation filter Slider and Wheel


Pressed Timeout
Slew Rate Limiting Implementation

Build-in Proximity
Sample Rate Jitter Debouncing Sensing Support

Reliable compiler-
Oversampling Threshold Hysteresis
independent timing

Differential Input Mutual Capacitance GUI/Comms via I22C,


Sensing w/ CVD Support SPI, USART for config

Signal Acquisition Data Processing Implementation


& SNR & Decoding Ease of use
176
Dedicate Capacitive Touch
function
To the rest of
PIC32
Up to 16 Channels the system
16 – 512 KB Flash
28 – 121 Pins, 80MIPS
I2C, SPI, USART,
PIC24
Up to 32 Channels USB, Custom
System Integration

4 – 256 KB Flash
18 – 100 Pins, 40MIPS

PIC18 PIC® MCU


Up to 24 Channels
8 – 128 KB Flash
18 – 100 Pins, 64MHz mTouch Software

PIC16 Touch Signal


Up to 32 Channels
3.5 – 28 KB Flash Acquisition
14 – 64 Pins, <32MHz

PIC10/12
Up to 4 Channels
0.75 – 7 KB Flash
6 – 8 Pins, <32MHz
Touch/Prox Sensors
Performance
177
Integrating other functions
with Capacitive Touch
PIC32
Up to 16 Channels
16 – 512 KB Flash
28 – 121 Pins, 80MIPS

PIC24 USB, CAN, ADC,


PWM, I/O
Up to 32 Channels Ethernet, Compare,
System Integration

4 – 256 KB Flash Control


SPI, I2C Signal Chain
18 – 100 Pins, 40MIPS

Comms Custom/Proprietary
PIC18
Up to 24 Channels Stacks Application Firmware
8 – 128 KB Flash
18 – 100 Pins, 64MHz mTouch Software Graphics Library

PIC16 Touch Signal Graphics/


Up to 32 Channels
3.5 – 28 KB Flash Acquisition Segmented Display
14 – 64 Pins, <32MHz

PIC10/12
Up to 4 Channels
0.75 – 7 KB Flash
6 – 8 Pins, <32MHz
Touch Sensors
Performance
178
Touch Screen
Touch Screen Technology
Comparison
Analog Projected
Resistive Capacitive
Cost for screen < 6” Lowest Low
Cost for screen > 10” Lowest High
Optics 75% 90%
Screen Life Good Better
Ease of Integration Easy Moderate
Multi-Touch Limited Yes
Finger
Touch Object Finger
Stylus/Glove

Availability Now Now

Touch Sense Technology


180
Analog Resistive
Touch Screen Controllers
Competition Microchip AR1xxx Family
Typical 4-wire only

4,5 and 8 wire


Interface

Interface
I2C
IC
2
Calibration SPI
ADC OR ADC & Filtering UART
SPI
USB

Basically an ADC… Turnkey Solution…


 No Calibration  Calibration
 No Filtering  Filtered, valid touch coordinates
 Not Universal, requires code rewrite  Universal, supports all 4/5/8 wire sensors
 Risk associated with development  Proven plug and play design
 Higher system power, host dependent  Low system power - touch to wake up

Touch Sense Technology


181
Resistive Touch Screen Controllers
Turnkey, Decoded & Filtered, Universal
Features

AR1100
SOIC, SSOP, 5x5QFN
4, 5, 8 Wire USB2.0
AR1011 AR1021 Up to 150 pps
SOIC, SSOP, 4x4QFN SOIC, SSOP, 4x4QFN Sleep Mode <10uA
4, 5, 8 Wire w/ USART 4, 5, 8 Wire w/ SPI/I22C UART, <325 uA USB
140 pps typical 140 pps typical
<1uA Sleep Mode <1uA Sleep Mode

USART, I2C, SPI USB, USART


182
mTouch Projected
Capacitive Touch Screen
 Sophisticated combination of Self and Mutual
Capacitive scanning for both XY Screens or Touch
Pads
 Supports “n” number of touches (only limited by RAM)
 CVD or CTMU signal acquisition supported
 Proprietary Touch Identification and Tracking
 Access to firmware library to further optimize,
improve and customize
 Source Code available for PIC18, PIC24 and PIC32
 Gesture capable
 Easily expandable
 Implementations as small as 5x5mm uQFN (PIC18F
K22 family)

183
Projected Capacitive Screen
Technical Roadmap/Overview

High Voltage chip GUI with 3D graphing


development for development
(MTC650)
External High Voltage
Drive Support

Gesture support
Features

TxP Pattern Support


Advanced Digital Large area, large touch
Diamond Pattern Filtering detection
Support
Proprietary Touch
Frequency Hopping Tracking Algorithm

Multi touch (n) points


USART, I22C support Noise Detection (only RAM limited)

PIC18, PIC24, PIC32 CTMU/CVD signal Proprietary Touch


Firmware Support acquisition support Identification Detection

Hardware Signal Acquisition Data Processing


& Sensor & SNR & Software Tools
184
Projected Capacitive
Implementation Example

Example sensor 12 x 9
9 I/O for with 1.1 mm glass
PIC18F46K22 Column Drive
16MIPS, 1.8V – 5.5V X01 - - - x11 x12

64kB Flash, 4kB RAM, 1kB EE y01

-
Projected Touch Firmware
-
16kB Flash used, 2.6kB RAM
I C,
2
used for up to 7 touches -
UART
Application y08
Code such
as Comms ADC y09

etc. 12 ADC
Diamond Pattern
Channels for (alternative patterns
CTMU or CVD Row Sensing
types also supported)
Acquisition

185
Projected Capacitive
X-Y Touch Sensing, Screens and Touch Pads

MTCH6301
44 pin QFN/TQFP Samples: CQ4’12
Up to 13x17 Channels Production: CQ4’12
Multi touch 8 touches
>100 pps typical
Features

MTCH652
28 pin 4x4 uQFN Samples: CQ1’13
Voltage Boost/Drive Production: CQ1’13
(18V)
18 Tx Channels

186
mTouch™
Development Tools
mTouch™ Capacitive
Keys/Slider Evaluation Kit
DM183026-2
 4 Motherboards
 PIC16F1937
 PIC18F46J50
 PIC24FJ64GB106
 PIC32MX795F512H

 4 Sensor Boards
 2-Channel Slider
 4-Channel Slider
 8 Keys Direct Sense
 12-Key Matrix

 PICkit™ Serial Analyzer


 Program & Debug

 Graphical User Interface


 Metal over Capacitive
Accessory Kit
(AC183026, Sold Separately)
188
Keys/Slider Graphical User
Interface (GUI)

Package, allows engineer to:


 Use Evaluation Kit or Custom Boards
 UART or USB interface Supported
 Monitor Sensor’s data
 Real Time Data
 Max/Min
 Calculate Signal To Noise Ratio
 Easily set up Thresholds
 Record and Export
data to CSV format
for further analysis

189
mTouch™ Resistive
Development Kits
 Everything needed to easily evaluate resistive touch
screen controllers
 7” touch screen sensor & all necessary cables

• DV102011: I2C/SPI
• DV102012: USB
 Easy-to-use configuration utility with GUI

190
Visit us on the web at:
www.microchip.com/mTouch
8-bit PIC Microcontroller
Families
Design

Production
8-bit PIC MCU Families

PIC18
Up to 16 MIPS H/W Multiplier
18 – 100 pins
Up to 128KB Flash Higher Memory
USB, CAN, Ethernet Adv Communications
PIC16
5 - 8 MIPS
8 – 64 pins Optimal cost to
Up to 28KB Flash performance &
LCD, USB, DAC,
OpAmp, PSMC features

PIC12
5 - 8 MIPS Low pin count &
8 pins
Up to 7KB Flash low cost
CLC, CWG, NCO Optimized feature
set
PIC10
5 MIPS
6 pins Lowest cost
Up to 896B Flash Smallest form factor
CLC, CWG, NCO

193
8-bit PIC® Microcontrollers
General Purpose
Core Independent Peripherals, LCD, Intelligent Analog
PIC18(L)F2x/4xGT01 N
NEW
32 – 128KB, 4KB - 8KB
CLC, NCO, CWG, CTMU, PPS

PIC18FxxK22
8 – 128KB, 256B – 4KB
EEPROM, 5V, Advanced Peripherals

PIC16F183x PIC18FxxK20
NE
N
3.5 – 14KB, 256B – 1KB EW
W 8 – 64KB, 256B – 4KB
General EEPROM, CLC, NCO, CWG, PPS, DAC EEPROM, 3V
Purpose
PIC1xF182x/4x PIC16F193x/4x
3.5 – 14KB, 128B – 1KB 7 – 28KB, 128B – 1KB
EEPROM, Advanced Peripherals EEPROM, LCD, Advanced Peripherals
2
PIC16F161x PIC16F151x/2x N
NE
EW
NE W
EW 3.5 – 28KB, 128B – 1.5KB
3.5 – 14KB, 256B – 1KB
CLC, CWG, SMU, WWDT, CRC, Class B Standard Peripherals,

PIC1xF150x PIC16LF190x
1.75 – 14KB, 64–512B 3.5 – 14KB, 128 – 512B
CLC, NCO, CWG LCD, 10-bit ADC

PIC10F32x PIC12/16F75x N
NEW PIC16F527/570
NE
EW
448–896B, 32–64B 1.75 – 3.5KB, 64 – 128B 1.5 – 3KB, 64B W
CLC, NCO, CWG COG, 5b/8b DAC, Fast Comp 2xOp Amp, 8-bit ADC

PIC12F1552 N
PIC10F2xx NE
EW
3.5KB, 256B
448–896B, 16-23B

Pin Count 6 8 14 20 28 40 64 80 100

194
8-bit PIC® Microcontrollers
Intelligent Analog, LCD, USB, CAN
PIC16F178x NE
EWW
3.5 – 28KB, 256B – 2KB
EEPROM, Intelligent Analog

PIC16F170x/1x
Intelligent 3.5 – 28KB, 256B – 2KB
NE
EWW

Analog CLC, NCO, COG, ZCD

PIC12/16xF75x NE
EW
W
1.75 – 3.5KB, 64 – 128B
COG, 5b/8b DAC, Fast Comp

PIC16F193x/4x
7 – 28KB, 128B – 1KB
EEPROM, LCD, Advanced Peripherals
LCD
PIC16LF190x PIC18FxxK90
3.5 – 14KB, 128 – 512B 32 – 128KB, 2 – 4KB
LCD, 10-bit ADC EEPROM, LCD, CTMU

PIC18FxxK50 PIC18FxxJ53 PIC18FxxJ94 N


NE
EW
W
8 – 16KB, 256B 64 – 128KB, 4KB 64 – 128KB, 4KB
USB 3.6V, USB, CTMU, RTCC LCD, USB, CTMU, DMA
USB
PIC16F145x N
NEW PIC18F2x/45K50 NE
16 – 32KB, 2KB EW
W
14KB, 1KB
EEPROM, USB, Clk Recov EEPROM, USB, Clk Recov

PIC18FxxK80
CAN 32 – 64KB, 4KB
EEPROM, CAN, CTMU

Pin Count 6 8 14 20 28 40 64 80 100


195
PIC10/12/16
General Purpose
PIC10 & PIC12
General Purpose
Intelligent Analog, Core Independent Peripherals
PIC12F1840
7KB / 256EE / 256B
4x10-bit A/D
EUSART, SPI/I2C
1x ECCP, 1x Comp
2x 8-bit, 1x16b Timers
W
NE
PIC12LF1552 PIC12F1822
3.5KB / 0EE / 256B 3.5KB / 256EE / 128B
Features/Memory

4x 10-bit A/D 4x10-bit A/D


SPI/I2C EUSART, SPI/I2C
1x ECCP, 1x Comp
2x 8-bit, 1x16b Timers
PIC10F32x PIC12F(HV)752
PIC12F1501
448-896B / 64B 1.75KB/64B NEW
1.75KB / 64B
3x 8-bit A/D 4x 10-bit A/D
4x 10-bit A/D
2xPWM 2xFast Comp
1x Comp, 4x PWM
Interrupts 5-bit DAC, CCP
CLC, NCO, CWG
CLC, CWG, NCO COG, HLT

PIC12F(HV)6xx
PIC10F2xx
1.75-3.5KB/ 64-128B
448-896B / 16-23B
4x 10-bit A/D
3x 8-bit A/D
1xComp
Int Osc, Comp
ECCP

6 Pin 8 Pin
197
PIC10/12/16
Low-cost Baseline Product Family

NEW
Samples: March ‘13
Production: April ‘13

PIC16F570
3KB / 64B / 132B
Features/Memory

8x 8-bit A/D, 2xComp


2x Op Amps
BOR, Interrupts
NEW 4x Stack

PIC16F505/06/26 PIC16F527
PIC12F508/09/10/19 1.5KB / 64B / 68B
1.5KB / 64B / 67-72B
0.75-1.5KB/64B/25-41B 8x 8-bit A/D, 2xComp
4x 8-bit A/D
3x 8-bit A/D, 8b Timer 2x Op Amps
8-bit Timer BOR, Interrupts
Int Osc, Comp
Int Osc, 2x Comp 4x Stack

PIC10F2xx
448-896B / 0EE /16-23B
3x 8-bit A/D
Int Osc, Comp

6/8 Pin 14 Pin 20 Pin 28 Pin

198
PIC10(L)F32x,16F(L)150x, 12LF1552
Low Pin count Enhanced & Mid-Range Core
Core Independent Peripherals
PIC16F1509
14KB / 0EE / 512B
12x10-bit A/D, 5b DAC
2x Comp, EUSART
SPI/I2C, 4x 10b PWM
4x CLC, CWG, NCO

PIC16F1508
Features/Memory

7KB / 0EE / 256B


12x10-bit A/D, 5b DAC
EUSART, SPI/I2C
2x Comp, 4x10b PWM
4x CLC, CWG, NCO
NEW
PIC10F322 PIC12LF1552 PIC16F1503
896B / 0EE / 64B 3.5KB / 0EE / 128B PIC16F1507
3.5KB / 0EE / 256B 3.5KB / 0EE / 128B
3x 8b A/D, 2x 8b PWM 4x 10-bit A/D 8x 10-bit A/D
2x Comp, SPI/I2C 12x 10-bit A/D
Mid-Range Core SPI/I2C
4x 10b PWM, 5b DAC 4x 10b PWM
CLC, CWG, NCO 2x CLC, CWG, NCO
2x CLC, CWG, NCO

PIC10F320 PIC12F1501
448B / 0EE / 64B 1.75KB / 0EE / 64B
4x 10-bit A/D
3x 8b A/D, 2x 8b PWM
1x Comp, 5b DAC
Mid-Range Core
4x 10b PWM
CLC, CWG, NCO 2x CLC, CWG, NCO

6 Pin 8 Pin 14 Pin 20 Pin


199
PIC16
Low-cost Mid-Range Core

PIC16F882/3/6 PIC16F707/24/27
3.5-14KB/0EE/128-368B 7-14KB/0EE/192-368B
Features/Memory

NEW 11x 10-bit A/D Up to 14x 8-bit A/D


SPI/I2C, EUSART SPI/I2C, EUSART
Samples: March ’13 ECCP, CCP 2x CCP, 2x 16 CSM
Production: June ‘13

PIC16F(HV)753
PIC16F720/21 PIC16F722A/23A/26
3.5KB/ 0EE /128B 3.5-14KB/0EE/128-368B
3.5-14KB/0EE/228-368B
8x 10-bit A/D 11x 8-bit A/D
12x 8-bit A/D
2xFast Comp, SPI/I2C, EUSART
SPI/I2C, AUSART
Op Amp Up to 2x CCP, 8 CSM
2xCCP
9-bit DAC,CCP, COG

PIC16F(HV)610/6
1.75-3.5KB/ 0 /64-128B
Up to 8x 10-bit A/D
Int Osc, 2xComp

14 Pin 20 Pin 28 Pin 40 Pin

200
PIC16F161x
Class B Capable with 16-bit PWMs
Low Pin Count
Samples: CQ3’13
Production: CQ4’13
Features/Memory

All
!
NEW

PIC12F1612 PIC16F1613
3.5KB / 0EE / 256B 3.5KB / 0EE / 256B
4x 10-bit A/D, 1x Comp 8x 10-bit A/D, 2x Comp
WWDT, 2x CCP, 8b DAC WWDT, 2x CCP, 8b DAC
16b CRC, 2x SMU 16b CRC, 2x SMU
2x CLC, CWG 2x CLC, CWG
1xTMR2, 2xTMR2+HLT 1xTMR2, 2xTMR2+HLT

8 Pin 14 Pin
201
*PIC16F183x
Full-Featured Enhanced Mid-Range
Low Pin Count
Samples: CQ4’13
*Formerly 16F162x
Production: CQ1’14

ducts!
pro
0K
t 25
Firs
Features/Memory

PIC12F1832
7KB / 256EE / 256B
5x 10-bit A/D, 1x Comp
5b DAC, 2x10b PWM
All
2x CCP, PPS
W !
2x CLC, NCO, CWG NE

PIC12F1831 PIC16F1833
3.5KB / 256EE / 256B 3.5KB / 256EE / 256B
5x 10-bit A/D, 1x Comp 11x 10-bit A/D, 2x Comp
5b DAC, 2x10b PWM 5b DAC, 2x10b PWM
2x CCP, PPS 2x CCP, PPS
2x CLC, NCO, CWG 2x CLC, NCO, CWG

8 Pin 14 Pin
202
PIC12/16(L)F18xx
High Level of Integration for General Purpose
Low Power

PIC16F1825 PIC16F1847 PIC16F1829


14KB / 256EE / 1KB 14KB / 256EE / 1KB 14KB / 256EE / 1KB
Features/Memory

8x10-bit A/D 12x 10-bit A/D 12x 10-bit A/D


EUSART, SPI/I2C EUSART, 2xSPI/I2C EUSART, 2xSPI/I2C
2x ECCP, 2x CCP 2x ECCP, 2x CCP 2x ECCP, 2x CCP
2x Comp 2x Comp 2x Comp

PIC16F1824 PIC16F1827 PIC16F1828


PIC12F1840
7KB / 256EE / 256B 7KB / 256EE / 384B 7KB / 256EE / 256B
7KB / 256EE / 256B
8x10-bit A/D 12x 10-bit A/D, 12x 10-bit A/D
4x10-bit A/D
EUSART, SPI/I2C EUSART, 2xSPI/I2C EUSART, SPI/I2C
EUSART, SPI/I2C
2xECCP, 2x CCP 2x ECCP, 2x CCP 2x ECCP, 2x CCP
1x ECCP, 1x Comp
2x Comp 2x Comp 2x Comp

PIC12F1822 PIC16F1823 PIC16F1826


3.5KB / 256EE / 128B 3.5KB / 256EE / 128B 3.5KB / 256EE / 256B
4x10-bit A/D 8x10-bit A/D 12x 10-bit A/D
EUSART, SPI/I2C EUSART, SPI/I2C EUSART, SPI/I2C
1x ECCP, 1x Comp 1x ECCP, 2x Comp 1x ECCP, 2x Comp

8 Pin 14 Pin 18 Pin 20 Pin


203
PIC16F151x/2x
10/12-bit A/D, Cap Touch Channels
Hardware CVD
PIC16F1518 PIC16F1519 PIC16F1527
28KB / 0EE / 1024B 28KB / 0EE / 1024B 28KB / 0EE / 1536B
17x 10-bit A/D 28x 10-bit A/D 30x 10-bit A/D
EAUSART, SPI/I2C EAUSART, SPI/I2C 2xEAUSART, 2xSPI/I2C
2x CCP 2x CCP 10x CCP
2x 8b, 1x 16b Timers 2x 8b, 1x 16b Timers 6x 8b, 3x16b Timers

PIC16F1516 PIC16F1517 PIC16F1526


14KB / 0EE / 512B
Features/Memory

14KB / 0EE / 512B 14KB / 0EE / 768B


17x 10-bit A/D 28x 10-bit A/D 30x 10-bit A/D
EAUSART, SPI/I2C EAUSART, SPI/I2C 2xEAUSART, 2xSPI/I2C
2x CCP 2x CCP 10x CCP
2x 8b, 1x 16b Timers 2x 8b, 1x 16b Timers 6x 8b, 3x16b Timers

PIC16F1513 NEW
7KB / 0EE / 256B
17x 10-bit A/D
EAUSART, SPI/I2C
2x CCP

PIC16F1512 NEW
3.5KB / 0EE / 128
17x 10-bit A/D
EAUSART, SPI/I2C
2x CCP

28 Pin 40 Pin 64 Pin


204
PIC16(L)F190x/3x/4x
General Purpose / LCD Segments
High Level of Integration, XLP
PIC16F1938 PIC16F1946 PIC16F1947
28KB / 256EE / 1KB 14KB / 256B / 512B 28KB / 256B / 1KB
11x 10-bit A/D 17x 10-bit A/D, 17x 10-bit A/D,
EUSART, SPI/I2C 2xEUSART, 3x Comp 2xEUSART, 3x Comp
3xECCP, 2xCCP 2xSPI/I2C, 3xECCP 2xSPI/I2C, 3xECCP
2xComp, 60LCD 2x CCP, 184 LCD 2x CCP, 184 LCD
72 LCD Segments
PIC16F1936 64 Pin: 184 LCD Segments
Features/Memory

PIC16LF1906 14KB / 256EE / 512B


14KB / 0EE /512B 11x 10-bit A/D
11x 10-bit A/D EUSART, SPI/I2C
1x 8b, 1x 16b Timers 3xECCP, 2xCCP
EUSART, 72 LCD 2xComp, 60 LCD
96 - 116 LCD Segments
PIC16F1933 PIC16F1937/39
PIC16LF1903 PIC16LF1907
7KB / 256EE / 256B 14-28KB/256/512-1KB
7KB / 0EE / 256B 11x 10-bit A/D 14KB / 0EE / 512B
14x 10-bit A/D
11x 10-bit A/D 14x 10-bit A/D
EUSART, SPI/I2C EUSART, SPI/I2C
1x 8b, 1x 16b Timers 1x 8b, 1x 16b Timers
3xECCP, 2xCCP 3xECCP, 2xCCP
72 LCD EUSART, 116 LCD
2xComp, 60 LCD 2xComp, 96 LCD

PIC16LF1902 60 LCD Segments PIC16LF1904


PIC16F1934
7KB / 256EE / 256B
3.5KB / 0EE /128B 7KB / 0EE / 256B
14x 10-bit A/D
11x 10-bit A/D 14x 10-bit A/D
EUSART, SPI/I2C
1x 8b, 1x 16b Timers 1x 8b, 1x 16b Timers
3xECCP, 2xCCP
72 LCD EUSART, 116 LCD
2xComp, 96 LCD

28 Pin 40 Pin
205
PIC12/16F1 Summary
8-20 Pin
28-64 Pin
PIC12/16F1 (8–20 Pin)
High Level of Integration, XLP
N
Low Cost NE
NEW W
PIC16F1703/4/5 PIC16F1707/8/9
Samples: CQ2’13 3.5-14KB / 0EE / 256-1KB 3.5-14KB / 0EE / 0.5-1KB
Production: CQ3’13 8 x 10b ADC, 8b DAC 12 x 10b ADC, 8b DAC
2 x Op Amps, PPS 2 x Op Amps, PPS
2-4xCLC,COG,2xCCP 4x CLC, COG, 2xCCP
SPI/I2C, EUSART, ZCD SPI/I2C, EUSART, ZCD
2xComp, up to2x PWM Up to 2xComp, 2xPWM
PIC16F1454/5 PIC16F1459 NEW
Features/Memory

14KB / 0EE / 1KB 14KB / 0EE / 1KB


5x 10-bit A/D, CWG 9x 10-bit A/D, CWG
EUSART, SPI/I2C EUSART, SPI/I2C
Up to 2x Comp 5b DAC, 2x Comp
2x PWM, Clk Recov 2x PWM, Clk Recov

PIC16F1823/4/5 PIC16F1826/7/47 PIC16F1828/9


PIC12F1822/40
3.5-14KB/256EE/128-1K 3.5-14KB/256/256-1KB 7-14KB/256EE/256-1KB
3.5-7KB/256EE/128-256
8x10-bit A/D 12x 10-bit A/D, 12x 10-bit A/D,
4x10-bit A/D
EUSART, SPI/I2C EUSART, 2xSPI/I2C EUSART, 2xSPI/I2C
EUSART, SPI/I2C
Up to 2x ECCP 2x ECCP, 2x CCP 2x ECCP, 2x CCP
1x ECCP, 1x Comp
2x Comp 2x Comp 2x Comp

PIC12F1501 PIC16F1503 PIC16F1508/9


1.75KB / 0EE / 64B 3.5KB / 0EE / 128B PIC16F1507 7-14KB/0EE/256-512B
8x 10-bit A/D 3.5KB / 0EE / 128B
4x 10-bit A/D 12x10-bit A/D, 5b DAC
1x Comp, 5b DAC 2x Comp, SPI/I2C 12x 10-bit A/D
EUSART, SPI/I2C
4x PWM, 5b DAC 4x 10b PWM
4x 10b PWM 2x Comp, 4x10b PWM
2x CLC, CWG, NCO 2x CLC, CWG, NCO
2x CLC, CWG, NCO 4x CLC, NCO, CWG

8 Pin 14 Pin 18/20 Pin


207
PIC16F1 (28–64 Pin)
10/12-bit A/D, Intelligent Analog
High Level of Integration, XLP
PIC16F1717/19 40p PIC16F1946/7
PIC16LF1902/3/6 PIC16F1936/8
14-28KB / 0EE / 1-2KB 14-28KB/256/512-1K
3.5-14KB / 0 / 128-512B 7-28KB/256/256-1K
28 x 10b ADC, 5b & 8b 17x 10-bit A/D
11x 10-bit A/D Up to 14x 10-bit A/D
DAC, 3xOp Amps, ZCD 2xEUSART, 3x Comp
EUSART 3x ECCP, 2x CCP
4x CLC, 2x PWM, NCO 2xSPI/I2C, 3xECCP
1x 8b, 1x 16b Timers COG, EUSART, PPS, 2xComp,Up to 96 LCD
72 LCD 2x CCP, 184 LCD
W SPI, CCP, 2x Comp
NE
PIC16F1517/19 PIC16F1526/27
PIC16F1516/8 PIC16F1713/6/8 28p 14 -28KB/ 0 /512-
Features/Memory

14-28KB / 0 /768-1536B
14-28KB/ 0 /512-1024B 7-28KB / 0EE / 512-2KB
1024B 30x 10-bit A/D
17x 10-bit A/D 17 x 10b ADC, 5b & 8b
28x 10-bit A/D 2xEAUSART, 2xSPI/I2C
EAUSART, SPI/I2C DAC, 2xOp Amps, ZCD 10x CCP
4x CLC, 2x PWM, NCO EAUSART, SPI/I2C
2x CCP 2x CCP 6x 8b, 3x16b Timers
COG, SPI, EUSART
PPS, CCP, 2x Comp
PIC16F1782/3/6/8 WPIC16F1784/7/9
NE 3.5-28KB/ 256EE /
3.5-28KB/ 256EE / NEW Samples: CQ2’13
PIC16F1784/87/89
256-2KB, 3x PSMC Production: CQ3’13 256-2KB, 3x PSMC Samples: NOW
14x12-bit A/D 14x12-bit A/D Production: Apr‘13
8-bit DAC, 3x Op Amp 8-bit DAC, 3x Op Amp
4x Fast Comp 4x Fast Comp

PIC16F1512/13 NEW PIC16LF1904/7


3.5-7KB/ 0 /128-256B 7-14KB/0EE/256-512B
EAUSART, SPI/I2C 14x 10-bit A/D
17x 10-bit A/D EUSART
2x CCP 1x 8b, 1x 16b Timers
Hardware CVD 116 LCD

28 Pin 28/40 Pin 40 Pin 64 Pin


208
PIC18 General Purpose
PIC18FxxJ94
High Memory Density
12-bit ADC, LCD, USB, RTCC and Vbatt
All
NEW!

PIC18F67J94 PIC18F87J94 PIC18F97J94


128KB / 0EE / 4KB 128KB / 0EE / 4KB 128KB / 0EE / 4KB
16x12-bit A/D, 3x Comp 24x12-bit A/D, 3x Comp 24x12-bit A/D, 3x Comp
4xEUSART (IrDA), USB 4xEUSART (IrDA), USB 4xEUSART (IrDA), USB
Features/Memory

2xSPI, 10xPWM, RTCC 2xSPI, 10xPWM, RTCC 2xSPI, 10xPWM, RTCC


CTMU, LCD 224 CTMU, LCD 352 CTMU, LCD 480

PIC18F66J94 PIC18F86J94 PIC18F96J94


64KB / 0EE / 4KB 64KB / 0EE / 4KB 64KB / 0EE / 4KB
16x12-bit A/D, 3x Comp 24x12-bit A/D, 3x Comp 24x12-bit A/D, 3x Comp
4xEUSART (IrDA), USB 4xEUSART (IrDA), USB 4xEUSART (IrDA), USB
2xSPI, 10xPWM, RTCC 2xSPI, 10xPWM, RTCC 2xSPI, 10xPWM, RTCC
CTMU, LCD 224 CTMU, LCD 352 CTMU, LCD 480

PIC18F65J94 PIC18F85J94 PIC18F95J94


32KB / 0EE / 4KB 32KB / 0EE / 4KB 32KB / 0EE /4KB
16x12-bit A/D, 3x Comp 16x12-bit A/D, 3x Comp 24x12-bit A/D, 3x Comp
4xEUSART (IrDA), USB 4xEUSART (IrDA), USB 4xEUSART (IrDA), USB
2xSPI, 10xPWM, RTCC 2xSPI, 10xPWM, RTCC 2xSPI, 10xPWM, RTCC
CTMU, LCD 224 CTMU, LCD 352 CTMU, LCD 480

64 Pin 80 Pin 100 Pin


210
PIC18(L)F2x/4xGT01
Highest Performance/Largest Memory
Cost Effective

All ! Samples: CQ1’14


NEW Production: CQ2’14

PIC18F27GT01 PIC18F47GT01
128KB / 0EE / 8KB 128KB / 0EE / 8KB
17x12b ADC, 3x5b DAC 28x12b ADC, 3x5b DAC
2x EUSART, 2x SPI/I2C 2x EUSART, 2x SPI/I2C
Features/Memory

3x Comp, 3x CCP, PPS 3x Comp, 3x CCP, PPS


8x16b PWM, RTCC, CTMU 8x16b PWM, RTCC, CTMU
8xCLC,3x NCO, 3xCWG 8xCLC,3x NCO, 3xCWG

PIC18F26GT01 PIC18F46GT01
64KB / 0EE / 8KB 64KB / 0EE / 8KB
17x12b ADC, 3x5b DAC 28x12b ADC, 3x5b DAC
2x EUSART, 2x SPI/I2C 2x EUSART, 2x SPI/I2C
3x Comp, 3x CCP, PPS 3x Comp, 3x CCP, PPS
8x16b PWM, RTCC, CTMU 8x16b PWM, RTCC, CTMU
8xCLC,3x NCO, 3xCWG 8xCLC,3x NCO, 3xCWG

PIC18F25GT01 PIC18F45GT01
32KB / 0EE / 4KB 32KB / 0EE / 4KB
17x12b ADC, 3x5b DAC 28x12b ADC, 3x5b DAC
2x EUSART, 2x SPI/I2C 2x EUSART, 2x SPI/I2C
3x Comp, 3x CCP, PPS 3x Comp, 3x CCP, PPS
8x16b PWM, RTCC, CTMU 8x16b PWM, RTCC, CTMU
8xCLC,3x NCO, 3xCWG 8xCLC,3x NCO, 3xCWG

28 Pin 40 Pin
211
PIC18 General Purpose
PIC18F27/47J13 PIC18F2x/4xGT01 NEW PIC18FxxJ94
64-128KB / 0EE / 4KB 32-128KB / 0EE / 4-8KB 32 - 128KB / 0EE / 4KB
Up to 13x12b ADC 17x 10b ADC, 3x 5b DAC 24x12-bit A/D, 3x Comp
3x2x EUSART, 2x SPI/I2C
2xEUSART, 2xSPI/I2C 4xEUSART 2xSPI/I2C
Comp, 3xCCP , 3x NCO
USB, 3xECCP, 7xCCP 3xCWG, 8xCLC, PPS
10xPWM, RTCC,CTMU
CTMU, RTCC, 2xComp RTCC,CTMU, 8x16b PWM Clk Recov, PPS Lite
224-480 LCD
PIC18F26/46J11 PIC18F26/46K22 PIC18F86/87J72
16-64KB / 0EE / 4KB 8-64KB / 1KB / 4KB 64–128KB/ 0EE /4KB PIC18F67/87K90
Features/Memory

Up to 13x10b ADC Up to 30x10b ADC 80 pins, 12x12b A/D 64–128KB /2-4KB/1K


2xEUSART, 2xSPI/I2C 2xEUSART, 2xSPI/I2C EUSART, SPI/I2C 64/80 pins, 24x12b A/D
2xECCP, 2xComp 2xECCP, 2xCCP CTMU, RTCC, 2xComp 2xEUSART, SPI/I2C
CTMU, RTCC 2xComp, CTMU 2xCCP, 132 LCD 3xComp, RTCC,CTMU
3/7xE/CCP,132-192LCD
PIC18F25/45J10 PIC18F67/87J93
PIC18F26/46K20 PIC18F67/87K22
16-32KB / 0EE / 1KB 64–128KB / 0EE / 4 KB
8-64KB/ 1KB / 4KB 32-128KB/2-4KB/1KB
Up to 13x10b ADC 64 /80 pins, 12x12b A/D
Up to 14x10b ADC Up to 24x12b ADC
EUSART, 2xSPI/I2C EUSART, SPI/I2C
EUSART, SPI/I2C 2xComp, RTCC, CTMU 2xEUSART, 2xSPI/I2C
ECCP, 2xCCP
2xComp, XLP 2x CCP, 132-192 LCD 3xECCP, 7xCCP
2xComp
CTMU,RTCC,2xComp
PIC18F13/14K50 PIC18F13/14K22 PIC18F67/87J11
8-16KB / 256B / 768B 8-16KB/ 256 / 256-512B 8–128KB / 0EE / 4KB
11x 10b A/D 12x10b ADC Up to 15x10bADC
EUSART, SPI/I2C EUSART, SPI/I2C 2xEUSART, 2xSPI/I2C
ECCP. USB 2xComp, XLP 3xECCP, 2xCCP

20 – 40/44 Pin 64 – 100 Pin


212
Intelligent Analog
PIC12F(HV)752 & PIC16F(HV)753
Low-cost, Intelligent Analog

NEW
Samples: March ’13
Production: June ‘13

PIC16F(HV)753
Features/Memory

3.5KB/ 0EE / 128B


8x 10-bit A/D
2x Fast Comp, Op Amp
9-bit DAC,CCP, COG
Slope Compensation

PIC12F(HV)752
1.75KB / 0EE / 64B
4x 10-bit A/D
2x Fast Comp,
5-bit DAC,CCP, COG

8 Pin 14 Pin
214
PIC16F170x/1x Family
Cost-Optimized Intelligent Analog

Samples: CQ2’13 All ! Samples: CQ3’13


Production: CQ3’13 NEW Production: CQ4’13

PIC16F1705 PIC16F1709 PIC16F1718 PIC16F1719


14KB / 0EE / 1KB 14KB / 0EE / 1KB 28KB / 0EE / 2KB 28KB / 0EE / 2KB
8 x 10b ADC, 8b DAC 12 x 10b ADC, 8b DAC 17 x 10b ADC, 5b & 8b 28 x 10b ADC, 5b & 8b
2 x Op Amps, PPS 2 x Op Amps, PPS DAC, 2xOp Amps, ZCD DAC, 2xOp Amps, ZCD
Features/Memory

4x CLC, COG, 2xCCP 4x CLC, COG, 2xCCP, 4x CLC, 2x PWM, NCO 4x CLC, 2x PWM, NCO
SPI/I2C, EUSART, ZCD SPI/I2C, EUSART, ZCD COG, SPI/I2C,EUSART COG, SPI/I2C,EUSART
2x Comp, 2xPWM 2x Comp, 2xPWM PPS, 2xCCP, 2x Comp PPS, 2xCCP, 2x Comp

PIC16F1704 PIC16F1708 PIC16F1716 PIC16F1717


7KB / 0EE / 512B 7KB / 0EE / 512B 14KB / 0EE / 1KB 14KB / 0EE / 1KB
8 x 10b ADC, 8b DAC 12 x 10b ADC, 8b DAC 17 x 10b ADC, 5b & 8b 28 x 10b ADC, 5b & 8b
2 x Op Amps, PPS 2x Op Amps, PPS DAC, 2xOp Amps, ZCD DAC, 2xOp Amps, ZCD
2x CLC, COG, 2xCCP, 2x CLC, COG, 2xCCP, 4x CLC, 2x PWM, NCO 4x CLC, 2xPWM, NCO
SPI/I2C, EUSART, ZCD SPI/I2C, EUSART, ZCD COG, SPI/I2C,EUSART COG, SPI/I2C,EUSART
2x Comp, 2xPWM 2x Comp, 2xPWM PPS, 2xCCP, 2x Comp PPS, 2xCCP, 2x Comp

PIC16F1713
PIC16F1703 PIC16F1707 7KB / 0EE / 512B
3.5KB / 0EE / 256B 3.5KB / 0EE / 512B 17 x 10b ADC, 5b & 8b
8 x 10bADC 8 x 10b ADC DAC, 2xOp Amps, ZCD
2 x Op Amp, PPS 2 x Op Amps, PPS 4x CLC, 2x PWM, NCO
SPI/I2C, 2xCCP, ZCD SPI/I2C, 2xCCP, ZCD COG,SPI/I2C,EUSART,
PPS, 2xCCP, 2x Comp

14 Pin 20 Pin 28 Pin 40 Pin


215
PIC16(L)F178X Family
Full-Featured Intelligent Analog
All
!
New PIC16F1788 PIC16F1789
28KB / 256EE / 2KB 28KB / 256EE / 2KB PIC16F1788/89
11x12-bit A/D 14x12-bit A/D Samples: NOW
4x PSMC, UART, I2C 4x PSMC, UART, I2C Production: Apr‘13
8-bit DAC, 3x 5-bit DAC 8-bit DAC, 3x 5-bit DAC
2x Op Amp, 4x Fast Comp 3x Op Amp, 4xFast Comp

PIC16F1786 PIC16F1787
Features/Memory

14KB / 256EE / 1KB 14KB / 256EE / 1KB


11x12-bit A/D 14x12-bit A/D
3x PSMC, UART, I2C 3x PSMC, UART, I2C
8-bit DAC, 2x Op Amp 8-bit DAC, 3x Op Amp
4x Fast Comp 4x Fast Comp

PIC16F1783 PIC16F1784
7KB / 256EE / 512B 7KB / 256EE / 512B
11x12-bit A/D 14x12-bit A/D
2x PSMC, UART, I2C 3x PSMC, UART, I2C
8-bit DAC, 2x Op Amp 8-bit DAC, 3x Op Amp
3x Fast Comp 4x Fast Comp

PIC16F1782
3.5KB / 256EE / 256B
11x12-bit A/D
2x PSMC, UART, I2C
8-bit DAC, 2x Op Amp
3x Fast Comp

28 Pin 40 Pin
216
LCD & USB
8-bit MCU with Segmented
LCD Driver
PIC16F1946/7 PIC18F86/87J72 PIC18FxxJ94
14-28KB//256/512-1K 64–128KB/ 0EE /4KB 32 - 128KB / 0EE / 4KB
64-pin, 17x 10-bit A/D 80 pins, 12x12b A/D 24x12-bit A/D, 3x Comp
3x ECCP, 2x CCP EUSART, SPI/I2C 4xEUSART 2xSPI/I2C
2xEUSART, 2xSPI/I2C 2xCCP, 2xComp 10xPWM, RTCC,CTMU
CTMU, RTCC Clk Recov, PPS Lite
3xComp, 184 LCD
132 LCD 224-480 LCD
PIC16F1934/7/9
Features/Memory

14-28KB/ 256 /512-1KB PIC18F6x/8xK90 PIC18F6x/8xJ93


40-pin, 14x 10-bit A/D 64–128KB /2-4KB/1K 64–128KB / 0EE / 4 KB
64/80 pins, 24x12b A/D 64 /80 pins, 12x12b A/D
EUSART, SPI/I2C
2xEUSART, SPI/I2C EUSART, SPI/I2C
3xECCP, 2xCCP
3xECCP, 7xCCP 2xCCP
2xComp, 96 LCD 3xComp, RTCC,CTMU 2xComp, RTCC, CTMU
132 -192 LCD 132-192 LCD
PIC16F1933/6/8
7-28KB/256EE/256-1KB PIC18F6x/8xJ90
28-pin, 11x 10-bit A/D 64–128KB / 0EE / 4 KB
EUSART, SPI/I2C 64 /80 pins, 12x10b A/D
3xECCP, 2xCCP EUSART, SPI/I2C
2xComp, 60LCD 2xCCP
2xComp, RTCC, CTMU
132-192 LCD
PIC16LF1902/3/4/6/7
3.5-14KB/ 0 /128- 512B
28/40-pin,14x10b A/D
1x 8b, 1x 16b Timers
EUSART, 72-116 LCD

28-64 pins 64-100 pins


218
8-bit PIC MCU with
USB Device

PIC18FxxJ94 NEW
PIC18F2x/4xJ53
PIC18F13/14K50 32 - 128KB / 0EE / 4KB
64-128KB / 0EE / 4KB
8-16KB / 256B / 256B 24x12-bit A/D, 3x Comp
13 x12 A/D, 3x Comp
9x 10b A/D 4xEUSART 2xSPI/I2C
2xEUSART, 2xSPI/I2C 10xPWM, RTCC,CTMU
EUSART, SPI/I2C
Features/Memory

7xECCP, 3xCCP Clk Recov, PPS Lite


ECCP. XLP
CTMU, RTCC, PPS 224-480 LCD

PIC16F1455/9 PIC18F2x/4xJ50
PIC18F6x/8xJ50
14KB / 0EE / 1KB 16-64KB / 0EE / 4KB
64 -128KB /0EE/ 4KB
5/9x 10b A/D, CWG 13x10A/D, 5b DAC
12x10b A/D, 2x Comp
EUSART, SPI/I2C 2xEUSART, 2xSPI/I2C
2xEUSART, SPI/I2C
5b DAC, 2x Comp 2xECCP, 2xComp
3xECCP, 2xCCP
2x PWM, Clk Recov CTMU, RTCC, PPS
NEW
PIC18F2x/45K50 NEW
PIC16F1454 16-32KB/256EE/2KB
14KB / 0EE / 1KB 25x10b A/D, 5b DAC
EUSART, SPI/I2C EUSART, SPI/I2C
USB, 2x PWM ECCP, CCP, 2xComp
Clk Recovery CTMU, Clk Recovery

14-20 Pins 28-40 Pins 64-100 Pins


219
Ethernet & CAN
PIC MCUs with Ethernet
High-Performance, 1Mbit Flash w/ Integrated MAC and
10BASE-T PHY
PIC18F67J60 PIC18F87J60 PIC18F97J60
128KB/ 0EE / 4KB 128KB / 0EE / 4KB 128KB / 0EE / 4KB
11x10b A/D, AEUSART 15x10b A/D, 2xAEUSART 16x10b A/D, 2xAEUSART
SPI/I2C, 2xComp SPI/I2C, 2xComp 2xSPI/I2C, 2xComp
2xCCP, 3xECCP 2xCCP, 3xECCP 2xCCP, 3xECCP
2x8b, 3x16b Timers 2x8b, 3x16b Timers 2x8b, 3x16b Timers

PIC18F66J65 PIC18F86J65 PIC18F96J65


Features/Memory

96KB / 0EE / 4KB 96KB / 0EE / 4KB 96KB / 0EE / 4KB


11x10b A/D, AEUSART 15x10b A/D, 2xAEUSART 16x10b A/D, 2xAEUSART
SPI/I2C, 2xComp SPI/I2C, 2xComp 2xSPI/I2C, 2xComp
2xCCP, 3xECCP 2xCCP, 3xECCP 2xCCP, 3xECCP
2x8b, 3x16b Timers 2x8b, 3x16b Timers 2x8b, 3x16b Timers

PIC18F66J60 PIC18F86J60 PIC18F96J60


64KB/ 0EE / 4KB 64KB / 0EE / 4KB 64KB / 0EE / 4KB
11x10b A/D, AEUSART 15x10b A/D, 2xAEUSART 16x10b A/D, 2xAEUSART
SPI/I2C, 2xComp SPI/I2C, 2xComp 2xSPI/I2C, 2xComp
2xCCP, 3xECCP 2xCCP, 3xECCP 2xCCP, 3xECCP
2x8b, 3x16b Timers 2x8b, 3x16b Timers 2x8b, 3x16b Timers

64-pin 80-pin 100-pin


221
PIC18F2x8x/4x8x
CAN
PIC18F2680 PIC18F2685 PIC18F4680 PIC18F4685
64KB / 1KB / 3328B 96KB / 1KB / 3238B 64KB / 1KB / 3328B 96KB / 1KB / 3328B
8x10b A/D 8x10b A/D 11x10b A/D, 2x Comp 11x10b A/D, 2x Comp
EUSART, SPI/I2C EUSART, SPI/I2C EUSART, SPI/I2C EUSART, SPI/I2C
1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers
1x CCP, ECAN 1x CCP, ECAN ECCP, CCP, ECAN ECCP, CCP ECAN

PIC18F2585 PIC18F4585 PIC18F4682


Features/Memory

PIC18F2682
48KB / 1KB / 3328B 80KB / 1KB / 3238B 48KB / 1KB / 3328B 80KB / 1KB / 3328B
8x10b A/D 8x10b A/D 11x10b A/D, 2xComp 11x10b A/D
EUSART, SPI/I2C EUSART, SPI/I2C EUSART, SPI/I2C EUSART, SPI/I2C
1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers
1x CCP, ECAN 1x CCP, ECAN ECCP, CCP, ECAN ECCP, CCP, ECAN

PIC18F2580 PIC18F4580
32KB / 256B / 1536B 32KB / 256B / 1536B
8x10b A/D 11x10b A/D, 2x Comp
EUSART, SPI/I2C EUSART, SPI/I2C
1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers
1x CCP, ECAN 1x CCP, ECAN

PIC18F2480 PIC18F4480
16KB / 256B / 768KB 16KB / 256B / 768B
8x10b A/D 11x10b A/D, 2x Comp
EUSART, SPI/I2C EUSART, SPI/I2C
1x 8b, 3x 16b Timers 1x 8b, 3x 16b Timers
1x CCP, ECAN 1x CCP, ECAN

28 Pin 40 Pin
222
PIC18F2x/4xK8x
CAN (Cont.)

PIC18F26K80 PIC18F46K80 PIC18F66K80


Features/Memory

64KB / 1KB / 3648B 64KB / 256B / 3648B 64KB / 256B / 3648B


8x12b A/D, 2x Comp 11x12b A/D, 2x Comp 11x12b A/D, 2x Comp
2xEUSART, SPI/I2C 2x EUSART, SPI/I2C 2x EUSART, SPI/I2C
CTMU CTMU CTMU
ECCP, 4x CCP, ECAN ECCP, 4x CCP, ECAN ECCP, 4x CCP, ECAN

PIC18F25K80 PIC18F45K80 PIC18F65K80


32KB / 1KB / 3648B 32KB / 256B / 3648B 32KB / 256B / 3648B
8x12b A/D, 2x Comp 11x12b A/D, 2x Comp 11x12b A/D, 2x Comp
2xEUSART, SPI/I2C 2x EUSART, SPI/I2C 2x EUSART, SPI/I2C
CTMU CTMU CTMU
ECCP, 4x CCP, ECAN ECCP, 4x CCP, ECAN ECCP, 4x CCP, ECAN

28 Pin 40 Pin 64 Pin


223
Capacitive Touch
Embedded Security
Prox/Keys/Slider

PIC Microcontroller Solutions


Firmware Framework
Flexibility to Customize

MTCH112
2 channel
Active Guard
Digital CAP1166 CAP1188 CAP1114
6 channel 8 channel 14 channel
6 LED drivers 8 LED drivers 11 LED drivers
Analog Analog Analog

CAP1133 CAP1126 CAP1128


3 channel 6 channel 8 channel
3 LED drivers 2 LED drivers 2 LED drivers
Analog Analog Analog

MTCH101
CAP1105/6
1 channel
5/6 channel
Low Cost
Analog
Digital
Channels
1 2 4 6 8 16 >16
225
Security & Authentication
Wireless Family
PIC12LF1840T39A
4KW/256/256
KeeLoq ® 3 +
Adds Software Library 310-928 MHz
PIC16F636 support for Transmitter
2KW/256EE/128 Advanced Encryption
2xComp, ULPWU, XTEA/AES 128
PIC12LF1840T48A
KeeLoq ®, PLVD
Features/Security

HCS36x 4KW/256/256
KeeLoq ® Code +
Hopping Encoder 418-868 MHz
PIC12F635 Transmitter
1KWord, 1xComp Software/Firmware
128 EE, 64 RAM
HCS30x Improvements PIC12F529T39A
KeeLoq ®, PLVD 1KW/64EE/41
KeeLoq ® Code +
Hopping Encoder 310-928 MHz
Transmitter

HCS20x PIC12F529T48A
1KW/64EE/41
KeeLoq ® Code +
Hopping Encoder 418-868 MHz
Transmitter

Time
226
Security & Authentication
Wireless Family
PIC12LF1840T39A Ultimate KeeLoq ®
PIC16LF1824T39A MCS3142
4KW/256EE/256
4KW/256/256 Timer Driven, Dual
+ Ultimate
+ Key Management, KEELOQ® AES-128
310-928 MHz 310-928 MHz
Advanced Encryption 310-928 MHz
Transmitter Transmitter
XTEA/AES-128 Transmitter

PIC12LF1840T48A
MCS3042
Features/Security

4KW/256/256
+
System Level Ultimate
418-868 MHz Improvements KEELOQ® AES-128
Transmitter No TX on board

PIC12F529T39A Turn-Key Solutions


1KW/64EE/41
+
310-928 MHz
Transmitter

PIC12F529T48A
1KW/64EE/41
+
418-868 MHz
Transmitter

Time
227
Thank You!

You might also like