Information

© 2005 Microchip Technology Inc. DS80175E-page 1
PIC18F1220/1320
The PIC18F1220/1320 Rev. B4 parts you have
received conform functionally to the Device Data Sheet
(DS39605C), except for the anomalies described
below.
All of the issues listed here will be addressed in future
revisions of the PIC18F1220/1320 silicon.
The following silicon errata apply only to
PIC18F1220/1320 devices with these Device/
Revision IDs:
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 nib-
ble). 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.
2. Module: EUSART
The auto-baud measurement may not determine
the correct baud rate if the ABDEN bit is set while
the RB4/RX pin is low.
Work around
If the wake-up function is being used (WUE is set),
wait for the RB4/RX pin to go high following a
Break signal before setting the ABDEN bit.
If the wake-up function is not being used, ensure
that RB4/RX is Idle (high between bytes) before
setting the ABDEN bit.
Date Codes that pertain to this issue:
All engineering and production devices.
3. Module: Data EEPROM
When writing to the data EEPROM, the contents of
the data EEPROM memory may not be written as
expected.
Work around
Either of two work arounds can be used:
1. Before beginning any writes to the data
EEPROM, enable the LVD (any voltage) and
wait for the internal voltage reference to
become stable. LVD interrupt requests may be
ignored. Once the LVD voltage reference is
stable, perform all EEPROM writes normally.
When writes have been completed, the LVD
may be disabled.
2. Configure the BOR as enabled (any voltage).
Select a threshold below V
DD to allow normal
operation. If V
DD is below the BOR threshold,
the device will be held in Brown-out Reset.
Date Codes that pertain to this issue:
All engineering and production devices.
Part Number Device ID Revision ID
PIC18F1220 00 0111 111 00100
PIC18F1320 00 0111 110 00100
The Device IDs (DEVID1 and DEVID2) are located at
addresses 3FFFFEh:3FFFFFh in the device’s
configuration space. They are shown in hexadecimal
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.
PIC18F1220/1320 Rev. B4 Silicon/Data Sheet Errata

Summary of content (6 pages)