![Toshiba TX49 TMPR4937 Скачать руководство пользователя страница 275](http://html.mh-extra.com/html/toshiba/tx49-tmpr4937/tx49-tmpr4937_manual_424709275.webp)
Chapter 10 PCI Controller
10-17
The DMA transfer procedure is as follows when in the Chain DMA mode.
1. Count
Register
Setting
Sets “0” to the PDMAC Count Register (PMDCTR).
2. DMA Command Descriptor Chain Construction
Constructs the DMA Command Descriptor Chain in memory.
3. PDMAC Status Register (PDMSTATUS) Clearing
Clears any remaining status from a previous DMA transfer.
4. PDMAC Configuration Register (PDMCFG) Setting
Clears the Channel Regster bit (CHRST) and makes settings such as the data transfer
direction (XFRDIRC) and the data transfer unit size (XFRSIZE).
5. DMA
Transfer
Initiation
Setting the address of the DMA Command descriptor that is at the beginning of the Chain
List in the PDMAC Chain Address Register (PDMCA) automatically initiates DMA
transfer.
First, the values stored in each field of the DMA Command Descriptor that is at the beginning
of the Chain List are read to each corresponding PDMAC Register, then DMA transfer is
performed according to the read values.
If a value other than “0” is stored in the PDMAC Chain Address Register (PDMCA), data
transfer of the size stored in the PDMAC Count Register is complete, then the DMA
Command Descriptor value for the memory address specified by the PDMAC Chain Address
Register is read.
When the Chain Address field value reads a descriptor of “0”, the PDMAC Chain Address
Register value is not updated and the previous value (address of the Data Command
Descriptor at which the Chain Address field value is “0” when read) is held.
0 value judgement is performed when the lower 32 bits of the PDMAC Chain Address
Register are rewritten. DMA transfer is automatically initiated if the value was not “0”.
Therefore, please write to the upper 32 bits first when writing to the PDMAC Chain Address
Register using a 32-bit Store instruction.
6. Termination
Report
When DMA data transfer of all descriptor chains terminates normally, the Normal Chain
Complete bit (NCCMP) of the PDMAC Status Register is set. An interrupt is reported if the
Chain Termination Interrupt Enable bit (MCCMPIE) of the PDMAC Configuration register
(PDMCFG) is set.
Also, the Normal Data Transfer Complete bit (NTCMP) of the DPMAC Status Register is set
each time the DMA data transfer specified by a DMA Command Descriptor terminates
normally. An interrupt is reported if the Normal Data Transfer Complete Interrupt Enable bit
(NTCMPIE) of the PDMAC Configuration Register (PDMCFG) is set.
If an error is detected during DMA transfer, the error cause is recorded in the lower 5 bits of
the PDMAC Status Register and the transfer is aborted. An interrupt is then reported if the
Error Detection Interrupt Enable bit (ERRIE) of the PDMAC Configuration register is set.
Содержание TX49 TMPR4937
Страница 1: ...64 Bit TX System RISC TX49 Family TMPR4937 Rev 2 0 ...
Страница 4: ......
Страница 13: ...Table of Contents ix TMPR4937 Revision History 1 ...
Страница 14: ...Table of Contents x ...
Страница 15: ...Handling Precautions ...
Страница 16: ......
Страница 18: ...1 Using Toshiba Semiconductors Safely 1 2 ...
Страница 40: ...3 General Safety Precautions and Usage Considerations 3 18 ...
Страница 42: ...4 Precautions and Usage Considerations 4 2 ...
Страница 43: ...TMPR4937 2005 3 Rev 2 0 ...
Страница 44: ......
Страница 52: ...Chapter 1 Overview and Features 1 6 ...
Страница 156: ...Chapter 7 External Bus Controller 7 56 ...
Страница 491: ...Chapter 16 Removed 16 1 16 Removed ...
Страница 492: ...Chapter 16 Removed 16 2 ...
Страница 493: ...Chapter 17 Removed 17 1 17 Removed ...
Страница 494: ...Chapter 17 Removed 17 2 ...
Страница 495: ...Chapter 18 Removed 18 1 18 Removed ...
Страница 496: ...Chapter 18 Removed 18 2 ...
Страница 497: ...Chapter 19 Removed 19 1 19 Removed ...
Страница 498: ...Chapter 19 Removed 19 2 ...
Страница 506: ...Chapter 20 Extended EJTAG Interface 20 8 ...
Страница 529: ...Chapter 22 Pinout and Package Information 22 9 22 2 Package Dimensions P BGA484 3535 1 27B9 Unit mm ...
Страница 530: ...Chapter 22 Pinout and Package Information 22 10 ...
Страница 542: ...Chapter 24 Parts Number when Ordering 24 2 ...
Страница 544: ...Appendix A TX49 H3 Core Supplement A 2 ...