Hi,
I am trying making a low power system that continuously samples data with ADC12 to a circular buffer and DMA in order to process them block based.
ADC is configured for repeated sequence of channels (16 channels, last has EOS set).
DMA is configured for repeated block transfer. It generates an interrupt when the 16 ADC samples are copied (source and destination address increment).
In order to have a buffer of more than 16 samples to process later, I am trying to change the DMA destination address inside the DMA interrupt to point to the next 16 samples.
Is this safe to do, because internally this DMA destination address is also updated. Is this new destination address being used for the next DMA transfer ?
Kind regards,
Marten