DSPIC30F5013-30I/PT Microchip Technology, DSPIC30F5013-30I/PT Datasheet - Page 7

no-image

DSPIC30F5013-30I/PT

Manufacturer Part Number
DSPIC30F5013-30I/PT
Description
IC DSPIC MCU/DSP 66K 80TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F5013-30I/PT

Core Processor
dsPIC
Core Size
16-Bit
Speed
30 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
68
Program Memory Size
66KB (22K x 24)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
4K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
Core Frequency
40MHz
Core Supply Voltage
5.5V
Embedded Interface Type
CAN, I2C, SPI, UART
No. Of I/o's
68
Flash Memory Size
66KB
Supply Voltage Range
2.5V To 5.5V
Package
80TQFP
Device Core
dsPIC
Family Name
dsPIC30
Maximum Speed
30 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
16 Bit
Number Of Programmable I/os
68
Interface Type
CAN/I2C/SPI/UART
On-chip Adc
16-chx12-bit
Number Of Timers
5
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DM300024 - KIT DEMO DSPICDEM 1.1XLT80PT3 - SOCKET TRAN ICE 80MQFP/TQFPAC164320 - MODULE SKT MPLAB PM3 80TQFPDM300004-2 - BOARD DEMO DSPICDEM.NET 2DM300004-1 - BOARD DEMO DSPICDEM.NET 1AC30F007 - MODULE SKT FOR DSPIC30F 80TQFPDV164005 - KIT ICD2 SIMPLE SUIT W/USB CABLE
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
DSPIC30F501330IPT

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F5013-30I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
5. Module: I
EXAMPLE 5:
© 2010 Microchip Technology Inc.
Data read from the I2CCON Special Function
Register may not be correct at device operation
greater than 20 MIPS for V
to 5.5V (or 10 MIPS V
3.6V).
If the dsPIC
throughput higher than 20 MIPS, the user should
incorporate the suggested work around while
reading the I2CCON SFR.
Applications that use I
Microchip’s dsPIC30F Peripheral Library, should
operate the device at 20 MIPS or less.
Work arounds
Work around 1: For Assembly Language
Source Code
When reading the I2CCON SFR, perform two
consecutive read operations of the same SFR.
The work around is demonstrated in
this example, a Memory Direct Addressing mode
is used to read the SFR. The application may use
any addressing mode to perform the read
operation. Note that interrupts must be temporarily
disabled as shown, so that the two consecutive
reads do not get interrupted.
.include “p30fxxxx.inc”
.......
PUSH
BSET
BSET
BSET
MOV
MOV
POP
SR
SR, #IPL2
SR, #IPL1
SR, #IPL0
I2CCON, W0
I2CCON, W0
SR
2
®
C
DSC device needs to operate at a
CONSECUTIVE READS
2
C software functions from
DD
; first SFR read
; second SFR read
DD
in the range of 3V to
in the range of 4.5V
Example
5. In
dsPIC30F5011/5013
Work around 2: For C Language Source Code
For C programmers, the MPLAB C30 v1.20.02
toolsuite provides a built-in function that may be
incorporated in the application source code. This
function may be used to read the I2CCON SFR.
Some examples of usage are shown in the
“readme.txt” file provided with the MPLAB C30
v1.20.02 toolsuite. The function has the following
prototype:
unsigned __builtin_readsfr(volatile void *);
The special argument is the address of a 16-bit
SFR (I2CCON in this case). This function should
only be used to read the I2CCON Special Function
Register. For example, the I2CCON register can
be read using a function call:
reg_value = __builtin_readsfr(&I2CCON);
where ‘reg_value’ is the 16-bit value read from
the SFR.
Affected Silicon Revisions
A1
X
A2
X
A3
X
A4
X
DS80453E-page 7

Related parts for DSPIC30F5013-30I/PT