[riot-notifications] [RIOT-OS/RIOT] STM32_common/SPI: Reduce the overhead in the DMA hot path (#14097)

Koen Zandberg notifications at github.com
Tue May 19 13:07:35 CEST 2020


> It seems like there is a problem.
> I used the nucleo-f411re connected to PHiLIP in echo mode (so the expected behaviour is to echo bytes back after received and the initial response will be 0x7F).
> 
> It appears that a byte is stuck in the send register when using the DMA so there is some sort of one byte offset.
> 
> Could it be something to do with the DMA filling the tx or rx buffer and not being reset after the transmission. I had a problem like that in another project and the only way that I could clear the DMA and spi fifo was to shut down the periph clock...

Thanks for testing this! I thought I checked something like this too, but not thorough enough apparently. I'll try to reproduce this on my nucleo-f401re.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14097#issuecomment-630749524
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200519/38650a3e/attachment.htm>


More information about the notifications mailing list