Information
2002 Microchip Technology Inc. DS80058H-page 1
M
PIC18CXX2
The PIC18CXX2 (Rev. B) parts you have received con-
form functionally to the Device Data Sheet
(DS39026C), except for the anomalies described
below.
All the problems listed here will be addressed in future
revisions of the PIC18CXX2 silicon.
1. Module: CPU
Using the LFSR instruction to load a value into the
specified FSR register, may also corrupt a RAM
location.
Work around
Do not use the LFSR instruction. The use of MOVLW
and MOVWF instructions can be implemented to
load the FSR registers. The WREG register may
need to be saved before these operations and
restored afterwards.
EXAMPLE 1: DEFINED OPERATION
EXAMPLE 2: WORK AROUND
2. Module: CCP
When the CCP module is configured to
Compare mode toggle output pin
(CCPxCON = b’00xx0010’), unexpected pin
operation may be observed.
When the timer used for the CCP module time-
base is configured to have a prescale ratio greater
than 1:1, the output on the CCP pin will toggle the
prescaled number of times for each compare
match. That is, for a n:1 timer prescale ratio, the
CCP output pin will toggle n times at each com-
pare match. The toggle occurs each instruction
cycle (T
CY).
Work around
The prescale ratio for the timer used as the CCP
module time-base must be 1:1. If a longer com-
pare time is needed, the timer must be running in
Timer mode or Synchronized Counter mode
(external clock source).
Date Codes that pertain to this issue:
ALL
3. Module: Oscillator
In-Circuit Serial Programming
TM
(ICSP
TM
) may
become unpredictable when a free-running clock
source is present on OSC1.
When entering ICSP mode, the PIC18C452
switches from OSC1 to RB6 for its external clock
source. Refer to the PIC18CXXX Programming
Specification (DS39028) for additional information.
If OSC1 is high at the time, a high-to-low transition
occurs upon the transition to RB6.The ICSP logic
interprets this as a clock, and advances the inter-
nal clock logic to Q2. This causes an unrecover-
able mismatch between ICSP logic and the clock.
Work around
Before entering ICSP mode, OSC1 must be driven
to and held in a low state. This must occur before
changing states on MCLR
/VPP, RB6 and RB7.
LFSR FSR1, Pointer
;
; Optionally save the WREG register
;
MOVLW HIGH (Pointer)
MOVWF FSR1H
MOVLW LOW (Pointer)
MOVWF FSR1L
;
; Optionally restore the WREG register
;
Note: When the manufacture date of a newer
version of silicon is in production, the last
date where this issue may occur, will be
specified.
PIC18CXX2 Rev. B Silicon/Data Sheet Errata
Note: As with any windowed EPROM device, please cover the window at all times, except when erasing.