SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The procedures described in this chapter concern the configuration of EDMA module in the device. For more information about EDMA module refer to Section 16.2 Enhanced DMA controller.
The procedure for configuring the EDMA transfer to the input configuration parameters is a 6-word VCPXEVT frame synchronized transfer. The parameters should be set in several EDMA registers (refer to Section 16.2.7EDMA Register Manual), as described in Table 30-23:
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Intermediate transfer complete chaining is disabled | EDMA.EDMA_TPCC_OPT_n[23] ITCCHEN | 0x0: Disable |
Transfer complete chaining is disabled | EDMA.EDMA_TPCC_OPT_n[22] TCCHEN | 0x0: Disable |
Intermediate transfer complete interrupt is disabled | EDMA.EDMA_TPCC_OPT_n[21] ITCINTEN | 0x0: Disable |
Backward compatibility mode | EDMA.EDMA_TPCC_OPT_n[19] WIMODE | 0x0: Normal operation |
Transfer complete interrupt is disabled | EDMA.EDMA_TPCC_OPT_n[20] TCINTEN | 0x0: Disable |
Transfer complete code | EDMA.EDMA_TPCC_OPT_n[17:12] TCC | 1 to 63 |
Transfer complete code mode | EDMA.EDMA_TPCC_OPT_n[11] TCCMODE | 0x0: Normal operation |
FIFO width | EDMA.EDMA_TPCC_OPT_n[10:8] FWID | x |
Static Entry | EDMA.EDMA_TPCC_OPT_n[3] STATIC | 0x0: Entry is updated as normal |
Transfer Synchronization Dimension | EDMA.EDMA_TPCC_OPT_n[2] SYNCDIM | 0x0: A-sync transfer, each event triggers the transfer of ACNT elements. |
Destination Address Mode | EDMA.EDMA_TPCC_OPT_n[1] DAM | 0x0: Destination address within an array increments. Destination is not a FIFO. |
Source Address Mode | EDMA.EDMA_TPCC_OPT_n[0] SAM | 0x0: Source Address within an array increments. Source is not a FIFO. |
Source Address | EDMA.EDMA_TPCC_SRC_n[31:0] SRC | xxxx: User input configuration parameters start address. |
Number of bytes in an array | EDMA.EDMA_TPCC_ABCNT_n[15:0] ACNT | 24 - Number of bytes in 1st Dimension. |
Number of arrays in a frame | EDMA.EDMA_TPCC_ABCNT_n[15:0] BCNT | 0x1: One array in the frame. Count for 2nd Dimension. |
Destination Address | EDMA.EDMA_TPCC_DST_n[31:0] DST | VCP_VCPIC0 - 32-bit destination address parameters. |
Source 2nd Dimension Index | EDMA.EDMA_TPCC_BIDX_n[15:0] SBIDX | 0x00 |
Destination 2nd Dimension Index | EDMA.EDMA_TPCC_BIDX_n[31:16] DBIDX | 0x00 |
Source Frame Index | EDMA.EDMA_TPCC_CIDX_n[15:0] SCIDX | 0x00 |
Destination Frame Index | EDMA.EDMA_TPCC_CIDX_n[31:16] DCIDX | 0x00 |
C byte count. Count for 3rd Dimension | EDMA.EDMA_TPCC_CCNT_n[15:0] CCNT | 0x1: One frame in the block |
Upon completion, this EDMA transfer is linked to the EDMA for branch metrics transfer parameters.