[riot-notifications] [RIOT-OS/RIOT] STM32_common/SPI: Reduce the overhead in the DMA hot path (#14097)
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications