USB
ECOM meeting 2012
UoM Oct. 2012
Confidential & Proprietary
Wireless Products
UoM Oct. 2012
Confidential & Proprietary
Focus Wireless Technologies
www.microchip.com/zigbee
www.microchip.com/wifi
www.microchip.com/miwi
www.microchip.com/bluetooth
UoM Oct. 2012
Confidential & Proprietary
www.microchip.com/wireless
3
Example Verticals

Many Wireless Verticals
•
•
•
•
•
•
•
Smoke and CO Sensors
Metering
Garage Door Openers (GDO)
Home Improvement
Smartphone, tablet accessories
Hand held health monitoring
Entertainment/Gaming
….. (plus many more!)

Many Wireless Technologies


Many solutions to a given problem
Pro’s and Con’s in all implementations

UoM Oct. 2012
We just need to think about the system requirement and architecture
Confidential & Proprietary
4
Smoke and CO Sensors
Lifestyle Hubs
•
•
•
Bi-directional
Internet Connectivity
Battery life (>1yrs)
High-end consumer
•
•
•
•
Bi-directional
Sensor arrays
Long range
Battery life (>5yrs)
Entry level: Wi-Fi / BT
Entry level: SubGHz / 802.15.4
Low-end consumer
Entry level: SubGHz
•
•
•
Transmit Only
Sensor arrays
Battery life (>10yrs)
Smoke / Gas
Detectors
UoM Oct. 2012
Confidential & Proprietary
5
Metering
Battery Powered Meters
•
•
•
•
•
Bi-directional comm(s)
Hostile Environments
Long Range
Custom protocols / profiles
Battery life (>10yrs)
Entry level: SubGHz
•
•
Bi-directional
Consumer
Protocols
Long Range
Battery life (1 yr)
UoM Oct. 2012
Entry level:
15.4 / Bluetooth / Wi-Fi
•
•
Entry level: SubGHz / 15.4
In-Home Displays
Confidential & Proprietary
Utility Services
•
•
•
•
Bi-directional
Custom Protocols
Long Range
Battery life (>10 yr)
6
Garage Door Opener
Integrated Vehicle Control
•
•
•
Bi-directional
Data and Communications
Battery life (medium)
How can we include a
security light?
____________
Entry level: BT
Entry level: Wi-Fi / BT
Entry level: SubGHz
Lifestyle Hubs
•
•
•
UoM Oct. 2012
Bi-directional
Internet Connectivity
Battery life (>1yrs)
‘Clickers’
•One-Way
•Battery life (>5yrs)
Confidential & Proprietary
7
Entertainment/Gaming
Next Generation Cloud
Gaming
Mobile Type Gaming
•
•
•
•
•
Point-to-point
Other networks active
PAN environments
Use available radio
technologies
System size matters
Bluetooth is a good solution
UoM Oct. 2012
•
•
•
•
Ethernet core
Multiple players
Broadcasts & point-to-point
Audio / Data
• Higher bandwidth
processing
Wi-Fi is a good solution
Confidential & Proprietary
8
ISO communications model
Official
Name
What it is supposed to do
Example: Wi-Fi
Application
(7)
Services provided directly to the user application
Presentation
(6)
Provides data transformations, formatting,
compression and encryption for user applications
Session
(4)
Establishes and manages end user connections and
defines full or half duplex communication
Transport
(3)
Insulates the upper layers from the lower. Provides
error handling and flow control.
TCP & UDP
Network
(3)
Establishes, maintains and terminates network
connections, includes routing and relaying.
IP & routing protocols
Data Link
(2)
Defines data frames, flow control and error handling
PPP, Ethernet frames, etc.
Physical
(1)
Controls transmission of raw bit-stream
The physical ‘1’s and ‘0’s
sent between A & B
UoM Oct. 2012
Confidential & Proprietary
FTP, SMTP, HTTP, etc.
9
Microchip’s Solution
Balancing time and investment
Data Link
(2)
Physical
(1)
•
UoM Oct. 2012
Chip down solutions
•
Confidential & Proprietary
Days /
Wks
Plus
certification cost(s)
‘Bargain’ Modules
‘Time-To-Market’
solutions
Lowest
Apparent Cost
Network
(3)
12-18
months
Transport
(3)
Low cost module
solutions
18-24+ months
Upper Layers
(4-7)
Plus multiple board spins &
certification cost(s)
END
APPLICATION
• Microchip
MRFxxx/RNxxx Solutions
10
Supporting the Internet of Things
With Embedded Wi-Fi
UoM Oct. 2012
Confidential & Proprietary
11
Microchip Focus:
Wireless Connectivity of Things



Home health and Medical
Smart Power/Energy
Industrial Control and Monitoring
Home Control and Monitoring
Embedded products: low power, low free resource host processors
Get on the network, transfer data, and get off
Communicate with other things or users via internet
UoM Oct. 2012
Confidential & Proprietary
12
Certifications

Wi-Fi

Wi-Fi certification ensures compatibility



does not extend to end products
Optional for final products
Regulatory


RoHS compliant
USA/ Europe/Canada/Korea
UoM Oct. 2012
Confidential & Proprietary
13
Product Portfolio
MRF24WB0
RN171
UoM Oct. 2012
MRF24WG0
RN131
Confidential & Proprietary
14
WPD Product Families
MRF Family
RN Family
Services/IP
Stack
Application
Application
UART
/SPI
SPI
MRF24WB/G
RN171/131
• Microchip TCP/IP stack
• 802.11 b & b/g
• Low Power, Higher bandwidth
• Microchip development environment
• Provides complex IP services
UoM Oct. 2012
TCP/IP
Stack
• TCP/IP stack onboard module
• 802.11 b/g
• Low power, fast connect (<100ms)
• Works with any microcontroller
• Data to Wi-Fi services
Confidential & Proprietary
15
Product Portfolio
MRF24WB0
RN171
UoM Oct. 2012
MRF24WG0
RN131
Confidential & Proprietary
16
Product Portfolio
MRF24Wxxx – Radio Module
GREAT FIT FOR
TCP/IP
Stack
SPI
MRF24WB/G
• PIC® MCU Customers
• Rich/Custom Wi-Fi Services
• Experienced Customers
• MPLAB® IDE Savvy
• Low-power / higher bandwidth
When Do You Lead with the MRF24Wxxx Wi-Fi Solutions?
• Using a PIC 8,16,32 bit PIC MCU w/ the Microchip TCP/IP Stack
• Transitioning from MRF24WB modules to MRF24WG modules
• Wanting to support Ethernet and/or Wi-Fi
• Looking for higher data rate Wi-Fi
• Looking for a path to chip down for high volume applications
• Looking for more advanced or customized Wi-Fi services
– Wi-Fi Direct, WPS, SoftAP, HTTP Server, SSL, IPv6,
Plus many other services and source code
UoM Oct. 2012
Confidential & Proprietary
17
Product Portfolio
RNxxx – Co-Processor Module
GREAT FIT FOR
• Fast Time to Market
• Data transfer apps
• Canned Solutions
• 3rd Party MCUs
• Just add Wi-Fi
TCP/IP
Stack
UART/SPI
RN171/131
When Do You Lead with the RNxxx Wi-Fi Solutions?
• Need a quick prototype
• Don’t know TCP/IP or Wi-Fi
• Using a PIC® MCU w/o the Microchip TCP/IP Stack
• Using a 3rd party MCU
• Want to “just add Wi-Fi”
• You can use the following Wi-Fi services:
– FTP client, TCP, UDP, WPS, SoftAP, DHCP, DNS Client, Telnet, HTTP Client
UoM Oct. 2012
Confidential & Proprietary
18
Product Portfolio
MODULES
802.11 Radio
MRF24W MRF24W
B0MB
B0MA
RN171
RN131
C/G
MRF24W MRF24W
G0MB
G0MA
b
b
b/g
b/g
b/g
b/g
+10dBm
+10dBm
+12dBm
+18dBm
+18dBm
+18dBm
Antenna
uFL
PCB
PAD
Chip/uFL
uFL
PCB
Stack
PIC
PIC
Onboard
Onboard
PIC
PIC
8/16/32
bit
8/16/32
bit
8/16/32
bit
8/16/32
bit
8/16/32
bit
8/16/32
bit
NOW
NOW
NOW
NOW
NOW
NOW
Power
Typ. Support
MCU
Availability
UoM Oct. 2012
Confidential & Proprietary
19
RN171/131 Wi-Fi

Wi-Fi market space



Sensors, automation, RTLS, medical,
automotive and others
End nodes
RNxxx unique silicon






Single chip solution
Ultra low power
 4uA sleep
 30mA receive
 Tx (variable based on PA configuration)
Fast wakeup
 Sleep > Ready to transmit
11ms
 Full Sleep to sleep TCP exchange
100ms
On-board stack
GPIO, 14 bit ADC, timers, etc.
Rich ASCII command line interface
UoM Oct. 2012
Confidential & Proprietary
20
MRF24WG0MA/MB (802.11 b/g)

Dual chip solution



802.11b/g MAC & baseband
RF & PA
Full b/g data rates



Burst at 54Mbps
Sustained data rate 5Mbps
Programmable PA (0-18dBm)
RF
MAC
DBB
SPI

Infrastructure, Adhoc, Wi-Fi Direct client
PA
Encrypt
Engine
RAM

Wi-Fi Services
LDO
Power
Mgmt
ROM




SPI

WEP, WPA2-PSK, WPA-EAP
Wi-Fi Protected Setup (WPS)
802.11 PS
SoftAP
Agency Certified – FCC/ ETSI/ IC
UoM Oct. 2012
Confidential & Proprietary
21
Getting Started



Start with hardware platform of choice
Download Microchip TCPIP Stack v5.42
Comes with several demonstrations
• TCPIP Demo App
• Console Demo App

• EZConfig Demo App
Provides out-of-box demos to start
DV240001
UoM Oct. 2012
DM163024
Confidential & Proprietary
AC164136-4
22
Getting started with
RN1xx Wi-Fi
RN-171-PICtail
RN-131-PICtail
RN-171-EK
RN-131-EK
UoM Oct. 2012
Confidential & Proprietary
23
UoM Oct. 2012
Confidential & Proprietary
24
Technologies – Bluetooth
(Customers/Markets)

Key Markets

Simple cable replacement



Its what BT was designed for!
Easily make legacy wired devices - wireless
The Smartphone – a key driver




Apple is a catch-word; niche, high volume ‘cool’ products
Projections show it is replacing the standard feature phone
Lots of widgets use the smartphone as the interface
Becoming a lifestyle hub





UoM Oct. 2012
Health/fitness
Automotive
Industrial control
Home entertainment
Home automation
Confidential & Proprietary
25
Technologies – Bluetooth
(Customers/Markets)

Example Applications
Health & Fitness
Consumer Gadgets
Toy
Access Control
Engine Diagnostic
UoM Oct. 2012
Confidential & Proprietary
26
Technologies – Bluetooth
(Profiles)


Roving focus’ on key data profiles
Our primary focus: DATA

SPP: Serial Port Profile – RN41-I/RM



iAP: iPhone Accessory Profile – RN41APL-I/RM




Keyboards
Mice
Game controllers
HCI: Host Controller Interface – RN41HCI-I/RM



Proprietary version of SPP for iOS devices (APPLE)
HID: Human Interface Devices – RN41HID-I/RM


RS232 replacement
Custom payloads
http://en.wikipedia.org/wiki/Bluetooth_profile
Off module stacks
Enables other profile use on external processors
Our secondary focus: Audio &
BTLE

A2DP: Advanced Audio Distribution Profile



UoM Oct. 2012
TBD – On road map
We have NOT released this module
We will talk to high volume teaching customers
Confidential & Proprietary
27
Profiles: iPod Acc. Profile (iAP)
UoM Oct. 2012
Confidential & Proprietary
28
Product Portfolio
KEY FEATURES
RN4x – Co-Processor Module
• BT v2.1 EDR stack on board
• SPP, HID, other profiles available
• Agency certified
• Class 1 (100M) and Class 2 (30M)
• Multiple antenna versions
• Apple authentication services available
BT v2.1
Stack/Profile
UART
RN4x
(Optional)
Where do the RN4x Bluetooth Family of Products Fit?
• Customer looking for simple cable replacement
• Customer with data transfer options
• Customer who want to “just add “Bluetooth”
• Customer looking for SPP, HID or HCI services
• Customer looking for Apple iAP services
UoM Oct. 2012
Confidential & Proprietary
29
Bluetooth Products
UoM Oct. 2012
Confidential & Proprietary
30
Bluetooth™ Evaluation Kit Hardware
RN-4x-SM Evaluation Board
 Contains RN-4x module
 Serial Interface (RS-232 / TTL)
 Status LEDs
 Quick setting(s) jumpers




Auto-connect modes
Factory reset
Baud rate (9600 or 115,200)
RN-41-SM
Voltage regulator
Mode
Configuration Mode
Boot / Remote Config
Discoverable / Idle
Connected
UoM Oct. 2012
Green LED Status
Fast (10/sec)
Medium (2/sec)
RN-42-SM
Slow (1/sec)
ON (Solid)
Confidential & Proprietary
31
Other Wireless
UoM Oct. 2012
Confidential & Proprietary
Focus Wireless Technologies
www.microchip.com/zigbee
www.microchip.com/wifi
www.microchip.com/miwi
www.microchip.com/bluetooth
UoM Oct. 2012
Confidential & Proprietary
www.microchip.com/wireless
33
Product Portfolio
IEEE 802.15.4
Sub-GHz
MRF24XA
Low power
MRF24J40
MRF24J40MA
+0dBm
MRF24J40MB
+20dBm, PCB Ant
MRF24J40MC
+20dBm, Ext Ant
UoM Oct. 2012
Confidential & Proprietary
MRF49XA
433/868/915
MRF89XA
868/915/950
MRF89XAM8A
868 MHz (EU)
MRF89XAM9A
915 MHz (US,CA)
34
ZigBee® Solutions
Smart Energy (SEP 1.1)
Suite Includes:




Certified ZigBee Pro Stack
SE Profile Application
ZigBee Cluster Library
Security CBKE Library
UoM Oct. 2012
ZigBee RF4CE




Confidential & Proprietary
Certified RF4CE Stack
Controller & Target Profiles
PIC18 and PIC24
Smallest stack size @ 16KB
35
MiWi™ Protocol Stacks

MiWi™ P2P – Out of Box





Child
Mesh Network – up to 4 hops
Size ~16KB
MiWi PRO – More Complex






Simple Star Network
Size ~4KB
MiWi – Development

Parent
Mesh network
64 hops of routing capability
Up to 8000 nodes
Network Freezer
Size ~25KB
Download today via MLA
UoM Oct. 2012
Confidential & Proprietary
36
8-bit Wireless
Development Kit



eXtreme Low Power (XLP) PIC® Microcontroller
Battery-friendly, portable
Supports multiple radio
PICtail™ daughter boards
 2.4 GHz
 Sub-GHz

Kit includes
 2 - Wireless PICtail™ daughter boards - 2.4GHz
 2 - PIC18 Wireless Development boards
 2 - LCD Serial Accessory boards
 2 - RS-232 Serial Accessory boards

Available now
UoM Oct. 2012
Confidential & Proprietary
37
ZENA™ Wireless Adapters

ZENA™ Wireless Adapters
2.4GHz – AC182051-1
 868MHz – AC182051-2
 915MHz – AC182051-3


Multi-function capability
MiWi™ Sniffer
 MiWi Node
 More to come!

UoM Oct. 2012
Confidential & Proprietary
38
Wireless Development
Studio

Features



Cross Platform
Support for




MiWi™ Sniffer
MiWi Configurator
Windows®
Mac OS®
Linux
Free download via Microchip’s website:
www.microchip.com/WDS
UoM Oct. 2012
Confidential & Proprietary
39
KeeLoq®
&
Remote Keyless Entry (RKE)
Sub GHz – (310-915 MHz)
UoM Oct. 2012
Confidential & Proprietary
RKE Wireless
PIC®
MCU





RF
Transmitter
RF
Receiver
Home Automation
Wireless sensor nodes
Security Systems
Remote control
Command and control
UoM Oct. 2012




Confidential & Proprietary
PIC®
MCU
Remote Keyless Entry (RKE)
Garage Door Openers (GDO)
Energy Displays
Tire Pressure Monitoring
41
MCU+Tx Portfolio
Dual-Die, Single Package
Cost
PIC12LF1840T39A
4KW/256EE/256
310-928 MHz
Transmitter
PIC12LF1840T48A
4KW/256EE
418-868 MHz
Transmitter
PIC16LF1824T39A
20-Pin
4KW/256EE/256
310-928 MHz
Transmitter
PIC12F529T39A
1KW/64EE
310-928 MHz
Transmitter
PIC12F529T48A
1KW/64EE
418-868 MHz
Transmitter
Time
UoM Oct. 2012
Confidential & Proprietary
42
PIC12LF1840T48A


1.8V-3.6V Operation
Standby Current:


Operating Current:



170nA Sleep
9.67 mA at +0 dBm,
16 mA at +10 dBm
Transmit Radio:



FSK Operation up to 100 kbps
OOK Operation up to 10 kbps
418, 434 and 868 MHz
UoM Oct. 2012
Confidential & Proprietary
43
Next Steps with RKE
Wireless Security Remote Control Development Kit




433.92 MHz (DM182017-1)
868 MHz (DM182017-2)
915 MHz (DM182017-3)
Download the demo firmware and user’s guide from
www.microchip.com/security
UoM Oct. 2012
Confidential & Proprietary
44
Wired Connectivity Featuring
USB
Enhance your products’
Connectivity to meet the demands
of a smarter world
UoM Oct. 2012
Confidential & Proprietary
Agenda - USB as a total
solution

What do you need?

Hardware
Serial Interface Engine SIE
 USB Transceiver - Physical Layer PHY
 USB Analog – Comparators, Pullups, Regulators


Firmware
USB Software Stack (Low Level)
 Drivers (Device Class Level)
 Examples (Application Level)


PC Software

UoM Oct. 2012
Drivers, Examples
Confidential & Proprietary
46
USB Framework

Distribution package containing:
PIC16, PIC18, PIC24F and PIC32 firmware
projects
 Class Drivers
 Demo code for PIC micro
 Demo code for PC application
 Configuration tool
 Schematics
Part of the Microchip Applications Library

www.microchip.com/mal
UoM Oct. 2012
Confidential & Proprietary
47
Free USB Software Stacks
and Drivers

Stacks:




USB Host/Device Drivers:
 Combination Support:
Device Stack
Embedded Host Stack
On-The-Go Stack


Class Drivers:



HID, MSD, CDC, Custom,
Audio, Printer, PHDC
Lib USB vendor class
device
WinUSB vendor class
device



CDC host for ACM devices
PCL 5 printer host support,
Postscript, and some POS
printers
Composite driver
DRD MSD host and HID
device
Composite MSD and CDC
Use Microchip’s
USB VID/PID
UoM Oct. 2012
Confidential & Proprietary
48
Wide Range of USB
Solutions
Adding Analog
MCP2200
MCP2210
USB to UART/SPI
UoM Oct. 2012
Confidential & Proprietary
49
Let us introduce
MCP2200
UoM Oct. 2012
Confidential & Proprietary
50
MCP2200: USB to UART Serial
Converter






Enables USB connectivity in applications
with UART
Pre-programmed USB stack
Easy to configure
USB 2.0 Compliant
Full-speed USB
USB activity LED
outputs
Fully configurable Easiest way to add USB to your design
VID and PID assignments
USB LEDs
GPIO
UART
Controller
Control
EEPROM

UoM Oct. 2012
Confidential & Proprietary
USB Protocol
Controller
USB
Transceiver
LDO, Osc,
Reset
51
MCP2200EV-VCP:
USB TO RS-232 DEMO BOARD



Demonstrates the MCP2200 in a Virtual
Comm Port environment
Provides method for I/O configuration
development
Configuration and Control S/W and DLL for
custom S/W development at
www. microchip.com/usb
UoM Oct. 2012
Confidential & Proprietary
52
Let us introduce
MCP2210
UoM Oct. 2012
Confidential & Proprietary
53
MCP2210 USB-to-SPI
Serial Converter
Add USB
connectivity in
applications
that have an
SPI interface
UoM Oct. 2012
Confidential & Proprietary
54
MCP2210 Evaluation Kit


Motherboard includes 8-bit I/O
expander, 12-bit ADC, 2kbit EEPROM
and temperature sensor
All communication through SPI
www.microchip.com/MCP2210EvaluationKit
UoM Oct. 2012
Confidential & Proprietary
55
MCP2210 Evaluation Kit


MCP2210 Breakout Board (ADM00419)
MCP2210 SPI Slave Motherboard
(ADM00420)
UoM Oct. 2012
Confidential & Proprietary
56
Wide Range of USB
Solutions
Adding 8Bit
PIC16F
USB
Device Support
MCP2200
MCP2210
USB to UART/SPI
UoM Oct. 2012
Confidential & Proprietary
57
Wide Range of USB
Solutions
Adding 8Bit
PIC18F
USB
Device Support
PIC16F
USB
Device Support
MCP2200
MCP2210
USB to UART/SPI
UoM Oct. 2012
Confidential & Proprietary
58
Significance

First Microchip USB MCUs with Clock Recovery
• No External Crystal Required for USB communication
• Saves space, saves money, and increases simplicity

Low Power performance for extended battery life
• Active current < 35uA/MHz
• Sleep current < 20nA

Wide Range of feature set and core performance options
• PIC18 Core for performance, or PIC16 Core for cost savings
• Up to 2KB of RAM Memory supports a range of USB classes
• Peripherals to promote feature integration, resulting in BOM savings
UoM Oct. 2012
Confidential & Proprietary
59
Clock Options

Internal Oscillator:

Software selectable frequency range




31 kHz - 48 MHz
Low current consumption
Self-Tuning during USB operation
External Clock
Source
Up to 48 MHz
EC - External Clock


Tuned to USB
Clock
31 kHz – 48 MHz
SYSTEM
CLOCK
External Options

Clock
Recovery
Module
Low Power
Internal
Oscillator
Up to 48MHz
LPT1OSC – Low Power Timer 1



32 kHz Low-Power Crystal Option
500 nA current consumption
Real Time Clock implementation

Timing critical
Low Power
Timer 1 Oscillator
(LPT1OSC)
Low Power
Real-Time-Clock
(RTC)
32.768 kHz
Low Power Crystal
Reference application note: AN1303
UoM Oct. 2012
Confidential & Proprietary
60
Low Pin Count 8-bit PIC USB Family
PIC18F45K50
Concept
16KW/256EE/2KB
2xComp, 25x10-bit A/D
EUSART, MI2C/SPI
ECCP, CCP, CTMU
USB 2.0,
CLK Recovery
Design
Features/Memory
Existing
PIC18F2550
16KW/256EE/2KB
2xComp
8x10-bit A/D
MI2C/SPI, ECCP
USB 2.0
PIC16F1455
8KW/0EE/1KB
5x10-bit A/D EUSART,
MI2C/SPI
2xComp, 2xPWM,USB
2.0,
CLK Recovery
PIC16F1454
4KW/0EE/512
EUSART, MI2C/SPI
USB 2.0,
CLK Recovery
14 Pin
UoM Oct. 2012
PIC18F14K50
8KW/256EE/768
2xComp
9x10-bit A/D
MI2C/SPI, ECCP
USB 2.0
PIC16F1459
8KW/0EE/1KB
9x10-bit A/D EUSART,
MI2C/SPI
2xComp, 2xPWM, USB
2.0,
CLK Recovery
PIC18F2450
8KW/0EE/768
8x10-bit A/D
MI2C/SPI, ECCP
USB 2.0
PIC18F25K50
16KW/256EE/2KB
2xComp, 14x10-bit A/D
EUSART, MI2C/SPI
ECCP, CCP, CTMU
USB 2.0,
CLK Recovery
PIC18F24K50
8KW/256EE/1KB
2xComp, 9x10-bit A/D
EUSART, MI2C/SPI
ECCP, CCP, CTMU
USB 2.0,
CLK Recovery
PIC18F4550
16KW/256EE/2KB
2xComp
8x10-bit A/D
MI2C/SPI, ECCP
USB 2.0
PIC18F4450
8KW/0EE/768
8x10-bit A/D
MI2C/SPI, ECCP
USB 2.0
PIC18F13K50
4KW/256EE/512
xComp
9x10-bit A/D
MI2C/SPI, ECCP
USB 2.0
20 Pin
Confidential & Proprietary
28 Pin
40 Pin
61
Let us introduce
PIC16F1459
UoM Oct. 2012
Confidential & Proprietary
62
PIC16F145x Family
Our Lowest Cost USB MCUs to Date
PIC16F145X Block Diagram
Reliable Low Power
Program Memory
WDT, RTC, BOR, POR
nanoWatt XLP
Int. Oscillator
(48MHz)
Data EEPROM
Up to 14 KB
256B
(8K Instructions)
CPU
16-Level Stack &
Program Counter
Universal Serial
Bus (USB) 2.0
14-bit Instruction
49 Total Instructions
(2) 16-bit FSRs
Interrupt Context Save
10-bit ADC
Up to 9 channels
Clock
Recovery
Module
Up to 1 KB
Linear Addressing
Standalone PWM
Up to 2 Channels
2x Comparators
Communications
MI2C, SPI
EUSART
Supports Full Speed
USB Communication No External Crystal
Required!
Data Memory
32 Level
Voltage
Reference
Low-Cost Integrated PWMs
Enhanced Communications
Available in 14- & 20-pin Packages
UoM Oct. 2012
Confidential & Proprietary
63
Key Peripherals
PIC16F145x Family
Peripheral
Benefit / Result
o
48MHz Internal Clock w/ Recovery
o
o
Wide range of sensing applications possible
Built-in battery monitor capability
Integrated control of simple SMPS circuits
o
USB to UART or I2C Bridge capabilities
o
TEMP measurements at ZERO additional cost
No need for external hardware
o
On-board Analog – 10-bit ADC, Comparators,
Fixed Voltage Reference
Integrated I2C/SPI and USART interfaces
Integrated Temperature Indicator
o
o
Pulse Width Control Modules
o
o
UoM Oct. 2012
No external Crystal required for USB operation
Integrates clocking control & saves board area
Multiple PWMs for external output control
Independently controlled duty cycle
Confidential & Proprietary
64
Low Power Operation
PIC16F145x
Industry Leading Low Power Performance
Sleep Current
WDT Current
Timer1 Current



20nA*
300nA*
600nA*
Low Active Current
with Low Power BOR


<35uA/MHz*
200nA*



Great for battery powered applications !!!
* Typ specs @ 1.8V for LF options
UoM Oct. 2012
Confidential & Proprietary
65
Let us introduce
PIC18F2x/4xK50
UoM Oct. 2012
Confidential & Proprietary
66
PIC18F2x/4xK50 Family
High Performance with Clock Recovery
Block Diagram
Reliable Low Power
Program Memory
Int. Oscillator
WDT, RTC, BOR, POR
nanoWatt XLP
(48MHz)
Data EEPROM
Up to 32 KB
256B
(16K Instructions)
16-level Stack &
Program Counter
Universal Serial
Bus (USB) 2.0
CPU
16-bit Instruction
83 Total Instructions
(3) 12-bit FSRs
Interrupt Context Save
10-bit ADC
Up to 9 channels
Clock
Recovery
Module
Up to 2 KB
Linear Addressing
CCP
ECCP
2x Comparators
Communications
MI2C, SPI
EUSART
Supports Full Speed
USB Communication No External Crystal
Required!
Data Memory
CTMU
PWM with Complement
Generation
Touch, Temperature, Humidity
Sensing and More!
Available in 28- & 40-pin Packages
UoM Oct. 2012
Confidential & Proprietary
67
Key Peripherals
PIC18F2x/4xK50 Family
Peripheral
Benefit / Result
o
48MHz Internal Clock w/ Recovery
o
o
Wide range of sensing applications possible
Built-in battery monitor capability
Integrated control of simple SMPS circuits
o
USB to UART or I2C Bridge capabilities
o
TEMP measurements at ZERO additional cost
No need for external hardware
o
On-board Analog – 10-bit ADC, Comparators,
Fixed Voltage Reference
Integrated I2C/SPI and USART interfaces
Integrated Temperature Indicator
o
o
o
Pulse Width Control Modules (ECCP and CCP)
o
o
Charge Time Measurement Unit
o
o
UoM Oct. 2012
No external Crystal required for USB operation
Integrates clocking control & saves board area
Multiple PWMs for external output control
Automatic Complementary Waveform Generation
Automatic Dead Time Insertion
Integrated On-chip Constant Current Source
Used to perform various types of measurement
Confidential & Proprietary
68
Features/Memory
8-bit PIC MCU with
USB Device
PIC18F13/14K50
8-16KB / 256B / 256B
20 pins
XLP, USB
PIC18F47J53
64 - 128KB / 4KB
28 - 44 pins
XLP, USB, CTMU,
RTCC, 3V, 12-bit ADC
PIC18F97J94
64 - 128KB / 4KB
64 – 100 pins
XLP, LCD,
USB
PIC16F1455/9
14KB / 4KB
14 - 20 pins
USB
PIC18F46J50
16 - 64KB / 4KB
28 - 44 pins
XLP, USB, PPS,
CTMU, RTCC, 3V
PIC18F87J50
64 -128KB / 4KB
64-80 pins
USB
PIC16F1454
7KB / 512B
14 pins
EUSART, MI2C/SPI
USB
PIC18F45K50
16 - 32KB / 4KB
28-44 pins
XLP, USB
14-20 Pins
UoM Oct. 2012
28-44 Pins
Confidential & Proprietary
64-100 Pins
69
Let us introduce
PIC18F97J94
UoM Oct. 2012
Confidential & Proprietary
70
Significance

General Purpose 8-MCU with large Memory in 100/80/64 pins
• 128KB of Program Memory
• 4KB of RAM

High End 8-bit MCU with Advance Peripheral
•
•
•
•
•

LCD 480 segments with 8 commons
USB 2.0 Full Speed compatible
4 EUSART with LIN and IrDA
RTCC with battery backup (Vbat)
CTMU and 24 channel 12-bit ADC
eXtreme Low Power
• Vbat allows lowest power consumption on backup battery for RTCC
UoM Oct. 2012
Confidential & Proprietary
71
PIC18F97J94
Features/Memory
Large Pin Count / Large Memory
With LCD, USB, 12-Bit ADC and Vbat
PIC18F67J94
128KB / 0EE / 4KB
16x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 224
PIC18F87J94
128KB / 0EE / 4KB
24x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 352
PIC18F97J94
128KB / 0EE / 4KB
24x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 480
PIC18F66J94
64KB / 0EE / 4KB
16x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 224
PIC18F86J94
64KB / 0EE / 4KB
24x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 352
PIC18F96J94
64KB / 0EE / 4KB
24x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 480
PIC18F65J94
32KB / 0EE / 4KB
16x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 224
PIC18F85J94
32KB / 0EE / 4KB
16x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 352
PIC18F95J94
32KB / 0EE /4KB
24x12-bit A/D, 3x Comp,
4xEUSART (IrDA), USB,
2xMSSP, 10xPWM,
RTCC, CTMU, LCD 480
64 Pin
UoM Oct. 2012
80 Pin
Confidential & Proprietary
100 Pin
72
Typical Applications

Industrial

Security

Data loggers

Printers

Consumer

Thermostats

Door Locks

Portable hand held devices

Medical

Blood Pressure Meter

Glucose Meter

Pedometer

Metering

Single phase energy meters
UoM Oct. 2012
Confidential & Proprietary
73
Development Tools
Low Pin Count Development Kit
LCD Explorer Dev. Board
DM240314
PIC18 Starter Kit
UoM Oct. 2012
Confidential & Proprietary
74
Free USB Device Class
Demonstration Code
Device Class Demo Code






Bootloaders
Audio – MIDI
Composite
 HID + MSD & MSD + CDC
Mass Storage
 Internal Flash
 SD Card data logger & Reader
HID
 Custom Demos
 Joystick, Keyboard, Mouse
 Digitizers
 Uninterruptable Power Supply HID
CCID, CDC, LibUSB, WinUSB, PHDC
UoM Oct. 2012
Confidential & Proprietary
75
Wide Range of USB
Solutions
Adding 16Bit
PIC24F
USB Device, Embedded
Host, OTG
PIC18F
USB
Device Support
PIC16F
USB
Device Support
MCP2200
MCP2210
USB to UART/SPI
UoM Oct. 2012
Confidential & Proprietary
76
USB On-The-Go (OTG)



Allows item to operate as Host or Device
PDA connected to PC will automatically be a Device
PDA connected to Keyboard will automatically be a Host
PDA OTG Host
PC Host
PDA OTG
Device
UoM Oct. 2012
Confidential & Proprietary
Keyboard
Device
77
USB Embedded Host
Application

Embedded Application acting as a host




No PC in system
Will not need to act as a Device
Advantage: Smaller, less complex firmware
Example: Remote Temperature Data Logger

Download data to a USB Flash Drive
UoM Oct. 2012
Confidential & Proprietary
78
Embedded Host Examples
POS Terminal
Video Game Console
Sprinkler Timers
Exercise Equipment
UoM Oct. 2012
Set-Top Box
Confidential & Proprietary
79
16-bit PIC MCU & DSC with
USB Device, Host & OTG
PIC24EP512GU /
dsPIC33EP512MU
70 MIPS
280-536 KB / 28-52KB
64-144 Pins
USB, 2xCAN, PMP
Features/Memory
PIC24FJ128GC010
64-128K / 8KB
64-100 pins
16b SD & 12b SAR
ADC, DAC, XLP, USB,
LCD
PIC24FJ128GB204
64-128KB / 8KB
28 - 44 pins
XLP, USB, AES/DES,
RNG, Key Storage
PIC24FJ256GB210
128 –256KB / 96KB
64 - 100 pins
USB
PIC24FJ64GB004
32 – 64KB / 8KB
28 – 44 pins
XLP, USB
PIC24FJ256GB110
64 –256KB / 32KB
64 - 100 pins
USB
28-44 Pins
UoM Oct. 2012
64-144 Pins
Confidential & Proprietary
80
Let us introduce
PIC24FJ128GB204
UoM Oct. 2012
Confidential & Proprietary
81
PIC24F “GB204” MCUs:
Key Features & Benefits
Key Product Feature
Benefits
Reduces Software overhead, High speed, Security applications
Hardware encryption,
Secure Key Storage,
Pseudo Random Number
Generation
UART with ISO7816
support & USB
Enables entry into smart card reader market
Lowers BOM cost, Reduces software overhead, higher speed
USB & mTouch™
Easy connectivity, clean control
Technology with
Vbat
UoM Oct. 2012
Battery back up for RTCC and Longer battery life
Confidential & Proprietary
82
PIC24FJ128GB204 Family
Overview
64 - 128 Kb FLASH

10/12 bit A/D, 9-13 Ch
3 x Comparators
6 x IC/OC/PWM


2 x UART w/ ISO-7816
8 KB
RAM
2xUART w/IrDA
3 x SPI w/ DMA & I2S

PPS
8/16 bit Timer, 4/4
2 x I2C
USB OTG
OTP Key Storage
Hardware Security
Engine
16 MIPS/32 MHz
2.0 to 3.6V
DS WDT & BOR
Vbat
RTCC

Deep Sleep
INT0
Deep Sleep Mode
Vbat
9 – 13 ch. X 10/12-bit A/D (200/500 ksps)
4 x UART w/IrDA (UART 1&2 with ISO7816
compatibility)
2 x I2C
3 x SPI and I2S
6ch. DMA
3 x comparators
CTMU
Hardware RTCC
Peripheral Pin Select



CTMU
PIC24F
16-Bit Core
Hardware Security Features

AES and DES/Triple DES

On-chip OTP Key Storage

Pseudo Random number generator
USB OTG
nanoWatt XLP Low Power Modes







Package options


UoM Oct. 2012
28-pin SOIC, SSOP, QFN
44-pin TQFP, QFN
Confidential & Proprietary
83
What is Security…
Hardware
AES256/D
ES/Triple
DES
GB204 offers
Data X
Sender A
Hardware
AES256/D
ES/Triple
DES
Cipher Y
Encryption
Insecure Channel
Key K
Data X
Decryption
Receiver B
Key K
Secure Key Storage
Encryption
Key Type
Applications
Symmetric
Single key (K)
ATM card pin
Asymmetric
Private Key,
Public Key pair
(K1, K2)
Banking
transactions
with RSA ID
UoM Oct. 2012
OTP Key
Storage
(512 bits)
Confidential & Proprietary
84
Application Example
Secure M2M Communication

Encryption
 AES, DES, Triple DES for Higher speed and data
authentication
 Hardware AES is ~10 times faster than Software
AES
 Hardware DES is ~200 times faster than Software
AES

OTP Key Storage
 512 bits of on chip key storage
 Prevents software tamper

PRNG
 Support for key generation

Use Cases


UoM Oct. 2012
Electronic Point of Sale
Prepayment
Confidential & Proprietary
85
Smart Card Reader…
SMARTCARD READER
24FJ128GB204
MCU
16-bitCore
MCU
Smart Card
Power
Supply Unit
128KB
Flash
Flash
ISO
ISO7816
7816
UART
2x
UART
USB Host
RAM
8KB
RAM
Card
Detection
and
Activation
UoM Oct. 2012
Confidential & Proprietary
12Mbps
86
USB
USB FULL
FULL
SPEED
SPEED I/F
I/F
1.8/3/5
V
230+Kbps
Smart Card
86
Development Board

Explorer 16 Board


Can be used for General
Purpose Applications
USB PICTail Daughter
card

For USB Applications

UoM Oct. 2012
Smart Card PICtail Daughter
Board (AC164141)
 For smart card applications
Confidential & Proprietary
87
Let us introduce
PIC24FJ128GC010
UoM Oct. 2012
Confidential & Proprietary
88
PIC24F “GC” MCUs:
Key Features & Benefits
Key Product Feature Benefits
Integrated Analog
Lower BOM, lower noise, higher speed
USB, LCD & mTouch™
Rich display, web connected, clean control
Technology
UoM Oct. 2012
Longer battery life
Confidential & Proprietary
89
Analog So What…

Lower noise with higher throughput

16-bit ADC


12-bit ADC


Ultra-high speed data capture, 50 ch
10-bit DACs


More information (3µV) & eliminates amplifier
Analog control loops, stereo audio, stimulus
Operational Amplifier

UoM Oct. 2012
Analog control loops, mic pre-amp
Confidential & Proprietary
90
PIC24FJ128GC010
Family Overview
64 - 128 KB
Flash
A/D, 12-bit 50 ch
DAC, 10-bit, 2 CH
2 Op. Amp.
8 KB
RAM
5 Input Capture
5 Output Compare/PWM
2 UART
6 ch DMA
2 SPI
Peripheral Pin Select
5 16-Bit Timers
Analog Switch
A/D, 16bit 4 ch

Precision Analog

4 ch x 16-bit Sigma Delta ADC

50 ch x 12-bit SAR ADC

2 ch x 10-bit DAC

2 x Operational Amplifiers

Internal Connection Switch Matrix

Communications

USB OTG

UART, SPI, I2C™

LCD controller

472 Segment

Voltage Booster

128KB Flash, 8KB RAM

DMA Controller

Package options

64-/80-/100-pin TQFP

64-pin QFN, 121 BGA
2 I2C™
USB-OTG
LCD Driver
PMP/CRC
PIC24F
16-Bit Core
CTMU
16 MIPS/32 MHz
2.0 to 3.6V
INT0
DS BOR
Vbat/RTCC
UoM Oct. 2012
Deep
Sleep
DS WDT
Confidential & Proprietary
91
Application Example
Glucose Meter

Integrated High Resolution Analog




Rich Information Display




Send data to physician or upload to web
XLP Low Power


UoM Oct. 2012
Can provide text guidance
Can show Asian characters
Adjustable text sizes for seniors
USB data upload


Reduces BOM, simplifies design
Fast 12-bit results & high resolution 16-bit
Operation Amplifier and 10-bit DAC for
complete signal chain
Runs longer on coin cell or round cell batteries
Low Run power and Vbat battery backup
Confidential & Proprietary
92
PIC24FJ128GC
Beta Kit Contents
PIC24F Starter Kit for
Simple.Portable.Analog
121-Ball BGA (BG)
10 x 10 x 1.1 mm
UoM Oct. 2012
Confidential & Proprietary
93
Development Tools
for USB Host
Explorer 16 Development
Board





Alphanumeric 16 X 2 Display
RS-232 Serial Port and
Associated Hardware
JTAG and Ethernet Connectors
Push-button switches and LEDs
…and many more features
USB PICtail™ Plus
Daughter Board
Plug-in Modules (PIMs)

Many different PIC® MCUs with
USB
UoM Oct. 2012
Confidential & Proprietary
94
Free USB Host
Demonstration Code
Host Demo Code





Bootloaders
CDC: Serial Demo
Charger: Simple Charger
HID: Keyboard
Printer



Mass Storage



Print Screen
POS Demo
Thumb Drive Data Logger
Storage Demo
USB OTG and DRD
www.microchip.com/usb
UoM Oct. 2012
Confidential & Proprietary
95
Wide Range of USB
Solutions
PIC32
USB Device, Embedded
Host, OTG
Adding 32Bit
PIC24F
USB Device, Embedded
Host, OTG
PIC18F
USB
Device Support
PIC16F
USB
Device Support
MCP2200
MCP2210
USB to UART/SPI
UoM Oct. 2012
Confidential & Proprietary
96
Features/Memory
32-bit PIC MCU with
USB Device, Host & OTG
PIC32MX5/6/7
80 MHz
64-512KB / 16-128KB
64-100 pins
USB, Ethernet, CAN
PIC32MX1/2
40 MHz
64-128KB / 16-32KB
28-44 pins
USB, I2S, CTMU,
PPS
PIC32MX1/2
40 MHz
16-32KB / 4-8KB
28-44 pins
USB, I2S, CTMU,
PPS
28-44 Pins
UoM Oct. 2012
Host Driver (HID, CDC,
...) fits into ~22KB Flash
memory
(MIPS16 mode, opt -s)
PIC32MX3/4
80 MHz
32-512KB / 4-32KB
64-100 pins
USB
64-100 Pins
Confidential & Proprietary
97
Starting with: PIC32MX1 & MX2
Block Diagram
3KB
Boot
Flash
16-128KB
40MHz
Flash
4-32KB
4 Ch.
RAM GP DMA
USB
Device
(MX2 Only)
A/D, 10b, 1 Msps, 13 ch.
2 DMA ch.
8-bit PMP
High Speed Bus Matrix
Inst.
CTMU / Temp Sense
Data
32-bit ALU
5 stage pipeline
32-bit HW
MPY / DIV
Interrupt
Control
Vectored
Interrupt Ctrl
32 Core
Registers
Peripheral Bus
40MHz MIPS 32-bit Core
5 x 16-Bit Timers
Analog Compare
Watchdog
GPIO
UART - 2
I2C™ - 2
JTAG
I2S/SPI™ - 2
IC/OC/PWM 5
VREG
UoM Oct. 2012
POR
BOR
LVD
RTCC
Confidential & Proprietary
98
Up to: PIC32MX7 USB OTG+
2ECAN + E.net Family
128 to
512 KB
Flash
32 to
128 KB
RAM
4 or 8
Ch. GP
DMA
Pre-Fetch + Cache
1 or 2 x
ECAN
USB
OTG
10/100
MAC
4 DMA ch.
2 DMA ch.
2 DMA ch.
New
Additions
High Speed Bus Matrix
Inst.
Data
80MHz MIPS 32-bit Core
32-bit HW
MPY / DIV
32 Core
Registers
JTAG
32 Core
Registers
5 x 16-Bit Timers
Watchdog
A/D, 10-bit, 16 ch.
Peripheral Bus
5 stage pipeline
Vectored
Interrupt Ctrl
32-bit ALU
Interrupt
Control
GPIO - 85
UART - 6
I2C™ - 5
SPI™ - 4
IC/OC/PWM 5
VREG
POR
BOR
LVD
RTCC
8/16-Bit PMP
UoM Oct. 2012
Confidential & Proprietary
99
Additional Resources

Online Design Centers:
www.microchip.com/mal
www.microchip.com/usb
UoM Oct. 2012
Confidential & Proprietary
100
ENC624J600 - 10/100 Base-TX
Stand Alone Ethernet
Controller
UoM Oct. 2012
Confidential & Proprietary
Embedded Ethernet Solutions
www.microchip.com/ethernet
www.microchip.com/tcpip
UoM Oct. 2012
Confidential & Proprietary
102
Why Ethernet?
• Most Widely Deployed Network
• Widely Understood
• Offices, homes, industrial buildings
• Huge existing infrastructure
• Interoperable
• Open standards
• Leverage existing protocols
• Leverage existing software
• Browsers, Email Clients, etc.
• Large support community
• Automated System Management
• Optional evolving protocols
• Low Latency – “Real Time” Remote Delivery
UoM Oct. 2012
Confidential & Proprietary
103
Why Ethernet?
• Scalable Network
• Inexpensive equipment
• Automatic configuration
• The Internet
• Same standards, same protocols
• Standards are called Request for Comments (RFC)
• Cross-Platform – Windows®, Mac, Linux,…
• Easy Migration to Wireless
• WiFi 802.11 is interoperable with Ethernet
• Same standards, same protocols
• Just replace the MAC/PHY layers
• Secure Sockets Layer (SSL) for Security
UoM Oct. 2012
Confidential & Proprietary
104
Network Speeds
•
•
10 BaseT (10 Mbps)
•
Target applications – low bandwidth
•
Embedded applications behind switch or router
100 BaseT (100 Mbps)
•
Low latency – “real time” delivery
•
High bandwidth needs
UoM Oct. 2012
•
Voice over Ethernet
•
Remote secure monitoring
Confidential & Proprietary
105
Ethernet Family Roadmap
Design
Existing
NEW
10/100 Base-T Ethernet
ENC624J600
24K Buffer
44/64 pins
10 Base-T Ethernet
64 – 128K Flash
8K Buffer
28 - 100 pins
ENC28J60
8K RAM Buffer
28 pins
2005
UoM Oct. 2012
PIC18F97J60
64 - 128K
64-100 pins
8-bit
2006
Time
Confidential & Proprietary
2009
106
Application Examples
• Diverse Application areas
• Internet radio
• Telecommunications
• Inventory management
• Remote diagnostic / alert
• Remote sensing/actuators
• Security
• Remote data logging / collection
UoM Oct. 2012
Confidential & Proprietary
107
ENC624J600 Stand-alone 10/100 Mbps
Ethernet Controller
UoM Oct. 2012
Confidential & Proprietary
108
ENC624J600 Stand-alone 10/100 Mbps
Ethernet Controller
Operational Features
Ethernet Controller Features

Operating voltage 3.0 to 3.6V

IEEE 802.3 complaint

24 KB Ethernet Buffer


Temperature range -40° to 85°C
Integrated MAC and single port 10/100 Base-T
PHY

Package options

Hardware Security Engines

Factory Preprogrammed Unique MAC Address

SPI interface

8 or 16-bit parallel interface for 44- and 64- pin
packages

MAC

44-pin TQFP and QFN

64-pin TQFP

25 MHz Clock

Clock out pin with programmable
frequencies from 50KHz to 33MHz
Hardware Security Engines

RSA® and Diffie-Hellman Key Exchange
Algorithms

Fast MD5 hash computations

Fast SHA-1 hash computations
UoM Oct. 2012


Supports unicast, multicast and broadcast packets

Programmable receive packet filtering
PHY

Loopback mode

Energy Detect power down mode
Availability

Samples
– Now

Production
– Now
Confidential & Proprietary
109
Firmware Support
TCP/IP Stack

Hardware just generates the signals

Still need to:


Find other nodes and addresses

Transmit data to specific nodes

Manage incoming/outgoing packets

Communicate with other software
Firmware Options:

Microchip TCP/IP Stack for PIC18F, PIC24, dsPIC and PIC32MX
UoM Oct. 2012
Confidential & Proprietary
110
TCP/IP Stack
• C source code provided
• No-fee license agreement
• Use Microchip PIC® MCU or dsPIC® DSC
• Only ENC28J60 and ENC624J600 driver files can be ported
• Download: www.microchip.com/tcpip
• PIC18, PIC24, dsPIC DSC, PIC32
• RTOS independent and modular
• Multiple socket connections and transports
• Example projects
• Configuration and web-page utilities
UoM Oct. 2012
Confidential & Proprietary
111
Fast 100 Mbps Ethernet PICtail™
Plus Daughter Board
UoM Oct. 2012
Confidential & Proprietary
112
Development Tools

Explorer 16 Development Board


PIC18 Explorer Board


DM320001 and DM320002
DM163024
MPLAB® ICD 3 In-Circuit Debugger


+
PICDEM.net 2


DM183032
PIC32 Starter Kit and PIC32 I/O Expansion Board


DM240001
DV164035
MPLAB® REAL ICE™ Emulation

DV244005
UoM Oct. 2012
Confidential & Proprietary
113
Resources and Training

www.microchip.com/ethernet


www.microchip.com/tcpip


Offers information on Ethernet products, development tools, FAQs, etc.
Provides information on TCP/IP stack download and support
www.microchip.com/rtc

Regional Training Centers offers training facilities to our customers on
Microchip’s products, tools and applications

www.microchip.com/support

Offers help to customers on 24x7 basis
UoM Oct. 2012
Confidential & Proprietary
114
PIC32MX5/6/7 USB/CAN/Ethernet
PIC32 Product Marketing Team
UoM Oct. 2012
Confidential & Proprietary
PIC32 MCU Continues
To Build Momentum
Auto Diagnostics
HVAC Air Handler
Photo ID Management
Optical Stabilization
Engine Control
Remote Control
Home Lighting Control
Security System Panel
Server Diagnostic Monitoring
GPS Tracking
Power Meter
White Goods Graphics
Audio Head Phones
GPS Control
Bar code Scanner
Robotic Vacuum Cleaner
UoM Oct. 2012
Confidential & Proprietary
116
Ethernet
UoM Oct. 2012
Confidential & Proprietary
Ethernet Features

10/100 802.3 Ethernet MAC









Full and Half Duplex operation
Configurable packet filtering
Configurable interrupts
Manual and Automatic flow control
Packet payload checksum
Integrated DMA channels for Tx and Rx
RX Filter (RXF)
Industry standard MII or RMII Interface to
external PHY
Uses main SRAM for buffers
UoM Oct. 2012
Confidential & Proprietary
118
Ethernet Packet Flow
Main
SRAM
10/100 MAC
Rx Filter
Tx
DMA
Tx Buffer
Packet
MII/RMII
Interface
Rx Buffer
Packet
Rx
DMA
Address Rx
Address Tx
UoM Oct. 2012
Confidential & Proprietary
119
CAN 2.0B
UoM Oct. 2012
Confidential & Proprietary
Flexible & Easy-to-Use CAN
Controllers

Many customers use own CAN communication
scheme

PIC32 CAN controllers offer
flexibility



CAN
Controller
32 Filters
4 Masks
Uses system RAM for message
storage with built-in DMA interface
Advanced filtering to simplify
message processing
Industry-standard CAN2.0b

Up to 1 Mbps
2 ch. DMA
80 MHz System Bus
System RAM
FIFO 1
1-32
Message
Buffers
1-32 FIFOs
FIFO32
1-32
Message
Buffers
32 FIFOs x 32 Buffers = 1024 Messages
UoM Oct. 2012
Confidential & Proprietary
121
CAN Details
Message Reception and Transmission:
 32 message FIFOs
 Each FIFO can have up to 32 messages for a total of 1024 messages
 FIFO can be a transmit message FIFO or a receive message FIFO
 User-defined priority levels for message FIFO’s used for transmission
 32 acceptance filters for message filtering
 Four acceptance filter mask registers for message filtering
 Automatic response to Remote Transmit Request
 DeviceNet™ addressing support
Additional Features:
 Loop-back, Listen All Messages and Listen Only modes for self-test,
system diagnostics, and bus monitoring
 Low-power operating modes
 No DMA required - CAN module can read/write directly to system RAM
 Dedicated time stamp timer
 Data-only Message Reception mode – details on next slide
UoM Oct. 2012
Confidential & Proprietary
122
CAN: New Data Only Mode is
Great for Bootloaders
String ‘Hello World’ sent
from node 1 to node 2
CAN “overhead”
stored in RAM
The string is spread
out in memory
UoM Oct. 2012
Existing CAN
Products
New Data
Only Mode
SID
EID
DLC=8
D0=‘H’
D1=‘e’
D2=‘l’
D3=‘l’
D4=‘o’
D5=‘ ‘
D6=‘W’
D7=‘o’
SID
EID
DLC=4
D0=‘r’
D1=‘l’
D2=‘d’
D3=0x00
D0=‘H’
D1=‘e’
D2=‘l’
D3=‘l’
D4=‘o’
D5=‘ ‘
D6=‘W’
D7=‘o’
D0=‘r’
D1=‘l’
D2=‘d’
D3=0x00
Confidential & Proprietary
Data Only Mode strips
CAN “Overhead” when
storing in memory
123
Serial Communication Modules
UoM Oct. 2012
Confidential & Proprietary
Serial Communications


Combined UART, SPI and I2C
User selectable serial communications




More serial communication peripherals available
Fewer muxing conflicts with other peripherals
Each module is configurable and has 4 i/o pins
3 Instantiations on each part
Serial Communication
I2C
UART
SPI
UART
GPIO
SCMxA SCMxB SCMxC SCMxD
UoM Oct. 2012
Confidential & Proprietary
125
Configuration Options…
Serial Communication
I2C
UART
SPI
UART
GPIO
SCMxA SCMxB SCMxC SCMxD
UoM Oct. 2012
Rx
Tx
CTS
RTS
1 x UART with Flow Control
Rx
Tx
Rx
Tx
2 x UARTs no Flow Control
SDI
SDO
SS
SCK
SDA
SCL GPIO GPIO
1 x I2C with GPIO
SDA
SCL
1 x I2C + 1 UART no Flow Control
Rx
Tx
Confidential & Proprietary
1 x SPI
126
User Selectable Combinations
of Peripherals
Example Configurations
(Select 1 function block from each row)
2 UARTs
1 SPI
1 I2C
1 I2C +
1 UART
4 pins
1 UART with
RTS & CTS
2 UARTs
1 SPI
1 I2C
1 I2C +
1 UART
4 pins
1 UART with
RTS & CTS
2 UARTs
1 SPI
1 I2C
1 I2C +
1 UART
SPI
1 SPI
I2 C
1 I2C
I2 C
1 I2C
64-pin Configuration Options
4 pins
1 UART with
RTS & CTS
Example 1 = 1 UART (with flow control), 2 UARTs, 2 SPI, 1 I2C (64-pin)
UoM Oct. 2012
Confidential & Proprietary
127
User Selectable Combinations
of Peripherals
Example Configurations
(Select 1 function block from each row)
2 UARTs
1 SPI
1 I2C
1 I2C +
1 UART
4 pins
1 UART with
RTS & CTS
2 UARTs
1 SPI
1 I2C
1 I2C +
1 UART
4 pins
1 UART with
RTS & CTS
2 UARTs
1 SPI
1 I2C
1 I2C +
1 UART
SPI
1 SPI
I2 C
1 I2C
I2 C
1 I2C
100-pin Configuration Options
4 pins
1 UART with
RTS & CTS
Example 2 = 4 UARTs, 2 SPI, 2 I2C (100-pin)
UoM Oct. 2012
Confidential & Proprietary
128
Additional Enhancements
UoM Oct. 2012
Confidential & Proprietary
PIC32MX3/4 to PIC32MX5/6/7
Improvements
GP DMA Controller (now up to 8 Channels)





Transfer size up to 64KB
Bit and Byte reordering
IP header checksum support
CRC and LFSR now support variable data width up to 32-bits
DMA can operate in debug mode
Interrupts


Persistent interrupts allow the DMA to service interrupts
User selectable mapping of shadow register set to interrupt priority
Reclaim unused USB pin

VBUS can be reclaimed as i/o pin when unused
New Power State


DREAM mode now enabled
Peripheral Bus divide ratio can be changed the on the fly
UoM Oct. 2012
Confidential & Proprietary
130
PIC32MX3/4 to PIC32MX5/6/7
Improvements
Debugging


App-in, App-out, Data-in, Data-out
Disable and re-allocate unused JTAG pins out of reset
Robustness


EMC and EMI
Power, Clock and Reset circuit
UART

Rx Tx now have 8 character buffers
SPI
 Added FIFO mode to SPI modules
 Improved Audio Codec interface via frame mode




Frame sync pulse width is selectable: 1 SPI clock wide or 1 character
length wide
One frame may consist of 1/2/4/8/16/32 characters
Enhanced buffer mode (RX and TX FIFO) operation
Flexible interrupt generation for buffers
UoM Oct. 2012
Confidential & Proprietary
131
32-bit Microcontrollers
UoM Oct. 2012
Confidential & Proprietary
Sales $M
Microchip Markets
950
900
850
800
750
700
650
600
550
500
450
400
350
300
250
200
150
100
50
0
Telecom
13%
MCU
Memory
Office
Automation
17%
Consumer
35%
Analog
Industrial
17%
FY 93 FY 94 FY 95 FY 96 FY 97 FY 98 FY 99 FY 00 FY01 FY02 FY03 FY04 FY05 FY06
• Over 60,000 customers worldwide
• Not one customer over 3% of MCHP total revenue
• Complimentary product lines
• MCU, Memory, Interface and Analog
Asia
44%
Automotive
18%
Americas
29%
Europe
27%
• Worldwide Support and Training
UoM Oct. 2012
Confidential & Proprietary
133
Microchip Solutions
PIC32complex software
More
80+ MIPS Systems
Operating
64-100
pins
>40
MIPS
Up to 512KB Flash
>256KB
USB Ethernet, QVGA, etc.
USB,
Growing
Meeting Customer Needs
Performance
1000+ PIC Products
The industry’s strongest
product and family
migration path
PIC24H
40 MIPS
28 – 100 pins
Up to 256KB Flash
PIC24F
16 MIPS
28 – 100 pins
Up to 256KB Flash
dsPIC33
40 MIPS
28 – 100 pins
Up to 256KB Flash
dsPIC30F
30 MIPS
18 – 80 pins
Up to 144KB Flash
PIC18
10 MIPS
18 - 100 pins
Up to 128KB Flash
PIC16
14 - 40 pins
Up to 16KB Flash
32bit
16bit
PIC12
8 pins
Up to 4KB Flash
8bit
PIC10
6 pins
Up to 1KB Flash
Migration
UoM Oct. 2012
Confidential & Proprietary
134
MIPS® M4K® Core
With Microchip Enhancements

Start with a great engine





Microchip system enhancements for
great embedded performance




Up to 80MHz
1.56 DMIPS/MHz (measured)
32 32-bit core registers with shadow set
32-bit ALU, single cycle MAC
256 byte prefetch cache
Low-latency vectored interrupt controller
Bus Matrix for parallelism
And full featured debugging


Hardware Trace with debug support
JTAG and Boundary Scan
UoM Oct. 2012
32-bit instr. mode for best speed
16-bit instr. mode for small code size
Easy to mix modes in single source file
Confidential & Proprietary
135
UoM Oct. 2012
Confidential & Proprietary
0.95
Competitor C
32-bit instructions
32-bit instructions
0.95
Competitor D
32- & 16-bit instructions
1.3
Competitor C
32-bit instructions
1.3
Competitor B
32-bit instructions
Competitor A
MIPS32® M4K® Core
(DMIPS/MHz)
Core Performance
Inherent Performance
Advantage
1.56
1.25
Source: Vendor Published Specifications
136
PIC32 Family
32 – 512 KB
Flash
8-32 KB
RAM
0-4 Ch.
DMA
USB OTG
16-bit Timers
Prefetch + Cache
Watchdog
High Speed Bus Matrix
Data
80MHz MIPS 32-bit Core
5 stage pipeline
Vectored
Interrupt Ctrl
32-bit HW
MUL / DIV
32 Core
Registers
32-bit ALU
Interrupt
Control
Peripheral Bus
Inst.
A/D, 10-bit, 16 ch.
GP I/O
UART - 2
I2C™ - 2
SPI™ - 2
Cap/Com/PWM - 5
JTAG
32 Core
Registers
RTCC
PMP16-bit Data
VREG
UoM Oct. 2012
POR
BOR
LVD
Confidential & Proprietary
Analog Comp- 2
137
PIC32 Family Overview





PIC32 GP series launched Nov 2007
USB series launched Feb 2008
Portfolio expansion in June 2008
All 17 Parts in Volume production today
New PIC32 Family in Development…
UoM Oct. 2012
Confidential & Proprietary
138
PIC32 Microcontroller Key
Features
Direct Memory Access
Controller, With Integrated CRC
Module…Operates in Idle Mode
32-bit MIPS M4K Core,
Harvard Architecture,
Single Cycle Hardware MAC,
Fast Interrupts & Context Switch
Compatible with Microchip
Development Tools
ICD2, Real-ICE™,
PICKit 2™, PM3
High Throughput Bus Matrix,
which Supports High Speed
Concurrent Access to Memories
and Peripherals
USB On-The-Go (Host,
Device, Dual Role)
Controller with Dedicated
DMA Channel and
Integrated Transceivers
128-bit wide, 30MHz
Self-programmable Flash,
Predictive Instruction Pre-fetch
256 Byte Lockable Cache
Single 2.3 to 3.6V Supply
Power On Reset,
Brown Out Reset,
Low Voltage Detection
16-bit Parallel Master Port,
Connect SRAM, Flash, QVGA
LCDs or other Peripherals
UoM Oct. 2012
Analog and Digital Peripherals
Compatible with 16-bit
PIC® Microcontrollers
Confidential & Proprietary
139
Accelerating investment and
commitment to 32 bit market
148
150
PIC32
product
introductions
to double in
2013!
125
100
76
75
66
46
50
34
18
25
0
CY08
UoM Oct. 2012
CY09
CY10
CY11
Confidential & Proprietary
CY12
CY13
140
Performance Comparisons


M4K outperforms the Cortex M3
Winning Apps on performance

M14KEc will outperform the
recently released Cortex M4
M14KEC Core
MIPS M14KE / M4K
2.84
Renesas – RX62
2.25
ST – STM32 Cortex-M3
2.12
Freescale – Kinetis Cortex-M4
2.12
NXP – LPC17xx Cortex-M3
www.coremark.org
UoM Oct. 2012
SQI (Interface to SST Flash)
HS USB Ethernet
CAN
Digital Peripherals
12b ADC, Analog Modules
MIPS M14KEc
200MHz in 90nm
300+ DMIPS!!!!
DSP
1.92
TI – Stellaris Cortex-M3
ST – STM32 Cortex-M3
FLASH 2MB SRAM 512KB
1.76
Cortex M4
1.5
CoreMark™ is an independent/public benchmark for core performance
CoreMark™ is a trademark of The Embedded Microprocessor Benchmark Consortium (EMBC®)
PIC32 estimate configured for zero wait state Flash performance MIPS32 ISA
Confidential & Proprietary
150MHz in 90nm
188 DMIPS
DSP + FPU
141
PIC32 Roadmap
PIC32
PIC32MZ
Connectivity
1 MB & 2 MB
PIC32
PIC32
PIC32MX5/6/7
Connectivity
Up to 512 KB
PIC32SK
MC+Analog
Up to 512 KB
PIC32
PIC32MX5/6/7
Connectivity
Up to 128 KB
PIC32MX3/4
GP+USB
Up to 256 KB
PIC32MX3/4
GP+USB
Up to 512 KB
PIC32
PIC32MX1/2
PIC32MX1/2
GP+USB
Up to 32 KB
UoM Oct. 2012
GP+USB
Up to 128 KB
Confidential & Proprietary
142
PIC32 MX1/MX2 Family
Low Cost - Low Pin Count
PWM / OC 1-5
DS
BUS MATRIX
SPI / I2S 1-2
WDT
USB
PORT A
B-GAP
REF
VREG
Peripheral Bus (SYSCLK)
• On chip 1% RC oscillator (over
voltage/freq)
• Packages:
• 28 SOIC, 28 SSOP, 28 QFN, 28 SPDIP
• 36 VTLA
• 44 TQFP, 44 QFN, 44 VTLA
Peripheral Bus (PBCLK)
BOR
• DMA – 4 channels
UoM Oct. 2012
TIMER 1-5
IC 1-5
POR
• CTMU, Temperature Sensor
• General Purpose PWM
• Output Compare, Input Capture
8 KB
RAM
Peripheral
Bridge
• 3 Analog Comparators
IS
32 KB
Flash
ICD
• 2 UART, 2 SPI / I2S, 2 I2C
PLL
DIV
MIPS32®
M4K CPU
DMAC
• USB-Device (MX2)
FRC
LPRC
PORT C
• 40 MHz / 62 DMIPS
CN1-22
OSC
PORT B
• 16/32KB Flash, 4/8KB RAM
I2C 1-2
UART 1-2
RTCC
CTMU
10-bit ADC
Comparators
Available Now
Confidential & Proprietary
143
PIC32 MX1/MX2 Family
Grows with More Memory Options
• 128KB Flash, 32KB RAM
CN1-22
OSC
PWM / OC 1-5
DS
BUS MATRIX
SPI / I2S 1-2
USB
PORT A
B-GAP
REF
VREG
Peripheral Bus (SYSCLK)
• On chip 1% RC oscillator (over
voltage/freq)
• Packages:
• 28 SOIC, 28 SSOP, 28 QFN, 28 SPDIP
• 36 VTLA
• 44 TQFP, 44 QFN, 44 VTLA
Peripheral Bus (PBCLK)
WDT
Peripheral
Bridge
BOR
• DMA – 4 channels
UoM Oct. 2012
TIMER 1-5
IC 1-5
POR
• CTMU, Temperature Sensor
• General Purpose PWM
• Output Compare, Input Capture
8 KB
RAM
ICD
• 3 Analog Comparators
IS
32 KB
Flash
DMAC
• 2 UART, 2 SPI / I2S, 2 I2C
PLL
DIV
MIPS32®
M4K CPU
PORT C
• USB-OTG (MX2)
FRC
LPRC
PORT B
• 40 MHz / 62 DMIPS
I2C 1-2
UART 1-2
RTCC
CTMU
10-bit ADC
Comparators
Available Now
Confidential & Proprietary
144
PIC32 Roadmap
PIC32
PIC32MZ
Connectivity
1 MB & 2 MB
PIC32
PIC32
PIC32MX5/6/7
Connectivity
Up to 512 KB
PIC32SK
MC+Analog
Up to 512 KB
PIC32
PIC32MX5/6/7
Connectivity
Up to 128 KB
PIC32MX3/4
GP+USB
Up to 256 KB
PIC32MX3/4
GP+USB
Up to 512 KB
PIC32
PIC32MX1/2
PIC32MX1/2
GP+USB
Up to 32 KB
UoM Oct. 2012
GP+USB
Up to 128 KB
Confidential & Proprietary
145
PIC32MX5-6-7 Block Diagram
512 KB
Flash
128 KB
RAM
8 Ch.
GP DMA
Pre-Fetch + Cache
2x
ECAN
USB
OTG
10/100
MAC
4 DMA ch.
2 DMA ch.
2 DMA ch.
New
Additions
High Speed Bus Matrix
Inst.
Data
80MHz MIPS 32-bit Core
32-bit HW
MPY / DIV
32 Core
Registers
JTAG
32 Core
Registers
5 x 16-Bit Timers
Watchdog
A/D, 10b, 1 Msps, 16 ch.
Peripheral Bus
5 stage pipeline
Vectored
Interrupt Ctrl
32-bit ALU
Interrupt
Control
GPIO - 85
UART - 6
I2C™ - 5
SPI™ - 4
IC/OC/PWM 5
VREG
POR
BOR
LVD
RTCC
8/16-Bit PMP
UoM Oct. 2012
Confidential & Proprietary
146
PIC32 Roadmap
PIC32
PIC32MZ
Connectivity
1 MB & 2 MB
PIC32
PIC32
PIC32MX5/6/7
Connectivity
Up to 512 KB
PIC32SK
MC+Analog
Up to 512 KB
PIC32
PIC32MX5/6/7
Connectivity
Up to 128 KB
PIC32MX3/4
GP+USB
Up to 256 KB
PIC32MX3/4
GP+USB
Up to 512 KB
PIC32
PIC32MX1/2
PIC32MX1/2
GP+USB
Up to 32 KB
UoM Oct. 2012
GP+USB
Up to 128 KB
Confidential & Proprietary
147
New PIC32MX3/4’s
Highlights
• More Serial Peripherals
• I2S Peripheral
• Peripheral Pin Select
• CTMU
• More DMA
Specs
• IND and V Temp (-40 to
105C)
Package Options:
64 TQFP
10 x 10mm
0.5mm pitch
QFP
64
UoM Oct. 2012
64 QFN
9 x 9mm
0.5mm pitch
QFN
64
100 TQFP
12 x 12mm
0.4mm pitch
TQFP
100
100 TQFP
14 x 14mm
0.5mm pitch
LQFP
100
Confidential & Proprietary
148
New PIC32 MX3 / MX4 devices
MX3/4 today
512KB Flash / 32KB RAM
2 UART, 2 SPI, 2 I2C
USB
64, 100 pin
Dover 256
256KB Flash / 32KB RAM
4 UART, 2 SPI/I2S, 2 I2C
USB
CTMU, PPS
64, 100 pin
Dover 64
New Features:
64KB Flash / 16KB RAM
•
•
•
•
4 UART
SPI -> SPI / I2S
Added PPS
Added CTMU
UoM Oct. 2012
4 UART, 2 SPI/I2S, 2 I2C
USB
CTMU, PPS
64, 100 pin
Confidential & Proprietary
149
PIC32MX5/6/7 Overview

Common with PIC32MX3/4/5/6/7






Pin-out compatible with PIC32MX4
80MHz, 1.56DMIPS/MHz Core
Up to 512KB Flash
USB2.0 On-The-Go Controller
TQFP 64/100, BGA 121, & QFN 64 package options
New on PIC32MX5/6/7





More RAM: Up to 128KB
More Serial Ports: up to 6 UARTs, 4 SPI and 5 I2C
More DMA: up to 16 DMA
10/100 Ethernet MAC
Up to 2 x CAN 2.0B Controllers
UoM Oct. 2012
Confidential & Proprietary
150
PIC32 Development Resources
Tools, Boards & Software
UoM Oct. 2012
Confidential & Proprietary
Easy to Get Started With
PIC32 Ethernet Starter Kit
PIC32 USB Starter Kit II
Same expansion Connector
for Application Specific
Development
(DM320004, $72)
(DM320003-2, $55)
Ethernet Starter Kit
Both Starter Kits
• Ready for an Ethernet Network
• PIC32MX795F512L (512k/128k)
• National DP83848 PHY & RJ45
• Upgraded debug chip to PIC32 QFN
• USB Host/Device/OTG
• Upgraded USB host power supply
• Works with I/O Expansion Board
(DM320002)
• Everything else the same
UoM Oct. 2012
Confidential & Proprietary
152
Explorer 16 Support
Available Day of Announcement
• New Processor Module (PIM) for Explorer 16
– PIC32MX795F512L
– 512k Flash, 128K RAM
– 2xCAN – USB - Ethernet**
– 6 UARTs/5 I2C/4 SPI
(MA320003, $25)
**PIM not capable of being a complete Ethernet
development platform – details on next slide
Don’t Forget Debug/Programming
Hardware
UoM Oct. 2012
Confidential & Proprietary
153
New MX5-6-7 Boards
by Application
Ethernet Starter Kit
1
USB Starter Kit II
2
MX7 PIM for Explorer 16
2
UoM Oct. 2012
Confidential & Proprietary
154
New Software (Nov 09)

Optimized Microchip TCP/IP stacks released

Support for National DP83848, SMSC 8700 PHYs

CAN APIs in peripheral library located in Microchip C
Compilers

New Unified USB stack 2.x – same host and device stack for all
PICs MCUs

PIC32 USB Stack will be deprecated (archived on web and not
recommended for new designs)

More demos and class drivers

Graphics release updated for MX5-6-7

MDD updated for MX5-6-7
UoM Oct. 2012
Confidential & Proprietary
155
AES Security Software




Used in connectivity applications to protect
transmitted data
Supports 128, 196, 256-bit Encryption & Decryption
New library is optimized for 32-bit
No royalty
AES Create Session Key (uSec)
AES Encrypt Block (uSec)
AES Decrypt Block (uSec)
AES Encryption* (Kbytes/sec)
AES Decryption* (Kbytes/sec)
128-bit 196-bit 256-bit
46.8
54.4
64.3
23.0
24.6
29.5
20.7
24.6
29.1
764.0
634.4
544.4
764.0
634.4
544.4
*Includes Session Key Creation
Data Encryption Libraries CD part number SW300052
UoM Oct. 2012
Confidential & Proprietary
156
Enhanced Debug Support

Breakpoints: 6 Instruction, 2 Data


Non-Intrusive Instruction Trace




Minimal 5-Wire interface
MPLAB IDE performs C code reconstruction of
program execution
$79 add-on tool for REAL ICE
Traditional Microchip 2-wire Interface


AND / OR / Sequential combination
Debug & programming
JTAG Debug, Program, and Boundary Scan
UoM Oct. 2012
Confidential & Proprietary
157
MPLAB Tool-Suite Support

MPLAB IDE




MPLAB C32 C Compiler – New Student Edition





Details on next slide
REAL ICE Emulator


Completely Free
Supports all of Microchip’s ~500 MCUs and DSCs
Includes instruction simulator and trace support
High-speed debug and programming
$499 price, $80 kit to support Instruction Trace
PICkit 2 Programmer
ICD 2 In-circuit Debugger
PM3 Universal Device Programmer
UoM Oct. 2012
Confidential & Proprietary
158
Major New Features in
v1.03 C Compiler


No code size limit in new
Student Edition
Full optimizations for 60 days



-02, -03, -0s disabled after 60 days
22 new hand tuned math
library functions
New math functions include
single and double precision


Double = Best accuracy
Single = Substantial cycle count savings
UoM Oct. 2012
Confidential & Proprietary
159
Selecting Your 1st PIC32
Dev Board
Purchase a
PIC32 Starter
Board
New to Microchip?
New to 32-bit?
Need low cost?
Have Explorer 16?
Have Real ICE, ICD 2?
UoM Oct. 2012
Confidential & Proprietary
Purchase a PIM
160
PIC32 Starter Board Options
PIC32 Starter Kit
DM320001
 Integrated debugger/programmer
 All the software needed - IDE,
Compiler, and sample projects
 Expansion capability (next slide)
PIC32 USB Starter Board
 DM320003
 Integrated debugger/programmer
 USB host, device, Dual Role and OTG
 On-line tools & software download
 Expansion capability (next slide)
Windows XP and Windows Vista (32-bit) Support
UoM Oct. 2012
Confidential & Proprietary
161
Optional I/O Expansion
Board






PIC32 I/O Expansion Board (DM320002)
Available Now
Easy access to all signals
2 PICtail Plus expansion headers
JTAG, trace, and
ICSP connectors
Optional power
supply
UoM Oct. 2012
Confidential & Proprietary
162
Adapting Explorer 16 for
PIC32
Requires Explorer 16 and
1 External Probe
PIC32 GP PIM
MA320001
 Trace header
Explorer 16
(DM24000x)
PIC32 USB PIM
Real ICE or
ICD 2
 MA320002
 USB PICtail Plus Board (AC164131)
UoM Oct. 2012
Confidential & Proprietary
163
Explorer 16 Compatibility
Overview
dsPIC33
PIC24F PIM
PIM
PIC32
GP PIM
+
PIC32/24F
USB PIM
Third Party
JTAG
Probe
Explorer 16
USB
PICTail+
+
 Add a Debugger
+
(Starter Board Includes Debugger)
 PICK YOUR PIC
QVGA
Ethernet
 Customize
with optional
PICTail Plus
cards
UoM Oct. 2012
Confidential & Proprietary
..and more
SD Card
164
New Wi-Fi Comm Demo
Board

Wireless Module
–

MCU
–







MRF24WMB0MA
PIC32MX695F512H
WiFi solution compatible with IEEE 802.11 b/g/n
Access Points
Supports Infrastructure and Ad hoc networks
MRF24WB0MA module is FCC, IC, Wi-Fi®
certified and ETSI compliant
Powered by 2 AAA batteries
Supports WEP, WPA and WPA2 security
protocols
Sensor I/O interface enabling application
specific demos
Complete s/w and h/w including schematics and
reference source code
Orderable Now!!!
UoM Oct. 2012
Confidential & Proprietary
165
PIC32MX1/MX2 Tools
PIC32MX2xx
Microstick II – DM330012-2
–
–
PIC32MX1/MX2 Starter Kit






–
–
Integrated Programmer Debugger
USB Powered
2” Color TFT Display
SD Card Storage
mTouch slider and buttons
24-bit Audio playback
PIC32MX CTMU Evaluation Board
PIC32MX220F32D PIM – DM320011
UoM Oct. 2012
Integrated Programmer Debugger
USB Powered
Access to all pins
Header for prototyping board insertion
- Soon to have MX2 128KB PIC32
– PICkit serial interface via ICSP header
– Integrated Programmer Debugger
– USB connector (for power)
– 16-bit LED display
Confidential & Proprietary
166
Controllerless Graphics:
How it is done

DMA + PMP continuously reads bytes of frame lines
-

DMA uses a “trigger” to continuously read bytes
-

Background Task (no CPU bandwidth used)
PMP or Timer interrupt used
After DMA reads entire frame line, timing signals are
updated
UoM Oct. 2012
Confidential & Proprietary
168
LCC (Low-Cost Controllerless)
Graphics Board
Interfaces to Microchip Explorer 16
Driving Graphics Displays without a Graphics Controller
Powered by any PIC32 Starter kit
– 80MIPS 32-bit performance
– 128KB of on-chip SRAM
– High Speed 16-bit PMP
– High Performance DMA keeps
core loading to less than 5%!
On Board 512KB SRAM
Can be “Jumpered” in or out
• Support for up to WQVGA @ 16bpp color
• PIC32 alone can drive VGA @ 8bpp color
Interfaces to Microchip Display modules
Part No: AC164144
UoM Oct. 2012
Confidential & Proprietary
169
Graphics Software Tools
Static Text
Heat
Image
Button
Graphics Library
• Pre-made graphics objects
– buttons, sliders, etc
• Multiple fonts and languages
• Compatible with 16-/32-bit PIC
MCUs
Graphics Display Designer (GDD)
• Visual Design Tool
• Provides GUI design wizard
• Works with Graphics Library
• www.microchip.com/GDD
UoM Oct. 2012
Confidential & Proprietary
170
GDD X components
GDD X Menu
GDD X Toolbar
Drawing Panel
Widgets List
Screen
Thumbnail
Information Box
UoM Oct. 2012
Confidential & Proprietary
Properties
Window
171
List of available widgets on GDD X
UoM Oct. 2012
Confidential & Proprietary
172
Key GDD X Features
• Resize, align and move widgets, create color schemes, add
fonts and images to your App
• Generates source code ready for PIC24, dsPIC and PIC32
devices
• Provides the user with the same visual representation of the
embedded screen to draw objects on the PC screen, this is
referred to as “what you see, is what you get” (WYSIWYG)
• Eliminates the need to manually calculate the (x, y)
coordinates for on-screen object placements
UoM Oct. 2012
Confidential & Proprietary
173
Dev Tools
PIC32 Audio Mixer Boards


Mix your instruments and voice with streaming portable music player USB digital audio out
High Quality 24bit Audio playback for Musicians and for Karaoke applications
MFI Board
• PIC32MX220F128
• Mic_In x2
• Line_In
• Line_Out
• Headphone_Out x2
• iPod Record capability
P/N: DM320413
AppleTM Proprietary
USB Digital Audio
Interface
USB Board
• PIC32MX220F128
• Mic_In x2
• Line_In
• Line_Out
• Headphone_Out
• Volume pot
• 3 general purpose buttons
P/N: DM320014
USB Mini-B Digital
Audio Input
• Available from MFI Authorized Distributor
* AppleTM MFI Certification could delay release until Q3.
UoM Oct. 2012
Confidential & Proprietary
174
Dev Tools
Audio Development Board
for PIC32

PIC32MX795F512L
–

80MIPS 32-bit MCU with 512KB
Flash and 128KB RAM
Serial
Interface
USB-OTG
Debug
Port
Power
MFI* Dock
Edge
Connector
Processing power to:
– Decode MP3 Music
– WMA, AAC Decode – 2H’12
– Complete audio SRC (Sample Rate
2” Color TFT
Display
PIC32
24-bit Audio
CODEC
Conversion)
– Manage MFI digital audio stack
– Display 16-bit color images
•
Interface to Microchip’s
Accessory Development
platform for iPOD/iPhone*
4 User
buttons
* Interfaces to Microchip’s accessory development platform for iPod® and iPhone® available to MFI licensees
through Apple’s authorized distributor.
UoM Oct. 2012
Confidential & Proprietary
175
Dev Tools
PIC32 MX1xx/MX2xx Starter Kit
(DM320013)
PIC32MX220F032 with 32KB of
Flash, 8KB RAM
– Integrated Programmer Debugger
– USB Powered
– 2” Color TFT 220 x 176 pixel Display
– SD Card Storage
– mTouch Slider and buttons
– 24Bit Audio playback
– A great tool to learn about the I2S
Audio CODEC interface, Basic LCD
graphics and mTouchTM
–
UoM Oct. 2012
Confidential & Proprietary
176
Software Building Blocks
USB Host & Device
Released
Beta Now : Future Release
USB Dual Role and On-The-Go
Serial Port Bootloader
Released
TCP/IP Stack with SSL & BSD
Released
Graphics Library (with JPEG support)
Released
Standalone CAN Library
Released
MiWi™ Wireless Networking (802.15.4)
Released
Audio Library – SPEEX, PCM, ADPCM (WAV)
Released
16-bit & 32-bit File Systems
Released
EEPROM Emulation Library
Released
DSP Library (C32 Compiler v1.04)
Released (doc release in early Nov)
DMA UART library
Beta Now
Release: CQ4
Soft SPI Library
Beta Now
Release: CQ4
Provided in source form at no charge, no royalty, no maintenance costs
UoM Oct. 2012
Confidential & Proprietary
177
PIC32 Available
Documentation





 Application Notes:
Family Datasheet
 9 USB related
Getting Started Guide
 Maximize SW Portability
Family Reference Manual
 16/32-bit File System
 TCP/IP
C32 Compiler User Guide,
 Web server
C32 Library guide
 SNMP Agent
Errata sheet

FTP Server
www.microchip.com/pic32docs
UoM Oct. 2012
Confidential & Proprietary
178
Programming 32-bit Microcontrollers
in C: Exploring the PIC32



Accelerate the learning curve
Experience the simplicity of PIC32
Utilize the compatibility with
PIC24
A sample of the 15 projects:
 Basic timing and I/O operation
 Debugging methods
 Multitasking using the PIC32
interrupts
 New hardware peripherals
 How to control LCD displays
 Accessing mass-storage media
 Generating audio & video
Written by long-time Microchip
employee & a member of the
PIC32 team
UoM Oct. 2012
Confidential & Proprietary
179
PIC32 Third Party Support
UoM Oct. 2012
Confidential & Proprietary
180
Summary

Compatible upgrade path







Up to 512KB of Flash and 32KB of RAM
80MHz of 32-bit Performance
Re-use Microchip development tools & Explorer 16
Industry Tools support from 14 Key Industry 3rd
Parties, and growing
USB OTG Parts Now in Production
USB/CAN/Ethernet products in development
Silicon, Tools, Docs, Software and low cost
Starter Kits are available now
UoM Oct. 2012
Confidential & Proprietary
181
About CMX Systems





Founded in 1990, Based in
Jacksonville, FL
Core business - provides RTOSes,
TCP/IP Stack, Flash File Systems,
USB and CANopen stacks
Renowned for service and support
Widely used with PIC/dsPIC MCU’s
www.cmx.com
UoM Oct. 2012
Confidential & Proprietary
Return to Main Menu
CMX 1/3 182
CMX-RTX Real Time
Operating System







Smallest footprint and fastest context
switch times in industry
Truly Preemptive
Low Interrupt latency
Nested Interrupts
Scalable - User configurable
Widely deployed in over 50 processor
families
No Royalties , Full source code
UoM Oct. 2012
Confidential & Proprietary
Return to Main Menu
CMX 2/3 183
CMX-MicroNet TCP/IP Stack

Optimized for extremely small RAM/ROM

Operates with or without RTOS

Easy-to-use GUI for configuration

Support for : TCP, IP, UDP, PPP, PAP/CHAP,
WebServer, DHCP, FTP, TFTP, SMTP, SNTP,
POP3, DNS, SNMP, ICMP, Multicasting and
Fragmentation

Ethernet, Dial Up and Wireless connectivity

Portable Drivers for Ethernet controllers
UoM Oct. 2012
Confidential & Proprietary
Return to Main Menu
CMX 3/3 184
ThreadX

ThreadX is Express Logic’s real-time operating system
(RTOS) for embedded, real-time applications running on
Microchip PIC32 processors



ThreadX is optimized to be small in size, fast in
performance, and easy to use


Multithreading, priority-based, preemptive scheduling, deterministic
Queues, timers, memory pools, event chaining, logging
As small as 4KB, 2µs context switch, 60 services
ThreadX is royalty-free, making it especially attractive for
high-volume, cost-sensitive products

Low up-front cost, no royalties, full source code
© 2006, Express Logic, Inc.
UoM Oct. 2012
Confidential & Proprietary
Return to Main Menu
Express Logic185
1/3
Who’s Already Using
ThreadX?

Over 450 million devices deployed as of April, 2007

Consumer Devices





Medical electronics – Welch-Allyn, Medtronic




Defibrillators
Ventilators
Blood analyzers
Industrial Automation




Wireless networking 802.11b/g/a, Bluetooth (Intel, Marvell, Broadcom)
Ink-jet Printers, All-In-One (HP)
DSC Cameras (HP, Pentax, Kodak, Zoran SoC users - many)
DVD Players, DTV (Zoran SoC users – many)
3M
Horner
Ingersoll-Rand
See www.rtos.com for more
© 2006, Express Logic, Inc.
UoM Oct. 2012
Confidential & Proprietary
Return to Main Menu
Express Logic186
2/3
Express Logic’s Business
Model

Royalty-Free Licensing


Full Source Code


Technology licensed for use in a project (single
product, product line, family, processor, OEM)
Developer Licensing


For security and better understanding
Project Licensing


No per-unit charges for binary copies
Technology licensed for use per developer, per site
Support

Support contracts assure updates, bug-fixes and
hand-holding
© 2006, Express Logic, Inc.
UoM Oct. 2012
Confidential & Proprietary
Return to Main Menu
Express Logic187
3/3
Who is Micriµm?

Provider of: High Quality Embedded Software Components



Some products are FAA/FDA certifiable
Outstanding documentation
Code provided in source form


Cleanest Source Code in the Industry
Follow strict coding standards and practices






Style
Comments
Naming conventions
Directories
Encapsulation
Outstanding customer support
UoM Oct. 2012
Confidential & Proprietary
188
Micriµm
Products

µC/OS-II
Embedded RTOS


µC/OS-View



Embedded File System


Software time-of-day clock (µC/CLK)
Character-based LCD (µC/LCD)

Embedded TCP/IP v4 stack
DHCPc, DNSc, FTP, HTTPs, POP3c,
SMTPc, SNTPc, etc.
UoM Oct. 2012

Confidential & Proprietary
Modbus Master or Slave
RS-232C or RS-485
ASCII or RTU
µC/CAN

µC/TCP-IP



HID
CDC
Mass-Storage Class
µC/Modbus

µC/BuildingBlocks



Embedded Graphical User Interface
Bulk-device stack
Mass-Storage Class
µC/USB-Host

µC/FS



Run-time Task Profiler
µC/GUI


µC/USB-Device




CAN Framework
µC/Probe

Run-Time Data Monitor
189
Micriµm
Licensing


Most of our products are Royalty-Free.
Licensed on a ‘per-end-product’ basis.





Perpetual use on that end-product
Unlimited number of units
Each ‘different’ product that embeds our software
requires a license.
If a product has multiple CPUs then each CPU
running a different binary requires a license.
Other licensing schemes are available:



Product Line (i.e. Family)
Per-CPU type (ARM, ColdFire, SH, etc.)
Site
UoM Oct. 2012
Confidential & Proprietary
190
Micriµm
Evaluations
UoM Oct. 2012
Confidential & Proprietary
191
RAMTEX Graphic Display
Driver Libraries for PIC32



Embedded GUI application development made simple with C
source libraries from RAMTEX International ApS
Support use of PIC32 with more than100 display controller types
Contact RAMTEX for detailed information: www.ramtex.dk
UoM Oct. 2012
Confidential & Proprietary
192
PIC32 Key Advantages




