Information
PIC18F2525/2620/4525/4620
DS80224E-page 4 © 2008 Microchip Technology Inc.
10. Module: ECCP
When the shutdown state of the PWM pin(s) is
configured to tri-state the outputs, the device may
consume higher than expected current during the
shutdown event.
Work around
Configure the PWM output for either a high or low
logic state during the shutdown via the
PSSAC1:PSSAC0 (ECCP1AS<3:2>) and
PSSBD1: PSSBD0 (ECCP1AS<1:0>) bits.
Clearing the auto-shutdown event will return the
device to normal current consumption levels.
Date Codes that pertain to this issue:
All engineering and production devices.
11. Module: ECCP
The PWM pin(s) may change state if a breakpoint
is encountered during emulation and an auto-
shutdown event occurs via FLT0. This affects the
MPLAB
®
ICD 2 debugger and the
ICE 2000 and
ICE 4000 emulators.
Work around
During emulation, use the comparator for auto-
shutdown or use the external interrupt (INT0) flag
to detect a shutdown event and disable the PWM
by clearing the EECPASE bit (ECCP1AS<7>).
Date Codes that pertain to this issue:
All engineering and production devices.
12. Module: ECCP
When operating either Timer1 or Timer3 as a
counter, with a prescale value other than 1:1 and
operating the ECCP in Compare mode with the
Special Event Trigger (CCP1CON bits,
CCP1M3:CCP1M0 = 1011), the Special Event
Trigger Reset of the timer occurs as soon as there
is a match between TMRxH:TMRxL and
CCPR1H:CCPR1L.
This differs from the PIC18F452, where the Special
Event Trigger Reset of the timer occurs on the next
prescaler output pulse after the match between
TMRxH:TMRxL and CCPR1H:CCPR1L.
Work around
To achieve the same timer Reset period on the
PIC18F4620 family as the PIC18F452 family for a
given clock source, add 1 to the value in
CCPR1H:CCPR1L. In other words, if
CCPR1H:CCPR1L = x for the PIC18F452, to
achieve the same Reset period on the PIC18F4620
family, use CCPR1H:CCPR1L = x + 1, where the
prescale is 1, 2, 4 or 8 depending on the
T1CKPS1:T1CKPS0 bit values.
Date Codes that pertain to this issue:
All engineering and production devices.
13. Module: ECCP
When a shutdown condition occurs, the output
port(s) is made inactive for the duration of the
event. After the event that caused the shutdown
ends, the ECCP module enables the PWM output
right away instead of waiting until the beginning of
the next PWM cycle.
Work around
Disable the auto-restart feature in software, polling
the Timer2 Interrupt Flag, TMR2IF, and wait until it
is set before clearing the ECCPASE bit.
Date Codes that pertain to this issue:
All engineering and production devices.