DSPIC30F3013-20I/ML Microchip Technology, DSPIC30F3013-20I/ML Datasheet - Page 45

IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC

DSPIC30F3013-20I/ML

Manufacturer Part Number
DSPIC30F3013-20I/ML
Description
IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F3013-20I/ML

Rohs Compliant
YES
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
20
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 10x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-QFN
Package
44QFN EP
Device Core
dsPIC
Family Name
dsPIC30
Maximum Speed
20 MHz
Operating Supply Voltage
3.3|5 V
Data Bus Width
16 Bit
Number Of Programmable I/os
30
Interface Type
I2C/SPI/UART
On-chip Adc
10-chx12-bit
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DV164033 - KIT START EXPLORER 16 MPLAB ICD2DM240001 - BOARD DEMO PIC24/DSPIC33/PIC32
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
DSPIC30F301320IML
4.2.1
The Modulo Addressing scheme requires that a
starting and an ending address be specified and loaded
into the 16-bit
XMODSRT, XMODEND, YMODSRT and YMODEND
(see
The length of a circular buffer is not directly specified. It
is
corresponding Start and end addresses. The maximum
possible length of the circular buffer is 32K words
(64 Kbytes).
FIGURE 4-1:
© 2010 Microchip Technology Inc.
Note:
determined
Table
Byte
Address
0x1100
0x1163
3-3).
START AND END ADDRESS
Y
calculations assume word-sized data
(LSb of every EA is always clear).
Start Addr = 0x1100
End Addr = 0x1163
Length = 0x0032 words
Modulo
space
by
the
MODULO ADDRESSING OPERATION EXAMPLE
Modulo
Buffer
difference
Address
Addressing
dsPIC30F2011/2012/3012/3013
between
registers:
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
DO
MOV
AGAIN: INC
EA
the
#0x1100,W0
W0,XMODSRT
#0x1163,W0
W0,MODEND
#0x8001,W0
W0,MODCON
#0x0000,W0
#0x1110,W1
AGAIN,#0x31
W0,[W1++]
W0,W0
4.2.2
The Modulo and Bit-Reversed Addressing Control
register, MODCON<15:0>, contains enable flags as
well as a W register field to specify the W address
registers. The XWM and YWM fields select which
registers
If XWM = 15, X RAGU and X WAGU Modulo
Addressing is disabled. Similarly, if YWM = 15, Y AGU
Modulo Addressing is disabled.
The X Address Space Pointer W register (XWM), to
which Modulo Addressing is to be applied, is stored in
MODCON<3:0> (see
enabled for X data space when XWM is set to any value
other than ‘15’ and the XMODEN bit is set at
MODCON<15>.
The Y Address Space Pointer W register (YWM), to
which Modulo Addressing is to be applied, is stored in
MODCON<7:4>. Modulo Addressing is enabled for Y
data space when YWM is set to any value other
than ‘15’
MODCON<14>.
;set modulo start address
;set modulo end address
;enable W1, X AGU for modulo
;W0 holds buffer fill value
;point W1 to buffer
;fill the 50 buffer locations
;fill the next location
;increment the fill value
and
W ADDRESS REGISTER
SELECTION
operate
the
Table
with
YMODEN
3-3). Modulo Addressing is
Modulo
DS70139G-page 45
bit
is
Addressing.
set
at

Related parts for DSPIC30F3013-20I/ML