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.
Description
Title. We are doing this because it is faster and easier.
Acceptance Criteria
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.