Method and apparatus for transporting data sections using a DMA controller
In a method for transporting (DMA_TASK(n), DMA_TASK(n+1)) data sections between a memory and a peripheral, a control signal (START(n+1)), which is used to ask a DMA controller (DMA) to transport (DMA_TASK(n+1)) a data section, is transmitted to the DMA controller, and information about the data transport operation (DMA_TASK(n+1)) to be carried out is then being loaded into the DMA controller, and the data is then being transported (DMA_TASK(n+1)) using the DMA controller.
1 . A method for transporting data sections between a memory and at least one peripheral, comprising the following steps which are to be carried out in the order specified:
(a) transmitting a control signal, which is used to ask a DMA controller to transport a data section, to the DMA controller;
(b) loading information about the data transport operation to be carried out into the DMA controller; and
(c) transporting the data using the DMA controller.
2 . The method according to claim 1 , wherein
the DMA controller uses the information about the data transport operation to be carried out to perform self-configuration.
3 . The method according to claim 1 , wherein
the information about the data transport operation to be carried out contains start and destination addresses for the data to be transported and, in particular, an indication of the amount of data in the data section to be transported.
4 . The method according to claim 1 , wherein
the information about the data transport operation to be carried out contains an indication of the peripheral from which or to which a data section is transported after the data transport operation to be carried out presently has been concluded.
5 . The method according to claim 1 , wherein
the control signal, which is used to ask the DMA controller to transport the data, is generated by the peripheral involved in transporting the data.
6 . The method according to claim 5 , wherein
the peripheral transmits the control signal, which is used to ask the DMA controller to transport the data, to the DMA controller after the preceding data transport operation has been concluded.
7 . An apparatus for transporting data sections between a memory and at least one peripheral, comprising
a DMA controller for transporting data sections,
means for generating a control signal which is used to ask the DMA controller to transport a data section, and
means for generating information about the data transport operation to be carried out, which information is loaded into the DMA controller after the control signal has been fed to the DMA controller.
8 . The apparatus according to claim 7 , wherein
the DMA controller has means for configuring the DMA controller using the information about the data transport operation to be carried out.
9 . The apparatus according to claim 7 , wherein
the information about the data transport operation to be carried out contains start and destination addresses for the data to be transported and, in particular, an indication of the amount of data in the data section to be transported.
10 . The apparatus according to claim 7 , wherein
the information about the data transport operation to be carried out contains an indication of the peripheral from which or to which a data section is transported after the data transport operation to be carried out presently has been concluded.
11 . The apparatus according to claim 7 , wherein
the peripheral which is involved in transporting the data comprises the means for generating the control signal.
12 . The apparatus according to claim 11 , wherein
the peripheral transmits the control signal to the DMA controller after the preceding data transport operation has been concluded.
13 . A method for transporting data sections between a memory and at least one peripheral, comprising the following steps which are to be carried out in the order specified:
(a) transmitting a control signal, which is used to ask a DMA controller to transport a data section, to the DMA controller, wherein the control signal is generated by the at least one peripheral involved in transporting the data and wherein the peripheral transmits the control signal to the DMA controller after a preceding data transport operation has been concluded,
(b) loading information about the data transport operation to be carried out into the DMA controller; and
(c) transporting the data using the DMA controller.
14 . The method according to claim 13 , wherein
the DMA controller uses the information about the data transport operation to be carried out to perform self-configuration.
15 . The method according to claim 13 , wherein
the information about the data transport operation to be carried out contains start and destination addresses for the data to be transported and, in particular, an indication of the amount of data in the data section to be transported.
16 . The method according to claim 13 , wherein
the information about the data transport operation to be carried out contains an indication of the peripheral from which or to which a data section is transported after the data transport operation to be carried out presently has been concluded.