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

Direct Memory Addressing for SPI #119

Open
4 tasks
Sabramz opened this issue Sep 11, 2024 · 0 comments
Open
4 tasks

Direct Memory Addressing for SPI #119

Sabramz opened this issue Sep 11, 2024 · 0 comments
Labels
enhancement New feature or request firmware Firmware layer work

Comments

@Sabramz
Copy link
Contributor

Sabramz commented Sep 11, 2024

Description

Title. We are doing this because it is faster and easier.

Acceptance Criteria

  • All SPI communications are done through DMA
  • There is an interface for doing SPI through DMA
  • The interface is documented
  • All HAL calls to SPI are replaced with this interface

Proposed Solution

Set up DMA for SPI lines in STM32CubeMX, find all SPI write and read calls and replace them with DMA access. Make callbacks for DMA RX and TX interrupts. Wrap it in a nice interface, replace calls to HAL functions with interface.

@Sabramz Sabramz added enhancement New feature or request firmware Firmware layer work labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request firmware Firmware layer work
Projects
None yet
Development

No branches or pull requests

2 participants