PIC24F16KA102-I/SS Microchip Technology, PIC24F16KA102-I/SS Datasheet - Page 25

IC PIC MCU FLASH 16K 28-SSOP

PIC24F16KA102-I/SS

Manufacturer Part Number
PIC24F16KA102-I/SS
Description
IC PIC MCU FLASH 16K 28-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 24Fr

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
FIGURE 4-3:
FIGURE 4-4:
4.4
The term “Blank Check” implies verifying if the device
has been successfully erased and has no programmed
memory locations. A blank or erased memory location
is always read as ‘1’.
The Device ID registers (FF0002h:FF0000h) can be
ignored by the Blank Check as this region stores device
information that cannot be erased. The device
Configuration registers are also ignored by the Blank
Check. Additionally, all unimplemented memory space
should be ignored by the Blank Check.
The QBLANK command is used for the Blank Check. It
determines if the code memory is erased by testing
these memory regions. A ‘BLANK’ or ‘NOT BLANK’
response is returned. If it is determined that the device
is not blank, it must be erased before attempting to
program the device.
4.5
4.5.1
Code memory is programmed with the PROGP
command. PROGP programs one row of code memory,
starting from the memory address specified in the
command. The number of PROGP commands required
to program a device depends on the number of write
blocks that must be programmed in the device.
© 2008 Microchip Technology Inc.
V
PGDx
PGCx
V
MCLR
V
PGDx
PGCx
DD
DD
PP
Blank Check
Code Memory Programming
PROGRAMMING METHODOLOGY
P6
P6
ENTERING ENHANCED ICSP™ MODE USING LOW-VOLTAGE ENTRY
ENTERING ENHANCED ICSP™ MODE USING HIGH-VOLTAGE ENTRY
P14
P18
P18
V
IHH
V
b31
b31
IH
0
0
Advance Information
b30
b30
1
1
Program/Verify Entry Code = 4D434850h
Program/Verify Entry Code = 4D434850h
b29
b29
0
0
b28
P1A
P1A
b28
0
0
P1B
P1B
b27
b27
1
1
Figure 4-5 illustrates an example flowchart for
programming code memory. In this example, all 5.5K
instruction words of a PIC24FXXKAXXX device are
programmed.
• First, the number of commands to send (titled
• Next, one write block in the device is programmed
• After the first command is processed successfully,
Since there are more PROGP commands to be sent,
‘BaseAddress’ is incremented by 40h to point to the
next row of memory. On the second PROGP command,
the second row is programmed. This process is
repeated until the entire device is programmed. Special
handling should not be performed when a panel
boundary is crossed.
‘RemainingCmds’ in the flowchart) is set to 176,
and the destination address (called
‘BaseAddress’) is set to ‘0’.
with a PROGP command. Each PROGP command
contains data for one row of code memory of the
PIC24FXXKAXXX device.
‘RemainingCmds’ is decremented by 1 and
compared with 0.
...
...
PIC24FXXKAXXX
b3
b3
0
0
b2
b2
0
0
b1
b1
0
0
V
IH
b0
b0
0
0
P19
DS39919A-page 25
P7
P7

Related parts for PIC24F16KA102-I/SS