-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support DMA #66
Comments
I'm interested in this too. The project I'm working on pretty much demands DMA (in tandem with ADC and SPI). That's a major reason I don't use this HAL for it but wrote my own one, based on japari's blog post. I planned to upstream that at some point, but wasn't really sure how to go about it. My implementation is pretty specific to my needs and probably needs to be refactored a bit to be generally useful. And of course it supports only STM303xC MCUs. I'd be willing to try my hand on implementing something that's useful for everyone. If you don't already have other plans, of course :) |
Cool. I have no plans to implement this myself atm. So I'm looking forward for any support on this. I'm okay with it being only compatible with the stm32303xc for now (similar to #47) If it is working, we can always incrementally add support for more stm32f3xx chips later in followup PRs. :) |
I've created a PR that adds MVP DMA support, i.e. the minimum amount of functionality that's useful to actually do something. I think it's a good idea to add more functionality incrementally instead of having one huge PR in the end that nobody understands and that takes forever to get merged. Adding the missing DMA features I can think of:
|
Here are a few references I found helpful for DMA implementation: |
Direct Memory Access allows peripherals to write to memory directly, without needing buffers. This saves memory and is a handy feature.
The text was updated successfully, but these errors were encountered: