Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

DSPIC30F0010AT-20E/PF Datasheet(PDF) 43 Page - Microchip Technology

Part # DSPIC30F0010AT-20E/PF
Description  High-Performance, 16-Bit Digital Signal Controllers
PDF  232 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DSPIC30F0010AT-20E/PF Datasheet(HTML) 43 Page - Microchip Technology

Back Button DSPIC30F0010AT-20E/PF Datasheet HTML 39Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 40Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 41Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 42Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 43Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 44Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 45Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 46Page - Microchip Technology DSPIC30F0010AT-20E/PF Datasheet HTML 47Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 43 / 232 page
background image
© 2008 Microchip Technology Inc.
DS70150D-page 43
dsPIC30F6010A/6015
5.2
Reset Sequence
A Reset is not a true exception because the interrupt
controller is not involved in the Reset process. The
processor initializes its registers in response to a Reset
which forces the PC to zero. The processor then begins
program execution at location 0x000000. A GOTO
instruction is stored in the first program memory
location, immediately followed by the address target for
the GOTO instruction. The processor executes the GOTO
to the specified address and then begins operation at
the specified target (start) address.
5.2.1
RESET SOURCES
There are six sources of error which will cause a device
Reset.
• Watchdog Time-out:
The watchdog has timed out, indicating that the
processor is no longer executing the correct flow
of code.
• Uninitialized W Register Trap:
An attempt to use an uninitialized W register as
an Address Pointer will cause a Reset.
• Illegal Instruction Trap:
Attempted execution of any unused opcodes will
result in an illegal instruction trap. Note that a
fetch of an illegal instruction does not result in an
illegal instruction trap if that instruction is flushed
prior to execution due to a flow change.
• Brown-out Reset (BOR):
A momentary dip in the power supply to the
device has been detected which may result in
malfunction.
• Trap Lockout:
Occurrence of multiple trap conditions
simultaneously will cause a Reset.
5.3
Traps
Traps can be considered as non-maskable interrupts
indicating a software or hardware error, which adhere
to a predefined priority, as shown in Figure 5-1. They
are intended to provide the user a means to correct
erroneous operation during debug and when operating
within the application.
Note that many of these trap conditions can only be
detected when they occur. Consequently, the
questionable instruction is allowed to complete prior to
trap exception processing. If the user chooses to
recover from the error, the result of the erroneous
action that caused the trap may have to be corrected.
There are 8 fixed priority levels for traps: Level 8
through Level 15, which means that IPL3 is always set
during processing of a trap.
If the user is not currently executing a trap, and he sets
the IPL<3:0> bits to a value of ‘0111’ (Level 7), then all
interrupts are disabled, but traps can still be processed.
5.3.1
TRAP SOURCES
The following traps are provided with increasing prior-
ity. However, since all traps can be nested, priority has
little effect.
Math Error Trap:
The math error trap executes under the following four
circumstances:
• Should an attempt be made to divide by zero, the
divide operation will be aborted on a cycle bound-
ary and the trap taken.
• If enabled, a math error trap will be taken when an
arithmetic operation on either Accumulator A or B
causes an overflow from bit 31 and the Accumula-
tor Guard bits are not utilized.
• If enabled, a math error trap will be taken when an
arithmetic operation on either Accumulator A or B
causes a catastrophic overflow from bit 39 and all
saturation is disabled.
• If the shift amount specified in a shift instruction is
greater than the maximum allowed shift amount, a
trap will occur.
Note:
If the user does not intend to take
corrective action in the event of a trap
error condition, these vectors must be
loaded with the address of a default
handler that simply contains the RESET
instruction. If, on the other hand, one of
the vectors containing an invalid address
is called, an address error trap is
generated.



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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