DSPIC30F6012T-20E/PF Microchip Technology, DSPIC30F6012T-20E/PF Datasheet - Page 13

IC DSPIC MCU/DSP 144K 64TQFP

DSPIC30F6012T-20E/PF

Manufacturer Part Number
DSPIC30F6012T-20E/PF
Description
IC DSPIC MCU/DSP 144K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F6012T-20E/PF

Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
AC'97, Brown-out Detect/Reset, I²S, LVD, POR, PWM, WDT
Number Of I /o
52
Program Memory Size
144KB (48K x 24)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-TQFP, 64-VQFP
For Use With
XLT64PT4 - SOCKET TRAN ICE 64MQFP/TQFPAC164313 - MODULE SKT FOR PM3 64PFAC30F002 - MODULE SOCKET DSPIC30F 64TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
DSPIC30F6012T20EP
EXAMPLE 15:
EXAMPLE 16:
23. Module: 8x PLL Mode
© 2008 Microchip Technology Inc.
// note: macros defined in p30f6014.h
#define SET_AND_SAVE_CPU_IPL (save_to, ipl){ \
#define RESTORE_CPU_IPL (saved_to) SET_CPU_IPL (saved_to)
#include “p30f6014.h”
. . .
int save_to;
SET_AND_SAVE_CPU_IPL (save_to, 3)
. . .
RESTORE_CPU_IPL (save_to)
#define INTERRUPT_PROTECT (x) {
. . .
INTERRUPT_PROTECT (IEC0bits.U1TXIE=0);
. . .
Note:
If 8x PLL mode is used, the input frequency range
is 5-10 MHz instead of 4-10 MHz.
Work around
None. If 8x PLL is used, ensure that the input
crystal or clock frequency is 5 MHz or greater.
save_to = SRbits.IPL;
SET_cpu-IPL (ipl); } (void) 0;
int save_sr;
SET_AND_SAVE_CPU_IPL (save_sr, 7);\
x;
RESTORE_CPU_IPL (save_sr); } (void) 0;
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.
USING SET_AND_SAVE_CPU_IPL MACRO
USING INTERRUPT_PROTECT MACRO
dsPIC30F6011/6012/6013/6014
\
\
\
\
DS80198J-page 13

Related parts for DSPIC30F6012T-20E/PF