I'm having some issues with setting up the DMA to transfer results from the ADC to an address in DCAN.
I'm trying to transfer 8 x 8bit results from the ADC1 EV group FIFO at 0xFFF7C090 to a register in DCAN. The problem I am having is that I'm not sure how to setup the DMA transfer.
What should the Read and Write size be, also the Element/frame count?
I understand the offset is in bytes but not sure how this translates.
For example I need the following:
(FIFO Output)
0x00000011
0x00000022
0x00000033
0x00000044
0x00000055
0x00000066
0x00000077
0x00000088
to be output as
0x11223344
0x55667788
or
0x44332211
0x88776655
I've tried setting the read to 8bit and write to 64bit, frame count and element count to 8 (and 1) but I only get the most significant byte from the FIFO.
The examples in the TRM are a bit vague and I cant work out how I can relate it to the problem I have.
Cheers,
Alan