Be aware of the existence of both sbuf1 and sbuf0. In case you didn't notice, there is some double-buffering action going on.
You can refer to this thread started by me, since I was confused about the very same thing: https://lists.eecs.harvard.edu/mailman/private/shimmer-users/2011-May/001120.html > Thank you steve, what you've said has been really useful. > So to get data from dma is enough doing > call DMA0.repeatTransfer((void*)ADC12MEM0_, (void*)&sbuf1, NBR_ADC_CHANS); > and returning the sbuf1 value?
_______________________________________________ Shimmer-users mailing list [email protected] https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
