Direct Memory Access

By initializing and dynamically adjusting the channel register group of the direct memory access circuit in the electronic system, the problems of low data transmission efficiency and high load of the central processing unit in the existing technology are solved, and more efficient and flexible data transmission is achieved to adapt to the system state. change.

CN111752878BActive Publication Date: 2024-09-24STMICROELECTRONICS (GRENOBLE 2) SAS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010231252.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-03-29
Filing Date
2020-03-27
Publication Date
2024-09-24
Estimated Expiration
2040-03-27

AI Technical Summary

Technical Problem

Existing direct memory access methods have the problems of low data transmission efficiency and high load on the central processing unit in electronic systems, and lack flexibility to adapt to changes in system status.

Method used

By initializing the channel register group of the direct memory access circuit, and under the control of the central processing unit, adjusting the transmission cycle according to the system status and generating signals to pause or continue data transmission, dynamic adjustment of data transmission paths and parameters is achieved.

Benefits of technology

It improves the flexibility and efficiency of data transmission, reduces the load on the central processing unit, adapts to system status changes, and enhances the operational fluency of electronic systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111752878B_ABST
    Figure CN111752878B_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to direct memory access. A register group of a channel of a direct memory access circuit is initialized. A transfer cycle is performed according to the configuration of the register group, and a register from a memory is updated. At each transfer cycle, an operation is performed according to a first field of the register group to continue execution or to generate a first signal and suspend execution. In response to each time a central processing unit receives the first signal, one of the following operations is performed: a second signal is generated; or the content of the register group is modified and / or a first item representing the next update of the register group is recorded in the memory. Then a second signal is generated.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority from French patent application No. 1903407 filed on March 29, 2019, the contents of which are incorporated herein by reference in their entirety to the maximum extent permitted by law. Technical Field

[0003] The present disclosure relates generally to electronic systems, and more particularly to electronic systems that implement data transfers via direct memory access (DMA). Background Art

[0004] Direct memory access is a method usually implemented by a direct memory access circuit that allows data transfer between elements (peripherals, memory) of an electronic system without involving a central processing unit (CPU), but without initializing and ending a series of transfer cycles. The parameters of a series of transfer cycles are determined by a linked list of entries recorded in a memory of the system. Each entry then determines the parameters of one or more data transfers of a corresponding transfer cycle in the series of transfer cycles.

[0005] There is a need in the art to overcome all or part of the disadvantages of known direct memory access methods. Summary of the invention

[0006] In one embodiment, a method is implemented by a system including a direct memory access circuit, a central processing unit and a memory, wherein the method includes: a) initializing a register group of a channel of the direct memory access circuit; b) executing a transfer loop on the above-mentioned channel, each of the transfer loops in the above-mentioned transfer loops including at least one data transfer configured by the content of the register group, and updating the content of the register group from the above-mentioned memory; c) at each loop in the above-mentioned loops, according to at least one first field of the register group, c1) continuing to execute the transfer loop on the above-mentioned channel, or c2) generating a first signal and suspending execution of the transfer loop on the above-mentioned channel; d) each time the central processing unit receives the first signal, according to the state of the system, d1) generating a second signal, or d2) modifying the content of the register group and / or recording a first item representing the next update of the register group into the memory, and then generating a second signal; and e) each time the direct memory access circuit receives the second signal, continuing to execute the above-mentioned transfer loop on the above-mentioned channel.

[0007] According to one embodiment, step a) comprises programming the register set by the central processing unit.

[0008] According to one embodiment, at step d2), the central processing unit reads a second field of the register group, the second field indicating a first address in the memory, at which a second item representing a next update of the register group is recorded.

[0009] According to one embodiment, at step d2), the central processing unit does not modify the content of the register group, and records the first entry at the above-mentioned first address.

[0010] According to one embodiment, at step d2), the central processing unit programs the content of the register set.

[0011] According to one embodiment, at step d2), programming of the content of the register set is performed based on the first item without recording the first item into the above-mentioned memory.

[0012] According to one embodiment, the direct memory access circuit deactivates the above-mentioned channel at step c2) and activates the above-mentioned channel when it receives the second signal at step d2).

[0013] According to one embodiment, at step d2), the second signal is generated by a central processing unit.

[0014] According to one embodiment, at step d2), the central processing unit programs another channel of the direct memory access circuit so that the other channel records the first item into the memory and generates a second signal after recording the first item into the memory.

[0015] According to one embodiment, at step d2), the central processing unit reads a second field of the register group, the second field indicating a first address in the memory, where a second item representing a next update of the register group is recorded.

[0016] According to one embodiment, at step d2), the central processing unit programs the second channel so that the above-mentioned first item is recorded at the above-mentioned first address.

[0017] According to one embodiment, the first signal is generated by a direct memory access circuit.

[0018] According to one embodiment, the first item is an initial item of a linked list of items and preferably, at step d2), each item of said list after the initial item is recorded into the memory.

[0019] An embodiment provides an electronic system, which includes a memory, a central processing unit, and a direct memory access circuit including at least one data transmission channel, and the system is configured to implement the above method. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The foregoing and other features and advantages will be discussed in detail below in the non-limiting description of specific embodiments in conjunction with the accompanying drawings, in which:

[0021] Figure 1 An embodiment of an electronic system of the type to which the described embodiments are applied as an example is schematically shown in block form;

[0022] Figure 2 is a timing diagram illustrating an embodiment of a method of transferring via direct memory access;

[0023] Figure 3 Shows Figure 2 implementation of the method;

[0024] Figure 4 Shows Figure 2 Another embodiment of the method; and

[0025] Figure 5 Shows Figure 2 Another embodiment of the method. DETAILED DESCRIPTION

[0026] In different drawings, the same elements are assigned the same reference numerals. In particular, structural and / or functional elements common to different embodiments may be designated with the same reference numerals and may have the same structure, size and material properties.

