19.7.1 Block Transfer Control
| Name: | BTCTRL |
| Offset: | 0x00 |
| Reset: | 0x0000 |
| Property: | – |
| Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
| STEPSIZE[2:0] | STEPSEL | DSTINC | SRCINC | BEATSIZE[1:0] | |||||
| Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
| Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
| BLOCKACT[1:0] | EVOSEL[1:0] | VALID | |||||||
| Access | R/W | R/W | R/W | R/W | R/W | ||||
| Reset | 0 | 0 | 0 | 0 | 0 | ||||
Bits 15:13 – STEPSIZE[2:0] Address Increment Step Size
This bit field selects the step size of the address increment. The setting applies to the to source or destination address, depending on the STEPSEL setting.
| Value | Name | Description |
|---|---|---|
| 0x0 | X1 | Next ADDR = ADDR + (Beat size in byte) * 1 |
| 0x1 | X2 | Next ADDR = ADDR + (Beat size in byte) * 2 |
| 0x2 | X4 | Next ADDR = ADDR + (Beat size in byte) * 4 |
| 0x3 | X8 | Next ADDR = ADDR + (Beat size in byte) * 8 |
| 0x4 | X16 | Next ADDR = ADDR + (Beat size in byte) * 16 |
| 0x5 | X32 | Next ADDR = ADDR + (Beat size in byte) * 32 |
| 0x6 | X64 | Next ADDR = ADDR + (Beat size in byte) * 64 |
| 0x7 | X128 | Next ADDR = ADDR + (Beat size in byte) * 128 |
Bit 12 – STEPSEL Step Selection
This bit controls if the source or destination addresses are using the step size settings.
| Value | Name | Description |
|---|---|---|
| 0x0 | DST | Step size settings apply to the destination address |
| 0x1 | SRC | Step size settings apply to the source address |
Bit 11 – DSTINC Destination Address Increment Enable
This bit controls whether the destination address increments between beat transfers
or not. When this bit is set, the destination address is by default incremented by
one beat size in byte(s). If the STEPSEL bit is ‘0’, the STEPSIZE
register will control the size of the increments.
| Value | Description |
|---|---|
| 0 | The destination address increment is disabled |
| 1 | The destination address increment is enabled |
Bit 10 – SRCINC Source Address Increment Enable
This bit controls whether the source address increments between beat transfers or
not. When this bit is set, the source address is by default incremented by one beat
size in byte(s). If the STEPSEL bit is ‘1’, the STEPSIZE register
will control the size of the increments.
| Value | Description |
|---|---|
| 0 | The source address increment is disabled |
| 1 | The source address increment is enabled |
Bits 9:8 – BEATSIZE[1:0] Beat Size
This bit field controls the size of one beat. A beat is the size of one data transfer bus access, and the setting applies to both read and write accesses.
| Value | Name | Description |
|---|---|---|
| 0x0 | BYTE | 8-bit |
| 0x1 | HWORD | 16-bit |
| 0x2 | WORD | 32-bit |
| Other | — | Reserved |
Bits 4:3 – BLOCKACT[1:0] Block Action
This bit field controls what actions the DMAC will take after a block transfer has completed.
| Value | Name | Description |
|---|---|---|
| 0x0 | NOACT | Channel will be disabled if it is the last block transfer in the transaction |
| 0x1 | INT | Channel will be disabled if it is the last block transfer in the transaction and block interrupt |
| 0x2 | SUSPEND | Channel suspend operation is completed |
| 0x3 | BOTH | Both channel suspend operation and block interrupt |
Bits 2:1 – EVOSEL[1:0] Event Output Selection
This bit field controls the event output selection.
| Value | Name | Description |
|---|---|---|
| 0x0 | DISABLE | Event generation disabled |
| 0x1 | BLOCK | Event strobe when block transfer complete |
| 0x2 | — | Reserved |
| 0x3 | BEAT | Event strobe when beat transfer complete |
Bit 0 – VALID Descriptor Valid
Writing a ‘0’ to this bit in the Descriptor or
Write-Back memory will suspend the DMA channel operation when fetching the
corresponding descriptor.
The bit is automatically cleared in the Write-Back memory section when the channel is aborted, when an error is detected during the block transfer, or when the block transfer is completed.
| Value | Description |
|---|---|
| 0 | The descriptor is not valid |
| 1 | The descriptor is valid |
