We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I would like to transfer the data coming to ADC to DMA and average the data collected in 15 seconds. I could able to read the values from ADC BUT here are my problems:
1.I am using industrial acceleromoeter while reading adc values i could able to see them when i change the position of accelerometer it does appear in the watch windows of keil but when i connect it to the motor ( to measure the vibrations) I am always getting an error that cannot able to acccess the target !!! so I have decided to store the values read by adc to DMA and calculate the average. i assumed keil cannot displays the values which are very fast and changing.
I have seen many tutorials but i could not able to find a way to send the data collected from adc to dma ? how can i achieve that ???? all of the tutorials are using external rc osillator where as i dont prefer to use external oscillator. won't dma work without external osicllator ?
how can i store the values of adc everytime they change? what are the functions, key words i need to use where can i look for them ?
That would depend entirely on the chip you're using - which you have not mentioned.
You will need to study the manufacturer's documentation for the chip - it has nothing to do with Keil.