DSPIC30F5013-20E/PT Microchip Technology, DSPIC30F5013-20E/PT Datasheet - Page 6

no-image

DSPIC30F5013-20E/PT

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

Specifications of DSPIC30F5013-20E/PT

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
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 ~ 125°C
Package / Case
80-TFQFP
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 80TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
DSPIC30F5013-20EP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F5013-20E/PT
Manufacturer:
MAXIM
Quantity:
101
Part Number:
DSPIC30F5013-20E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F5013-20E/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
dsPIC30F5011/5013
6. Module: I
EXAMPLE 6:
DS80223H-page 6
Data writes to the I2CTRN Special Function
Register (SFR) may not be correct at device
operation greater than 20 MIPS for V
range of 4.5V to 5.5V (or 10 MIPS V
of 3V to 3.6V).
If the dsPIC DSC device needs to operate at a
throughput higher than 20 MIPS, the user should
incorporate the suggested work around while
writing to the I2CTRN 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 writing to the I2CTRN SFR, the user must
follow the write sequence shown in Example 6. In
this example, a Memory Direct Addressing mode
is used to write to the SFR. The application may
use any addressing mode to perform the write
operation. Note that interrupts must be temporarily
disabled as shown, so that this write sequence
does not get interrupted.
Work around 2: For C Language Source Code
For C programmers, the MPLAB C30 v1.30
toolsuite provides a built-in function that may be
incorporated in the application source code. This
function may be used to write to the I2CTRN SFR.
Some examples of usage are shown in the
“readme.txt” file provided with the MPLAB C30
v1.30 toolsuite. The function has the following
prototype:
void __builtin_writesfr(volatile void *,
unsigned int);
The special argument is the address of a 16-bit
SFR (I2CTRN in this case). For example, the
I2CTRN register can be written using a function
call:
__builtin_writesfr(&I2CTRN, reg_value);
.include “p30fxxxx.inc”
.......
MOV
PUSH
BSET
BSET
BSET
MOV
MOV
MOV
POP
#reg_value, W1 ;I2CTRN value
SR
SR,
SR,
SR,
#I2CTRN, W0
W0, W0
W1, I2CTRN
SR
I2CTRN SFR
2
C – Write Operations on
#IPL2
#IPL1
#IPL0
SPECIAL WRITE SEQUENCE
2
C software functions from
;write I2CTRN
;address to W0
;perform a direct
;write to W0
;write to I2CTRN
DD
in the range
DD
in the
7. Module: UART – Write Operations on
EXAMPLE 7:
where ‘reg_value’ is the 16-bit value to be
written to the SFR.
Data writes to the U1MODE and U2MODE Special
Function Registers (SFRs) may not be correct at
device operation greater than 20 MIPS for V
the range of 4.5V to 5.5V (or 10 MIPS V
range of 3V to 3.6V).
If the dsPIC DSC device needs to operate at a
throughput higher than 20 MIPS, the user should
incorporate the suggested work around while
writing to the U1MODE or U2MODE SFR.
Applications that use UART software functions
from 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 writing to the U1MODE (or U2MODE) SFR,
the user must follow the write sequence shown in
Example 7. In this example, a Memory Direct
Addressing mode is used to write to the SFR. The
application may use any addressing mode to
perform the write operation. Note that interrupts
must be temporarily disabled as shown, so that
this write sequence does not get interrupted.
Work around 2: For C Language Source Code
For C programmers, the MPLAB C30 v1.30
toolsuite provides a built-in function that may be
incorporated in the application source code. This
function may be used to write to the U1MODE and
U2MODE SFRs. Some examples of usage are
shown in the “readme.txt” file provided with the
MPLAB C30 v1.30 toolsuite. The function has the
following prototype:
void __builtin_writesfr(volatile void *,
unsigned int);
The special argument is the address of a 16-bit
SFR (U1MODE or U2MODE in this case). For
example, the U1MODE register can be written
using a function call:
.include “p30fxxxx.inc”
.......
MOV
PUSH
BSET
BSET
BSET
MOV
MOV
MOV
POP
#reg_value, W1 ;U1MODE value
SR
SR,
SR,
SR,
#U1MODE, W0
W0, W0
W1,
SR
U1MODE and U2MODE SFRs
#IPL2
#IPL1
#IPL0
U1MODE
SPECIAL WRITE SEQUENCE
© 2008 Microchip Technology Inc.
;write U1MODE
;address to W0
;perform a direct
;write to W0
;write to U1MODE
DD
in the
DD
in

Related parts for DSPIC30F5013-20E/PT