DSPIC30F3012-20I/P Microchip Technology, DSPIC30F3012-20I/P Datasheet - Page 7
![IC DSPIC MCU/DSP 24K 18DIP](/photos/6/76/67657/18-dip_300mil__sml.jpg)
DSPIC30F3012-20I/P
Manufacturer Part Number
DSPIC30F3012-20I/P
Description
IC DSPIC MCU/DSP 24K 18DIP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.DSPIC30F2011-20ISO.pdf
(210 pages)
2.DSPIC30F2011-20ISO.pdf
(6 pages)
3.DSPIC30F2011-20IP.pdf
(26 pages)
4.DSPIC30F3012-20ISO.pdf
(14 pages)
5.DSPIC30F3012-20ISO.pdf
(20 pages)
6.DSPIC30F2011-20IP.pdf
(206 pages)
Specifications of DSPIC30F3012-20I/P
Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
24KB (8K x 24)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 8x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-DIP (0.300", 7.62mm)
Core Frequency
40MHz
Core Supply Voltage
5.5V
Embedded Interface Type
I2C, SPI, UART
No. Of I/o's
12
Flash Memory Size
24KB
Supply Voltage Range
2.5V To 5.5V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC30F005 - MODULE SCKT DSPIC30F 18DIP/SOICACICE0202 - ADAPTER MPLABICE 18P 300 MIL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
DSPIC30F3012-20IP
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC30F3012-20I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
EXAMPLE 7:
EXAMPLE 8:
© 2010 Microchip Technology Inc.
// Note: Macros defined in device include files
#define SET_AND_SAVE_CPU_IPL (save_to, ipl){ \
save_to = SRbits.IPL; \
SET_CPU_IPL (ipl); } (void) 0;
#define RESTORE_CPU_IPL (saved_to) SET_CPU_IPL (saved_to)
#include "p30fxxxx.h"
. . .
int save_to;
SET_AND_SAVE_CPU_IPL (save_to, 3)
. . .
RESTORE_CPU_IPL (save_to)
#define INTERRUPT_PROTECT (x) { \
int save_sr; \
SET_AND_SAVE_CPU_IPL (save_sr, 7);\
x; \
RESTORE_CPU_IPL (save_sr); } (void) 0;
. . .
INTERRUPT_PROTECT (IEC0bits.U1TXIE=0);
Note:
For modification of the Interrupt 1 setting, the
INTERRUPT_PROTECT macro can be used.
This macro disables interrupts before executing
the desired expression, as shown in Example 8.
This macro is not distributed with the compiler.
Affected Silicon Revisions
B0
X
If you are using a MPLAB C30 compiler
version earlier than version 1.32, you may
still use the macros by adding them to your
application.
B1
X
USING SET_AND_SAVE_CPU_IPL AND RESTORE_CPU_IPL MACROS
USING INTERRUPT_PROTECT
MACRO
dsPIC30F3012/3013
DS80448D-page 7