16-bit Microcontrollers and
Digital Signal Controllers
16-bit Embedded Control Solutions
PIC24 Microcontrollers • dsPIC® Digital Signal Controllers
16-bit Microcontrollers &
dsPIC®
Digital Signal Controllers
• Motor control and
digital power peripherals
• eXtreme Low Power
• USB and CAN connectivity
• Integrated graphics drivers
PI
24
C
d
PI
s
33
C
www.microchip.com/16bit
16-bit Embedded Control Solutions
The top challenges facing today’s embedded system designer are attaining product specification and performance goals,
achieving on-time market launch and meeting cost targets. Microchip’s 16-bit Microcontroller and Digital Signal Controller
families deliver the performance, peripherals, software and hardware development tools to meet these objectives.
Broad Portfolio
■
■
■
■
16–70 MIPS, DSP options
4–512 KB Flash
256B–96 KB RAM
14–144 Pins
Efficient Energy
■
Longer battery life in portable applications
■
High-efficiency motor control
■
Platinum-rated digital power supplies
dsP
IC
®
Digi
tal S
ign
Con
trol
l
al
er
Easy Migration
■
■
■
■
Unified development environment
Industry-leading code efficiency
Lower total system cost
Faster time-to-market
High Performance Peripherals
■
Fast and flexible PWMs
■
Integrated ADCs, op amps, DACs, LCD
■
Connectivity with USB, CAN, LIN
4
C2
PI
Free Software & Reference Designs
■
■
■
■
■
Shorten design cycle and reduce risk
USB, TCP/IP, graphics and wireless stacks
Motor control example software
DSP math function library (FFT, IIR, etc.)
Reference designs for digital power and
lighting applications
Resources available at
www.microchip.com/16bit
■
■
■
■
■
Product Information
Application Solutions
Design Tools
Web Seminars
Application Notes and Reference Designs
Powerful 16-bit CPU
■
CoreMark™/MHz 1.88
(EEMBC Certified)
■
Single-cycle execution
■
Deterministic interrupt response
■
Single-cycle bit manipulation
■
Single-cycle multiply
■
Zero overhead looping
■
Fast DMA: no cycle stealing
Flexible Flash
■
High endurance, flexible and
secure Flash
■
Advanced security features
■
Program and data storage
■
Self-program features
Integrated DSP
■
■
■
■
■
■
Look and feel of MCU
Single-cycle 16 × 16 MAC
40-bit accumulators
Dual operand fetches
Saturation and rounding modes
Free libraries and low-cost
filter design tools
Innovative Peripherals
■
■
■
■
■
■
■
■
Motor control peripherals
SMPS peripherals
Graphics controller
CTMU for mTouch™ technology
USB Device/Embedded Host/OTG
CAN
Peripheral trigger generator
Intelligent analog
Power Saving Options
■
eXtreme Low Power technology
■
Deep sleep current as low
as 10 nA
■
Options to reduce speed or
disable CPU
■
Application software can alter
clock speeds
■
V
bat
battery backup
Small Packages
■
Packages as small as
5 × 5 mm
■
16-bit MCU with 128 KB Flash
in a 6 × 6 mm package
■
Peripheral Pin Select
allows access to the
peripherals needed
2
16-bit Embedded Control Solutions
16-bit Embedded Control Solutions
Advanced Motor Control with dsPIC® DSCs Portfolio
dsPIC Motor Control DSCs feature a high-performance
CPU with motor control peripherals. The silicon solutions
are backed up by free advanced software application
libraries and motor control algorithms. Flexible motor
control development boards support a wide variety of
motors and help you to reduce your design risk and
development efforts. Visit
www.microchip.com/motor
for
more information.
Digital Power for Improving Efficiency and
Optimizing the BOM
Implementing advanced software digital control loops for
power applications requires a high-performance DSP engine
along with specialized peripherals. The dsPIC “GS” Family of
DSCs feature a high-performance CPU and rich peripherals
including 4 Msps 10-bit ADC, 1 nSec resolution PWM and
analog comparator with 10 nSec response time. Complete
reference designs and application solutions from Microchip
will help you to get started. Visit
www.microchip.com/power
for more information.
eXtreme Low Power (XLP) Solutions
XLP Technology brings together the design and process
technologies needed to address today’s low-power
applications. With sleep currents down to 10 nA and
industry-leading integration that includes USB, Peripheral
Pin Select (PPS) and mTouch capacitive sensing, XLP
products can help you extend the life of your battery-
powered application.
Visit www.microchip.com/xlp
for
more information.
High Temperature Rated Devices Qualified to
AEC-Q100 Requirements
Several PIC24HJ and dsPIC33FJ devices are rated for
operation up to 150ºC ambient. These devices provide up to
20 MIPS processing power plus digital signal processing,
LIN/CAN connectivity, motor control and 10/12-bit ADC
performance for stringent automotive and industrial
applications. AEC-Q100 Grade 0 (150ºC) devices have been
released as well. Visit
www.microchip.com/hightemp
for the
latest products.
Enhancing Connectivity to Your Embedded
Control Applications
Whether you are considering wired or wireless connectivity,
Microchip supports a wide variety of communications
protocols with extensive design resources and software
libraries. It’s easy to pair the PIC24 or dsPIC DSC devices
with Microchip’s Bluetooth®or Wi-Fi®modules for connecting
to other systems. Microchip offers ZigBee®Pro, MiWi™
protocol and IrDA®library stacks for wireless connectivity and
Ethernet, CAN and USB library stacks for wired connectivity.
Visit
www.microchip.com/connectivity
for more information.
Graphics Display Solutions
Graphics displays are gaining popularity in user interface.
They are easy to add to your application using the PIC24F
“DA” family with integrated graphics controller and hardware
acceleration. With Microchip’s free graphics library and
development tools, you can quickly integrate graphics display
functions into your application using a single microcontroller.
Visit
www.microchip.com/graphics
for more information.
16-bit Embedded Control Solutions
3
Leading 16-bit Performance and Features
16-bit Microcontroller (MCU) Portfolio
Are costs, performance, low power and smaller packages
important considerations for your next design?
PIC24 MCUs offer a variety of peripherals, memory sizes
and packaging choices. The 16 MIPS PIC24F family is
designed for low-power applications. The 40/70 MIPS
PIC24H/E MCUs are designed for high-performance
applications. Both families have the same instruction
set, share basic peripherals, have common pinouts and
use the same tools for development. The PIC24 families
are compatible with dsPIC DSCs for easy migration when
additional performance or DSP capability is required.
16-bit Digital Signal Controller (DSC) Portfolio
Does your embedded control application demand performance
for advanced motor control, digital power, speech and audio
processing? Do you want to implement digital filters and FFT
algorithms for signal analysis?
dsPIC DSCs offer innovative peripherals and the necessary
performance to meet these needs. Our dsPIC family is a
100% PIC MCU with enhanced math capabilities. dsPIC
DSCs blend the performance of DSP with the simplicity of
an MCU.
PIC24F: Lowest Power 16-bit MCUs
With 16 MIPS performance and an extensive peripheral
set including a graphics controller, USB Device/Embedded
Host/OTG and capacitive touch sense interface, the
PIC24F MCUs are cost-effective for low-power applications.
Serial communication peripherals include up to four
UARTs, three SPI and three I
2
C™. With the introduction
of XLP Technology, select PIC24F devices have industry-
leading low-power performance with sleep numbers as low
as 10 nA and RTCC operation down to 400 nA.
dsPIC33: Highest Performance 16-bit MCU
with Integrated DSP
The dsPIC33 core is designed to execute and control high-
speed precision digital control loops and digital processing
up to 70 MIPS. The optimized motor control and digital
power conversion peripherals include the highest
performance ADC, PWMs, and analog comparators. A wide
variety of memory and package options, communication
peripherals, 15 channel DMA and general purpose
peripherals provide flexibility to your high-performance
embedded control designs. AEC-Q100-qualified extended-
and high-temperature options for industrial and automotive
applications are available.
PIC24E: Highest Performance 16-bit MCUs
PIC24E devices offer up to 70 MIPS performance with
a combination of large memory and a wide variety of
package options. They also include large Flash in smaller
packages (5 × 5 mm). The built-in peripherals include a
high-performance 12-bit ADC and general purpose and
motor control 16-bit PWMs. Communication peripherals
include up to two CAN modules, four UARTs (with IrDA
support), four SPI, two I
2
C and USB Device/Embedded
Host/OTG. High-performance 16 channel Direct Memory
Access (DMA) provides better data handling capability
optimizing CPU throughput. AEC-Q100-qualified extended
(125°C) and high-temperature (150°C) options for
industrial and automotive applications are available.
High-Performance CPU
■
■
■
■
■
■
■
■
■
■
Single-cycle execution (most instructions)
C compiler optimized instruction set
16-bit wide data path
76 base instructions: mostly 1 word/1 cycle
16, 16-bit general purpose registers
Software stack
16 × 16 signed fractional/integer
multiplier
32/16 and 16/16 divide
40-stage barrel shifter
DSC additions:
• Adds eight base DSP instructions
• Two 40-bit accumulators with
rounding and saturation options
• Single core combines MCU and
DSP features
• Adds Modulo and Bit-reverse
address modes
Up to 15 DMA channels between RAM
and peripherals
16-bit Embedded Control Solutions
Example dsPIC® DSP Performance
Function
Vector Dot Product
Matrix Add
Matrix Transpose
Block IIR Canonic
Block FIR
Complex FFT**
Conditions*
N = 32
C = 8, R = 8
C = 8, R = 8
N = 32, S = 4
N = 32 M = 32
N = 64
Execution Time
@70 MIPS
1.7 μs
3.1 μs
3.4 μs
17.0 μs
17.5 μs
55.6 μs
*C = # columns, N = # samples, M = # taps, S = # sections, R = # rows
**Complex FFT routine inherently prevents overflow.
1 cycle = 14.29 nanoseconds @ 70 MIPS
System Management
■
Flexible clock options:
• Primary external clock,
crystal, resonator
• Secondary lower power
32 kHz oscillator
• Internal RC: fast or low power
• Integrated low jitter PLL (PLL sourced
by ext. and int. clock sources)
■
Programmable power-up timer
■
Oscillator start-up timer/stabilizer
■
Watchdog timer with its own RC oscillator
■
Clock switching/fail-safe clock monitor
■
Support for 3V and 5V applications
■
Flexible temperature ranges
• −40 to 85°C industrial temp.
• −40 to 125°C extended temp.
• −40 to 150°C high temp.
Interrupt Controller
■
Five cycle fixed latency
■
Up to 118 interrupt sources,
up to five external
■
Seven programmable priority levels
■
Four processor exceptions and
software traps
■
Vectored interrupts
Power Management
■
Switch between clock sources in real-time
■
Programmable power-on reset start up
■
Programmable high/low voltage
detect (HLVD)
■
Programmable brown-out reset
■
Idle, sleep and deep sleep modes with
fast wake-up
■
V
bat
for battery backup with RTCC
■
4
Flexible Integrated Peripherals
PIC24 & dsPIC DSC Family Block Diagram
4-512 KB
Flash
512B-96 KB
B
RAM
0-512B
EEPROM
DMA
USB On-the-Go
ADC 10-, 12- or 16-bit
CTMU
DAC/Op Amps
CAN, 0-2
32-bit CRC, GP I/O
16/32-bit Timers
UART, 1-4
I
2
C™, 1-3
CRC
RTCC
DSBOR
DSWDT
INT0
V
BAT
PMP
Deep Sleep
Mem
Me
mory
Bus
Memory
Bus
Memory
Interrupt
Control
Op Amp/Analog Comp., 0-4
Peripheral Pin Select
Watchdog & PWR Mgmt.
Input Capture
Peripheral Bus
Out Comp./PWM
SPI, 1-4
PMP
16/40/70 MIPS 16-bit Core
S
16
16-bit ALU
17 x 17
MPY
JTAG & Emul.
Interface
Register File
16 x 16
Address
Generation
Barrel
Shifter
Integrated Graphics
LCD
Segment
Drive
Graphics
Acceleration Units
Display Controller
Color Lookup Table
Digital I/O
■
Peripheral Pin Select (PPS)
• Remap digital I/O
• Supports most digital peripherals
■
Up to 122 programmable digital I/O pins
■
Wake-up/Interrupt-on-change on up to
52 pins
■
High current sink/source
Timers/Capture/Compare/PWM
■
Timer/counters: up to nine 16-bit timers
• Can pair up to make 32-bit timers
• One timer can run as real-time clock
■
Input capture: up to 16 channels
• Capture on rising, falling or both edges
• 4-deep FIFO on each capture
■
Output compare: up to 16 channels
• Dedicated timer
• Single or dual 16-bit compare mode
• 16-bit glitchless PWM m
ode
Analog Subsystems
■
On-chip high-speed op amps
• Up to 10 MHz gain bandwidth
■
Analog comparators (up to 4):
• Programmable reference
■
DAC
■
ADC
• 10-bit up to 1.1 Msps, 4 S&H
• 12-bit up to 1 Msps
• 16-bit Sigma Delta ADC, two
channels
• Buffered outputor DMA
• Autoscanning
• Supports CVD touch
Communication Modules
■
3-wire SPI: up to three modules
• Framing supports I/O interface to
simple codecs
■
I²C™: up to three modules
• Full multi-master and slave
mode support
• 7-bit and 10-bit addressing
■
UART: up to four modules
• Interrupt-on-address bit detect
• Wake-up on Start bit from Sleep mode
• 4-character TX and RX FIFO buffers
• LIN and IrDA support
■
USB Device, Host and OTG
• Internal Boost Regulator requires
minimal external components
• Separate 3.3V regulator
• Transparent RAM buffer interface
■
CAN 2.0 (up to two modules)
Auxilary Functions
■
LCD Segment Driver:
• 60 Segment × 8 Common Driver
■
Graphics Controller Features:
• 3× graphics hardware acceleration units
• Color look-up table with up to 256 entries
• Direct interface to monochrome,
C-STN, TFT, OLED
■
Parallel Master Slave Port (PMP/PSP):
• Communicates with external
data memory, communications
peripherals, LCDs
• Supports 8-bit or 16-bit data
• Supports 16 address lines
■
Hardware Real-Time Clock/Calendar (RTCC):
• Provides clock, calendar and
alarm functions
■
Programmable CRC generator
■
Charge time measurement unit (CTMU)
• Capacitive touch sense keypad I/F
• Provides 1 ns resolution time
measurements
• Temperature sensing
■
Peripheral Trigger Generator (PTG)
Motor Control Peripherals
■
Motor Control PWM: up to 14 outputs
• Up to seven duty cycle generators
• Independent or complementary mode
• Programmable dead time settings
• Edge- or center-aligned PWMs
• Manual output override control
• Up to 10 fault inputs
• ADC samples triggered by PWM module
■
Quadrature encoder interface module
• Up to two modules
• Phase A, Phase B and index pulse input
■
High current sink/source
Digital Power Peripherals
■
10-bit ADC up to 4 Msps, Up to six
sample and holds
■
PS PWM, 1 nS duty cycle resolution
■
Analog comparators, 25 ns
■
Programmable reference
16-bit Embedded Control Solutions
5