DSPIC30F5016-20I/PT Microchip Technology, DSPIC30F5016-20I/PT Datasheet - Page 54
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
DSPIC30F5016-20I/PT
Manufacturer Part Number
DSPIC30F5016-20I/PT
Description
IC DSPIC MCU/DSP 66K 80TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.DSPIC30F2011-20ISO.pdf
(66 pages)
2.DSPIC30F5011T-20IPT.pdf
(34 pages)
3.DSPIC30F6010T-20IPF.pdf
(6 pages)
4.DSPIC30F5016-20IPT.pdf
(100 pages)
Specifications of DSPIC30F5016-20I/PT
Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, Motor Control PWM, QEI, 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
2K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TFQFP
For Use With
AC164320 - MODULE SKT MPLAB PM3 80TQFPAC30F007 - MODULE SKT FOR DSPIC30F 80TQFP
Lead Free Status / RoHS Status
Request inventory verification / Request inventory verification
Other names
DSPIC30F501620IPT
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC30F5016-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
12.0
12.1
If it is determined that the programming executive does
not reside in executive memory (as described in
Section 4.0 “Confirming the Contents of Executive
Memory”), it must be programmed into executive
memory using ICSP and the techniques described in
Section 11.0 “ICSP™
TABLE 12-1:
DS70102K-page 54
Step 1: Exit the Reset vector and erase executive memory.
0000
0000
0000
Step 2: Initialize the NVMCON to erase executive memory.
0000
0000
Step 3: Unlock the NVMCON for programming.
0000
0000
0000
0000
Step 4: Initiate the erase cycle.
0000
0000
0000
—
0000
0000
0000
0000
0000
Step 5: Initialize the TBLPAG and the write pointer (W7).
0000
0000
0000
0000
0000
Step 6: Initialize the NVMCON to program 32 instruction words.
0000
0000
Step 7: Load W0:W5 with the next 4 words of packed programming executive code and initialize W6 for
0000
0000
0000
0000
0000
0000
Command
(Binary)
programming. Programming starts from the base of executive memory (0x800000) using W6 as a read
pointer and W7 as a write pointer.
PROGRAMMING THE
PROGRAMMING EXECUTIVE
TO MEMORY
Overview
040100
040100
000000
24072A
883B0A
200558
883B38
200AA9
883B39
A8E761
000000
000000
—
000000
000000
A9E761
000000
000000
200800
880190
EB0380
000000
000000
24001A
883B0A
2<LSW0>0
2<MSB1:MSB0>1
2<LSW1>2
2<LSW2>3
2<MSB3:MSB2>4
2<LSW3>5
(Hexadecimal)
PROGRAMMING THE PROGRAMMING EXECUTIVE
Data
Mode”.
GOTO 0x100
GOTO 0x100
NOP
MOV
MOV
MOV
MOV
MOV
MOV
BSET NVMCON, #15
NOP
NOP
Externally time ‘P13a’ ms (see
Timing
NOP
NOP
BCLR NVMCON, #15
NOP
NOP
MOV
MOV
CLR
NOP
NOP
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
Requirements”)
#0x4072, W10
W10, NVMCON
#0x55, W8
W8, NVMKEY
#0xAA, W9
W9, NVMKEY
#0x80, W0
W0, TBLPAG
W7
#0x4001, W10
W10, NVMCON
#<LSW0>, W0
#<MSB1:MSB0>, W1
#<LSW1>, W2
#<LSW2>, W3
#<MSB3:MSB2>, W4
#<LSW3>, W5
Storing the programming executive to executive
memory is similar to normal programming of code
memory. The executive memory must first be erased,
and then the programming executive must be
programmed 32 words at a time. This control flow is
summarized in
Description
Section 13.0 “AC/DC Characteristics and
Table
12-1.
© 2010 Microchip Technology Inc.