Datasheet

PIC16(L)F1938/9
DS40001574C-page 58 2011-2013 Microchip Technology Inc.
4.6 Device ID and Revision ID
The memory location 8006h is where the Device ID and
Revision ID are stored. The upper nine bits hold the
Device ID. The lower five bits hold the Revision ID. See
Section 11.5 “User ID, Device ID and Configuration
Word Access for more information on accessing
these memory locations.
Development tools, such as device programmers and
debuggers, may be used to read the Device ID and
Revision ID.
4.7 Register Definitions: Device ID
REGISTER 4-3: DEVICEID: DEVICE ID REGISTER
(1)
RRRRRR
DEV8 DEV7 DEV6 DEV5 DEV4 DEV3
bit 13 bit 8
RRRRRRRR
DEV2 DEV1 DEV0 REV4 REV3 REV2 REV1 REV0
bit 7 bit 0
Legend:
R = Readable bit
‘0’ = Bit is cleared ‘1’ = Bit is set -n = Value when blank or after Bulk Erase
bit 13-5 DEV<8:0>: Device ID bits
bit 4-0 REV<4:0>: Revision ID bits
These bits are used to identify the revision (see the table under DEV<8:0> above).
Note 1: This location cannot be written.
DEVICE
DEVICEID<13:0>
DEV<8:0> REV<4:0>
PIC16F1938 10 0011 101 X XXXX
PIC16F1939 10 0011 110 X XXXX
PIC16LF1938 10 0100 101 X XXXX
PIC16LF1939 10 0100 110 X XXXX