Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MPC8280 Datasheet(PDF) 696 Page - Freescale Semiconductor, Inc

Part # MPC8280
Description  PowerQUICC??II Family Reference Manual
PDF  1386 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8280 Datasheet(HTML) 696 Page - Freescale Semiconductor, Inc

Back Button MPC8280 Datasheet HTML 692Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 693Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 694Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 695Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 696Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 697Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 698Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 699Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 700Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 696 / 1386 page
background image
Serial Communications Controllers (SCCs)
MPC8280 PowerQUICC II Family Reference Manual, Rev. 1
20-16
Freescale Semiconductor
20.3.3
Handling SCC Interrupts
To allow interrupt handling for SCC-specific events, event, mask, and status registers are provided within
each SCC’s internal memory map area; see Table 20-7. Because interrupt events are protocol-dependent,
event descriptions are found in the specific protocol chapters.
Follow these steps to handle an SCC interrupt:
1. When an interrupt occurs, read SCCE to determine the interrupt sources and clear those SCCE bits
(in most cases).
2. Process the TxBDs to reuse them if SCCE[TX] or SCCE[TXE] = 1. If the transmit speed is fast or
the interrupt delay is long, the SCC may have sent more than one Tx buffer. Thus, it is important
to check more than one TxBD during interrupt handling. A common practice is to process all
TxBDs in the handler until one is found with its R bit set.
3. Extract data from the RxBD if SCCE[RX], SCCE[RXB], or SCCE[RXF] is set. As with transmit
buffers, if the receive speed is fast or the interrupt delay is long, the SCC may have received more
than one buffer and the handler should check more than one RxBD. A common practice is to
process all RxBDs in the interrupt handler until one is found with RxBD[E] set.
4. Execute the rfi instruction.
Additional information about interrupt handling can be found in Section 4.2, “Interrupt Controller.”
20.3.4
Initializing the SCCs
The SCCs require that a number of registers and parameters be configured after a power-on reset.
Regardless of the protocol used, follow these steps to initialize SCCs:
1. Write the parallel I/O ports to configure and connect the I/O pins to the SCCs.
2. Configure the parallel I/O registers to enable RTS, CTS, and CD if these signals are required.
Table 20-7. SCC
x Event, Mask, and Status Registers
Register &
IMMR Offset
Description
SCCE
x
0x11A10 (SCCE1);
0x11A30 (SCCE2);
0x11A50 (SCCE3);
0x11A70 (SCCE4)
SCC event register. This 16-bit register reports events recognized by any of the SCCs. When an
event is recognized, the SCC sets its corresponding bit in SCCE, regardless of the
corresponding mask bit. When the corresponding event occurs, an interrupt is signaled to the
SIVEC register. Bits are cleared by writing ones (writing zeros has no effect). SCCE is cleared
at reset and can be read at any time.
SCCM
x
0x11A14 (SCCM1);
0x11A34 (SCCM2);
0x11A54 (SCCM3);
0x11A74 (SCCM4)
SCC mask register. The 16-bit, read/write register allows interrupts to be enabled or disabled
using the CPM for specific events in each SCC channel. An interrupt is generated only if SCC
interrupts in this channel are enabled in the SIU interrupt mask register (SIMR). If an SCCM bit
is zero, the CPM does not proceed with interrupt handling when that event occurs. The SCCM
and SCCE bit positions are identical.
SCCS
x
0x11A17 (SCCS1);
0x11A37 (SCCS2);
0x11A57 (SCCS3);
0x11A77 (SCCS4)
SCC status register. This 8-bit, read-only register allows monitoring of the real-time status of
RXD.



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