dsPIC33FJ09GS302-E/SS Microchip Technology, dsPIC33FJ09GS302-E/SS Datasheet - Page 15

no-image

dsPIC33FJ09GS302-E/SS

Manufacturer Part Number
dsPIC33FJ09GS302-E/SS
Description
Digital Signal Processors & Controllers - DSP, DSC 40 MIPS 9 KB FL 1024Bytes RAM SMPS
Manufacturer
Microchip Technology
Datasheet

Specifications of dsPIC33FJ09GS302-E/SS

Rohs
yes
Core
dsPIC33F
Data Bus Width
16 bit
Program Memory Size
9 KB
Data Ram Size
1 KB
Device Million Instructions Per Second
40 MIPs
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 125 C
Package / Case
SSOP-28
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
3.7
The procedure for writing Configuration bits is similar to
the procedure for writing code memory, except that
16-bit data words are written (with the upper bytes read
being all ‘0’s) instead of 24-bit words. Since there are
multiple Configuration words or bytes, they are written
one word or byte at a time.
To change the values of the Configuration bits once
they have been programmed, the device must be Chip
Erased, as described in
gram
value. It is not possible to program a ‘0’ to ‘1’, but they
may be programmed from a ‘1’ to ‘0’ to enable code
protection.
TABLE 3-6:
© 2011 Microchip Technology Inc.
Step 1: Exit the Reset vector.
Step 2: Set the NVMCON register to program one Configuration word.
Step 3: Initialize the TBLPAG register to the first page of program memory.
Step 4: Initialize the write pointer (W7) for the TBLWT instruction.
Step 5: Load the Configuration word data to W6.
Step 6: Write the Configuration word data to the write latch and increment the write pointer.
Step 7: Initiate the write cycle.
4-bit Control
dsPIC33F DEVICES WITH VOLATILE CONFIGURATION BITS
Code
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
0000
Memory”, and reprogrammed to the desired
Writing Configuration Words
SERIAL INSTRUCTION EXECUTION FOR WRITING CONFIGURATION
BITS
040200
040200
000000
24003A
883B0A
200xx0
880190
2xxxx7
2xxxx6
000000
BB1B86
000000
000000
A8E761
000000
000000
000000
000000
(Hex)
0000
Data
Section 3.5 “Erasing Pro-
GOTO
GOTO
NOP
MOV
MOV
MOV
MOV
MOV
MOV
NOP
TBLWTL W6, [W7++]
NOP
NOP
NOP
BSET
NOP
NOP
NOP
NOP
0x200
#0x4003, W10
W10, NVMCON
<Address7:0>, W0
W0, TBLPAG
<Address15:0>, W7
#<VALUE>, W6
NVMCON, #WR
0x200
Table 3-6
writing the Configuration bits.
In order to verify the data by reading the Configuration
bits after performing the write, the code protection bits
should initially be programmed to a ‘1’ to ensure that
the verification can be performed properly. After verifi-
cation is finished, the code protection bit can be pro-
grammed to a ‘0’ by using a word write to the
appropriate Configuration Word.
Description
shows the ICSP programming details for
DS70659B-page 15

Related parts for dsPIC33FJ09GS302-E/SS