Fujitsu MB91460 SERIES Anwendungshinweis - Seite 9

Blättern Sie online oder laden Sie pdf Anwendungshinweis für Hauptplatine Fujitsu MB91460 SERIES herunter. Fujitsu MB91460 SERIES 29 Seiten. 32-bit microcontroller
Auch für Fujitsu MB91460 SERIES: Benutzerhandbuch (45 seiten), Erste Schritte (41 seiten), Anwendungshinweis (23 seiten), Anwendungshinweis (26 seiten), Anwendungshinweis (29 seiten)

Fujitsu MB91460 SERIES Anwendungshinweis

2.2.2 Multiple Transfers

The following diagram shows a standard interrupt sequence and a multiple transfer DMA
sequence:
Standard Interrupt Sequence
CPU Task
Application
Peripheral Interrupt
Service Routine
Application
Peripheral Interrupt
Service Routine
Application
Peripheral Interrupt
Service Routine
Application
For a multiple transfer the DMAC advantage is obvious. During Transfer 3 and 2 the
application is not interrupted as in the standard interrupt sequence. Only after the Transfer 1,
the interrupt service routine of the DMAC is executed.
However, it should be also noted that the DMAC shares the same bus as of CPU, hence
during the time DMA is engaged in the data transfer the CPU is either waiting for the DMA to
finish the transfer or it is executing the code from the pre-fetch queue.
© Fujitsu Microelectronics Europe GmbH
DIRECT MEMORY ACCESS
Chapter 2 Direct Memory Access
Interrupt occurs
Interrupt occurs
Interrupt occurs

Figure 2-3: Multiple Transfers

DMA Sequence
CPU Task
Application
Application
Application
Application
End of DMA interrupts Application
Application
- 9 -
DMA Task
Interrupt occurs
DMA Transfer 3
Interrupt occurs
DMA Transfer 2
Interrupt occurs
DMA Transfer 1
DMAC Interrupt
Service Routine
MCU-AN-300059-E-V11