Best-in-Class performance per MHz
Many Connectivity Options
Scalable Memory Options up to 512KB
Innovative Peripherals:




Peripheral Pin Select – flexible pin-remapping for design
flexibility
Charge Time Measurement Unit (CTMU) – for precise
measurements and implementing capacitive touch sense
keypads and sliders
8/16-bit Parallel Master Port – for connection of external
peripherals like graphics controllers, memory, etc.
I2S Codec – digital audio interface with adjustable clocking for
streaming digital audio applications
UoM Oct. 2012
Confidential & Proprietary
193
Designed for Performance
0,5
0
Comp A
Comp B
PIC32MX3
600%
Floating Point Math Times
500%
(Lower is better)
400%
Comp @ 240 MHz
(blue)
300%
PIC32 @
80 MHz (red)
200%
UoM Oct. 2012
Confidential & Proprietary
194
dbl to sgl
sgl to dbl
long to fp
ulong to fp
cmp
fp to long
frexp
ceil
ldexp
fabs
fp to ulong
Source: MicroDigital Website
floor
fmod
tanh
modf
sinh
cosh
atan
atan2
acos
tan
asin
sin
cos
pow
0%
log
100%
log10

1
exp

Instruction caching for 1:1
linear code execution
Dedicated DMA on key
peripherals
Up to 80 MHz internal busses
1,76
1,5
sqrt

2.12
2
divide
Chip architecture targets
maximum performance
43%
multiply

2,56
2,5
MIPS® M4K® core with bestin-class 1.65 DMIPs/MHz
ratings
Two sets of 32 Core registers
Can perform math operations
in parallel with instruction
execution
add

3
subtract


by EEMBC®
More processing capability
per MHz
Normalized Time

Connectivity Options
Serial
USB OTG
Wireless
IEEE 802.15.4
GPS
Ethernet
UoM Oct. 2012
CANbus
Confidential & Proprietary
195
PIC32 MCUs In Production
PIC32MX1
40MIPS
GP
PIC32MX2
40MIPS
USB
64/16
64/16
32/8
16/4
16/4
36 TLA
5 x 5mm
0.5mm pitch
44 QFN
8 x 8mm
0.7mm pitch
512/32
256/32
256/32
128/32
128/32
128/16
64/16
64 TQFP
10 x 10mm
0.5mm pitch
512/128
512/128
512/64
512/64
512/64
256/64
256/64
256/64
PIC32MX5 Series
USB + 1 CAN
0 GP DMA
32/8
512/32
PIC32MX7 Series
USB + 2 CAN + ENET
PIC32MX6 Series
USB +ENET
128/32
128/32
64/32
64/32
PIC32MX7 Series
USB + 1 CAN +
ENET
128/32
4 GP DMA
128/32
4 GP DMA
128/32
PIC32MX3 Series PIC32MX4 Series
USB
GP
PIC32MX6 Series
USB + ENET
8 GP DMA
New Devices
4 GP DMA
FLASH/RAM
PIC32MX5 Series
USB + 1 CAN
64/16
64 QFN
9 x 9mm
0.5mm pitch
100 TQFP
12 x 12mm
0.4mm pitch
100 TQFP
14 x 14mm
0.5mm pitch
121 BGA
10 x 10mm
0.8mm pitch
Package Options
UoM Oct. 2012
Confidential & Proprietary
196
Popular Applications

Industrial Automation



Networked communication
hubs
GUI based control panels



Metering
Automated coffee makers
Commercial HVAC control
Security systems
Commercial


Appliance/Smart Energy





Consumer



Medical



Glucose monitors
Networked monitoring devices
Cardiac monitoring
UoM Oct. 2012
Automotive diagnostic
equipment
Bar code Scanners
GPS vehicle trackers

Confidential & Proprietary
Fitness Equipment
Remote controls
PC servers (diagnostic
functions)
MP3 capability
197
Easy to Get Started
Starter Kit Platform: Easiest and Lowest Cost
Ethernet + USB
128K Ram
DM320004
USB
128K Ram
DM320003-2
General Purpose
32K Ram
DM320001
Starter Kits Includes:
• Free Compiler
• Example Software
• Expansion Connector
• Integrated Programmer
& Debugger
Explorer 16 Platform: Compatible with 16-bit MCUs
+
Processor Module
(MA32000x)
UoM Oct. 2012
+
Explorer 16 Board
(DM240001)
Confidential & Proprietary
Debugger of Choice
198
PIC32 Starter Kits



Plug directly into the Multimedia Expansion Board or
one of several graphics development boards
Integrated programmer / debugger
USB Powered
General Purpose
32 Kbytes RAM
Part #: DM320001
UoM Oct. 2012
USB
128 Kbytes RAM
Part #: DM320003-2
Confidential & Proprietary
Ethernet + USB
128 Kbytes RAM
Part #: DM320004
199
PIC32MX1/MX2 Tools
PIC32MX2xx
Microstick II – DM330012-2
–
–
PIC32MX1/MX2 Starter Kit
–
–
–
–
–
–
–
Integrated Programmer/Debugger
USB Powered
2” Color TFT Display
SD Card Storage
mTouch™ Capacitive slider and buttons
24-bit Audio playback
PIC32MX220F32D PIM
- DM320011
UoM Oct. 2012
–
Integrated Programmer /Debugger
USB Powered
Access to all pins
Header for prototyping board insertion
PIC32MX CTMU Evaluation Board
- PIC32MX2 128KB PIC32
– PICkit serial interface via ICSP header
– Integrated Programmer Debugger
– USB connector (for power)
– 16-bit LED display
Confidential & Proprietary
200
Complete PIC32 Tool Chain
Supports Rapid Development

MPLAB® IDE Tool Suite
−
Single version for all 8/16/32-bit PIC® MCUs
−
−
−

Works With Existing MPLAB® ICD 3 and
MPLAB REAL ICE™ Debug Probes
Still Free & Supports all ~600 PIC MCUs
MPLAB® C Compiler for PIC32
−
−
Based on MIPS® Technologies’ Proven
Compiler Technology
Compatible Peripheral Libraries
−

Enhanced for 32-bit development
Common API set with 16-bit
MPLAB® Debuggers, Emulators and
Programmers are also available
UoM Oct. 2012
Confidential & Proprietary
202
Free Microchip Software and
3rd Party Software are Available
Microchip Software Libraries
Microchip Tools
Two TCP/IP Libraries
 AES 128-, 196- and 256-bit Encryption Library
 Full Peripheral Library in C Compilers
 Advanced Graphics Library
 USB Embedded Host, Device
and On-the-Go Library
 MiWi™ Wireless Protocol Stack (802.15.4)
 Two File System libraries
 Audio Library
 Bootloaders
 DSP Library*
 Floating Point Library*
MPLAB® IDE (free)

MPLAB C Compiler
HI-TECH C® Compiler
Third Party Software
Free & Source-Code Form
(* Binary only)
UoM Oct. 2012
Confidential & Proprietary
203
Additional Resources are Available to
Assist in the Design Process
Programming 32-bit Microcontrollers in C
 Accelerate the learning curve
 Experience the simplicity of PIC32
 15 Projects
Using the FreeRTOS™
Real-Time Kernel with
PIC32
Real-Time
Multithreading
using ThreadX and
MIPS®
UoM Oct. 2012
Confidential & Proprietary
204
V-TEMP
UoM Oct. 2012
Confidential & Proprietary
Wider Temperature Range


PIC32 MCUs can operate from -40 C to
105 C designated as V-Temp
Designed for applications across
various market segments
Communications
Industrial
Medical
UoM Oct. 2012
Confidential & Proprietary
Automotive
Appliance
Renewable energy
206
V-Temp MCUs with various
features eases the designs

PIC32 V-Temp MCUs provide many
popular features including
Connectivity
Graphics
Audio

Touch Sensing
Industrial CAN
USB OTG
Meets the demands of applications that
need variety of features and higher
temperature operation as well
UoM Oct. 2012
Confidential & Proprietary
207
PIC32 V-Temp Devices

PIC32MX5/MX6/MX7 256/512KB Flash


Ethernet, CAN, PMP for GFX & USB-OTG
All PIC32MX3/MX4
General Purpose , PMP for GFX
& USB-OTG


40 MHz PIC32MX1/MX2

Audio, Touch sensing, USB-OTG & PMP for GFX
UoM Oct. 2012
Confidential & Proprietary
208
PIC32 V-Temp Roadmap
Features
PIC32MX6
80 MHz
256/512 KB Flash
64 /128KB RAM
USB, Ethernet
Design
Production
PIC32MX7
80 MHz
256/512 KB Flash
64/128KB RAM
USB, CAN, Ethernet
PIC32MX5
80 MHz
256/512 KB Flash
64 KB RAM
USB , CAN
PIC32MX3/4
80 MHz
64-256KB Flash
16-32KB RAM
64-100 pins
USB, I2S, CTMU, PPS
PIC32MX2
40 MHz
16 KB-128 KB Flash
4KB – 32KB RAM
USB, I2S, CTMU
PIC32MX1
40 MHz
16 KB-128 KB Flash
4KB – 32KB RAM
GP,I2S, CTMU
40 MHz
UoM Oct. 2012
PIC32MX3
40 /80 MHz
32 KB- 512 KB Flash
8 KB – 32KB RAM
GP
40/80 MHz
PIC32MX4
80 MHz
32 KB- 512 KB Flash
8 KB – 32KB RAM
USB
80 MHz
Confidential & Proprietary
209
High-Performance, 70 MIPS
16-bit Products
New dsPIC Motor Control and
General Purpose Devices
UoM Oct. 2012
Confidential & Proprietary
The new additions to the dsPIC33EP and
PIC24EP families bring new features and
cost benefits to motor control and
general-purpose applications
UoM Oct. 2012
Confidential & Proprietary
211
dsPIC Motor Control
Applications
Motors
Alternating Current
(AC motors)
Asynchronous
Single Phase
ACIM
Direct Current
(DC motors)
Synchronous
Brushless DC
(BLDC)
Stepper Motor
Switched
Reluctance (SR)
Three Phase ACIM
Universal Motors
(AC & DC)
Brushed DC
Sensored
BLDC
Sensorless
BLDC
Permanent Magnet
(PMSM)
Any PIC® MCU w/ Capture and Compare (CCP) or Enhanced CCP PWM
dsPIC Digital Signal Controllers are best suited
UoM Oct. 2012
Confidential & Proprietary
212
Brushless DC Motors
Sensored
BLDC


Microchip analog controllers, 8-bit PIC’s, and
16-bit PIC24F’s provide excellent sensored
BLDC control solutions
dsPIC offers precise control such as:

Sensorless
BLDC


Microchip analog controllers, 8-bit PIC’s, and 16bit PIC24F’s can implement sensorless control
when few features are required
dsPIC offers precise control such as:

UoM Oct. 2012
Variable speed with constant torque, speed and torque
control using PI controllers, field oriented control for greater
efficiency, minimal torque ripple, and quiet operation
Variable speed with constant torque, speed and torque control
using PI controllers, digital filtering of sensorless inputs, field
oriented control for greater efficiency, minimal torque ripple,
and quiet operation
Confidential & Proprietary
213
16-bit Motor Control
dsPIC33EP512MU8
280-536 KB / 28-52KB
64-144 Pins
Motor, USB, 2xCAN, PMP,
Aux Flash
dsPIC33EP512MC3/6/7
128-512KB / 16-48KB
28-100 pins
Dual Motor, Op Amps,
CAN, PPS
dsPIC33FJ128MC8
64 -128 KB / 8KB
28-44 pins
Motor, Audio DAC, CAN,
PMP
dsPIC33E512MC2/5
32-512KB / 4-48KB
28-64 pins, CAN
Motor, Op Amps, PPS
dsPIC33F32MC1
32KB / 2KB
18-44 pins
Motor, PPS,CTMU
dsPIC33FJ32MC2
16 -32KB / 2KB
28-44 pins
Motor, PPS
dsPIC33EP64MC2/5
64 KB / 8KB
28-64 pins, CAN
Motor, Op Amps, PPS
dsPIC33F16MC1
16KB / 1KB
18-28 pins
Motor, PPS,CTMU
dsPIC33FJ12MC2
12 KB / 1KB
18-28 pins
Motor, PPS
Features/Memory
dsPIC33FJ256MC7
64 -256KB / 8-32KB
64-100 pins
Motor, CAN
UoM Oct. 2012
16 MIPS
Confidential
40
MIPS & Proprietary
70 MIPS & Adv. Analog
214
New dsPIC “EP” Family
6.9
mW/MHz
1.65
mW/MHz
33FJ64MC506A
33EP64MC506
33F / 24H
33EP / 24EP
76% Lower
Power Consumption
Idd @ 3.3V / 25°C with CPU executing basic code (e.g. loop). Peripherals off & no I/O current
included.
UoM Oct. 2012
Confidential & Proprietary
215
Code Compatibility
New dsPIC33E code compatible with dsPIC33F
dsPIC33E Performance Guide shows how to optimize code for the
new core! (DS70637)
Code Compatible!
dsPIC33E
70 MIPS
dsPIC33F
40 MIPS
UoM Oct. 2012
Confidential & Proprietary
216
dsPIC “EP” Features
Multiple package options
ranging from 28 to 64 pins
including new 5x5mm
36-pin VTLA package
Integrated Op Amps reduce the
need for external components,
typically saves ~$1 in costs
+
-
CTMU peripheral for touch
sensing or temp measurement
Industry leading PWM
module designed for
motor control
UoM Oct. 2012
Confidential & Proprietary
217
Single Motor Control
dsPIC33EP256MC
64-256KB Flash
8-32 KB RAM
MC PWM – 6 channels
Up to 4 DMA
Channels
CAN - 1
16 Channel 10/12-bit ADC
Memory Bus
Data
Interrupt
Control
16-bit 70MIPS Core
16-bit ALU
Register File
16 x 16
17 x 17 MPY
Barrel
Shifter
JTAG & EMU
Interface
Peripheral Bus
Inst.
Analog Comp/Op Amps - 3
Analog Comp - 1
UART – 2, SPITM – 2, I2CTM – 2
QEI - 1
16bit Timers - 6
CTMU
Address
Generation
CRC, PPS
IC – 4, OC 4
POR/BOR


VREG
WDT
New Features
64 and 128KB devices RTP’d and samples available
256KB devices RTP-ing by end of the month
UoM Oct. 2012
Confidential & Proprietary
218
dsPIC33EP256GP or MC
2/5
64
4
4
6
1
6 ch 1 +2*
2
2
2
1
4
5
4
4
6
1
6 ch 1 +2*
2
2
2
1
4
5
4
4
6
1
8 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
8 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
9 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
9 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
16 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
16 ch 1 +3*
3
2
2
1
1
4
5
4
4
1
6 ch 1 +2*
2
2
2
1
1
4
5
4
4
1
8 ch 1 +3*
3
2
2
1
1
4
5
4
4
1
9 ch 1 +3*
3
2
2
1
1
4
5
4
4
1
16 ch 1 +3*
3
2
2
1
1
Other
dsPIC33EPxxxGP506
5
eCAN
44
I2C
dsPIC33EPxxxGP504
SPI
36
UART
dsPIC33EPxxxGP503
OpAmps
28
Comparators
dsPIC33EPxxxGP502
4
ADC
dsPIC33EPxxxMC506 64
QEI
dsPIC33EPxxxMC206 64
MC PWM
dsPIC33EPxxxMC504 44
OC
dsPIC33EPxxxMC204 44
IC
dsPIC33EPxxxMC503 36
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
Timer
dsPIC33EPxxxMC203 36
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
DMA
dsPIC33EPxxxMC502 28
RAM
dsPIC33EPxxxMC202 28
Flash
Pins
Device
1
1
1
CRC,
PPS,
PTG,
CTMU,
Temp
Sensor,
OpAmp,
1%FRC,
AREF
* - OpAmps can be configured as comparators
UoM Oct. 2012
Confidential & Proprietary
219
PIC24EP256GP/MC2/5
64
4
4
6
1
6 ch 1 +2*
2
2
2
1
4
5
4
4
6
1
8 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
9 ch 1 +3*
3
2
2
1
4
5
4
4
6
1
16 ch 1 +3*
3
2
2
1
4
5
4
4
1
6 ch 1 +2*
2
2
2
1
4
5
4
4
1
8 ch 1 +3*
3
2
2
1
4
5
4
4
1
9 ch 1 +3*
3
2
2
1
4
5
4
4
1
16 ch 1 +3*
3
2
2
1
Other
PIC24EPxxxGP206
5
eCAN
44
I2C
PIC24EPxxxGP204
SPI
36
UART
PIC24EPxxxGP203
OpAmps
28
Comparators
PIC24EPxxxGP202
4
ADC
64
QEI
PIC24EPxxxMC206
MC PWM
44
OC
PIC24EPxxxMC204
IC
36
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
8, 16,
32KB
Timer
PIC24EPxxxMC203
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
64, 128,
256KB
DMA
28
RAM
Pins
PIC24EPxxxMC202
Flash
Device
CRC,
PPS,
PTG,
CTMU,
Temp
Sensor,
OpAmp,
1%FRC,
AREF
* - OpAmps can be configured as comparators
UoM Oct. 2012
Confidential & Proprietary
220
Upcoming MC Dev Tools

New MCLV-2 and MCHV-2 boards will enable
customers to use the internal OpAmps on
the new dsPIC33EP devices
PIM for using internal OpAmps
MA330031
MCLV-2
DM330021-2
PIM for using external OpAmps
MA330031-2
MCHV-2
DM330023-2
Available
UoM Oct. 2012
Confidential & Proprietary
221
Motor Control Software
Over 25 motor control app notes & tuning guides:
Sensorless BLDC and PMSM App Notes
AN1160
Sensorless BLDC control with Back EMF
AN1078
Sensorless Field Oriented Control (FOC) with SMO estimator
AN1292
Dual Shunt Sensorless Field Oriented Control with PLL and Field
Weakening
AN1299
Single Shunt Sensorless FOC with SMO sensorless estimator
Sensorless ACIM App Notes
AN1162
Sensorless FOC
AN1206
Sensorless FOC with field weakening
Motor Tuning Guides
AN1160
Sensorless BLDC Back EMF
AN1078/1292
Sensorless PMSM/BLDC FOC with SMO or PLL estimator
UoM Oct. 2012
Confidential & Proprietary
222
The dsPIC33F “GS” Series
Igniting the Digital Power Market
UoM Oct. 2012
Confidential & Proprietary
Digital Power Benefits
Accelerating Worldwide Adoption

