Hey there
in stm32f103zet6 micro controller I enable ADC with DMA and read a periodic signal value but it has movement in signal (data is shifting when I read from DMA buffer )
my DMA setting is in circular mode.
what is the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-18 1:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-18 2:17 AM
Please explain, what "movement" and "data shifting" are; and why you "read from DMA" while DMA just moves data from a peripheral to the memory. The second question is, how many channels of ADC you read?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-18 2:37 AM
thank from your response @ColdWeather​
for example if digital data is 11110000 in a 8 byte frame when I read it by USB
it change to 01111000 then 00111100 then 00011110 then 00001111 then 10000111 ,....
it makes my signal wave movement in PC
about read from DMA : I send data from DMA buffer by USB
ADC channels is :only one channel
