ADC trigger with TIM1 CCR4 and transfer results to RAM using DMA
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-25 4:15 AM
I am working with STM32F303CB and want to use Standard Peripheral Library only.
How do i achieve the above ?
After DMA controller has transferred data to RAM, i want it to generate an interrupt.
How do i achieve this ?
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-09-25 5:12 AM
The Reference Manual should indicate the triggering sources
Should be ADC+DMA examples in the SPL trees, review and adapt those.
I've posted similar examples to the forum in the past.
You'd configure the DMA to general HT and/or TC interrupts, and add an IRQHandler to service the whole, or half the buffer.
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..
