DSPIC30F3010-20E/ML Microchip Technology, DSPIC30F3010-20E/ML Datasheet - Page 47
![IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC](/photos/6/81/68122/150-44-qfn_sml.jpg)
DSPIC30F3010-20E/ML
Manufacturer Part Number
DSPIC30F3010-20E/ML
Description
IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.DSPIC30F2011-20ISO.pdf
(66 pages)
2.DSPIC30F2011-20IP.pdf
(26 pages)
3.DSPIC30F3010-30ISO.pdf
(228 pages)
4.DSPIC30F3010-30ISO.pdf
(18 pages)
5.DSPIC30F3010-30ISO.pdf
(6 pages)
6.DSPIC30F3010-30ISO.pdf
(16 pages)
7.DSPIC30F3010-30ISO.pdf
(22 pages)
Specifications of DSPIC30F3010-20E/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, Motor Control PWM, QEI, 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
1K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 6x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT44QFN4 - SOCKET TRANS ICE 28DIP TO 44QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
11.9
The procedure for writing data EEPROM is very similar
to the procedure for writing code memory, except that
fewer words are programmed in each operation. When
writing data EEPROM, one row of data EEPROM is
programmed at a time. Each row consists of sixteen
16-bit data words. Since fewer words are programmed
TABLE 11-9:
© 2010 Microchip Technology Inc.
Step 1: Exit the Reset vector.
0000
0000
0000
Step 2: Set the NVMCON to write 16 data words.
0000
0000
Step 3: Initialize the write pointer (W7) for TBLWT instruction.
0000
0000
0000
Step 4: Load W0:W3 with the next 4 data words to program.
0000
0000
0000
0000
Step 5: Set the read pointer (W6) and load the (next set of) write latches.
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Step 6: Repeat steps 4-5 four times to load the write latches for 16 data words.
Command
(Binary)
Writing Data EEPROM
040100
040100
000000
24005A
883B0A
2007F0
880190
2xxxx7
2xxxx0
2xxxx1
2xxxx2
2xxxx3
EB0300
000000
BB1BB6
000000
000000
BB1BB6
000000
000000
BB1BB6
000000
000000
BB1BB6
000000
000000
(Hexadecimal)
SERIAL INSTRUCTION EXECUTION FOR WRITING DATA EEPROM
Data
GOTO 0x100
GOTO 0x100
NOP
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
MOV
CLR
NOP
TBLWTL [W6++], [W7++]
NOP
NOP
TBLWTL [W6++], [W7++]
NOP
NOP
TBLWTL [W6++], [W7++]
NOP
NOP
TBLWTL [W6++], [W7++]
NOP
NOP
#0x4005, W10
W10, NVMCON
#0x7F, W0
W0, TBLPAG
#<DestinationAddress15:0>, W7
#<WORD0>, W0
#<WORD1>, W1
#<WORD2>, W2
#<WORD3>, W3
W6
during each operation, only working registers W0:W3
are used as temporary holding registers for the data to
be programmed.
Table 11-9
writing data EEPROM. Note that a different NVMCON
value is required to write to data EEPROM, and that the
TBLPAG register is hard-coded to 0x7F (the upper byte
address of all locations of data EEPROM).
Description
shows the ICSP programming details for
DS70102K-page 47