Thanks for your solution idea! My sample Rate goes up to 160kHz (4 Samples every 6.25us; 4 Samples(sampling and converting) need about 5us in my case) Today i got a solution with the DMAC0 in repeat transfer mode with destination offset: When MTU0(samplerate) starts AD Conversion and "S12AD Complete Interrupt" starts, i do: DMAC0.DMREQ.BIT.SWREQ = 0x1; // Starting Software Trigger of DMAC0 The method requires a presetting of DMREQ.CLRS to 1 which does not automaticly clear the software request. so each time when the DMAC0 repeated 4 Transfers(incr.source) to a Destination with offset, i reset the SWREQ to 0 and setup the next destination address. Then repeat the procedere. Its kind of a workarround to use the software trigger, because i dont see a solution in hardware, which is kind of bummer. i tried to use the peripheral Interrupt request, but there is only one transfer possilbe each interrupt, isn't it?
↧