337
15.6 DMAC Transfer Modes
■
Burst Transfer Mode
1. The initialization routine sets the descriptor.
2. The program initializes the DMA transfer request source. To use the internal peripheral
circuit as the transfer request source, enable interrupt requests and disable interrupts in the
ICR of the interrupt controller.
3. The program sets the target DOEn bit of the DACSR to 1.
--- This completes the setting for DMA. ---
4. Upon detection of a DMA transfer request input, the DMAC requests bus control right from
the CPU.
5. When the bus control right is transferred from the CPU, the DMAC accesses three words of
information of the descriptor through the bus.
6. While decrementing DMACT, the DMAC performs a transfer based on the information stored
in the descriptor as many times as specified by DMACT. The DMAC outputs a transfer
request acknowledgment signal during data transfer (if external transfer request input is
used). When the decremented DMACT reaches 0, the DMAC outputs a transfer end signal
during data transfer.
7. The DMAC increments or decrements SADR or DADR and writes the result together with the
DMACT value back to the descriptor.
8. The DMAC returns the bus control right to the CPU.
9. The DMAC sets DACSR DEDn to 1 and causes an interrupt to the CPU if interrupts have
been enabled.
The number of minimum required cycles per transfer is shown below (on the assumption that
the descriptor is stored in built-in RAM, data is transferred between external busses and the
data length is counted in bytes):
•
When both transfer source and destination addresses are fixed: (6 + 5 × n) cycles
•
When either the transfer source or destination address is fixed: (7 + 5 × n) cycles
•
When both transfer source and destination addresses are incremented or decremented: (8+
5 × n) cycles
Содержание MB91F109
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...
Страница 4: ......
Страница 10: ...vi ...
Страница 24: ...xx ...
Страница 95: ...71 2 10 Operation Mode MODR writing RSTX reset MD2 1 0 BW1 and BW0 of AMD0 to AMD5 Bus width specification ...
Страница 96: ...72 CHAPTER 2 CPU ...
Страница 224: ...200 CHAPTER 4 BUS INTERFACE ...
Страница 234: ...210 CHAPTER 5 I O PORTS ...
Страница 268: ...244 CHAPTER 9 U TIMER ...
Страница 290: ...266 CHAPTER 10 UART ...
Страница 314: ...290 CHAPTER 12 16 BIT RELOAD TIMER ...
Страница 322: ...298 CHAPTER 13 BIT SEARCH MODULE ...
Страница 392: ...368 CHAPTER 16 FLASH MEMORY ...
Страница 432: ...408 APPENDIX E Instructions F Table E 2 Instruction Formats OP rel11 5 11 ...
Страница 448: ...424 APPENDIX E Instructions ...
Страница 449: ...425 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 458: ...434 INDEX ...
Страница 460: ......
Страница 461: ...FUJITSU SEMICONDUCTOR FR30 32 Bit Microcontroller MB91F109 Hardware Manual ...