1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 06:23:53 +01:00
Benjamin Valentin 669104d841 cpu/sam0_common: SPI: don't perform DMA transfer for small buffers
Setting up a DMA transfer can take longer than sending out a buffer
byte by byte if the buffer is small.

DMA only shows advantages for large buffers, using it for every transfer
will cause a net slowdown.

Since we did not come up with a good way to determine the treshold based
on the SPI frequency, just use a fixed buffer for now so that DMA can be
used without slowing things down overall.
2021-11-19 17:22:51 +01:00
..
2021-11-17 15:05:25 +01:00
2021-11-18 09:03:06 +01:00
2021-11-18 10:14:51 +01:00
2021-10-01 11:26:15 +02:00
2021-10-25 15:07:37 +02:00
2021-11-16 20:17:03 +01:00
2021-07-09 10:47:42 +02:00