English
Language : 

PIC24F16KL402 Datasheet, PDF (249/260 Pages) Microchip Technology – Low-Power, Low-Cost, General Purpose 16-Bit Flash Microcontrollers with nanoWatt XLP Technology
PIC24F16KL402 FAMILY
APPENDIX A: REVISION HISTORY
Revision A (September 2011)
Original data sheet for the PIC24F16KL402 family of
devices.
Revision B (November 2011)
Updates DC Specifications in Tables 26-6 through 26-9
(all Typical and Maximum values).
Updates AC Specifications in Tables 26-7 through
26-30 (SPI Timing Requirements) with the addition of
the FSCK specification.
Other minor typographic corrections throughout.
APPENDIX B: MIGRATING FROM
PIC18/PIC24 TO
PIC24F16KL402
The PIC24F16KL402 family combines traditional
PIC18 peripherals with a faster PIC24 core to provide
a low-cost, high-performance microcontroller with
low-power consumption.
Code written for PIC18 devices can be migrated to the
PIC24F16KL402 by using a C compiler that generates
PIC24 machine level instructions. Assembly language
code will need to be rewritten using PIC24 instructions.
The PIC24 instruction set shares similarities to the
PIC18 instruction set, which should ease porting of
assembly code. Application code will require changes
to support certain PIC24 peripherals.
Code written for PIC24 devices can be migrated to the
PIC24F16KL402 without many code changes. Certain
peripherals, however, will require application changes
to support modules that were traditionally available
only on PIC18 devices.
Refer to Table B-1 for a list of peripheral modules on
the PIC24F16KL402 and where they originated from.
TABLE B-1:
TABLE B-1: PIC24F16KL402
PERIPHERAL MODULE
ORIGINATING
ARCHITECTURE
Peripheral Module
PIC18
PIC24
ECCP/CCP
X
—
MSSP (I2C™/SPI)
X
—
Timer2/4 (8-bit)
X
—
Timer3 (16-bit)
X
—
Timer1 (16-bit)
—
X
10-Bit A/D Converter
—
X
Comparator
—
X
Comparator Voltage
—
X
Reference
UART
—
X
HLVD
—
X
 2011 Microchip Technology Inc.
DS31037B-page 249