Skip to content
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

DMA traits implemented for SpiTxDma for SPIs 1 and 2, but not 3 #263

Closed
mitchmindtree opened this issue Sep 15, 2020 · 0 comments · Fixed by #264
Closed

DMA traits implemented for SpiTxDma for SPIs 1 and 2, but not 3 #263

mitchmindtree opened this issue Sep 15, 2020 · 0 comments · Fixed by #264

Comments

@mitchmindtree
Copy link
Contributor

We're running a large number of LEDs on SPI3 but are running into some performance issues. To increase efficiency we're looking at using the DMA, however it looks like the necessary DMA transfer traits are only implemented for SPIs 1 and 2.

Under the SPI section the stm32f105-7 datasheet mentions:

All SPIs can be served by the DMA controller.

Is there any reason in particular SPI3's implementations have been omitted? Or perhaps just oversight? The only difference with SPI3 that comes to mind is the necessary AFIO remap, but I'm not experienced enough to know if this affects the DMA at all?

Just thought I'd leave an issue before heading home. If it looks like this should be added, I'll have a go at it once I'm back at the lab tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant