1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-29 16:31:18 +01:00
RIOT/drivers
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-02 14:57:50 +01:00
2021-08-13 19:50:38 +02:00
2020-12-02 10:13:10 +01:00
2021-08-13 19:50:38 +02:00
2021-01-18 10:42:34 +01:00
2021-01-14 10:00:43 +01:00
2021-11-04 10:39:36 +01:00
2021-07-28 00:35:47 +02:00
2021-08-13 19:50:38 +02:00
2021-11-18 09:03:07 +01:00
2021-08-13 19:50:38 +02:00
2021-08-13 19:50:38 +02:00
2021-11-08 18:42:05 +01:00
2021-11-02 21:46:19 +01:00
2021-09-22 09:22:51 +02:00