[0027] For the sake of clarity, only those steps and elements useful for understanding the described embodiments are shown and described in detail. In particular, the details of implementing data transmission via the data transmission channel of the direct memory access circuit are not described, especially the details of managing the request to access the bus or memory and confirming such request, and the described embodiments are compatible with conventional direct memory access data transmission. In addition, various parameters currently used to define one or more data transmissions performed during a cycle of data transmission on the channel of the direct memory access circuit are not described in detail, and the described embodiments are compatible with such conventional parameters. In addition, various electronic systems that provide direct memory access circuits are not described in detail, and the described embodiments are compatible with such conventional electronic systems.

[0028] Throughout this disclosure, the term "connected" is used to specify a direct electrical connection between circuit elements without intervening elements other than conductors, while the term "coupled" is used to specify an electrical connection between circuit elements, either directly or via one or more other elements.

[0029] In the following description, when referring to terms that modify absolute positions such as terms "front", "back", "top", "bottom", "left", "right", etc., or terms that modify relative positions such as terms "above", "below", "above", "lower", etc., or terms that modify directions such as terms "horizontal", "vertical", etc., unless otherwise specified, reference is made to the orientation of the accompanying drawings.

[0030] The terms "about," "approximately," "substantially," and "on the order of" are used herein to designate a tolerance of plus or minus 10%, preferably a tolerance of plus or minus 5%.

[0031] Attached Figure 1 An embodiment of an electronic circuit or system 1 is shown very schematically in block form, the embodiment to be described applying an electronic circuit or system 1 of this type as an example.

[0032] The electronic system 1 includes: a central processing unit 11 (CPU), such as a state machine, a microprocessor, a programmable logic circuit, etc.; one or more memories, at least one of which is a RAM 12 (MEM) of the SRAM type, for example; at least one input / output interface 13 (I / O) of the serial bus type for communicating with the outside of the system 1; a direct memory access circuit 14 (DMA); and one or more data, address and / or control buses between different elements within the system 1, shown here in the form of a single bus 15.

[0033] Furthermore, the system 1 may integrate other functions indicated by the box 16 (FCT), such as a processor dedicated to image processing, other interfaces, other memories, etc., depending on the application.

[0034] The system 1 is configured to execute various applications such as image processing, encoding and / or video decoding, processing data originating from sensors, etc. Such applications require data transfer between elements inside the system 1 via the bus 15. In order to streamline the operation of the system 1 and reduce the load on the central processing unit 11, such data transfer is performed by direct memory access via the circuit 14.

[0035] In this embodiment, the circuit 14 includes a plurality of data transmission channels, and for each channel, a channel configuration register set. Each channel of the circuit 14 enables execution of a data transmission cycle between two elements (circuits and / or memories) of the system 1. Each cycle includes one or more data transmissions whose parameters are determined by the current contents of the configuration register set, and updates the register set to obtain the parameters of the data transmission of the next cycle. During the last transmission cycle, updating the configuration register set may be omitted. In addition, the data transmission of a transmission cycle may correspond to an empty transmission without data transmission.

[0036] When an application has to be executed by the system 1, the central processing unit 11 allocates a channel of the circuit 14 to the application. For this purpose, the central processing unit 11 programs or initializes the configuration register set of an idle channel (i.e., a channel that has not yet been allocated to an application) of the circuit 14, so that the circuit 14 reserves the channel for the application. Once the central processing unit 11 has programmed the channel configuration register set, a plurality of data transfer cycles of the application are executed continuously on the channel.

[0037] Attached Figure 2 It is shown in block form, for example, by attaching Figure 1 A flow chart of a method of an embodiment implemented by system 1 for performing data transmission via direct memory access.

[0038] At an initial step 200 (block "Initialize register set"), a channel of the circuit 14 is allocated to an application by programming the configuration register set associated with this channel. This programming is performed by the central processing unit 11.

[0039] More particularly, at step 200, the first field C-@ of the register set is programmed with information representing an address in the memory of the system 1, preferably, information representing an address in the memory 12 of the system 1. The address corresponds to the memory address of the first item (i.e., the initial item of the linked list) in which the linked list of items is recorded. Other items in the linked list are also recorded in the memory. The linked list defines a corresponding series of transmission cycles of the application program. In fact, the linked list of items is a linked list of data structures. In the described embodiment, each item in the linked list of items represents an update of the channel configuration register set. Each item in the linked list of items determines the memory address of the next item in the list. In addition, each item in the linked list of items determines the parameters of the (one or more) data transmission of the transmission cycle corresponding to the item.

[0040] Furthermore, at step 200, the central processing unit 11 programs the second field C-sig1 of the register set associated with the channel. The function of the field C-sig1 will be described in conjunction with the next step of the method.

[0041] Furthermore, at step 200, the central processing unit 11 programs the third field C-param of the register set. The field C-param represents the parameters of the (one or more) data transmissions of the next data transmission cycle implemented on the channel. As an example, the parameters of the (one or more) data transmissions of the transmission cycle include an indication of the (one or more) data transmissions involving data or data blocks, an indication of the starting address of the address range of the source storing the data or data blocks to be transmitted, an indication of the starting address of the address range of the destination to which the data or data blocks to be transmitted should be copied, an indication of the number of data or data blocks to be transmitted, an indication of the size of the data, an indication of the number of data per block, an indication of the address offset between two consecutive data to be transmitted or between two consecutive blocks, etc. Therefore, each item in the linked list of items, and therefore each transmission cycle implemented on the channel, can therefore correspond to the transmission of one or more data or one or more data blocks between the source and the destination.

[0042] Preferably, the register set can only be programmed by the central processing unit 11 when the corresponding channel is in a deactivated state or in other words in an unassigned state. The assigned or unassigned state of a channel is determined by the circuit 14.

[0043] The register set associated with a channel may include other fields in addition to the fields described above.

[0044] At the end of the initialization step 200, the central processing unit 11 provides an activation signal to the circuit 14. When the circuit 14 receives the activation signal, the central processing unit 11 puts the channel into an activated state, or in other words, into an allocated state.

[0045] The method is marked at the next step 202 (box "Transfer(s)"), for example the start of a transfer cycle. At step 202, the circuit 14 performs a data transfer on the allocated channel, the data transfer being parameterized by the current content of the register set of the channel, in particular by the field C-param of the register set.

[0046] At the next step 210 (box "Next LLI?"), the circuit 14 determines whether the current transmission cycle is the last transmission cycle of the application based on the content of the register set. As an example, when the field C-@ of the register set is at a zero value, for example, when the bits forming the field C-@ are all logic '0', this means that the current transmission cycle is the last transmission cycle of the application.

[0047] In the case where the current transmission cycle is the last cycle of the application (output of block 210 is N), at the next step 212 (block "end"), the circuit 14 releases or deactivates the channel and generates a signal for the central processing unit to indicate to it that the channel is free. The method then ends. The method can be implemented again by allocating the channel to the application at a new step 200.

[0048] In the case where the application comprises the next transmission cycle (output of block 210 is Y), for example when field C-@ is a non-zero value indicating the memory address of an entry corresponding to an update of a register group, at the next step 214 (block "Update"), the register group is updated based on this entry.

[0049] At the next step 204 (block "C-sig1"), the circuit 14 reads the field C-sig1 of the register set, i.e., the current content of the field C-sig1. The field C-sig1 represents an indication of whether the circuit 14 should generate the signal sig1. As an example, the field C-sig1 of the register set and / or one or more other fields also indicate which signal sig1 should be generated and / or when the signal sig1 should be generated in the current transmission cycle.

[0050] If the field C-sig1 indicates that the signal sig1 should not be generated (output of block 204 is N), the method continues at the next step 208 (block "sig2?").

[0051] If the field C-sig1 indicates that the signal sig1 should be generated (output of block 204 is Y), the method continues at the next step 206 (block “generate sig1”). At step 206 , the circuit 14 generates the signal sig1 . After step 206 , the method continues at step 208 .

[0052] At step 208 , the circuit 14 verifies, for example based on the content of the register set read at step 204 , whether the signal sig2 should be received by the circuit 14 before continuing to execute the transmission cycle on the channel.

[0053] If the signal sig2 is not received before the execution of the transmission cycle is continued (output of block 208 is N), the method continues at step 202, for example marking the start of a new transmission cycle. At step 202, the circuit 14 performs on the assigned channel (one or more) data transfers parameterized by the current contents of the register set of the channel, which current contents are updated, for example, during the last step 214 according to the items of the linked list of items.

[0054] If the signal sig2 is to be received before continuing the transmission cycle on the channel, the method continues at step 209 (block "Received sig2?"). At step 209, the circuit 14 verifies whether it has received the signal sig2. As long as the signal sig2 has not been received (the output of block 209 is N), step 209 is repeated. When the signal sig2 has been received (the output of block 209 is Y), the method continues at step 202.

[0055] The provision of the signal sig1 and the signal sig2 enables the execution of a transfer cycle of the application program on the channel to be suspended until the circuit 14 receives the signal sig2.

[0056] It is assumed here that, at least for some transmission cycles, a signal sig1 is generated for the central processing unit 11 and that, after having received the signal sig1, the central processing unit 11 modifies or does not modify the next transmission cycle provided on the channel according to the state of the system 1. Then, the central processing unit generates or triggers the generation of a signal sig2 so that the transmission cycle continues to be performed on the channel. By way of example, the central processing unit 11 determines the state of the system 1 by means of the content of one or more status registers and / or receiving one or more interrupt signals from various elements of the system and / or connected to the system 1.

[0057] More specifically, when the central processing unit receives the signal sig1 and determines that the next transmission cycle on the channel should be modified, the central processing unit 11 modifies the content of the configuration register set and / or records the item representing the next update of the register set into the memory. This modification of the content of the register set and / or the address of the item recorded makes it possible to subsequently implement one or more transmission cycles on the channel that are different from those provided.

[0058] Preferably, when the central processing unit 11 records the items representing the updates of the register set and / or modifies all or part of the contents of the register set so that one or more next transmission cycles different from the provided transmission cycle are implemented, a plurality of items corresponding to a plurality of consecutive updates of the register set are recorded in the memory. These items are then recorded in the form of a linked list of items corresponding to the future transmission cycles of the application to be implemented on the channel.

[0059] Therefore, the attached Figure 2The method enables, by means of a synchronization signal formed by the signal sig1 generated by the circuit 14 and the received signal sig2, that when executing the same application, the future transmission cycle initially provided is not executed and is replaced by another future transmission cycle. Therefore, when executing the same application, at least two possible futures or branches can be provided in terms of data transmission for executing the application. The central processing unit 11 performs the selection of one or another of these futures at step 209 according to the state of the system 1. The possibility of providing a plurality of possible executions in terms of the transmission cycle of the application, and the possibility of selecting between possible executions according to the state of the system 1, enables the execution of the application to adapt to the state of the system.

[0060] Although not described in detail here, preferably each possible execution of the application is known in advance and is determined or defined, for example, in a boot program of the system 1, which is for example the first program executed by the system when the system 1 is powered on or reset.

[0061] According to an embodiment, the signal sig1 is the same for all transmission cycles in which the signal sig1 is generated, and then the signal sig1 is generated for the central processing unit 11. In this case, each time the signal sig1 is generated, the same signal sig2 should be provided by the central processing unit 11 and received by the circuit 14 before continuing to execute the transmission cycle. In these embodiments, the circuit 14 reads the field C-sig1 to enable the determination whether step 209 should be implemented, and to determine which signal sig2 is expected at this step. In such an embodiment, steps 208 and 204 can be performed simultaneously, and then step 209 is implemented directly after step 206.

[0062] According to other embodiments, the register set includes a field C-sig2 indicating whether the signal sig2 should be received during the current transmission cycle before continuing to execute the transmission cycle on the channel. In this case, the field C-sig2 and / or one or more other fields of the register set can indicate when the signal sig2 should be received in the current cycle and / or which signal sig2 should be received.

[0063] More generally, the attached Figure 2The order of the method and / or the number of steps. For example, step 210 and steps 212 and 214 associated therewith may be provided after step 204 and step 208 and steps 206 and 209 associated therewith. According to another example, steps 204 and step 208 and steps 206 and 209 associated therewith may be provided before the transmission step 202. The order of the above steps is determined, for example, by the field C-sig1 and / or by one or more other fields of the register group, which indicate when the signal sig1 should be generated in the current transmission cycle, for example, before or after the step 214 of updating the register group. The order of the above steps is determined, for example, by the field C-sig2 and / or by one or more other fields of the register group, which indicate when the signal sig2 should be received in the current transmission cycle.

[0064] Although this has not been described above, it can be assumed that the current transmission cycle is repeated. For example, the register set may include a field indicating that the data transmission of the current transmission cycle should be repeated. In this case, step 214 can be omitted when the transmission cycle is repeated. According to another example, in order to repeat the transmission cycle, the field C-@ of the register set contains the memory address of the item corresponding to the last update of the register set, that is, the item points to itself. In this case, as long as the field C-@ is not modified to indicate an address other than the address of this item, the next update of the register set is performed from this item.

[0065] Now we will combine the Figure 3 , Attachment Figure 4 and attached Figure 5 Different embodiments of the above method are described in more detail.

[0066] Attached Figure 3 Shown is the attached Figure 2 An example of a first implementation of the method, in this example, the first implementation is provided by Figure 1 1 and more particularly on a channel of circuit 14 (DMA) called channel-1.

[0067] In a first embodiment, in order to modify the next transmission cycle, the central processing unit 11 reads the field C-@ to obtain the address of the next item of the linked list of items corresponding to a series of transmission cycles performed on the channel. After the central processing unit 11 programs (records) this address, a new item is then recorded in the memory at this address, the new item being, for example, the first item in the linked list of new items.

[0068] In this example, the signal sig1 is the same for all transmission cycles in which the signal sig1 is generated, and the signal sig1 is generated for the central processing unit 11. Furthermore, in this example, each time the signal sig1 is generated, the circuit 14 expects the same signal sig2 provided by the central processing unit 11. In this example, the register set does not include the field C-sig2, then step 208 is performed simultaneously with step 204, and step 209 is performed directly after step 206.

[0069] At time t0, the central processing unit 11 (CPU) initializes the register set of channel-1 (step 200). In particular, the central processing unit 11 programs the field C-@ of the register set so that its content represents the address LLI(0)-@ of the memory 12 (MEM). The address LLI(0)-@ corresponds to the address in the memory 12 of the first item LLI(0) of the first linked list of items recorded in the memory 12.

[0070] At the next time t1 , the central processing unit 11 delivers the signal enable-channel- 1 to the circuit 14 , and then the circuit 14 activates the channel- 1 channel.

[0071] Then, starting from the next time t2, the circuit 14 performs a data transfer parameterized by the current content of the register set associated with the channel for channel-1 (step 202). The data transfer of the first transfer cycle of the application is, for example, a null transfer.

