DMA events like functionality
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-10-18 10:57 AM
Posted on October 18, 2015 at 19:57
Hello there,
I know that dma can be used to transfer data from/to peripherals to memory and etc. I was wondering though would it be possible to use the dma for registering certain events instead of interrupts?For example, lets say I would like to reset a timers counter each time there is an external interrupt on a pin (falling edge). Normally in the interrupt routine I would just reset the counter of the timer. But can DMA do that automatically? Maybe some register is equal 0 at the time of a falling edge on some pin and it can be copied to the timers counter register?I would apreciate all help!
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
2015-10-18 12:21 PM
Posted on October 18, 2015 at 21:21
Yeah, the DMA doesn't really have the external connectivity required, you'd be better off looking at an External Reset of the timer.
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..