Higher Energy Efficiency


Lower Cost




Fewer components on the board
Higher Reliability
Improved Intellectual Property Protection


Green Design
Hard to copy a full digital control design
Improved Transient Response
Flexible design through software
UoM Oct. 2012
Confidential & Proprietary
224
Digital Loop Architecture
Speeding Innovation
dsPIC™
PWM
Output
Firmware
ADC
Status

Analog control is removed and replaced with a fully
customizable digital control algorithm



Enables Product Differentiation & IP Protection
Increased Efficiency
Reduced Cost
UoM Oct. 2012
Confidential & Proprietary
225
Optimized for Digital
Power
What Controller Features are needed for Digital Power?

DSP Resources + MCU = Digital Signal Controller


Low Cost
Small Size
√

As small as 6x6 mm Footprint (Industry’s smallest DSC)
Optimized Peripherals and Flexible Interconnect
√
√
√
√
PWM with SMPS Modes, High Resolution, and HW override
Software-Configurable Peripherals
Fast (20 ns) Comparators
Optimal ADC with multiple S&Hs for simultaneous samples
Ability to Adapt to New Innovation is Key!
UoM Oct. 2012
Confidential & Proprietary
226
Target Markets & Applications

AC – DC Power Supplies





DC – DC Power Supplies



¼ Brick and other small form factors
Point-of-load supplies
HID & LED Lighting




Multi-loop digital switch mode
200W and above
Power factor correction (primary-side)
Secondary-side digital control
Projectors
Industrial & commercial lighting
Automotive
Other





Solar inverters
Battery chargers
Welders
Uninterruptible power supplies (UPS)
Circuit breakers / arc fault detection
UoM Oct. 2012
Confidential & Proprietary
227
dsPIC Digital Power
Offerings
SMPS Features / Memory
50 MIPS Now
Available
dsPIC33FJ09GS
40 MIPS
6-9KB / 0.25-1KB
18-36 pins
PPS, LSFR, PMBA
6 High Res PWMs (1ns)
10-bit ADC (2 MSPS)
dsPIC33FJ64GS
50 MIPS
32-64KB / 4-9KB
64-100 pins
ECAN, DMA, QEI
18 High Res PWMs (1ns)
10-bit ADC (4 MSPS)
dsPIC33FJ16GS
50 MIPS
6-16KB / 0.25-2KB
18-44 pins
PPS
8 High Res PWMs (1ns)
10-bit ADC (4 MSPS)
dsPIC33EP32MC504
70 MIPS
32KB / 4KB
28-44 pins
Concept
Design
PPS, Op Amps, ECAN, DMA
Production
6 PWMs (7ns)
12/10-bit ADC (0.5/1.1 MSPS)
Price
UoM Oct. 2012
Confidential & Proprietary
228
GS Family Expansion
dsPIC33FJ09

Five new 40 MIPs devices

3 overlap dsPIC33FJ06GS devices: will be denoted with “A”
suffix
2 new variants (GS001 and GS302)
New and improved features
Lower power improves system efficiency
New 36-pin 5x5 mm VTLA package for compact board designs
Lower cost options

New MPLAB Starter Kit for Digital Power

Uses new GS302





Digital Power for cost-sensitive, low-wattage applications
UoM Oct. 2012
Confidential & Proprietary
229
New Features
dsPIC33FJ09



Rail-to-rail inputs for analog comparators
Programmable comparator hysteresis
Extended reference DAC voltage range


10 uA current source for PM-Bus address selection



Reduces external components
LFSR (random number generator) for dithering PWM


Improves signal to noise ratio
Reduces peak EMI emissions
Reduced power consumption
Errata fixes relative to the GS101/102/202
UoM Oct. 2012
Confidential & Proprietary
230
Digital Power Starter Kit
Features:

Fully Controlled with a Single dsPIC33FJ09GS302-I/SO

Implements Buck and Boost DC/DC converters

On-board debugging / Programming via USB

LED power-on indicator

On-board Measurement Display, Potentiometers, Resistive Loads
& Temperature sensor

Connector for I2C (PICkit Serial Analyzer)

Features Microchip Analog components including new Fast
MOFETs, Op Amps, and Gate Drivers.
Package Contents:

Starter Kit PCB (Dimensions 4 x 2.5 inches)

Info Sheet

Mini USB cable

9V Power Supply
DM330017
UoM Oct. 2012
Confidential & Proprietary
231
SMPS Tools, Libraries and EVMs
Get to Market Quickly
LED Lighting
45W Buck/Boost
300W AC/DC
Solar Micro Inverter
Free PMBus Software
1KW Off-Line UPS
UoM Oct. 2012
350W Interleaved
PFC
DC/DC LLC
Resonant
Confidential & Proprietary
Quarter Brick DC/DC
232
Buck/Boost Converter
Low Cost Development




PN: AC164133
Prototyping platform to investigate digital
power conversion and digital SMPS design
Supports dual-buck and single-boost
stage conversion
Includes example software for
implementing digital dual-synchronous
buck converter and boost converter
Daughter Board for:


16-bit 28-Pin Starter Board
As well as the modular Explorer
16 Board
UoM Oct. 2012
Confidential & Proprietary
233
Royalty Free Reference
Designs

All Documentation Online




Digital Pure Sine Wave UPS


Phase shifted full bridge converter in industry
standard quarter brick size
Solar Micro Inverter


LLC resonant converter over 95% efficient
Quarter Brick DC/DC Converter


Digitally controlled AC/DC converter
DC/DC LLC Resonant Converter


Two phase interleaved PFC stage
300W AC/DC Power Supply


Offline UPS system
Digital Power Interleaved PFC


User Guides
Source code
BOM, Schematics, Gerber files
220Watt grid tied solar inverter
LED Lighting

Buck or boost digital LED control system
For more information visit www.microchip.com/smps
UoM Oct. 2012
Confidential & Proprietary
234
Summary



Digital power is rapidly growing
The technology is rapidly evolving requiring a flexible
controller
The dsPIC33F “GS” Series provides the optimal Digital Power
solution







Power Optimized Features
Small Footprint devices available
Reference Designs
Low Cost Pricing
Free Design Tool Software
Code Examples
Microchip MCUs, reference designs, software, and support
accelerate any digital power design!
For more information visit www.microchip.com/smps
UoM Oct. 2012
Confidential & Proprietary
235
9x2
8x2
6x2
6x2
9x2
8x2
6x2
6x2
4x2
4x2
3x2
3x2
2x2
2x2
2x2
3x2
2x2
2x2
2x2
2x2
UoM Oct. 2012
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
1ns
4
4
4
4
4
4
4
4
2
2
2
2
1
0
0
1
1
0
0
0
4
4
4
4
4
4
4
4
2
2
2
2
1
1
1
1
1
1
1
0
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
10
4
4
4
4
4
4
4
4
4
4
2
2
2
2
2
2
2
2
2
2
24
16
16
16
24
16
16
16
12
8
8
8
6
6
6
8
6
6
6
6
6
6
6
5
6
6
6
5
6
6
4
4
3
3
3
3
3
3
3
2
1
1
1
0
1
1
1
0
1
1
0
0
1
0
0
1
1
0
0
0
10
10
10
10
10
10
10
10
10
10
10
-
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Confidential & Proprietary
S
P
I
I
2
C
E
C
A
N
D
M
A
External Interrupts
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
50/40
40
40
40
40
40
U
A
R
T
16-Bit Timers
9K
9K
9K
8K
4K
4K
4K
4K
2K
2K
2K
2K
1K
256
256
1K
1K
256
256
256
Analog Comparators
64K
64K
64K
64K
32K
32K
32K
32K
16K
16K
16K
16K
6K
6K
6K
9K
6K
6K
6K
6K
PGA or OpAmps
100
80
64
64
100
80
64
64
44
28
44
28
28
28
18
28/36
28/36
28/36
18/20
18/20
O
C
DAC Resolution
dsPIC33FJ64GS610
dsPIC33FJ64GS608
dsPIC33FJ64GS606
dsPIC33FJ64GS406
dsPIC33FJ32GS610
dsPIC33FJ32GS608
dsPIC33FJ32GS606
dsPIC33FJ32GS406
dsPIC33FJ16GS504
dsPIC33FJ16GS502
dsPIC33FJ16GS404
dsPIC33FJ16GS402
dsPIC33FJ06GS202
dsPIC33FJ06GS102
dsPIC33FJ06GS101
dsPIC33FJ09GS302
dsPIC33FJ06GS202A
dsPIC33FJ06GS102A
dsPIC33FJ06GS101A
dsPIC33FJ06GS001
I
C
DAC Outputs
P
W
M
s
ADC S&H
M
I
P
S
ADC Channels
R
A
M
ADC (MSPS)
F
l
a
s
h
ADC Resolution
Part Number
P
i
n
s
PWM Resolution
GS Family Members
4
4
4
0
4
4
4
0
4
4
0
0
2
0
0
2
2
0
0
2
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
0
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
0
2
2
2
2
2
2
2
2
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4
4
4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
5
5
5
5
5
5
5
5
3
3
3
3
2
2
2
2
2
2
2
2
5
5
5
5
5
5
5
5
3
3
3
3
3
3
3
3
3
3
3
3
Other
Status
1% FRC
Production
Today
2% FRC
PPS
2% FRC, PPS,
PMBA Current Src
Rail-to-Rail CMP
Production
Today
Production
Today
236
mTouch™ Sensing Solutions
UoM Oct. 2012
Confidential & Proprietary
Typical Human Interface
System Features

Input features




Output features




Keypad, Switches, Buttons
Touch sensitive keys
Touch-screen
Segmented or Graphical
LCD
LEDs
Buzzers, Speakers
Communication
Protocols

USB, RF Wireless, IrDA,
CAN, RS-232
UoM Oct. 2012
Confidential & Proprietary
238
mTouch™ Solutions
Keys, Sliders & Proximity
Sensing
Touch Screen
Controllers
Integrated USB, LCD & Graphical Display options
UoM Oct. 2012
Confidential & Proprietary
239
mTouch™ Keys & Sliders
UoM Oct. 2012
Confidential & Proprietary
One-Stop Shop for
Touch Sensing




Industry’s broadest portfolio
Industry’s lowest power touch solution
High robustness to noise & low
emissions
Works through most surfaces – glass,
plastic, metal (stainless steel,
aluminum)
UoM Oct. 2012
Confidential & Proprietary
241
Low Power Touch Sensing




Increase your Battery Life
Lower current in standby mode
<5uA touch-sensing with PIC® MCUs
eXtreme Low Power (XLP) technology
on many MCUs
Sleep current down to 9nA
 Active current down to 30 µA/MHz
 Real-Time Clock current down to 400 nA

UoM Oct. 2012
Confidential & Proprietary
242
Proximity, Keys, and Sliders
mTouch and RightTouch
PIC Microcontroller Solutions
Flexibility to Customize
mTouch Firmware Framework
MTCH112
2 channel
Active Guard
mTouch
CAP12xx
CAP11xx
3-14 channel
RightTouch
Active Guard
3-14 channel
RightTouch
LED Drive
MTCH101
1 channel
Low Cost
mTouch
Cost
UoM Oct. 2012
Confidential & Proprietary
243
Proximity, Keys, and Sliders
mTouch and RightTouch
PIC Microcontroller Solutions
Flexibility to Customize
Firmware Framework
MTCH112
2 channel
Active Guard
Digital
CAP1166
CAP1188
CAP1114
6 channel
6 LED drivers
Analog
8 channel
8 LED drivers
Analog
14 channel
11 LED drivers
Analog
CAP1133
CAP1126
CAP1128
3 channel
3 LED drivers
Analog
6 channel
2 LED drivers
Analog
8 channel
2 LED drivers
Analog
MTCH101
CAP1105/6
1 channel
Low Cost
Digital
5/6 channel
Analog
1
UoM Oct. 2012
2
4
6
Confidential & Proprietary
8
16
Channels
>16
244
Capacitive Touch MCU
mTouch Portfolio Overview
System Integration
Over 200
MCUs
General
Purpose
(GP)
UoM Oct. 2012
≤ 24 Cap Touch Ch.
PIC18
≤ 24 Cap Touch Ch.
PIC16
≤ 24 Cap Touch Ch.
PIC10/12
≤ 24 Cap Touch Ch.
≤ 32 Cap Touch Ch.
PIC24F
GP, USB & LCD/Graphics
GP, USB & LCD
≤ 16 Cap Touch Ch.
PIC24H
GP & CAN
GP & LCD
PIC32
GP, USB, Graphics,
Ethernet & CAN
32-512 KB Flash
64 – 121 pins
80 MHz
12 – 256 KB Flash
18 – 100 pins
40 MIPS
4 – 256 KB Flash
14 – 100 pins
16 MIPS
16 – 128 KB Flash
18 – 80 pins
12-16 MIPS
7 – 20 KB Flash
14 - 44 pins
8 MIPS
0.75 - 2 KB Flash
6 – 8 pins
8 MHz
Confidential
& Proprietary
Performance
Available now
246
General Guidelines
RightTouch








mTouch
No firmware experience
Analog design engineer
No system integration
value
Lowest device cost
Not low power focused
Just want touch function
3 to 14 Channels
Simple/Basic
implementation
UoM Oct. 2012








Firmware experience
Digital design engineer
Wants to integrate other
functions
Lowest system cost
Low power is important
Want to customize
Larger key count
Complex interactions
between prox, sliders and
keys
Confidential & Proprietary
249
Capacitive Touch
Principle
Introduction of a finger produces a parallel
capacitance (CF)
CF
Front Panel
Sensor
Cs
PCB
Ground Trace
CP
CP is the Parasitic capacitance
CF is the Finger capacitance
Cs is the total Sensor capacitance
UoM Oct. 2012
Sensor Capacitance (CS) = CP + CF
Touch Sense&Technology
Confidential
Proprietary
250
Metal-over-Cap Technology

In addition to plastic and glass, sense
through stainless steel, aluminum, and more

Completely waterproof

Through thick gloves

With the advantages of our Capacitive
mTouch technologies, such as low power
and low cost
UoM Oct. 2012
Confidential & Proprietary
251
How does it work?
Front Panel
=
d
Printed Circuit Board
Panel Deflects
User Presses
Front Panel
C=
UoM Oct. 2012
ε 0εrA
(on the order
of microns)
Distance Between Plates
Decrease
System Detects the Change
in Capacitance
d
Confidential & Proprietary
252
Simple Mechanical
Construction

The only difference is the introduction of a spacer
layer to allow the deflection of the front panel




It needs to be non deformable
Thickness must be between 50um and 150um
The most common materials are Glue, FR4 or Mylar
The Front panel can be metal, plastic with metal
flash/coating…
Spacer Layer
Front Panel
PCB
UoM Oct. 2012
Confidential & Proprietary
256
Metal-over-Cap Applications

Medical


Industrial






Appliance
Aesthetics of Stainless
Steel Finish
Sealed and waterproof
Automotive


Aluminum Finish
Tactile Feedback
UoM Oct. 2012


Cleanliness
Vandal proof
Robust for outdoor
environments
Works with Gloves
Consumer




Confidential & Proprietary
Aesthetics
Braille
Low Cost
Low Power
257
Getting Started


mTouch™ Capacitive Touch Evaluation Kit
4 PIC® MCU-specific Motherboards


4 Sensor Daughter Boards





2-Channel Slider
4-Channel Slider
8 Keys Direct Sense
12-Key Matrix
PICkit™ Serial Analyzer


One each PIC16, PIC18, PIC24F and PIC32
Program & Debug
mTouch Diagnostic Utility
Orderable PN: DM183026-2
UoM Oct. 2012
Confidential & Proprietary
258
Metal Over Cap
Accessory Kit

Contains 2 Daughter boards

Plastic Cover



0.5 mm Stainless Steel etched on the back
Demo SW for mTouch Eval Kit


0.25 mm Polycarbonate with silver printing on the back
Metal Cover


NEW
Included in Microchip Applications Library
P/N: AC183026
Available now!
UoM Oct. 2012
Confidential & Proprietary
259
Keys/Slider Graphical User
Interface (GUI)
Package, allows engineer to:
 Use Evaluation Kit or Custom Boards


Monitor Sensor’s data





UART or USB interface Supported
Real Time Data
Max/Min
Calculate Signal To Noise Ratio
Easily set up Thresholds
Record and Export
data to CSV format
for further analysis
UoM Oct. 2012
Confidential & Proprietary
260
mTouch™ Cap Software Library
(source code included)



Easily integrate Touch interface into your application
Interoperable with other libraries (Graphics, USB)
Speed up time to market




Hardware drivers & sensing algorithm implemented
Common interfaces implemented
Easy migration from one PIC® MCU to another
Demonstration projects in v1.2 include:






Download
Now!
2-channel & 4-channel slider, Matrix key pad
Swiping gesture of 2 or more keys
Proximity detection using key matrix
Graphics Display + 5 touch keys on DM240312
Demos run on mTouch Capacitive Evaluation Kit
Version 1.2 supports PIC18 & PIC24F MCU

Support for PIC24H & PIC32 in future
Application Demos
Keys, Sliders, Graphics
Functional Layer
Library APIs
Physical Layer
Hardware peripheral drivers
UoM Oct. 2012
Confidential & Proprietary
262
Microchip Capacitive
Technology Overview






Solutions for a wide range of
applications
Access to algorithms for ease of design
and more advanced options
Easy integration and migration path via
broad PIC® MCU portfolio
Robust noise performance
Low Power Performance
Smallest Package Options
UoM Oct. 2012
Confidential & Proprietary
263
Touch Screen Controllers
UoM Oct. 2012
Confidential & Proprietary
Fixed Location Buttons

