16-bit Microcontrollers and
Digital Signal Controllers
16-bit Embedded Control Solutions
dsPIC® Digital Signal Controllers
PIC® Microcontrollers
www.microchip.com/16bit
16-bit
Embedded Control Solutions
Do you need to add more performance or additional features to your products? Do you need more
on-chip memory? Are you concerned with tight schedules and cost goals? How do you decide which
embedded control solution will bring the most value to your overall embedded design?
Microchip’s 16-bit solutions are designed to be a broad
platform which will serve your needs for many years. If you
have designed using our 8-bit PIC® microcontrollers (MCUs)
you will be pleased to see that the same MPLAB® Integrated
Development Environment used on our smallest 6-pin MCU
also supports our most powerful 16-bit controllers. Plus
our commitment for peripheral and pinout compatibility
has been carried forward to our 16-bit product families. If
you are new to Microchip’s control solutions, you will see
powerful, low cost development tools, a compatible lineup
of products that range from low cost to high performance,
and a Company dedicated to serving your needs.
Since 2002, Microchip has been #1 in worldwide 8-bit
microcontroller shipments* with a product portfolio that
continues to expand to meet the demands of our customers
while solving many of their key business issues. With more
than 70 16-bit products in our portfolio today and many
more on the way, we are committed to offer similar value in
the 16-bit realm.
*Gartner Dataquest, Top Companies Revenue from Shipments of 8-bit MCU - All Applications” April 2005.
One Architecture, Four Families
Microchip offers two 16-bit Microcontroller (MCU) families
plus two 16-bit Digital Signal Controller (DSC) families that
give you compatible options across a wide spectrum of
price, performance and feature sets. Common attributes
among all 16-bit MCU and DSC families are:
•
•
•
•
Pinout compatibility
Software compatibility
Peripheral compatibility
Common development tools
Whether your design requires the lowest-priced 16-bit
solution, the most powerful 16-bit MCU in the industry, or
DSP capability, Microchip offers a broad range of products
while preserving the compatibility that help save you time
and money on subsequent designs
.
Table of Contents
16-bit Embedded Control Solutions Introduction
The Capability You Need
One Architecture: Four Compatible Families
16-bit Packages
Specifications for PIC24F Family
Specifications for PIC24H Family
Specifications for dsPIC30F Families
Specifications for dsPIC33F Families
Designed for Real-time Control
Powerful Tools and Libraries
MPLAB® IDE
Software Development Tools
Building Block Libraries
2
3
4
5
6
6
7
8
9
10
10
11
11
Hardware Development Tools
Hardware Development Boards
Advanced Development Boards
DSP Algorithm Development
Operating Systems and Communication
Drivers
Libraries for Speech Applications
Connectivity Libraries
More Application Libraries
Motor Control Application Software
Resourced for Self-paced Learning
Getting Started
Ordering Guide
12
13
14
15
15
16
17
18
18
19
19
20
RoHS Compliant
Microchip has begun converting from
tin-lead (SnPb)-plated product packaging
to lead (Pb)-free product packaging
across the entire portfolio of PIC®
microcontrollers, dsPIC® digital signal
controllers, serial EEPROMs, stand-alone
analog and other devices. This enables
our customers to achieve early compliance
with new regulations around the world
such as the European Union Restrictions
on Hazardous Substances in Electrical and
Electronic Equipment (RoHS) directive.
2
16-bit Embedded Control Solutions
16-bit Microcontroller (MCU) Portfolio
Are cost or performance important considerations for your next
design? PIC24 MCUs offer the variety of peripherals, memory
sizes and packaging choices you have come to expect from our
8-bit products. Microchip offers two compatible Flash-based 16-
bit PIC24 MCU families. The 16 MIPS PIC24F family is designed
for cost-sensitive applications. The 40 MIPS PIC24H family
is 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.
Despite the similarities, the PIC24F and PIC24H were designed
by independent teams, one targeting lowest cost and the other
creating the highest performance 16-bit MCU in the industry.
The PIC24 families are highly compatible with dsPIC DSCs for
easy migration when additional performance or DSP capability is
required.
16-bit Digital Signal Controller (DSC)
Portfolio
Are you looking to add DSP capability to your application?
DSCs blend the features of both MCUs and DSPs into a
single chip solution enabling you to add DSP features to
your embedded application. Microchip offers two compatible
Flash-based 16-bit DSC families. The 30 MIPS dsPIC30F
family is designed for applications where 5V operation is
important, and the 40 MIPS dsPIC33F family is suited for
applications preferring 3.3V or need more on-chip memory.
Both DSC families and the PIC24 families have the same
base instruction set (DSCs add DSP instructions), share basic
peripherals, have common pinouts and use the same tools for
development.
The Capability You Need
Optimized C Compiler:
Supporting the PIC24 MCU and dsPIC
DSC families, Microchip’s 16-bit
architecture was designed to optimize
C language code size. The architecture
was co-developed by compiler writers
who emphasized the need for an
orthogonal instruction set, many general-
purpose registers, powerful indirect with
off-set addressing and a software stack.
Now you can achieve leadership code
size in applications, helping your project
team to hit schedule and code size
targets. Reduced code size provides the
opportunity to use a smaller memory
device at a lower price, reduce time
spent optimizing and fine-tuning code
size to fit the memory space, and also
responding to those marketing requests
for “just one more feature.”
16-bit Applications
(~ 40 KB code)
148%
152%
153%
153%
136%
129%
113%
109%
100%
100%
85%
114%
114%
118%
Relative Code Size (in Bytes)
32-bit Applications
(~ 50 KB code)
156%
188%
180%
165%
Microchip
A
MPLAB® C30
V 1.30
B
C
D
(Leading Competitors)
E
F
G
H
Microchip A
MPLAB® C30
V 1.30
E
B
C
D
(Leading Competitors)
F
G
H
Powerful 16-bit CPU:
The PIC24 MCU and the dsPIC DSC
families execute most instructions in
one cycle. Interrupts are serviced quickly
and are deterministic. Bit manipulation
is native. Add latest generation features,
such as zero overhead looping, single-
cycle multiply and a barrel shifter, and
you have the most powerful 16-bit MCU
for your embedded control designs.
If your current need is lowest cost
rather than performance, the PIC24F
family reduces the available MIPS while
offering a very cost-effective solution
with these many attributes.
If you don’t have the time to become
immersed in DSP technology, you can
use one of the many libraries developed
by DSP experts. Or you can use the
available graphical tools to develop
digital filters. For DSP experts, Microchip
includes many attributes that are typical
of true DSPs in this class: dual 40-bit
accumulators, single cycle 16x16 MAC,
dual operand fetches, saturation and
rounding modes, and zero overhead
looping. This is not simply a MCU with a
MAC attached as an after thought.
Migration Options:
Once you have designed our 16-bit products
into your application, future designs are
simplified. You can select from a broad range
of memory, pin count, peripheral, performance
and price options without changing architecture
or development tools. The pinout, software
and tool compatibility helps make stepping to
different performance or memory points very
straightforward. This is also beneficial if you
design in an environment of rapidly evolving
requirements.
Flexible Flash:
All of Microchip’s 16-bit products employ
flexible and secure Flash memory. You
can use the Flash memory to store
programs or data tables. Additionally,
all devices can self-program their own
Flash memory in a finished product. The
PIC24H and dsPIC DSC families offer
advanced security features that enable
you to secure your base code and allow
OEMs to “customize” the application or
alternatively work with encrypted data.
Considering a 32-bit MCU?
Has your current MCU run out of steam?
Microchip’s performance-oriented 16-bit
solutions can significantly outperform low cost
32-bit controllers for many MCU applications.
Why abandon 16-bit deterministic performance,
native bit manipulation, fast fixed-latency
interrupts and low cost tools to gain inferior
32-bit performance? Many 32-bit customers
have reverted to Microchip’s 16-bit products
after discovering performance issues during
the course of their design.
Looking to Add DSP?
If you are one of the many MCU
users looking to add DSP features
to your embedded design, the dsPIC
DSCs make the process easy and
straightforward. The dsPIC DSC retains a
MCU look and feel from the architecture
to the tools you use for development.
www.microchip.com/16bit
3
One Architecture: Four Compatible Families
PIC24F
16 MIPS @ 3.3V
2.0 to 3.6V operation
-40° to 85° C (-40° to 125° C Planned)
Up to 128K Bytes Program Flash
Up to 8K Bytes RAM
All packages up to 100 pins
dsPIC30F
30 MIPS @5V
2.5 to 5.5V operation
-40° to 85°C and -40° to 125°C
Up to 144K Bytes Program Flash
Integrated Data EEPROM
Up to 8K Bytes RAM
All packages up to 80 pins
dsPIC33F
40 MIPS @3.3V
3.0 to 3.6V operation
-40° to 85°C (extended temp. planned)
Up to 256K Bytes Program Flash
Up to 30K Bytes RAM
64 to 100 pin packages
All packages up to 100 pins
PIC24H
40 MIPS @ 3.3V
3.0 to 3.6V operation
-40° to 85°C (-40° to 125°C Planned)
Up to 256K Bytes Program Flash
Up to 16K Bytes RAM
All packages up to 100 pins
Highly Cost-Effective PIC24F 16-bit MCUs
With 16 MIPS performance and an extensive peripheral set, the
PIC24F MCUs are a highly cost-effective solution for all but the
most demanding 16-bit applications. The PIC24F also offers a
new migration option for design engineers whose applications
may be outgrowing the performance offered by 8-bit MCUs and
need to stay cost competitive.
Versatile 5 Volt dsPIC30F DSCs
The 30 MIPS dsPIC30F family is developed for applications
that benefit from a wide operating voltage (2.5 to 5.5 volts),
extremely low standby current, integrated EEPROM, above-
average Flash endurance for those that prefer 5V operation for
system considerations. The dsPIC30F family includes robust
peripheral options including up to 2 CAN modules, motor control
peripherals and a Codec Interface which supports I²S and AC97
protocols.
Highest Performance PIC24H 16-bit MCUs
For more demanding applications, the PIC24H offers 40 MIPS
performance, more memory and additional peripherals. The
PIC24H family adds up to 2 CAN communication modules,
user selectable 10/12-bit Analog-to-Digital (A/D) converter and
enhanced timer functions. Integrated Direct Memory Access
(DMA) between peripherals and dual-port RAM provides zero
overhead data transfers, optimizing CPU throughput.
High Performance, Cost Effective 3.3 Volt
dsPIC33F DSCs
The 40 MIPS dsPIC33F family is developed for high performance
embedded control applications. Compared to the dsPIC30F
family, the dsPIC33F family offers larger RAM and Flash memory
options, adds DMA and will be more cost effective in larger
memory configurations.
PIC24F
Best in Class C Compiler Efficiency
Same Instruction Set
Same Base Peripherals
Same Pinout
Same Development Tools
Fixed Fast Interrupt Latency
Universal Bit Manipulation
Full Speed from Flash
Single-Cycle Multiply
32/16 & 16/16 Divide
Deterministic Instruction Execution
√
√
√
√
√
√
√
√
√
√
√
PIC24H
√
√
√
√
√
√
√
√
√
√
√
dsPIC30F
√
Adds DSP
√
√
√
√
√
√
√
√
√
dsPIC33F
√
Adds DSP
√
√
√
√
√
√
√
√
√
4
16-bit Embedded Control Solutions
16-BIT COMPARISON
16-bit Product Features Overview
Operating Range PIC24F
DC to 16 MIPS
V
DD
range: 2.0 to 3.6V
Ind.(-40° to 85° C) Extended temp. planned
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. & 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
Communication Modules
3-wire SPI: up to 2 modules
• Framing supports I/O interface to simple
codecs
I²C™: up to 2 modules
• Full Multi-master and Slave mode support
• 7-bit and 10-bit addressing
UART: up to 2 modules
• Interrupt-on-address bit detect
• Wake-up on Start bit from Sleep mode
• 4-character TX and RX FIFO buffers
Codec interface module
• Supports I²S and AC97 protocols
CAN/ECAN 2.0B active: up to 2 modules
• 3 transmit, 2 receive buffers (dsPIC30F)
• 8 transmit, 32 receive buffers (PIC24H &
dsPIC33F)
• Wake-up on CAN message
Operating Range PIC24H & dsPIC33F
DC to 40 MIPS
V
DD
range: 3.0 to 3.6V
Ind.(-40° to 85° C) Extended temp. planned
Operating Range dsPIC30F
DC to 30 MIPS*
V
DD
range: 2.5 to 5.5V
Ind. (-40° to 85° C) and ext. (-40° to 125°C)
*30 MIPS @ 4.5 to 5.5V, -40° to 85° C
Interrupt Controller
5 cycle fixed latency
Up to 118 interrupt sources, up to 5 external
7 programmable priority levels
4 processor exceptions and software traps
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 x 16 fractional/integer multiplier
32/16 and 16/16 divide
40-stage barrel shifter
DSC additions (dsPIC30F
&
dsPIC33F):
• Adds 8 base DSP instructions
• 2 40-bit accumulators with rounding and
saturation options
• Single core combines MCU & DSP features
• Adds Modulo and Bit-reverse address modes
Digital I/O
Up to 85 programmable digital I/O pins
Wake-up/Interrupt-on-change on up to 24 pins
High current sink/source (PIC24F & dsPIC30F)
Motor Control Peripherals
Motor Control PWM: up to 8 outputs
• 4 duty cycle generators
• Independent or complementary mode
• Programmable dead time settings
• Edge or center-aligned
• Manual output override control
• Up to 2 fault inputs
• A/D samples triggered by PWM module
Quadrature encoder interface module
• Phase A, Phase B and index pulse input
On-chip Flash, Data EE and RAM
Flash program memory: up to 256 KB
dsPIC30F Data EEPROM: up to 4 KB
• 1 million erase/write cycles typical
Data RAM: up to 30 KB
Timers/Capture/Compare/PWM
Timer/counters: up to nine 16-bit timers
• Can pair up to make 32-bit timers
• 1 timer can run as real-time clock
Input capture: up to 8 channels
• Capture on rising, falling or both edges
• 4-deep FIFO on each capture
Output compare: up to 8 channels
• Single or dual 16-bit compare mode
• 16-bit glitchless PWM mode
Analog-to-Digital Converters
10-bit A/D converter:
• dsPIC24F: 500 Ksps, 1 module
• PIC24H: 1.1 Msps, 1 or 2 modules
• dsPIC30F: 1 Msps, 1 module
• dsPIC33F: 1.1 Msps, 1 or 2 modules
12-bit A/D converter:
• PIC24H: 1.1 Msps 1 or 2 modules
• dsPIC30F: 200 ksps, 1 module
• dsPIC33F: 500 ksps, 1 or 2 modules
Common features:
Users can select 10- or 12-bit A/D
(PIC24H & dsPIC33F)
Buffered output or DMA
16-deep result buffer
• dsPIC30F & PIC24F: up to 16 channels auto
scanning
• PIC24H & dsPIC33F: up to 32 channels auto
scanning
Hardware DMA PIC24H & dsPIC33F
8 channel DMA
2 KB dual port RAM
Power Management
Switch between clock sources in real-time
Programmable power-on reset start up
Programmable low-voltage detect (dsPIC30F)
Programmable brown-out reset
Idle and Sleep modes with fast wake up
16-bit Packages
MM: 28-pin QFN
(6 mm x 6 mm x 0.9 mm)
ML: 44-pin QFN
(8 mm x 8 mm x 0.9 mm)
ML: 28-pin QFN
(6 mm x 6 mm x 0.9 mm)
P: 18-pin PDIP
(22.81 x 7.95 x 3.3 mm)
PT: 64-pin TQFP
(10 mm x 10 mm x 1 mm)
SO: 18-pin SOIC
(11.53 x 10.34 x 2.31 mm)
SP: 28-pin SPDIP
(34.67 x 7.87 x 3.3 mm)
P: 40-pin PDIP
(52.27 x 15.24 x 3.81 mm)
PF: 64-pin TQFP
(14 mm x 14 mm x 1 mm)
SO: 28-pin SOIC
(17.88 x 10.34 x 2.31 mm)
PT: 44-pin TQFP
(10 mm x 10 mm x 1 mm)
PT: 80-pin TQFP
(12 mm x 12 mm x 1 mm)
PF: 80-pin TQFP
(14 mm x 14 mm x 1 mm)
PT: 100-pin TQFP
(12 mm x 12 mm x 1 mm)
PF: 100-pin TQFP
(14 mm x 14 mm x 1 mm)
www.microchip.com/16bit
5