Interrupts; Transfer Stall Detection Function - Toshiba TX49 TMPR4937 Manual

64-bit tx system risc
Table of Contents

Advertisement

8.3.12

Interrupts

An interrupt number (10 – 13) of the Interrupt Controller is mapped to each channel. In addition,
there are completion interrupts for when transfer ends normally and error interrupts for when transfer
ends abnormally for each channel. When an interrupt occurs, then the bit that corresponds to either the
Normal Interrupt Status field (DIS[3:0]) or the Error Interrupt Status field (EIS[3:0]) of the DMA
Master Control Register (DMMCR) is set.
Figure 8.3.6 shows the relationship between the Status bit and Interrupt Enable bit for each interrupt
cause. Refer to the explanation for each Status bit for more information regarding each information
cause.
DMCSRn.NCHNC
DMCSRn.NTRNFC
DMCSRn.STLXFER
DMCSRn.CFERR
DMCSRn.CHERR
DMCSRn.DESERR
DMCSRn.SORERR
8.3.13

Transfer Stall Detection Function

If the period from when a certain channel last performs internal bus access to when the next internal
bus access is performed exceeds the Transfer Stall Detection Interval field (STLTIME) of the DMA
Channel Control Register (DMCCRn), the Transfer Stall Detection bit (STLXFER) of the DMA
Channel Status Register (DMCSRn) is set. An error interrupt is signalled if the Error Interrupt Enable
bit (DMCCRn.INTENE) is set.
In contrast to other error interrupts, DMA transfer is not stopped. Normal DMA transfer is executed if
bus ownership can be obtained. Furthermore, clearing the Transfer Stall Detection field (STLXFER)
resumes transfer stall detection as well.
Setting the Transfer Stall Detection Interval field (STLTIME) to "000" disables the Transfer Stall
Detection function.
DMCCRn.INTENC
DMCCRn.INTENT
DMCCRn.INTENE
DMCSRn.ABCHC
Figure 8.3.6 DMA Controller Interrupt Signal
8-21
Chapter 8 DMA Controller
DMMCR.DIS[n]
Interrupt Controller
(Interrupt No. 10 – 13)
DMMCR.EIS[n]

Advertisement

Table of Contents
loading

Table of Contents