Low Cost Single Layer ITO

Same SW as Buttons


Single Micro


UoM Oct. 2012
Easy implementation
PIC16F19XX for LCD
PIC24FJXXXDA2XX
Confidential & Proprietary
265
TSHARC
Surface
Capacitive
Controller
& Operating
System Drivers
Sensor Size
<7”
>10”
Touch Screen Controller Portfolio
TSHARC
Resistive
Controller
& Operating
System Drivers
Microchip Advantages:
Low cost
Low power
Highly flexible solutions
Proprietary touch decoding
On-chip calibration
mTouch
AR1100
CTMU/CVD
(Beta release)
Resistive
Controller
USB, Digitizer
mTouch
AR1000
Resistive
Controller,
I2C, SPI, UART
<4”
mTouch
Projected
Capacitive
mTouch
Projected
Capacitive
CSMv2
Surface Capacitive
UoM Oct. 2012
Analog Resistive
Confidential & Proprietary
Projected Capacitive
266
Touch Screen Technology
Comparison
NEW
Analog
Resistive
Projected
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
Limited
Yes
Finger
Stylus/Glove
Finger
Now
Now
Multi-Touch
Touch Object
Availability
UoM Oct. 2012
Touch Sense&Technology
Confidential
Proprietary
267
mTouch™ Projected Capacitive Solutions
UoM Oct. 2012
Confidential & Proprietary
Projected Capacitive User
Interface Example Applications





Appliances
Automotive
GPS & Navigation Devices Mobile Phones
PDAs & MP3 Players
Security Control Panels
Printers
Remote controls
Thermostats
Gaming
Any application with < 4” finger input device
UoM Oct. 2012
Confidential & Proprietary
269
Microchip’s mTouch™
Projected Capacitive Solution


Royalty-free source code license
High Flexibility



Support for variety of screen sizes
Low Power
 Voltage Range: 1.8 – 5.5V
 IDD 1.5 mA at 5V typical
Low Cost Implementation
UoM Oct. 2012
Confidential & Proprietary
270
Projected Capacitive




Point of contact identified by change in capacitance
of row and column cells
Scan along each axis (Self)
Determine intersection of high capacitance lines
(Mutual)
Inter-bar interpolation
UoM Oct. 2012
Confidential & Proprietary
271
Projected Capacitive Solution



No external components required
Valid, filtered touch locations transmitted to host
No additional data processing needed by host
PIC® MCU with Projected Capacitive Royalty-Free Source Code
UoM Oct. 2012
Confidential & Proprietary
272
mTouch™ Projected
Capacitive Development Kit




PN: DM160211
Processor Board with fully
functional firmware on
PIC16F707
Sensor Board with 3.5” PCap 12
x 9 Touch Screen
Software GUI Development Tool
$119.99 ea.
Specification
Description
Touch-Screen Support
3.5”, independent, real time XY tracking for up to 2 touches
Channels
12 x 9, 108 nodes software expandable to 24 channels,144 nodes
Response Time
Typical <15 ms
Report Rate
Single Point 65 pps, Two Points 55 pps
Power Consumption
Operating 1.5 mA at 5V, sleep 20 µA typical
Resolution
128 bar-to-bar, scaled to 1024 x 1024
UoM Oct. 2012
Confidential & Proprietary
273
Analog Resistive Controllers
UoM Oct. 2012
Confidential & Proprietary
Analog Resistive
Applications
Universal Touch-Screen Controllers Provide Fully Processed, Reliable Touch
Coordinates for a Variety of Consumer, Industrial and Medical Applications

Appliance/Home




Kitchen Recipe Reader
HVAC controls
Security systems




Consumer & Automotive




Medical
Fitness Equipment
Remote controls
Mobile communication
GPS & Navigation Systems
Industrial Automation &
Office



Industrial controls
Printers
Retail Point-of-Sale




UoM Oct. 2012
Glucose monitors
Patient monitoring equipment
Confidential & Proprietary
Cash registers
ATM
Kiosks
Commercial Scales
275
How Analog Resistive Works



Two layers of Indium Tin Oxide
(ITO) on polyester separated by a
spacer layer
When touched, top (flex) layer
moves past spacer layer and
contacts bottom (stable) layer
Point of contact creates voltage
divider in the X and Y directions
Flex Layer
Stable Layer
UoM Oct. 2012
Touch Sense&Technology
Confidential
Proprietary
276
Analog Resistive Overview
4 Wire
5 Wire
8 Wire
Linearity
Very Good
Least Linear
Very Good
Power
Low
Medium
Low
Bus Bar Size
Thin
Medium
Wide
Drift Susceptibility
Susceptible
Susceptible
Senses &
Compensates ♦
Durability
Medium
High ♦
Medium
Cost
Low ♦
Medium
Medium
Suppliers
Many
Many
Fewest
• 4 wire is the low cost/ high volume solution
• 5 wire improves durability
• 8 wire helps adjust for environmental drift conditions
UoM Oct. 2012
Confidential & Proprietary
277
Microchip AR1000 Family
I2 C
ADC
OR
SPI
Basically an ADC…
•
•
•
•
•
ADC
I2 C
SPI
Calibration
& Filtering UART
USB
Turnkey Solution…
No Calibration
No Filtering
Not Universal, requires code rewrite
Risk associated with development
Higher system power, host dependent
UoM Oct. 2012
4,5 and 8 wire
Competition
Interface
Typical 4-wire only
Interface
Analog Resistive
Touch Screen Controllers
 Calibration
 Filtered, valid touch coordinates
 Universal, supports all 4/5/8 wire sensors
 Proven plug and play design
 Low system power - touch to wake up
Touch Sense&Technology
Confidential
Proprietary
278
Getting Started



Everything needed to easily evaluate resistive touch
screen controllers
7” touch screen sensor & all necessary cables
Easy-to-use configuration utility with GUI
USB
USB
UoM Oct. 2012
Confidential & Proprietary
279
Why AR1X00?

Controller-driven calibration





No need for calibration calculations
Eliminates need to write touch code
Supports all 4/5 and 8 wire sensors
Low power
Works right out the box
Faster Development, Lower Risk and Lower Power
UoM Oct. 2012
Confidential & Proprietary
280
Summary

Broad portfolio includes solutions for

Keys, Sliders & Proximity Sensing


Touch Screen Controllers


Award-winning XLP technology
High System Integration


Analog Resistive & Projected Capacitive
Lowest Power


Works through Metal
Touch integrated with Display, USB, CAN
High Flexibility
www.microchip.com/mtouch
UoM Oct. 2012
Confidential & Proprietary
281
LED Lighting
Control Solutions
UoM Oct. 2012
Confidential & Proprietary
LED Lighting Advantages

Best Overall Efficiency








~75% less energy than incandescent
~25% input energy = light
60  100++ lumens/watt (efficacy)
Long Life: >50,000 hours
No “warm-up” required
Minimal Radiated Heat
Both indoor and outdoor applications
Opportunity to provide additional intelligence
UoM Oct. 2012
Confidential & Proprietary
283
LED Lighting Issues


Still relatively expensive
Color shades vary from LED to LED



LEDs are low voltage devices that require
constant current rather than voltage


Requires electronic drive to initiate & maintain
constant voltage/current across LED
Dimming an LED with less current affects color
PWMs can provide the constant current required to
control light output w/o effecting the color shade
May require thermal solution to remove
conducted heat
UoM Oct. 2012
Confidential & Proprietary
284
Market Challenges

Transitioning from incandescent designs






Industry dominated by system integrators
Lack of technical expertise in MCU based designs
Educating market of MCU capabilities
Increasing competitive landscape
Evolving standards & regulations
Perceived cost barriers of ASIC versus MCU
The opportunity for “LED Lighting” extends
beyond simply turning the light on and off
UoM Oct. 2012
Confidential & Proprietary
285
Target Markets
Relative Market Size
Motivators
• Light Quality
• Price
• Maintenance Cost
• Lifetime
• Advanced Control
• Energy Savings
Residential
LED & Ballast
Commercial/Industrial
LED & Ballast
Microchip Focus
Automotive
LED & Ballast
Other
Signs, Screens,
Architectural
Controls
Portable
LED
Adoption Rate
UoM Oct. 2012
Confidential & Proprietary
286
Target Markets & Applications

Indoor Lighting



Outdoor Lighting





Flashlights / Headlamps
Specialty Lighting



Interior Ambient
Head & Tail Lamps
Portable Lighting


Streetlamps / Parking
Pedestrian / Traffic
Landscape
Automotive Lighting


Commercial / Industrial
Residential
Video Screen / Signage
Architectural / Emergency
Lighting Controls


Wall mount
Remote (PC, phone, etc.)
UoM Oct. 2012
Confidential & Proprietary
287
Simple LED Lighting

Simplest solution requires only a standalone
voltage regulator


Low-voltage: MCP16XX
Higher voltage: MCP17XX
Voltage / Current
Regulator
MCP16xx Series
MCP17xx Series

Beyond simple on/off control requires the
addition of intelligence (ie. An MCU)
UoM Oct. 2012
Confidential & Proprietary
288
PWM Control



Fixed current drive chopped by PWM
Dimming control via varying PWM duty cycle
PWM controlled LED drivers can provide dimming
and color mixing by:


Providing a high resolution PWM (or variants such VFM –
Variable Frequency Modulation) signal
Varying the constant current
UoM Oct. 2012
Confidential & Proprietary
289
High Resolution PWM
Microchip Patent

HRPWM  High Resolution PWM




Increases number of steps between power levels
More accurate color mixing & color temp control
Provides “smoother” dimming & brightness control
High Switching Frequency

Higher frequencies permits use of smaller inductors
and capacitors


Reduced BOM cost
Improved EMI
Implemented via the NCO + CLC peripherals
available on PIC10F32X, PIC16F150X
UoM Oct. 2012
Confidential & Proprietary
Light Output
0  100%
5-bit
10-bit
17-bit
Visually
noticeable
light steps
Near linear
for smooth
lighting
transitions
Relative PWM Resolution
Step Size
290
Variable Freq Modulation
Microchip Patent

VRM  Variable Frequency Modulation

Variable frequency at fixed duty cycle




Alternative to traditional PWM
May be implemented in software on any PIC® MCU
Hardware solution on any PIC MCU w/ PSMC peripheral
Advantage of VRM


Lower power
Improved EMC performance
UoM Oct. 2012
Confidential & Proprietary
291
New Peripherals Enhances
LED Lighting Control

CLC – Configurable Logic Cell


NCO – Numerically Controlled Oscillator


Non-overlapping waveform generator
COG – Complementary Output Generation


Industry’s most precise, linear, low-cost 20-bit PWM
CWG – Complementary Waveform Generation


Integrated combinational & sequential logic
Enhanced non-overlapping waveform generator
PSMC – Programmable Switch Mode Controller

Advanced, customizable high speed 16-bit PWM module
UoM Oct. 2012
Confidential & Proprietary
292
PIC® MCUs w/ New
Peripherals
Features/Memory
PIC16F178X
28KB / 256EE / 2KB
PIC16F150X
14KB / 0EE / 512B
12x 10-bit A/D, DAC,
2x Comp, EUSART,
I2C/SPI, PWM,
CLC, CWG, NCO,
PIC10F32X
896B / 0EE / 64B
3x 8-bit A/D, 2xPWM
Mid-Range Core
CLC, CWG, NCO
UoM Oct. 2012
PIC16F178X
7KB / 256EE / 512B
2x PSMC
11x12-bit A/D
8-bit DAC, 2x OpAmp
3x Fast Comp
PIC12/(HV)F752
1.75KB / 0EE / 64B
4x 10-bit A/D
2xFast Comp,
5-bit DAC,CCP, COG
Confidential & Proprietary
4x PSMC
14x12-bit A/D
8-bit DAC, 3x 5-bit DAC
3x OpAmp, 4x Fast Comp
PIC16/(HV)F753
3.5KB/ 0EE / 128B
8x 10-bit A/D
2xFast Comp,Op Amp
9-bit DAC,CCP, COG
293
Temperature Monitoring?



Heat affects efficiency, light intensity, color and
lifetime of an LED
Temp sensors placed near to power LEDs provide
accurate temperature monitoring
Logic output sensors can trigger an interrupt to the
to shutdown if over temp



The low-cost TC65XX temp sensors have a factory preprogrammed temp threshold
The MCP9509/10 are programmable via an external resistor
Voltage output temp sensors (MCP9700/1) provide
feedback to vary the drive current when an over
temp situation is looming
UoM Oct. 2012
Confidential & Proprietary
294
Intelligent Lighting Controls
User Interface & Control
UoM Oct. 2012
Confidential & Proprietary
Wall Controllers & Remotes
Legacy Control
Non-Intelligent Lighting Control
• Mechanical Interface
• Limited Luminaire Control
• Lacks User Feedback
• Lacks Communication
• Lacks Product Differentiation
UoM Oct. 2012
Microchip Human Interface Options
mTouch™ – all PIC MCU families
• Capacitive buttons and sliders
• Metal over Cap capability
• Projected Capacitive capability
Segmented LCD – PIC16, PIC18, PIC24
• Up to 480 segments
• Low power display modes
• Contrast control
Graphics – PIC24, PIC32, dsPIC® DSC
• Integrated graphics controllers
• Direct drive for QVGA and W-QVGA
• FREE graphics library and designer tool
Audio – PIC18, PIC24, PIC32, dsPIC DSC
• Speech coding libraries
• MP3 & echo cancellation libraries
• Made for iPod and Android accessories
Communication – all PIC MCU families
• Intelligent luminaire control
• DALI, DMX512, LIN/CAN, Wireless, others…
• FREE code libraries
Confidential & Proprietary
Intelligent Control
Wireless
Custom
LCD
Capacitive Buttons &
Sliders
Custom Graphical
Interface
Projective Capacitive
Touch Control
Audio Speech &
Buzzer Response
296
Lighting Control
Networking & Communication
DALI
DALI
DALI
Wall Controllers
Computers
Ethernet
Ethernet – DALI/DMX/RF
Gateway
DMX
Remotes
WiFi – MiWi
Gateway
WiFi
MiWi
Smart Phones
UoM Oct. 2012
Confidential & Proprietary
297
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® MCU
Automated Commissioning
Simple API to make it easy to use
UoM Oct. 2012
Confidential & Proprietary
298
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® MCU with:


(1) EUSART & (1) Timer
Simple API to make it easy to use
UoM Oct. 2012
Confidential & Proprietary
299
Wireless Communications



For remote control and diagnostics
ZigBee®, MiWi™ or Wi-Fi™ will all work
depending on the application
Fully certified add-on wireless modules

MRF24J40Mx 2.4GHz ZigBee/MiWi


Well suited for simple short distance wireless control
MRF24WB0Mx 2.4GHz WiFi

UoM Oct. 2012
Remote control and/or diagnostics via
the internet
Confidential & Proprietary
300
Reference Designs, Demos,
& Development Platforms
UoM Oct. 2012
Confidential & Proprietary
High Power LED Flashlight Demonstration
Advanced Control and Increased Efficacy
Available as FREE download
Collaborative Lighting Development Platform
Demonstration Highlights
Development Made Easy
• Low-cost development experience
• Start with the FREE download
• Schematics & ‘C’ source code
• Easily modified to your specific application needs
■ > 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 = >18 hours @ 0.6W
– Medium power = >6 hours @ 2W
– High power = 1.5 hours @ 10W
Download at www.microchip.com/HPLEDFlashlight
UoM Oct. 2012
Confidential & Proprietary
302
LED Demo Boards

MCP1650 White LED Demo Boards





MCP1252 Charge Pump Backlight Demo
Board


For Battery-powered white LED applications
MCP1650DM-LED1 3W white LEDs
MCP1650DM-LED2 drives multiple white LEDs
Both boards include a PIC10F MCU for
dimming/brightness control
MCP1252 charge pump and a PIC10F206 to
drive 5 white LEDs at varying intensity for LCD
backlighting applications
MCP1630 Boost Mode LED Driver Demo
Board

Uses MCP1630V high-speed PWM to provide
350mA or 700mA of constant current
UoM Oct. 2012
Confidential & Proprietary
303
LED Lighting Dev Kit

Four channel LED Output



Digital Dimming for brightness
control
On-board 1W LEDs


Red, Green, Blue and White
Pins for connecting external LEDs
Applications:





Dimmable LCD Backlighting
Digital signage
LED replacement for fluorescent or
incandescent
Architectural lighting
Automotive lighting
UoM Oct. 2012
Confidential & Proprietary
Digital LED Lighting
Development Kit
Part Number: DM330014
304
Reference Designs

MCP1631RD-DCPC1 - MCP1631HV
Digitally Controlled Current
Source



Drive and dim one or more power LEDs
Includes PIC16F616 MCU for
dimming/brightness control
APGRD004 - Automotive Ambient
Lighting

Provides control of RGB LEDs over a
LIN network
UoM Oct. 2012
Confidential & Proprietary
305
Microchip Value Add


New peripherals provide high resolution
dimming/current control of HBLED
Advanced Human Interface control options



Several communication options




mTouch™
Segmented/Graphical LCD
Pre-certified wireless modules support ZigBee®, MiWi™ and
WiFi™
Free Dali/DMX512 stacks
Free code libraries
Wide selection of development tools, demos and
reference designs
UoM Oct. 2012
Confidential & Proprietary
306
Summary

Microchip offers various solutions for LED Lighting





Controllers – 8/16/32 - bit PIC MCUs
Drivers – Analog & Mixed Signal
Communications – Interface Products & Integrated MCU solutions
Thermal Management – Temp Sensors with Voltage, Logic or Digital Outputs
Web-seminars, application notes and reference designs are available to
get customers started
Lighting Design Center
www.microchip.com/lighting
UoM Oct. 2012
Confidential & Proprietary
307
Thank You!
UoM Oct. 2012
Confidential & Proprietary
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertisement