SAP=B_0x0, SDW_LOG2=B_0x0, PAM=B_0x0_PAM_1, DHX=B_0x0, DDW_LOG2=B_0x0, SINC=B_0x0, DAP=B_0x0, DBX=B_0x0, DINC=B_0x0, SBX=B_0x0
GPDMA channel 7 transfer register 1
SDW_LOG2 | binary logarithm of the source data width of a burst in bytes Setting a 8-byte data width causes a user setting error to be reported and no transfer is issued. A source block size must be a multiple of the source data width (GPDMA_CxBR1.BNDT[2:0] versus SDW_LOG2[1:0]). Otherwise, a user setting error is reported and no transfer is issued. Note: A source burst transfer must have an aligned address with its data width (start address GPDMA_CxSAR[2:0] versus SDW_LOG2[1:0]). Otherwise, a user setting error is reported and none transfer is issued. 0 (B_0x0): byte 1 (B_0x1): half-word (2 bytes) 2 (B_0x2): word (4 bytes) 3 (B_0x3): user setting error reported and no transfer issued |
SINC | source incrementing burst The source address, pointed by GPDMA_CxSAR, is kept constant after a burst beat/single transfer or is incremented by the offset value corresponding to a contiguous data after a burst beat/single transfer. 0 (B_0x0): fixed burst 1 (B_0x1): contiguously incremented burst |
SBL_1 | source burst length minus 1, between 0 and 63 The burst length unit is one data named beat within a burst. If SBL_1[5:0] =0 , the burst can be named as single. Each data/beat has a width defined by the destination data width SDW_LOG2[1:0]. Note: If a burst transfer crossed a 1-Kbyte address boundary on a AHB transfer, the GPDMA modifies and shortens the programmed burst into singles or bursts of lower length, to be compliant with the AHB protocol. Note: If a burst transfer is of length greater than the FIFO size of the channel x, the GPDMA modifies and shortens the programmed burst into singles or bursts of lower length, to be compliant with the FIFO size. Transfer performance is lower, with GPDMA re-arbitration between effective and lower singles/bursts, but the data integrity is guaranteed. |
PAM | padding/alignment mode If DDW_LOG2[1:0] = SDW_LOG2[1:0]: if the data width of a burst destination transfer is equal to the data width of a burst source transfer, these bits are ignored. Else, in the following enumerated values, the condition PAM_1 is when destination data width is higher that source data width, and the condition PAM_2 is when destination data width is higher than source data width. Note: If the transfer from the source peripheral is configured with peripheral flow-control mode (SWREQ = 0 and PFREQ = 1 and DREQ = 0), and if the destination data width > the source data width, packing is not supported. 0 (B_0x0_PAM_1): source data is transferred as right aligned, padded with 0s up to the destination data width 1 (B_0x1_PAM_1): source data is transferred as right aligned, sign extended up to the destination data width 2 (B_0x2_PAM_1): successive source data are FIFO queued and packed at the destination data width, in a left (LSB) to right (MSB) order (named little endian), before a destination transfer 3 (B_0x3_PAM_1): successive source data are FIFO queued and packed at the destination data width, in a left (LSB) to right (MSB) order (named little endian), before a destination transfer |
SBX | source byte exchange within the unaligned half-word of each source word If the source data width is shorter than a word, this bit is ignored. If the source data width is a word: 0 (B_0x0): no byte-based exchange within the unaligned half-word of each source word 1 (B_0x1): the two consecutive bytes within the unaligned half-word of each source word are exchanged. |
SAP | source allocated port This bit is used to allocate the master port for the source transfer Note: This bit must be written when EN = 0. This bit is read-only when EN = 1. 0 (B_0x0): port 0 (AHB) allocated 1 (B_0x1): port 1 (AHB) allocated |
DDW_LOG2 | binary logarithm of the destination data width of a burst, in bytes Setting a 8-byte data width causes a user setting error to be reported and none transfer is issued. Note: A destination burst transfer must have an aligned address with its data width (start address GPDMA_CxDAR[2:0] and address offset GPDMA_CxTR3.DAO[2:0], versus DDW_LOG2[1:0]). Otherwise a user setting error is reported and no transfer is issued. 0 (B_0x0): byte 1 (B_0x1): half-word (2 bytes) 2 (B_0x2): word (4 bytes) 3 (B_0x3): user setting error reported and no transfer issued |
DINC | destination incrementing burst The destination address, pointed by GPDMA_CxDAR, is kept constant after a burst beat/single transfer, or is incremented by the offset value corresponding to a contiguous data after a burst beat/single transfer. 0 (B_0x0): fixed burst 1 (B_0x1): contiguously incremented burst |
DBL_1 | destination burst length minus 1, between 0 and 63 The burst length unit is one data named beat within a burst. If DBL_1[5:0] =0 , the burst can be named as single. Each data/beat has a width defined by the destination data width DDW_LOG2[1:0]. Note: If a burst transfer crossed a 1-Kbyte address boundary on a AHB transfer, the GPDMA modifies and shortens the programmed burst into singles or bursts of lower length, to be compliant with the AHB protocol. Note: If a burst transfer is of length greater than the FIFO size of the channel x, the GPDMA modifies and shortens the programmed burst into singles or bursts of lower length, to be compliant with the FIFO size. Transfer performance is lower, with GPDMA re-arbitration between effective and lower singles/bursts, but the data integrity is guaranteed. |
DBX | destination byte exchange If the destination data size is a byte, this bit is ignored. If the destination data size is not a byte: 0 (B_0x0): no byte-based exchange within half-word 1 (B_0x1): the two consecutive (post PAM) bytes are exchanged in each destination half-word. |
DHX | destination half-word exchange If the destination data size is shorter than a word, this bit is ignored. If the destination data size is a word: 0 (B_0x0): no halfword-based exchanged within word 1 (B_0x1): the two consecutive (post PAM) half-words are exchanged in each destination word. |
DAP | destination allocated port This bit is used to allocate the master port for the destination transfer Note: This bit must be written when EN = 0. This bit is read-only when EN = 1. 0 (B_0x0): port 0 (AHB) allocated 1 (B_0x1): port 1 (AHB) allocated |