Microchip Technology Inc
product primary image

dsPIC30F4012

Status: In Production

Features:

  • Up to 30 MIPS operation
  • DSP Engine for math intensive operations
  • Wide operating voltage range (2.5V to 5.5V)
  • 1 CAN module, 2.0B compliant
  • Motor Control PWM Module with Complementary or Independent Output modes
  • QEI with Phase A, Phase B and Index Pulse input
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Summary

dsPIC30F Motor Control Digital Signal Controller Seamless migration options from this device to dsPIC33F and PIC24 devices in similar packages.

Additional Features
  • High-Performance dsPIC30F core
    • Modified Harvard architecture
    • C compiler optimized instruction set architecture
    • 24-bit wide instructions, 16-bit wide data path
    • Up to 30 MIPS operation
    • DSP Engine for math intensive operations
    • Modulo and Bit-Reversed Addressing modes
    • Two, 40-bit wide accumulators with optional saturation logic
    • 17-bit x 17-bit single cycle hardware fractional/ integer multiplier
    • Single cycle Multiply-Accumulate (MAC) operation
    • 40-stage Barrel Shifter
    • Dual data fetch
  • Operating Conditions
    • Wide operating voltage range (2.5V to 5.5V)
    • Industrial and Extended temperature ranges
  • Peripheral Features
    • High current sink/source I/O pins: 25 mA/25 mA
    • Optionally pair up 16-bit timers into 32-bit timer modules
    • 3-wire SPI™ modules (supports 4 Frame modes)
    • I2C™ module supports Multi-Master/Slave mode and 7-bit/10-bit addressing
    • Addressable UART modules with FIFO buffers
    • 1 CAN module, 2.0B compliant
  • Motor Control PWM Module Features
    • Motor Control PWM Module with Complementary or Independent Output modes
    • Edge and Center Aligned modes
    • Multiple duty cycle generators
    • Dedicated time base with 4 modes
    • Programmable output polarity
    • Dead time control for Complementary mode
    • Manual output control
    • Trigger for synchronized A/D conversions
  • Quadrature Encoder Interface Module Features
    • QEI with Phase A, Phase B and Index Pulse input
    • 16-bit up/down position counter
    • Count direction status
    • Position Measurement (x2 and x4) mode
    • Programmable digital noise filters on inputs
    • Alternate 16-bit Timer/Counter mode
    • Interrupt on position counter rollover/underflow
  • Analog Features
    • 10-bit 1 Msps Analog-to-Digital Converter (A/D)
    • A/D Conversion available during Sleep and Idle
    • 4 Sample/Hold Channels
    • Multiple Conversion Sequencing Options
  • Special Microcontroller Features
    • Enhanced Flash program memory with 10,000 erase/write cycle (min.) for industrial temperature range, 100K (typical)
    • Data EEPROM memory with 100,000 erase/write cycle (min.) for industrial temperature range, 1M (typical)
    • Self-reprogrammable under software control
    • Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
    • Flexible Watchdog Timer (WDT) with on-chip low power RC oscillator for reliable operation
    • Fail-Safe clock monitor operation
    • Detects clock failure and switches to on-chip low power RC oscillator
    • Programmable code protection
    • In-Circuit Serial Programming™ (ICSP™)
    • DC to 40 MHz external clock input
    • 4 MHz-10 MHz oscillator input with PLL active (4x, 8x, 16x)
    • Programmable Brown-out Detection and Reset generation
    • Sleep, Idle and Alternate Clock modes for power management
Parametrics
Name
Value
Architecture
16-bit
Max CPU Speed (MHz)
120
CPU Speed (MIPS/DMIPS)
30
Program Memory Size (KB)
48
SRAM (KB)
2
Temperature Range (C)
-40 to 125
Operating Voltage Range (V)
2.5 to 5.5
Pin Count
28
Analog Peripherals
1-A/D 6x10-bit @ 1000(ksps)
UART
1
SPI
1
I2C
1
Timers
5 x 16-bit 2 x 32-bit
Motor Control PWM Outputs
6
Input Capture
4
Max PWM outputs (including complementary)
8
Number of PWM Time Bases
2
Output Compare Channels
4
Number of CAN Modules
1
Type of CAN Module
CAN
Quadrature Encoder Interface
1

Documents

Jump to:

Data Sheets

12/05/2010
3121KB

Migration Documents

Programming Specifications

Application Notes

Download All

Reference Manual

Download All
03/18/2014
668KB
03/14/2014
467KB

Software

30F Ref Manual Part 2

Sell Sheets

Software Library

Webinars

Development Environment

  • Demo & Evaluation Boards
  • Emulators & Debuggers
  • Programmers
  • Software Libraries
  • Code Examples
Demo & Evaluation Boards
dsPICDEM MCLV-2 Development Board
dsPICDEM MCLV-2 Development Board ( DM330021-2 )

The dsPICDEM™ MCLV-2 Development Board provides a cost-effective method of evaluating and developing sensored or sensorless Brushless DC (BLDC) and permanent magnet synchronous motor control applications. The board supports Microchip’s 100-pin Plug-In-Modules with dsPIC33E, dsPIC33F and PIC32MK Digital Signal Controllers. The board supports the use of the internal, on chip OpAmps

