Hi All, I need to measure the impact of DMA on the ADC throughput.
I have done this. Used component Msp430Adc12ClientAutoDMA_RVGC.nc in one case and in other case I used component Msp430Adc12ClientAutoRVGC.nc, rest all code being the same. I configured ADC in single channel multiple conversion mode with the buff size 4k by call Msp430Adc12SingleChannel.configureMultiple(&myconfig, buff, NUM_SAMPLES, 20); where NUM_SAMPLES = 4000 and buff is an array buff[NUM_SAMPLES]. However no matter what the jiffies value is, the conversion always takes exactly the same time in both the cases. I expect that the conversion should take longer when the Msp430Adc12SingleChannel interface is provided by Msp430Adc12ClientAutoRVGC.nc as there is no DMA involved. What exactly is going wrong? How do you use the DMA with ADC? Do you have to do anything explicitely? I expected the values from ADC would get stored in 'buff' with and without DMA in these cases, thereby differering in sampling times for very high sampling frequencies. Can somebody pls comment? This is sort of urgent. Thanks & Regards, Amit Pendharkar
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
