DSPIC30F4013T-20I/PT Microchip Technology, DSPIC30F4013T-20I/PT Datasheet - Page 52

no-image

DSPIC30F4013T-20I/PT

Manufacturer Part Number
DSPIC30F4013T-20I/PT
Description
IC DSPIC MCU/DSP 48K 44TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F4013T-20I/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, POR, PWM, WDT
Number Of I /o
30
Program Memory Size
48KB (16K 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 13x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
For Use With
AC30F006 - MODULE SKT FOR DSPIC30F 44TQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
DSPIC30F4013T20IP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F4013T-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
11.12 Reading Data Memory
The procedure for reading data memory is similar to
that of reading code memory, except that 16-bit data
words are read instead of 24-bit words. Since less data
is read in each operation, only working registers
W0:W3 are used as temporary holding registers for the
data to be read.
TABLE 11-12: SERIAL INSTRUCTION EXECUTION FOR READING DATA MEMORY
DS70102K-page 52
Step 1: Exit the Reset vector.
0000
0000
0000
Step 2: Initialize TBLPAG and the read pointer (W6) for TBLRD instruction.
0000
0000
0000
Step 3: Initialize the write pointer (W7) and store the next four locations of code memory to W0:W5.
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Step 4: Output W0:W5 using the VISI register and REGOUT command.
0000
0000
0001
0000
0000
0000
0001
0000
0000
0000
0001
0000
0000
0000
0001
0000
Step 5: Reset device internal PC.
0000
0000
Step 6: Repeat steps 3-5 until all desired data memory is read.
Command
(Binary)
(Hexadecimal)
040100
040100
000000
2007F0
880190
2xxxx6
EB0380
000000
BA1BB6
000000
000000
BA1BB6
000000
000000
BA1BB6
000000
000000
BA1BB6
000000
000000
883C20
000000
<VISI>
000000
883C21
000000
<VISI>
000000
883C22
000000
<VISI>
000000
883C23
000000
<VISI>
000000
040100
000000
Data
GOTO 0x100
GOTO 0x100
NOP
MOV
MOV
MOV
CLR
NOP
TBLRDL [W6++], [W7++]
NOP
NOP
TBLRDL [W6++], [W7++]
NOP
NOP
TBLRDL [W6++], [W7++]
NOP
NOP
TBLRDL [W6++], [W7++]
NOP
NOP
MOV
NOP
Clock out contents of VISI register
NOP
MOV
NOP
Clock out contents of VISI register
NOP
MOV
NOP
Clock out contents of VISI register
NOP
MOV
NOP
Clock out contents of VISI register
NOP
GOTO 0x100
NOP
#0x7F, W0
W0, TBLPAG
#<SourceAddress15:0>, W6
W7
W0, VISI
W1, VISI
W2, VISI
W3, VISI
Table 11-12
reading data memory. Note that the TBLPAG register is
hard-coded to 0x7F (the upper byte address of all
locations of data memory).
Description
shows the ICSP programming details for
© 2010 Microchip Technology Inc.

Related parts for DSPIC30F4013T-20I/PT