DSPIC30F3010T-20I/ML Microchip Technology, DSPIC30F3010T-20I/ML Datasheet - Page 11

IC DSPIC MCU/DSP 24K 44QFN

DSPIC30F3010T-20I/ML

Manufacturer Part Number
DSPIC30F3010T-20I/ML
Description
IC DSPIC MCU/DSP 24K 44QFN
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F3010T-20I/ML

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 ~ 85°C
Package / Case
44-QFN
For Use With
XLT44QFN4 - SOCKET TRANS ICE 28DIP TO 44QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
15. Page 5-12, Section 5.4.2.3 Loading Write
 2004 Microchip Technology Inc.
On page 5-12, Section 5.4.2.3 Loading Write
Latches should be replaced with the following:
Latches
5.4.2.3 Loading Write Latches
The following is a sequence of instructions that can be used to load the 768-bits of write latches
(32 instruction words). Four TBLWTL and four TBLWTH instructions are needed to load the write
latches selected by the table pointer.
The TBLPAG register is loaded with the 8 MSbits of the program memory address. The user
does not need to write the NVMADRU:NVMADR register-pair for a Flash programming opera-
tion. The 24-bits of the program memory address are automatically captured into the
NVMADRU:NVMADR register-pair when each table write instruction is executed. The program
memory must be programmed at an ‘even’ 32 instruction word address boundary. In effect, the
6 LSbits of the value captured in the NVMADR register are not used during the programming
operation.
The row of 32 instruction words do not necessarily have to be written in sequential order. The
6 LSbits of the table write address determine which of the latches will be written. However, all 32
instruction words should be written for each programming cycle to overwrite old data.
; Set up a pointer to the first program memory location to be written.
MOV
MOV
MOV
; Perform the TBLWT instructions to write the latches
; W0 is incremented in the TBLWTH instruction to point to the
; next instruction location.
MOV
MOV
TBLWTL W2
TBLWTH W3
MOV
MOV
TBLWTL W2
TBLWTH W3,[W0++]
MOV
MOV
TBLWTL W2
TBLWTH W3
MOV
MOV
TBLWTL W2
TBLWTH W3,[W0++]
........
........
MOV
MOV
TBLWTL W2
TBLWTH W3,[W0++]
Note:
#tblpage(PROG_ADDR),W0
W0
#tbloffset(PROG_ADDR),W0
#LOW_WORD_0,W2
#HIGH_BYTE_0,W3
#LOW_WORD_1,W2
#HIGH_BYTE_1,W3
#LOW_WORD_2,W2
#HIGH_BYTE_2,W3
#LOW_WORD_3,W2
#HIGH_BYTE_3,W3
#LOW_WORD_31,W2
#HIGH_BYTE_31,W3
The following code example is the ‘Load_Write_Latch’ code referred to in subquent
examples.
,
,
,
,
,
,
,
,
TBLPAG
[W0]
[W0++]
[W0]
[W0]
[W0]
[W0]
[W0++]
dsPIC30F Family Reference Manual
; 1st_program_word
; 2nd_program_word
; 3rd_program_word
; 4th_program_word
; 32nd_program_word
DS80169E-page 11

Related parts for DSPIC30F3010T-20I/ML