ADc via timer2 and data is sent to dma on stm32f429
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-08 7:40 AM
Posted on March 08, 2016 at 16:40The original post was too long to process during our migration. Please click on the attachment to read the original post.
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-08 8:02 AM
Posted on March 08, 2016 at 17:02
DMA is a basic tenet of Computer Architecture, review standard texts if required.
It is like a hardware memcpy(), paced by the peripheral.The samples appear inADCTripleConvertedValues[0] ADC1, Channel 1ADCTripleConvertedValues[1] ADC2, Channel 1ADCTripleConvertedValues[2] ADC3, Channel 1ADCTripleConvertedValues[3] ADC1, Channel 2...ADCTripleConvertedValues[0 + (SAMPLES / 2)]ADCTripleConvertedValues[1 + (SAMPLES / 2)]ADCTripleConvertedValues[2 + (SAMPLES / 2)]...For the respective HALF of the buffer, as filled at HT (Half Transfer) and TC (Transfer Complete)
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-03-08 8:05 AM
Posted on March 08, 2016 at 17:05
You should use the other example, you clearly don't understand the Triple mode version you hacked up here.
You have to think about how it functions as a whole, not change a handful of parameters and ignore the relationships.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
