поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

DSPIC30F датащи(PDF) 60 Page - Microchip Technology

номер детали DSPIC30F
подробное описание детали  General Purpose and Sensor Families High-Performance Digital Signal Controllers
PDF  248 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MICROCHIP [Microchip Technology]
домашняя страница  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC30F датащи(HTML) 60 Page - Microchip Technology

Back Button DSPIC30F Datasheet HTML 56Page - Microchip Technology DSPIC30F Datasheet HTML 57Page - Microchip Technology DSPIC30F Datasheet HTML 58Page - Microchip Technology DSPIC30F Datasheet HTML 59Page - Microchip Technology DSPIC30F Datasheet HTML 60Page - Microchip Technology DSPIC30F Datasheet HTML 61Page - Microchip Technology DSPIC30F Datasheet HTML 62Page - Microchip Technology DSPIC30F Datasheet HTML 63Page - Microchip Technology DSPIC30F Datasheet HTML 64Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 60 / 248 page
background image
dsPIC30F
DS70083G-page 58
Preliminary
 2004 Microchip Technology Inc.
• Address Error Trap:
This trap is initiated when any of the following
circumstances occurs:
1.
A
misaligned
data
word
access
is
attempted.
2.
A data fetch from and unimplemented data
memory location is attempted.
3.
A data fetch from an unimplemented pro-
gram memory location is attempted.
4.
An instruction fetch from vector space is
attempted.
5.
Execution of a “BRA #literal” instruction or a
“GOTO #literal” instruction, where literal
is an unimplemented program memory address.
6.
Executing instructions after modifying the PC to
point
to
unimplemented
program
memory
addresses. The PC may be modified by loading
a value into the stack and executing a RETURN
instruction.
• Stack Error Trap:
This trap is initiated under the following
conditions:
1.
The stack pointer is loaded with a value
which is greater than the (user program-
mable) limit value written into the SPLIM
register (stack overflow).
2.
The stack pointer is loaded with a value
which is less than 0x0800 (simple stack
underflow).
• Oscillator Fail Trap:
This trap is initiated if the external oscillator fails
and operation becomes reliant on an internal RC
backup.
5.3.2
HARD AND SOFT TRAPS
It is possible that multiple traps can become active
within the same cycle (e.g., a misaligned word stack
write to an overflowed address). In such a case, the
fixed priority shown in Figure 5-2 is implemented,
which may require the user to check if other traps are
pending in order to completely correct the fault.
‘Soft’ traps include exceptions of priority level 8 through
level 11, inclusive. The arithmetic error trap (level 11)
falls into this category of traps. Soft traps can be treated
like non-maskable sources of interrupt that adhere to
the priority assigned by their position in the IVT. Soft
traps are processed like interrupts and require 2 cycles
to be sampled and Acknowledged prior to exception
processing. Therefore, additional instructions may be
executed before a soft trap is Acknowledged.
‘Hard’ traps include exceptions of priority level 12
through level 15, inclusive. The address error (level
12), stack error (level 13) and oscillator error (level 14)
traps fall into this category.
Like soft traps, hard traps can also be viewed as non-
maskable sources of interrupt. The difference between
hard traps and soft traps is that hard traps force the
CPU to stop code execution after the instruction caus-
ing the trap has completed. Normal program execution
flow will not resume until after the trap has been
Acknowledged and processed.
If a higher priority trap occurs while any lower priority
trap is in progress, processing of the lower priority trap
will be suspended and the higher priority trap will be
Acknowledged and processed. The lower priority trap
will remain pending until processing of the higher
priority trap completes.
Each hard trap that occurs must be Acknowledged
before code execution of any type may continue. If a
lower priority hard trap occurs while a higher priority
trap is pending, Acknowledged, or is being processed,
a hard trap conflict will occur. The conflict occurs
because the lower priority trap cannot be Acknowl-
edged until processing for the higher priority trap
completes.
The device is automatically reset in a hard trap conflict
condition. The TRAPR status bit (RCON<15>) is set
when the Reset occurs so that the condition may be
detected in software.
In the case of a math error trap or oscillator failure trap,
the condition that causes the trap to occur must be
removed before the respective trap flag bit in the
INTCON1 register may be cleared.
Note:
In the MAC class of instructions, wherein
the data space is split into X and Y data
space, unimplemented X space includes
all of Y space, and unimplemented Y
space includes all of X space.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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