cancel
Showing results for 
Search instead for 
Did you mean: 

Could not able to work with DMA

Apill
Senior
  • I would like to transfer the data coming to ADC to DMA and average the signals after 15 seconds.
  1. I could able to read the values from ADC BUT here are my problems.
  2. 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.
  3. I have seen many tutorials but i could not able to find a way to send the data 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. wont dma work without external osicllator ?
  4. hwo can i store the values of adc everytime they change?
1 REPLY 1
T J
Lead

Hi, I have answered this question so many times,,, did you search this forum ?

anyhow,

I had to use a timer to trigger the ADC/DMA function,

I had to enable stuff in the cube... DMA Circular buffer etc.