PIC24HJ64GP510A-E/PF Microchip Technology, PIC24HJ64GP510A-E/PF Datasheet - Page 39

16 Bit MCU 40MIPS 64KB FLASH 100 TQFP 14x14x1mm TRAY

PIC24HJ64GP510A-E/PF

Manufacturer Part Number
PIC24HJ64GP510A-E/PF
Description
16 Bit MCU 40MIPS 64KB FLASH 100 TQFP 14x14x1mm TRAY
Manufacturer
Microchip Technology
Series
PIC® 24Hr

Specifications of PIC24HJ64GP510A-E/PF

Core Processor
PIC
Core Size
16-Bit
Speed
40 MIPs
Connectivity
CAN, I²C, IrDA, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Number Of I /o
85
Program Memory Size
64KB (22K x 24)
Program Memory Type
FLASH
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
3 V ~ 3.6 V
Data Converters
A/D 32x10b/12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
100-TQFP, 100-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
TABLE 5-5:
SERIAL INSTRUCTION EXECUTION FOR WRITING CODE MEMORY
Command
Data
(Binary)
(Hex)
Step 1: Exit the Reset vector.
0000
040200
GOTO
0000
040200
GOTO
0000
000000
NOP
Step 2: Set the NVMCON to program 64 instruction words.
0000
24001A
MOV
0000
883B0A
MOV
Step 3: Initialize the write pointer (W7) for TBLWT instruction.
0000
200xx0
MOV
0000
880190
MOV
0000
2xxxx7
MOV
Step 4: Initialize the read pointer (W6) and load W0:W5 with the next 4 instruction words to program.
0000
2xxxx0
MOV
0000
2xxxx1
MOV
0000
2xxxx2
MOV
0000
2xxxx3
MOV
0000
2xxxx4
MOV
0000
2xxxx5
MOV
Step 5: Set the read pointer (W6) and load the (next set of) write latches.
0000
EB0300
CLR W6
0000
000000
NOP
0000
BB0BB6
TBLWTL[W6++], [W7]
0000
000000
NOP
0000
000000
NOP
0000
BBDBB6
TBLWTH.B[W6++], [W7++]
0000
000000
NOP
0000
000000
NOP
0000
BBEBB6
TBLWTH.B[W6++], [++W7]
0000
000000
NOP
0000
000000
NOP
0000
BB1BB6
TBLWTL[W6++], [W7++]
0000
000000
NOP
0000
000000
NOP
0000
BB0BB6
TBLWTL[W6++], [W7]
0000
000000
NOP
0000
000000
NOP
0000
BBDBB6
TBLWTH.B[W6++], [W7++]
0000
000000
NOP
0000
000000
NOP
0000
BBEBB6
TBLWTH.B[W6++], [++W7]
0000
000000
NOP
0000
000000
NOP
0000
BB1BB6
TBLWTL[W6++], [W7++]
0000
000000
NOP
0000
000000
NOP
Step 6: Repeat steps 4-5 sixteen times to load the write latches for 64 instructions.
Step 7: Initiate the write cycle.
0000
A8E761
BSET
0000
000000
NOP
0000
000000
NOP
0000
000000
NOP
0000
000000
NOP
© 2010 Microchip Technology Inc.
Description
0x200
0x200
#0x4001, W10
W10, NVMCON
#<DestinationAddress23:16>, W0
W0, TBLPAG
#<DestinationAddress15:0>, W7
#<LSW0>, W0
#<MSB1:MSB0>, W1
#<LSW1>, W2
#<LSW2>, W3
#<MSB3:MSB2>, W4
#<LSW3>, W5
NVMCON, #WR
DS70152H-page 39

Related parts for PIC24HJ64GP510A-E/PF