English
Language : 

PIC18F46K80-E-PT Datasheet, PDF (6/12 Pages) Microchip Technology – PIC18F66K80 Family Silicon Errata and Data Sheet Clarification
PIC18F66K80
7. Module: Reset (BOR)
An unexpected Reset may occur if the Brown-
out Reset module (BOR) is disabled, and then
re-enabled, when the High/Low-Voltage
Detection module (HLVD) is not enabled
(HLVDCON<4> = 0). This issue affects
BOR modes: BOREN<1:0> = 10 and
BOREN<1:0> = 01. In both of these modes, if
the BOR module is re-enabled while the device is
active, unexpected Resets may be generated.
Work around
If BOR is required and power consumption is not
an issue, use BOREN<1:0> = 11. For
BOREN<1:0> = 10 mode, either switch to
BOREN<1:0> = 11 mode or enable the HLVD
(HLVDCON<4> = 1) prior to entering Sleep. If
power consumption is an issue and low power is
desired, do not use BOREN<1:0> = 10 mode.
Instead, use BOREN<1:0> = 01 and follow the
steps below when entering and exiting Sleep.
1. Disable BOR by clearing SBOREN
(RCON<6> = 0).
WDTCONbits.SBOREN = 0;
2. Enter Sleep mode (if desired).
Sleep();
3. After exiting Sleep mode (if entered), enable the
HLVD bit (HLVDCON<4> = 1).
HLVDCONbits.HLVDEN = 1;
4. Wait for the internal reference voltage (TIRVST)
to stabilize (typically 25 s).
while(!HLVDCONbits.IRVST);
5. Re-enable BOR by setting SBOREN
(RCON<6> = 1).
WDTCONbits.SBOREN = 1;
6. Disable the HLVD by clearing HLVDEN
(HLVDCON<4> = 0).
HLVDCONbits.HLVDEN = 0;
Affected Silicon Revisions
A2 A3 A4
XXX
8. Module: ECAN
The enhanced window address feature,
EWIN<4:0>, in the ECANCON register, will not
move the BnCON 0<n<5 registers into the
access window of RAM. The rest of the registers
in B0 through B5 will be transferred into the
access bank successfully. This feature is only
available in Mode 1 and Mode 2; Mode 0
applications will not be affected.
Work around
1. Set the ECANCON register EWIN bits to the
desired buffer.
ECANCONbits.EWIN = Buffer_Selection;
2. Decode the desired buffer to each individual
Buffer Control register, BnCON 0<n<5.
switch( Buffer_Selection )
{
//EWIN code for Buffer B0
case 18:
break;
//EWIN code for Buffer B5
case 23:
break;
default:
break;
}
3. Process information in the selected buffer
control register. Note that the BnCON 0<n<5
Control registers can be set up for either
transmit or receive operations.
case 18:
//Save B0CON and clear flags
being processed
temp = B0CON;
//clear any flags
break;
4. Continue processing the rest of the buffer in the
windowed location.
Affected Silicon Revisions
A2 A3 A4
X
DS80519D-page 6
 2011 Microchip Technology Inc.