[0072] Then, the circuit 14 verifies whether the current transmission cycle is the last cycle of the application program based on the content of the register set, for example after reading the register set field C-@ (step 210, in the attached Figure 3 In this example, the current transfer cycle is not the last transfer cycle of the application.

[0073] At the next time t3, the circuit 14 then updates the register set at the address LLI(0)-@ indicated by the field C-@ based on the entry LLI(0) read from the memory 12 (step 214). In the present example, after step 214, the field C-@ of the register set indicates the address LLI(1)-@ of the next entry LLI(1) of the first list LLI in the memory 12 ("C-@=LLI(1)-@").

[0074] After step 214, circuit 14 reads field C-sig1 to determine whether it should generate signal sig1 (step 204, in the attached Figure 3). As an example, it is considered here that the transmission cycle corresponding to the items of the first list LLI is performed uninterruptedly until the transmission cycle corresponding to the item LLI(N) of the first list. In other words, in this example, before the transmission cycle corresponding to the item LLI(N) of the list LLI, the circuit 14 does not generate the signal sig1, and the circuit 14 does not expect the signal sig2.

[0075] Therefore, at the next time t4 , the circuit 14 performs on the channel- 1 channel (step 202 ) the data transfer(s) parameterized by the current content of the register set, ie here by the entry LLI( 0 ) of the first list LLI.

[0076] At the next time t5, after having determined that the current transmission cycle is not the last cycle of the application (step 210, not shown), the circuit 14 updates the register set of the channel-1 channel based on the entry LLI(1) read from the memory 12 at the address LLI(1)-@ indicated by the field C-@ (step 214). After this update, the field C-@ of the register set indicates the address LLI(2)-@ of the next entry LLI(2) in the memory 12 ("C-@=LLI(2)-@").

[0077] Thus, a plurality of transmission cycles are continuously implemented until time t6.

[0078] At the next time t6, after having determined that the current transmission cycle is not the last cycle of the application (step 210, not shown), the circuit 14 updates the register set associated with the channel-1 channel based on the entry LLI(N-1)-@ read at the address LLI(N-1)-@ indicated by the field C-@ (step 214). After step 214, the field C-@ of the register set of the channel-1 channel indicates the address LLI(N)-@ of the next entry LLI(N) of the first list LLI ("C-@=LLI(N)-@").

[0079] Starting from the next time t7, after having determined that signal sig1 should not be generated and signal sig2 should not be received for the current transmission cycle (step 204, not shown), circuit 14 performs a data transmission (step 202) parameterized by the current content of the register group (i.e., in the present example, by entry LLI(N-1) of the first list LLI).

[0080] At the next time t8, after having determined that the current transmission cycle is not the last cycle of the application (step 210, not shown), the circuit 14 updates the register set based on the entry LLI(N) recorded at the address LLI(N)-@ indicated by the field C-@ (step 214). After step 214, the field C-@ of the register set of the channel-1 channel indicates the address LLI(N+1)-@ of the next entry LLI(N+1) of the first list LLI ("C-@ = LLI(N+1)-@").

[0081] After step 214, the circuit 14 determines whether the signal sg1 should be generated for the central processing unit 11 before continuing to execute the transmission cycle on the channel based on the current content of the field C-sig1 of the register group (step 204, not shown). In this example, the signal sig1 should be generated by the circuit 14, and the execution of the transmission cycle is suspended until the signal sig2 is received. In other words, the circuit 14 determines that the execution of the transmission cycle should be suspended based on the field C-sig1.

[0082] Therefore, at the next time t9, the circuit 14 generates a signal sig1 for the central processing unit 11 (step 206). Preferably, the signal sig1 corresponds to a pause signal TCI ("Transfer Complete Pause").

[0083] After having received the signal sig1, the central processing unit 11 determines, according to the state of the system 1, whether the next transmission cycles to be implemented are those corresponding to the first list LLI. In the present example it is considered that the next transmission cycles are not those determined by the first list LLI.

[0084] Therefore, at the next time t10, the central processing unit 11 records a new entry LLI'(N+1) at the address LLI(N+1)-@ indicated by the field C-@ of the register set. As an example, the central processing unit recovers the address LLI (N+1)-@ during reading the field C-@ of the register set. Preferably, the central processing unit 11 records in the memory 12 a second linked list LLI' of entries whose first entry corresponds to the entry LLI'(N+1), for example, a second list representing the next transmission cycle to be implemented on the channel-1 channel.

[0085] At the next time t11 , the central processing unit generates a signal sig2 , preferably the same signal enable-channel- 1 as at time t1 .

[0086] After having received the signal sig2 (step 209, not shown), the circuit 14 continues to perform the transmission cycle on the channel-1 channel.

[0087] Therefore, at the next time t12 , the circuit 14 performs a data transfer parameterized by the current content of the register set, ie here by the entry LLI(N) of the first linked list of entries (step 202 ).

[0088] At the next time t13, after having determined that the current transmission cycle is not the last cycle of the application (step 210, not shown), the circuit 14 updates the register set associated with the channel-1 channel based on the entry LLI'(N+1) at the address LLI(N+1)-@ indicated by the field C-@ recorded in the memory 12 (step 214). In the example shown, after this update, the field C-@ of the register set of the channel-1 channel indicates the address LLI'(N+2)-@ of the next entry LLI'(N+2) of the second list LLI' ("C-@=LLI'(N+2)-@").

[0089] Hence, the next transmission cycle on the channel-1 channel is no longer determined by the first list LLI but by the entry LLI'(N+1), and preferably by the second list LLI' having the entry LLI'(N+1) as the first entry.

[0090] In this first embodiment, the central processing unit 11 does not modify the contents of the register set associated with the channel-1 channel to modify the execution of the transfer cycle of the application program on the channel-1 channel. Therefore, it is useless for the circuit 14 to deactivate the channel-1 channel at step 206 and to reactivate the signal upon receipt of the corresponding signal sig2.

[0091] Although this has not yet been Figure 3 As shown in the figure, however, in the case where the central processing unit 11 determines, based on the state of the system 1, whether the next transmission cycle to be implemented are those of the first list LLI after having received the signal sig1 (time t9), then the central processing unit 11 directly generates the signal sig2 without modifying the contents of the memory 12.

[0092] Attached Figure 4 Shown is the attached Figure 2 An example of a second embodiment of the method, in this example, by the attached Figure 1 System 1 implementation.

[0093] In this second embodiment, in order to modify the next transmission cycle corresponding to the first linked list of items recorded in the memory, the central processing unit 11 directly programs the register set according to the new item. Preferably, the new item is the first item of the second list, and the other items of this second list, except the first item, are then recorded in the memory, preferably before or after the central processing unit has programmed the register set with the first item of the second list.

[0094] In this example, the signal sig1 is the same for all transmission cycles in which the signal sig1 is generated, and the signal sig1 is generated for the central processing unit 11. Furthermore, in this example, each time the signal sig1 is generated, the same signal sig2 is provided by the central processing unit 11 and is expected by the circuit 14. In this example, the register set does not include the field C-sig2, then step 208 and step 204 are performed simultaneously, and step 209 is performed directly after step 206.

[0095] Here we only describe in detail Figure 3 With attached Figure 4 The difference between.

[0096] As attached Figure 3 As shown, after time t8 and after it has been determined that signal sig1 (here, pause signal TCI) should be generated by circuit 14 and execution of the transmission cycle should be paused until signal sig2 is received, circuit 14 generates signal sig1 at step t9 (step 206). In this second embodiment, circuit 14 also deactivates channel-1 so that the central processing unit can program all or part of the contents of the register group.

[0097] After having received the signal sig1, the central processing unit 11 determines, according to the state of the system 1, whether the next transmission cycles to be implemented are those corresponding to the first list LLI. Figure 3 As shown in , the next transmission cycles are not those determined by the first list LLI.

[0098] Therefore, at the next time t10 , the central processing unit 11 directly programs the content of the register set based on the item LLI′(N) (block “Program register set”) without recording it in the memory 12 .

[0099] Preferably, the item LLI'(N) is the first item of the second linked list LLI' of items. Figure 4As shown, the next item of list LLI' is then recorded into the memory, and the central processing unit 11 programs the field C-@ according to item LLI'(N) to indicate the address LLI'(N+1)-@ of the next item LLI'(N+1) of list LLI' ("C-@=LLI'(N+1)-@").

[0100] At the next time t11, the central processing unit 11 generates a signal sig2 (enable-channel-1). When the circuit 14 receives the signal sig2, the circuit 14 activates, or more precisely reactivates, the channel-1 channel.

[0101] At the next time t12 , the circuit 14 performs a data transfer (step 202 ) parameterized by the current content of the register bank, ie here by the entry LLI′(N) programmed directly in the register bank at time t10 .

[0102] After this or these transmissions, and after having determined that the current transmission cycle is not the last transmission cycle of the application (step 210, not shown), at time t13, the circuit updates the register set based on the entry LLI'(N+1) recorded at the address LLI'(N+1)-@ indicated by the field C-@ of the register set (step 214). In the example shown, after this update, the field C-@ of the register set of the channel-1 channel indicates the address LLI'(N+2)-@ of the next entry LLI'(N+2) of the second list LLI' ("C-@=LLI'(N+2)-@").

[0103] At the next time t14, after having determined that, in this example, for the current transmission cycle, signal sig1 should not be generated and signal sig2 should not be received (steps 204 and 208, not shown), circuit 14 performs (one or more) data transmissions parameterized by the current contents of the register group (i.e., by entry LLI'(N+1) of the second list LLI') (step 202).

[0104] Although this has not yet been Figure 4 As shown in the figure, however, in the case where the central processing unit 11, after having received the signal sig1 (time t9), determines based on the state of the system 1 whether the next transmission cycle to be implemented is those of the first list LLI, the central processing unit 11 then directly generates the signal sig2 without modifying the contents of the register group.

[0105] Attached Figure 4 The embodiment of the present invention is relative to the attached Figure 3An advantage of the embodiment is that it enables replacing the entry LLI(N) corresponding to the transmission cycle in which the signal sig1 is generated by the entry LLI'(N) instead of the entry LLI(N+1), the entry LLI'(N) corresponding to the transmission cycle after the transmission cycle in which the signal sig1 is generated.

[0106] Attached Figure 5 Shown is the attached Figure 2 An example of a third embodiment of the method of Figure 1 System 1 implementation.

[0107] In a third embodiment, the field C-sig1 and possibly one or more other fields of the register set associated with each channel indicate whether the signal sig1 should be generated during the current transmission cycle, which signal sig1 is generated, and when the signal sig1 is generated. In addition, in a third embodiment, the register set associated with each channel includes a field C-sig2 and possibly one or more other fields indicating whether the signal sig2 should be received to continue the execution of the corresponding transmission cycle, when in the transmission cycle the signal sig2 should be expected, and which signal sig2. It can therefore be assumed that, at a given transmission cycle, the circuit 14 sends the signal sig1 to the central processing unit 11 and suspends the execution of the transmission cycle until the corresponding signal sig2 is received.

[0108] More specifically, in the third embodiment, when the central processing unit 11 receives the signal sig1 from the first channel, and when the next transmission cycle on the first channel should be modified, the central processing unit 11 uses the second channel of the circuit 14 to record a new item corresponding to the next transmission cycle on the first channel into the memory, and so that once the transmission on the second channel has ended, the signal sig2 is generated. Therefore, in the third embodiment, when the next transmission cycle is modified, the signal sig2 is not generated directly by the central processing unit 11, but directly by the circuit 14. However, the central processing unit 11 triggers the generation of the signal sig2 by programming the second channel in an adapted form.

[0109] At time t0, the central processing unit 11 (CPU) programs the register set of the channel-1 channel (step 200). In particular, the central processing unit 11 programs the field C-@ of the register set so that its content represents the address LLI(0)-@ of the memory 12 (MEM). The address LLI(0)-@ corresponds to the address of the first entry LLI(0) in the first linked list LLI of the entries stored in the memory 12.

[0110] At the next time t1 , the central processing unit 11 delivers the signal enable-channel- 1 to the circuit 14 (DMA), which then activates the channel- 1 channel.

[0111] Then, the circuit 14 reads the contents of the register group of the channel-1 channel, in particular the field C-sig1, to verify whether the signal sig1 should be generated (step 204, not shown), and if so (step 206, not shown), then the verification should be performed at what time in the current transmission cycle. Based on the contents of the read register group, the circuit 14 also verifies whether the signal sig2 should be received (step 208, not shown), and if so (step 209, not shown), then the verification should be performed at what time in the transmission cycle. The signals sig1 and sig2 can therefore be used to synchronize the execution time of a series of cycles transmitted on the channel-1 channel with other events occurring in the system (in particular, a transmission cycle executed on another channel of the circuit 14).

[0112] As an example, it is considered here that for the current transmission cycle, the signal sig1 should not be generated nor the signal sig2 expected to continue to perform the transmission cycle on the channel-1 channel.

[0113] Then, the circuit 14 starts from the next time t2 to perform (one or more) data transfers parameterized by the current contents of the register set associated with the channel-1 channel (step 202). As an example, during the first transfer cycle of the application, the data transfer is a null transfer.

[0114] Then, the circuit 14 determines whether the current transmission cycle is the last transmission cycle of the application program (step 210, not shown).

[0115] In this example, the current transmission cycle is not the last transmission cycle of the application. Therefore, at the next time t3, the circuit 14 updates the register set at the address LLI(0)-@ indicated by the field C-@ based on the item LLI(0) read from the memory 12 (step 214). In this example, after step 214, the field C-@ of the register set indicates the address LLI(1)-@ of the next item LLI(1) of the first list in the memory 12 ("C-@=LLI(1)-@").

[0116] Then, circuit 14 reads the contents of the register group of channel-1 channel to verify whether signal sig1 should be generated (step 204, not shown), and if so (step 206, not shown), when in the current transmission cycle it should be done, and to verify whether signal sig2 should be received (step 208, not shown), and if so (step 209, not shown), when in the transmission cycle it should be done.

[0117] As an example, it is considered here that for the current transmission cycle, the signal sig1 should not be generated, and the signal sig2 is not expected to continue to perform the transmission cycle on the channel-1 channel.

[0118] The circuit 14 then performs, starting from the next time t4 , a data transfer(s) (step 202 ) parameterized by the current content of the register set associated with the channel- 1 channel, ie here by the entry LLI( 0 ) of the first list LLI.

[0119] Then, the circuit 14 determines whether the current transmission cycle is the last transmission cycle of the application (step 210, not shown). In this example, the current transmission cycle is not the last transmission cycle of the application, and at the next time t5, the circuit 14 updates the register set based on the entry LLI(1) read from the memory 12 at the address LLI(1)-@ indicated by the field C-@ (step 214). In this example, after step 214, the field C-@ of the register set indicates the address LLI(2)-@ of the next entry LLI(2) of the first list LLI in the memory 12 ("C-@=LLI(2)-@").

[0120] Then, the circuit 14 reads the contents of the register group of the channel-1 channel to verify whether the signal sig1 should be generated (step 204, not shown), and if so (step 204, not shown), when in the current transmission cycle it should be performed, and verify whether the signal sig2 should be received (step 208, not shown), and if so (step 209, not shown), when in the transmission cycle it should be performed. As an example, it is considered here that for the current transmission cycle, the signal sig1 should be generated for the central processing unit 11 at the end of the transmission step 202, and the signal sig2 should be received before step 210 to continue executing the transmission cycle on the channel-1 channel.

[0121] Therefore, at the next time t6 , the circuit 14 performs on the channel- 1 channel (step 202 ) the data transfer(s) parameterized by the current content of the register bank, ie in the present example by the entry LLI( 0 ) of the first list LLI.

[0122] At the next time t7, the circuit 14 generates a signal sig1 for the central processing unit 11 (step 206), in this example, a signal TCI. Then, the circuit 14 waits for receiving the signal sig2 before implementing step 210. In other words, the transmission cycle on the channel-1 channel is suspended until the signal sig2 is received. Preferably, when generating the signal sig1, the circuit 14 does not deactivate the channel-1 channel.

[0123] When the central processing unit 11 receives the signal sig1, it determines whether the next transmission cycles on the channel-1 channel are those corresponding to the first list LLI, or determines whether other transmission cycles other than the transmission cycles of the list LLI should be implemented, according to the state of the system 1. Here, the case where other transmission cycles other than the transmission cycles of the first list LLI should be implemented is considered as an example.

[0124] At the next time t8, the central processing unit 11 initializes another channel of the circuit 14 (here, the channel-2 channel), that is, programs the register set associated with the channel-2 channel (step 200 for the channel-2 channel). More specifically, the central processing unit 11 programs the register set so that the channel-2 channel implements the transfer of the item LLI'(2) to the memory 12 at the address LLI(2)-@. The address LLI(2)-@ is obtained by the central processing unit, for example, when reading the field C-@ of the register set associated with the channel-1 channel. In addition, preferably, the item LLI'(2) is the first item of the linked list LLI' of items. In this case, the other items of the list LLI' are preferably recorded in the memory 12 at the same time as the item LLI'(2).

[0125] Furthermore, the central processing unit 11 programs the field C-sig1 and possibly one or more other fields of the register set associated with the channel-2 channel, so that the circuit 14 generates the signal sig1 associated with the channel-2 channel once the transmission of the item LLI'(2) to the memory 12 has ended. More specifically, the signal sig1 associated with the channel-2 channel is the signal sig2 expected by the channel-1 channel, for example, when reading the register set associated with the channel-1 channel, the central processing unit 11 has been informed of the signal sig2 expected by the channel-1 channel.

[0126] At the next time t9, the central processing unit delivers the signal enable-channel-2 to the circuit 14, and then the circuit 14 activates the channel-2 channel.

[0127] Circuit 14 then reads the contents of the register group associated with the Channel-2 channel and is informed that signal sig1 is to be generated for the current transfer cycle on the Channel-2 channel, which signal sig1 is signal sig2 of the Channel-1 channel and should be generated once item LLI'(2) has been transferred to the memory via the Channel-2 channel.

[0128] Therefore, at the next time t10, circuit 14 transfers entry LLI'(2) into the memory at address LLI(2)-@.

[0129] At the next time t11 , the circuit 14 generates the signal sig1 associated with the channel-2 channel, ie, the signal sig2 desired by the channel-1 channel.

[0130] At the next time t12, after the circuit 14 has received the signal sig2 and has determined that the current transmission cycle of the channel-1 channel is not the last transmission cycle of the application (step 210, not shown), the circuit 14 updates the register set associated with the channel-1 channel (step 214). More specifically, the circuit 14 updates the register set at the address LLI(2)-@ indicated by the field C-@ of the register set according to the entry LLI'(2) read from the memory 12. After the update, in this example, the field C-@ indicates the address LLI'(3)-@ in the memory 12 of the next entry of the list LLI', which list LLI' has the entry LLI'(2) as its first entry ("C-@=LLI'(3)-@").

[0131] Then, the circuit 14 reads the contents of the register group of the channel-1 channel to verify whether the signal sig1 should be generated (step 204, not shown), and if so (step 206, not shown), when in the current transmission cycle it should be performed, and verify whether the signal sig2 should be received (step 208, not shown), and if so (step 209, not shown), when in the transmission cycle it should be performed. As an example, it is considered here that for the current transmission cycle, the signal sig1 should not be generated and the signal sig2 is not expected to continue to execute the transmission cycle on the channel-1 channel.

[0132] At the next time t13 , the circuit 14 performs on the Channel- 1 channel (step 202 ) the data transfer(s) parameterized by the current contents of the register set associated with the Channel- 1 channel, ie here by the entry LLI′( 2 ) .

[0133] In the third embodiment, the central processing unit 11 does not modify the contents of the register set associated with the channel-1 channel to modify the execution of the transfer cycle of the application on the channel-1 channel. Therefore, the channel-1 channel always remains activated and allocated during the execution of the application.

[0134] In addition, compared with the first and second embodiments, in the third embodiment, in addition to using field C-sig1 and field C-sig2 to modify a series of transmission cycles executed on the channel according to the state of system 1 at at least one transmission cycle, field C-sig1 and field C-sig2 can also be used to synchronize the execution of the transmission cycle on the channel with events occurring in system 1.

[0135] Furthermore, in the third embodiment, the central processing unit 11 does not have to access the memory to insert the entry LLI'(N) replacing the entry LLI(N) for programming the channel-1 channel, the auxiliary channel-2 channel performing the memory access. In other words, the central processing unit 11 does not have to manage the memory access and the time restrictions that may be associated with such memory access. However, due to the signal sig2 issued by the auxiliary channel-2 channel, it is ensured that the application to which the channel-1 channel is assigned can only resume execution after the channel-2 channel has written the linked list entry regulating the next transmission of the application to the memory.

[0136] Although this has not yet been Figure 5 , but in the case where the central processing unit 11 determines whether the next transmission cycle to be implemented is a transmission cycle of the first list LLI according to the state of the system 1 after having received the signal sig1 (time t7), the central processing unit initializes the channel 2 channel so that the transmission performed at time t10 is an empty transmission, but the signal sig2 expected by the channel-1 channel is still generated by the channel 2 channel at the end of the empty transmission. In this case, the item LLI (2) of the list LLI recorded at the address LLI (2)-@ is not replaced by the item LLI'(2).

[0137] Although not yet combined with Figure 2 , Attachment Figure 3 and attached Figure 4 This is described, but when an item based on the linked list of items updates all or part of the contents of a register group, the item includes information representing all or part of the fields of the updated register group, in particular information of the field C-para that determines the (one or more) data transmissions of the next transmission cycle.

[0138] Various embodiments and variants have been described. Those skilled in the art will appreciate that certain features of these various embodiments and variants may be combined and that those skilled in the art will recognize other variants. In particular, a first embodiment and a second embodiment have been described in which the content of the field C-sig1 between two transmission cycles of a series of transmission cycles executed on a channel may be different, i.e., for each cycle, the execution of the transmission cycle may be paused, or not, depending on the content of the field C-sig1. It may be assumed that the content of the field C-sig1 is the same for all transmission cycles of the application, for example, if the field C-sig1 belongs to a static register of the corresponding configuration and the content of the status register cannot be modified when updating the register group from the memory. In this variant, the execution of the transmission cycle of the application may be interrupted, for example, for each transmission cycle, or may never be interrupted, depending on the field C-sig1.

[0139] Furthermore, the first embodiment and the second embodiment can be applied to the circuit 14 including a single channel.

[0140] Finally, based on the functional indications given above, the actual implementation of the described embodiments and variants is within the capabilities of a person skilled in the art. In particular, based on the functional indications given above, determining the data structure of each item of the linked list of items and / or the number and size of registers of the configuration register set will be within the capabilities of a person skilled in the art. Figure 1 It would be within the capabilities of those skilled in the art to implement the described embodiments in systems other than system 1.

[0141] Such changes, modifications and improvements are intended to be part of this disclosure and are intended to fall within the spirit and scope of the present invention. Therefore, the foregoing description is only exemplary and is not intended to be restrictive. The present invention is limited only in the following claims and their equivalents.

Claims

1. A method implemented by a system, the system comprising direct memory access circuitry, a central processing unit, and a memory, the method comprising: a) initializing a register group of a data transmission channel of the direct memory access circuit; b) executing transfer cycles on the data transfer channel, each of the transfer cycles comprising at least one data transfer configured by the contents of the register group, and an update of the contents of the register group from the memory; c) at each cycle of the transmission cycle, in response to a signal generation indication in at least one first field of the register group, generating a first signal and suspending the execution of the transmission cycle on the data transmission channel; d) in response to receipt of the first signal by the central processing unit, further operating while execution of the transfer cycle is suspended by performing at least one of: modifying the contents of the register set, and recording a first entry representing a next update of the register set into the memory, and then generating a second signal; as well as e) in response to receipt of the second signal by the direct memory access circuit, continuing the execution of the transfer cycle on the data transfer channel.