...

Learn More
Add To Cart
MOTOR CONTROL INTERFACE PICTAIL PLUS D-CARD
MOTOR CONTROL INTERFACE PICTAIL PLUS D-CARD ( AC164128 )

This PICtail Plus Motor Control Daughter Card interfaces with Explorer 16 (DM240001) and the HV/LV Power Module (DM300021 and DM300022). It has a variety of test points that will make debugging of your application easier. It also has hardware support for sensor and sensor-less applications such as Hall sensors, optical encoder, back EMF and current sensing. This uses dsPIC33F device family for the...

Learn More
Add To Cart
PICDEM MC LV Development Board
PICDEM MC LV Development Board ( DM183021 )

The PICDEM MC LV Development Board provides a cost-effective method of evaluating and developing sensored or sensorless brushless DC (BLDC) motor control applications. The board supports Microchip’s 28-pin, PIC18F microcontrollers and dsPIC30F Digital Signal Controllers. The board is capable of controlling motors rated up to 48V and 2.2 Amps.

The development board also comes...

Learn More
Add To Cart
dsPICDEM 2 Development Board
dsPICDEM 2 Development Board ( DM300018 )

The dsPICDEM™ 2 Development Board is a development and evaluation tool that helps create embedded applications using dsPIC30F Digital Signal Controllers. Sockets are provided for 28 and 40-pin devices in the motor control family and 18, 28 and 40-pin devices in the general purpose and sensor family.
The board includes a sample dsPIC30F4011 Digital Signal Controller in the 40-pin...

Learn More
Add To Cart
16-BIT 28P STARTER DEMO BOARD KIT
16-BIT 28P STARTER DEMO BOARD KIT ( DM300027 )

This low-cost, 16-bit, 28-pin Starter Development Board supports 28-pin PIC24 microcontrollers or dsPIC Digital Signal Controller (DSC) devices. This board is an ideal prototyping tool to help validate key design requirements using these microcontrollers and DSCs.

Learn More
Add To Cart
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® ,  dsPIC®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit debugging offers these benefits:

  • Low cost
  • Minimum of additional hardware needed for debug
  • Expensive sockets or adapters are not required
...

Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is connected...

Debug Features:
I/O Port Trace:True (Requires Compiler Support)
SPI Trace:True (Requires Compiler Support)


Learn More
Add To Cart
Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price.


The MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC® ,  dsPIC®, and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield faster

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to provide a low-cost hardware debugger and programmer. In-circuit debugging offers these benefits:

  • Low cost
  • Minimum of additional hardware needed for debug
  • Expensive sockets or adapters are not required
...

Learn More
Add To Cart
MPLAB PM3 Universal Device Programmer
MPLAB PM3 Universal Device Programmer ( DV007004 )

The MPLAB® PM3 Universal Device Programmer is easy to use and operates with a PC or as a stand-alone unit, and programs Microchip's entire line of PIC® devices as well as the latest dsPIC® DSC devices. When used standalone, data can be loaded and saved with the SD/MMC card (not included).

  • Socket: AC164301   PartNo: DSPIC30F4012 (28SP)
  • Socket: AC164302   PartNo: DSPIC30F4012 (28SO)
  • Socket: AC164322   PartNo: DSPIC30F4012 (44ML)
Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )

 The MPLAB ICD 3 is a mature product. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for Microchip Flash Digital Signal Controller (DSC) and microcontroller

...

Learn More
Add To Cart
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for Microchip Flash DSC® and MCU devices. It debugs and programs PIC® and dsPIC® Flash microcontrollers with the easy-to-use but powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit.
The MPLAB REAL ICE probe is connected...

Learn More
Add To Cart
Software Libraries
dsPIC DSC DTMF Generation/Detection Libraries

Learn More
dsPIC FSK Generation Library

Learn More

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
28
24
1,024
$3.02
DSP
40
24
1,024
$3.32
DSP
40
48
2,048
$4.02
DSP
28
48
2,048
$3.71
DSP
64
66
2,048
$5.08
DSP
80
66
2,048
$5.59
DSP
80
144
8,192
$13.66
DSP
80
144
8,192
$7.01
DSP
64
144
8,192
$7.18
DSP

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
DSPIC30F4012-20E/SOVAO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
DSPIC30F4012-20E/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
DSPIC30F4012-20I/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
DSPIC30F4012-30I/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
DSPIC30F4012-20E/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
DSPIC30F4012-30I/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
DSPIC30F4012-20I/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
DSPIC30F4012-30I/ML
0.188400
0.288889
44
QFN
8x8x0.9mm
Matte Tin
e3
DSPIC30F4012-20E/ML
0.188400
0.288889
44
QFN
8x8x0.9mm
Matte Tin
e3
DSPIC30F4012-20I/ML
0.188400
0.288889
44
QFN
8x8x0.9mm
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy

Grid
View
Table
View
Filter:
Apply
Clear
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy