Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 453 Page - Freescale Semiconductor, Inc

Part # MPC8540
Description  MPC8540 PowerQUICC III??Integrated Host Processor Reference Manual
PDF  1302 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8540 Datasheet(HTML) 453 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 449Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 450Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 451Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 452Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 453Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 454Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 455Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 456Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 457Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 453 / 1302 page
background image
Initialization/Application Information
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
10-49
In addition, the following initialization sequence is recommended:
1. Write the vector, priority, and polarity values in each interrupt’s vector/priority register,
leaving their MSK (mask) bit set. This is required only if interrupts are used.
2. Clear the CTPR (CTPR = 0x0000_0000).
3. Program the PIC to mixed mode by setting GCR[M].
4. Clear the MSK bit in the vector/priority registers to be used.
5. Perform a software loop to clear all pending interrupts:
— Load counter with FPR[NIRQ].
— While counter > 0, perform IACK and EOIs to guarantee all the interrupt pending and
in-service registers are cleared.
6. Set the processor CTPR value to the desired value.
Depending on the interrupt system configuration, the PIC may generate spurious interrupts to clear
interrupts latched during power-up. A spurious or non-spurious vector is returned for an interrupt
acknowledge cycle in this case. See the programming note below for the non-spurious case.
NOTE:
Because the default polarity/sense for external interrupts is
edge-sensitive, and edge-sensitive interrupts are not cleared until they
are acknowledged, it is possible for the PIC to store spurious edges
detected during power-up as pending external interrupts. If software
permanently configures an external interrupt source to be
edge-sensitive, it may receive the vector for the interrupt source and
not a spurious interrupt vector when software clears the mask bit. This
can occur once for any edge-sensitive interrupt when its mask bit is
first cleared and the PIC is in mixed mode.
To avoid having to handle a false interrupt for this case, software can
clear the PIC interrupt pending register of these spurious edge
detections by first configuring the polarity/sense of external interrupt
sources to be level-sensitive; high-level if the input is a positive-edge
source, low-level if it’s a negative-edge source (while the mask bit
remains set). After this is complete, configuring the external interrupt
source as edge-sensitive will not cause a false interrupt.



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