libDaisy icon indicating copy to clipboard operation
libDaisy copied to clipboard

SPI DMA Receive Request possibly wrong direction.

Open stephenhensley opened this issue 3 years ago • 1 comments

In the SpiHandle::Impl::SetDmaPeripheral() function, the switch maps the hdma request to the corresponding DMA_REQUEST_SPIx_TX value regardless of direction.

I haven't done any SPI receive with DMA. So I can't say for sure that it won't work, but this definitely stood out as a potential issue.

We should investigate, and fix.

stephenhensley avatar Oct 13 '21 23:10 stephenhensley

This may already be fixed with #472

TheSlowGrowth avatar Jan 22 '22 10:01 TheSlowGrowth