Information

© 2009 Microchip Technology Inc. DS80396B-page 1
PIC18F2220/2320/4220/4320
The PIC18F2220/2320/4220/4320 Rev. C1 parts you
have received conform functionally to the Device Data
Sheet (DS39599G), except for the anomalies
described below. Any Data Sheet Clarification issues
related to the PIC18F2220/2320/4220/4320 will be
reported in a separate Data Sheet errata. Please check
the Microchip web site for any existing issues.
The following silicon errata apply only to
PIC18F2220/2320/4220/4320 devices with these
Device/Revision IDs:
All of the issues listed here will be addressed in future
revisions of the PIC18F2220/2320/4220/4320 silicon.
1. Module: Core (DAW Instruction)
The DAW instruction may improperly clear the
Carry bit (STATUS<0>) when executed.
Work around
Test the Carry bit state before executing the DAW
instruction. If the Carry bit is set, increment the
next higher byte to be added, using an instruction
such as INCFSZ (this instruction does not affect
any Status flags and will not overflow a BCD
nibble). After the DAW instruction has been
executed, process the Carry bit normally (see
Example 1).
EXAMPLE 1: PROCESSING THE CARRY
BIT DURING BCD ADDITIONS
Date Codes that pertain to this issue:
All engineering and production devices.
Part Number Device ID Revision ID
PIC18F2220 0000 0101 100 0 0110
PIC18F2320 0000 0101 000 0 0110
PIC18F4220 0000 0101 101 0 0110
PIC18F4320 0000 0101 001 0 0110
The Device IDs (DEVID1 and DEVID2) are located at
addresses 3FFFFEh:3FFFFFh in the device’s
configuration space. They are shown in binary in the
format “DEVID2 DEVID1”.
MOVLW 0x80 ; .80 (BCD)
ADDLW 0x80 ; .80 (BCD)
BTFSC STATUS, C ; test C
INCFSZ byte2 ; inc next higher LSB
DAW
BTFSC STATUS, C ; test C
INCFSZ byte2 ; inc next higher LSB
This is repeated for each DAW instruction.
PIC18F2220/2320/4220/4320 Rev. C1 Silicon Errata

Summary of content (6 pages)