
ADSP-BF59x Blackfin Processor Hardware Reference
5-35
Direct Memory Access
maximum data count prior to any
Restart
or
Finish
command, the above
restriction is satisfied. This implies that any work unit which might be
managed by
Restart
or
Finish
commands must have
DMAx_CURR_X_COUNT
/
DMAx_CURR_Y_COUNT
values representing at least five data items.
Particularly if the
DMAx_CURR_X_COUNT
/
DMAx_CURR_Y_COUNT
registers are
programmed to 0 (representing 65,536 transfers, the maximum value) the
channel will operate properly for 1-D work units up to 65,531 data items
or 2-D work units up to 4,294,967,291 data items.
Receive Restart or Finish
No
Restart
or
Finish
command may be issued by a peripheral to a chan-
nel configured for memory write unless either the peripheral has already
performed at least five DMA transfers in the current work unit or the pre-
vious work unit was terminated by a
Finish
command and the peripheral
has performed at least one DMA transfer in the current work unit. If five
data transfers have been performed, then at least one data item has been
written to memory in the current work unit, which implies that the cur-
rent work unit’s descriptor fetch completed before the data grant of the
fifth item. Otherwise, if less than five data items have been transferred, it
is possible that all of them are still in the DMA FIFO and the previous
work unit is still in the process of completion and transition between work
units.
Similarly, if a
Finish
command ended the previous work unit and at least
one subsequent DMA data transfer has occurred, then the fact that the
DMA channel issued the grant guarantees that the previous work unit has
already completed the process of draining its data to memory and transi-
tioning to the new work unit.
If a peripheral terminates all work units with the
Finish
opcode (effec-
tively assuming responsibility for all work unit boundaries for the DMA
channel), then the peripheral need only ensure that it performs a single
transfer in each work unit before any restart or finish. This requires, how-
ever, that the user programs the descriptors for all work units managed by
Содержание ADSP-BF59x Blackfin
Страница 64: ...Development Tools 1 22 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 74: ...Processor Specific MMRs 2 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 204: ...Unique Information for the ADSP BF59x Processor 5 104 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 244: ...Programming Examples 6 40 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 345: ...ADSP BF59x Blackfin Processor Hardware Reference 9 9 Core Timer Unique Information for the ADSP BF59x Processor None...
Страница 346: ...Unique Information for the ADSP BF59x Processor 9 10 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 398: ...Unique Information for the ADSP BF59x Processor 11 42 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 622: ...Unique Information for the ADSP BF59x Processor 15 38 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 700: ...Programming Examples 16 78 ADSP BF59x Blackfin Processor Hardware Reference...
Страница 738: ...Boundary Scan Architecture B 8 ADSP BF59x Blackfin Processor Hardware Reference...