PIC24F16KA102-I/SS Microchip Technology, PIC24F16KA102-I/SS Datasheet - Page 39
![IC PIC MCU FLASH 16K 28-SSOP](/photos/6/81/68119/150-28-ssop_sml.jpg)
PIC24F16KA102-I/SS
Manufacturer Part Number
PIC24F16KA102-I/SS
Description
IC PIC MCU FLASH 16K 28-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 24Fr
Datasheets
1.MA240017.pdf
(254 pages)
2.PIC24F04KA201-ISS.pdf
(48 pages)
3.PIC24F16KA101-ISS.pdf
(18 pages)
Specifications of PIC24F16KA102-I/SS
Program Memory Type
FLASH
Program Memory Size
16KB (5.5K x 24)
Package / Case
28-SSOP
Core Processor
PIC
Core Size
16-Bit
Speed
32MHz
Connectivity
I²C, IrDA, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
24
Eeprom Size
512 x 8
Ram Size
1.5K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 9x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC24F
Core
PIC
Data Bus Width
16 bit
Data Ram Size
1.5 KB
Interface Type
I2C/IrDA/SPI/UART
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
24
Number Of Timers
3
Operating Supply Voltage
1.8 V to 3.6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, DM240001
Minimum Operating Temperature
- 40 C
On-chip Adc
9-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MA240017 - MODULE PLUG-IN PIC24F16KA102 PIM
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24F16KA102-I/SS
Manufacturer:
MICRCOHI
Quantity:
20 000
5.3.1.3
The QE_Code is a byte in the first word of the
response. This byte is used to return data for query
commands and error codes for all of the other
commands.
When the programming executive processes one of the
two query commands (QBLANK or QVER), the returned
opcode is always PASS and the QE_Code holds the
query response data.
Table 5-3 provides the format of the QE_Code for both
queries.
TABLE 5-3:
When the programming executive processes any
command other than a query, the QE_Code represents
an error code. Table 5-4 provides the supported error
codes.
If a command is successfully processed, the returned
QE_Code is set to 0h, which indicates that there was
no error in the command processing. If the verify of the
programming for the PROGP or PROGC command fails,
the QE_Code is set to 1h. For all other programming
executive errors, the QE_Code is 2h.
TABLE 5-4:
5.3.1.4
The response length indicates the length of the
programming executive’s response in 16-bit words.
This field includes the two words of the response
header.
With the exception of the response for the READP
command, the length of each response is only two
words.
© 2008 Microchip Technology Inc.
QBLANK 0Fh = Code memory is NOT blank
QVER
0h
1h
2h
Query
QE_Code
F0h = Code memory is blank
0xMN, where programming executive
software version = M.N (i.e., 32h stands
for version 3.2 of the programming
executive software)
QE_Code Field
Response Length
No error.
Verify failed.
Other error.
QE_Code FOR QUERIES
QE_Code FOR NON-QUERY
COMMANDS
QE_Code
Description
Advance Information
The response to the READP command uses the packed
instruction word format described in Section 5.2.2
“Packed Data Format”. When reading an odd number
of program memory words (N odd), the response to the
READP command is (3 * (N + 1)/2 + 2) words. When
reading an even number of program memory words
(N even), the response to the READP command is
(3 * N/2 + 2) words.
5.4
This section describes the programming of the
programming executive to memory and also provides
the procedure to perform this.
5.4.1
If it is determined that the programming executive is not
present in the executive memory (as described
in Section 4.2 “Confirming the Presence of the
Programming Executive”), it must be programmed
into the executive memory using ICSP, as described in
Section 3.0 “Device Programming – ICSP”.
Storing the programming executive to executive
memory is the same as normal programming of code
memory:
The executive memory should be erased and then the
programming
32 words at a time.
Erasing the last eight words causes the device
diagnostic data in the Diagnostic Words at addresses
8007F0h to 8007FEh to be erased. In order to retain
these, the memory locations should be read and
stored, and then be reprogrammed in the last eight
words of program memory. Table 5-5 provides this
control flow.
PIC24FXXKAXXX
Programming the Programming
Executive to Memory
OVERVIEW
executive
must
be
DS39919A-page 39
programmed