MSC8113 Reference Manual, Rev. 0
25-40
Freescale Semiconductor
Ethernet Controller
Interrupt handler actions are as follows:
If an interrupt occurs, read IEVENT to determine interrupt sources. IEVENT bits to be
handled in this interrupt handler are normally cleared at this time.
Process the TxBDs to reuse them if the IEVENT[TXB or TXF] is set. If the transmit speed
is fast or the interrupt delay is long, the Ethernet controller may have sent more than one
transmit buffer, so it is important to check more than one TxBD during interrupt handling.
A common practice is to process TxBDs in the handler until one is found with R set. See
Table 25-13.
Obtain data from the RxBD if IEVENT[RXC, RXBn, or RXFn] is set. If the receive speed
is fast or the interrupt delay is long, the Ethernet controller may have received more than
one receive buffer, so it is important to check more than just one RxBD during interrupt
handling. Typically, all RxBDs in the interrupt handler are processed until one is found
with E set. Because the Ethernet controller prefetches BDs, the BD table must be big
enough that there is always another empty BD to prefetch. See Table 25-14.
Clear any set halt bits in TSTAT and RSTAT registers, or DMACTRL[GTS] and
DMACTRL[GRS] and continue normal execution.
Table 25-13. Non-Error Transmit Interrupts
Interrupt
Description
TXB
Transmit buffer: A TxBD that is not the last one in the frame was updated.
TXF
Transmit frame: A frame was transmitted and the last TxBD of that frame was updated.
GTSC
Graceful transmit stop complete: transmitter is put into a pause state after completion of the frame being
transmitted.(GTS can be asserted by setting DMACTRL[GTS] bit)
TXC
Transmit control: Instead of the next transmit frame, a control frame was sent.
Table 25-14. Non-Error Receive Interrupts
Interrupt
Description
Action Taken by Ethernet
Controller
GRSC
Graceful receive stop complete: Receiver is put into a pause state after
completion of the frame being received.
None
RXC
Receive control: A control frame was received. As soon as the transmitter
finishes sending the current frame, a pause operation is performed.
None.
RXB
Receive buffer: An RxBD that is not the last one of the frame was updated.
RXF
Receive frame: A frame was received and the last RxBD of that frame was
updated.
Summary of Contents for MSC8113
Page 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Page 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Page 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Page 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Page 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Page 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Page 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Page 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Page 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Page 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Page 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Page 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Page 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Page 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Page 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Page 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Page 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Page 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Page 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Page 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...