Could not able to work with DMA
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-21 3:07 PM
- I would like to transfer the data coming to ADC to DMA and average the signals after 15 seconds.
- I could able to read the values from ADC BUT here are my problems.
- 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 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 ?
- hwo can i store the values of adc everytime they change?
Labels:
- Labels:
-
STM32CubeMX
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-08-21 5:56 PM
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.