2. The method of claim 1, wherein step a) comprises programming the register set by the central processing unit.

3. The method according to claim 1, wherein step d) further comprises reading, by the central processing unit, a second field of the register group, the second field indicating a first address in the memory, and a second item representing a next update of the register group is recorded at the first address.

4. The method of claim 3, wherein step d) further comprises not modifying the contents of the register bank by the central processing unit, and recording the first entry at the first address. The method of claim 3 , wherein generating the second signal is performed by the central processing unit.

6. The method of claim 1, wherein step d) comprises programming the contents of the register set by the central processing unit.

7. The method of claim 6, wherein the programming of the contents of the register group is performed based on the first item without recording the first item into the memory.

8. The method of claim 6, further comprising deactivating the data transmission channel by the direct memory access circuit at step c), and activating the data transmission channel in response to receipt of the second signal at step d).

9. The method of claim 6, wherein generating the second signal is performed by the central processing unit.

10. The method according to claim 1, wherein step d) also includes programming, by the central processing unit, another data transmission channel of the direct memory access circuit so that the other data transmission channel records the first item into the memory and generates the second signal after recording the first item into the memory.

11. The method according to claim 10, wherein step d) further comprises reading, by the central processing unit, a second field of the register group, the second field indicating a first address in the memory at which a second item representing a next update of the register group is recorded.

12. The method according to claim 11, wherein step d) further comprises programming, by the central processing unit, the another data transmission channel so that the first item is recorded at the first address.

13. The method of claim 1, wherein the first signal is generated by the direct memory access circuit.

14. The method of claim 1, wherein the first item is an initial item of a linked list of items, and at step d), each item of the list after the initial item is recorded into the memory.

15. An electronic system comprising a memory, a central processing unit and a direct memory access circuit comprising at least one data transmission channel, wherein the system is configured to implement the method of claim 1.