Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18F8490 Datasheet(PDF) 6 Page - Microchip Technology

Part # PIC18F8490
Description  PIC18F6390/6490/8390/8490 Rev.B3 SILICON ERRATA
Download  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F8490 Datasheet(HTML) 6 Page - Microchip Technology

Back Button PIC18F8490 Datasheet HTML 2Page - Microchip Technology PIC18F8490 Datasheet HTML 3Page - Microchip Technology PIC18F8490 Datasheet HTML 4Page - Microchip Technology PIC18F8490 Datasheet HTML 5Page - Microchip Technology PIC18F8490 Datasheet HTML 6Page - Microchip Technology PIC18F8490 Datasheet HTML 7Page - Microchip Technology PIC18F8490 Datasheet HTML 8Page - Microchip Technology PIC18F8490 Datasheet HTML 9Page - Microchip Technology PIC18F8490 Datasheet HTML 10Page - Microchip Technology  
Zoom Inzoom in Zoom Outzoom out
 6 / 10 page
background image
PIC18F6390/6490/8390/8490
DS80207B-page 6
© 2005 Microchip Technology Inc.
16. Module: Interrupts
If an interrupt occurs during a two-cycle instruction
that modifies the STATUS, BSR or WREG register,
the unmodified value of the register will be saved
to the corresponding Fast Return (Shadow)
register and upon a fast return from the interrupt,
the unmodified value will be restored to the
STATUS, BSR or WREG register.
For example, if a high priority interrupt occurs
during the instruction, MOVFF TEMP, WREG, the
MOVFF
instruction will be completed and WREG
will be loaded with the value of TEMP before
branching to ISR. However, the previous value of
WREG will be saved to the Fast Return register
during ISR branching. Upon return from the
interrupt with a fast return, the previous value of
WREG in the Fast Return register will be written to
WREG. This results in WREG containing the value
it had before execution of MOVFF TEMP, WREG.
Affected instructions are:
MOVFF
Fs, Fd
where Fd is WREG, BSR or STATUS;
MOVSF
Zs, Fd
where Fd is WREG, BSR or STATUS; and
MOVSS
[Zs], [Zd]
where the destination is WREG, BSR or STATUS.
Work around
1. Assembly Language Programming: If any two-
cycle instruction is used to modify the WREG,
BSR or STATUS register, do not use the
RETFIE FAST
instruction to return from the
interrupt. Instead, save/restore WREG, BSR
and STATUS via software per Example 8-1 in
the Device Data Sheet. Alternatively, in the
case of MOVFF, use the MOVF instruction to
write to WREG instead. For example, use:
MOVF TEMP, W
MOVWF BSR
instead of MOVFF TEMP, BSR.
2. C Language Programming: The exact work
around depends on the compiler in use. Please
refer to your C compiler documentation for
details.
If using the Microchip MPLAB® C18 C Compiler,
define both high and low priority interrupt
handler functions as “low priority” by using the
pragma interruptlow
directive.
This
directive instructs the compiler to not use the
RETFIE
FAST
instruction. If the proper high
priority interrupt bit is set in the IPRx register,
then the interrupt is treated as high priority in
spite of the pragma interruptlow directive.
The following code snippet demonstrates the
work around using the C18 compiler:
Date Codes that pertain to this issue:
All engineering and production devices.
#pragma interruptlow MyLowISR
void MyLowISR(void)
{
// Handle low priority interrupts.
}
// Although MyHighISR is a high priority interrupt, use interruptlow pragma so that
// the compiler will not use retfie FAST.
#pragma interruptlow MyHighISR
void MyHighISR(void)
{
// Handle high priority interrupts.
}
#pragma code highVector=0x08
void HighVector (void)
{
_asm goto MyHighISR _endasm
}
#pragma code /* return to default code section */
#pragma code lowVector=0x18
void LowVector (void)
{
_asm goto MyLowISR _endasm
}
#pragma code /* return to default code section */


Similar Part No. - PIC18F8490

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
PIC18F8490 MICROCHIP-PIC18F8490 Datasheet
6Mb / 412P
   64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
2004
PIC18F8490 MICROCHIP-PIC18F8490 Datasheet
7Mb / 414P
   64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
2007
PIC18F8490-E/PT MICROCHIP-PIC18F8490-E/PT Datasheet
7Mb / 414P
   64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
2007
PIC18F8490-I/PT MICROCHIP-PIC18F8490-I/PT Datasheet
7Mb / 414P
   64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
2007
PIC18F8490T-E/PT MICROCHIP-PIC18F8490T-E/PT Datasheet
7Mb / 414P
   64/80-Pin Flash Microcontrollers with LCD Driver and nanoWatt Technology
2007
More results

Similar Description - PIC18F8490

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
DSPIC33FJXXXGPXXX MICROCHIP-DSPIC33FJXXXGPXXX Datasheet
164Kb / 6P
    Silicon Errata
2006
logo
Texas Instruments
TMS320F28335_1104 TI-TMS320F28335_1104 Datasheet
188Kb / 18P
[Old version datasheet]   Silicon Errata
logo
Microchip Technology
DSPIC33FJ12GP201 MICROCHIP-DSPIC33FJ12GP201 Datasheet
269Kb / 6P
   Silicon Errata
2007
DSPIC33FJXXXGPXXX_0612 MICROCHIP-DSPIC33FJXXXGPXXX_0612 Datasheet
228Kb / 10P
   Silicon Errata
2006
PIC16C641 MICROCHIP-PIC16C641 Datasheet
67Kb / 4P
   Silicon Errata Sheet
1998 - 1999
PIC16F62X MICROCHIP-PIC16F62X_02 Datasheet
282Kb / 20P
   Silicon/Data Sheet Errata
2002
logo
Texas Instruments
MSP53C391 TI-MSP53C391 Datasheet
24Kb / 2P
[Old version datasheet]   ERRATA
logo
Microchip Technology
PIC16C717 MICROCHIP-PIC16C717_02 Datasheet
81Kb / 6P
   C Silicon/Data Sheet Errata
2002
logo
M/A-COM Technology Solu...
500102D MA-COM-500102D_15 Datasheet
22Kb / 2P
   Errata
28320-ERR-001-A MA-COM-28320-ERR-001-A_15 Datasheet
29Kb / 1P
   Errata
More results


Html Pages

1 2 3 4 5 6 7 8 9 10


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com