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

PIC24HJ64GP510A-E/PF

Manufacturer Part NumberPIC24HJ64GP510A-E/PF
Description16 Bit MCU 40MIPS 64KB FLASH 100 TQFP 14x14x1mm TRAY
ManufacturerMicrochip Technology
SeriesPIC® 24H
PIC24HJ64GP510A-E/PF datasheets
 


Specifications of PIC24HJ64GP510A-E/PF

Core ProcessorPICCore Size16-Bit
Speed40 MIPsConnectivityCAN, I²C, IrDA, LIN, SPI, UART/USART
PeripheralsBrown-out Detect/Reset, DMA, POR, PWM, WDTNumber Of I /o85
Program Memory Size64KB (22K x 24)Program Memory TypeFLASH
Ram Size8K x 8Voltage - Supply (vcc/vdd)3 V ~ 3.6 V
Data ConvertersA/D 32x10b/12bOscillator TypeInternal
Operating Temperature-40°C ~ 125°CPackage / Case100-TQFP, 100-VQFP
Lead Free Status / RoHS StatusLead free / RoHS CompliantEeprom Size-
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Page 21
22
Page 22
23
Page 23
24
Page 24
25
Page 25
26
Page 26
27
Page 27
28
Page 28
29
Page 29
30
Page 30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Page 24/84

Download datasheet (2Mb)Embed
PrevNext
FIGURE 4-2:
PROGRAMMING EXECUTIVE – PROGRAMMER COMMUNICATION PROTOCOL
Host Transmits
Last Command Word
1
2
15 16
PGCx
PGDx
MSB X X X LSB
P8
PGCx = Input
PGDx = Input
Note 1:
A delay of 25 ms is required between commands.
4.2
Programming Executive
Commands
The programming executive command set is shown in
Table
4-1. This table contains the opcode, mnemonic,
length, time out and description for each command.
Functional details on each command are provided in
the command descriptions
(Section 4.2.4 “Command
Descriptions”).
4.2.1
COMMAND FORMAT
All programming executive commands have a general
format consisting of a 16-bit header and any required
data for the command (see
Figure
header consists of a 4-bit opcode field, which is used to
identify the command, followed by a 12-bit command
length field.
FIGURE 4-3:
COMMAND FORMAT
15
12 11
Opcode
Length
Command Data First Word (if required)
Command Data Last Word (if required)
The command opcode must match one of those in the
command set. Any command that is received which
does not match the list in
Table 4-1
will return a “NACK”
response (see
Section 4.3.1.1 “Opcode
The command length is represented in 16-bit words
since the SPI operates in 16-bit mode. The
programming executive uses the command length field
to determine the number of words to read from the SPI
port. If the value of this field is incorrect, the command
will not be properly received by the programming
executive.
DS70152H-page 24
Programming Executive
Processes Command
1
MSB X X X LSB
1
0
P9a
P9b
PGCx = Input (Idle)
PGDx = Output
4.2.2
When 24-bit instruction words are transferred across
the 16-bit SPI interface, they are packed to conserve
space using the format illustrated in
format minimizes traffic over the SPI and provides the
programming executive with data that is properly
aligned for performing table write operations.
FIGURE 4-4:
15
4-3). The 16-bit
MSB2
LSWx: Least Significant 16 bits of instruction word
MSBx: Most Significant Byte of instruction word
0
Note:
4.2.3
The
programming
unsupported commands. Additionally, due to the
memory constraints of the programming executive, no
checking is performed on the data contained in the
Field”).
programmer command. It is the responsibility of the
programmer to command the programming executive
with valid command arguments or the programming
operation may fail. Additional information on error
handling is provided in
Field”.
Host Clocks Out Response
2
15 16
1
2
15 16
MSB X X X LSB
PGCx = Input
PGDx = Output
PACKED DATA FORMAT
Figure
4-4. This
PACKED INSTRUCTION
WORD FORMAT
8 7
LSW1
MSB1
LSW2
When the number of instruction words
transferred is odd, MSB2 is zero and
LSW2 cannot be transmitted.
PROGRAMMING EXECUTIVE
ERROR HANDLING
executive
will
“NACK”
Section 4.3.1.3 “QE_Code
© 2010 Microchip Technology Inc.
0
all