Czy można podczas pracy DMA zmieniać adresy bez uszczerbku na pracy DMA ?
Czy też należy przed zmianą adresu wyłączyć DMA, następnie po zmianie włączyć ?
Czy też należy przed zmianą adresu wyłączyć DMA, następnie po zmianie włączyć ?
Czy wolisz polską wersję strony elektroda?
Nie, dziękuję Przekieruj mnie tamCytat:By default the source and destination addresses are fixed during all transfers, which means each data transfer for the
channel copies data to and from the same memory locations. This is useful for e.g. piping data from one peripheral to
another. The burst length decides the number of bytes to copy during each data transfer, but the source and destination
address are still fixed for each access. For instance, four-byte burst mode would copy the same byte four times during
each data transfer.
For applications where data is to be stored in an array, the DMAC can be configured to increase or decrease the
destination address after each byte access. Similarly, when data is to be retrieved from an array, the DMAC can be
configured to increase or decrease the source address after each byte access. Finally, for copying data from one array
to another, both source and destination address can be increased or decreased after each byte access.
Addressing modes are configured with the Source and Destination Address Mode bitfields (SRCDIR and DESTDIR) in
each channel’s Address Control register (ADDRCTRL).