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-16 21:51:48 +01:00
2021-10-13 16:37:19 +02:00
2021-10-13 16:37:19 +02:00
2021-10-13 16:37:19 +02:00
2021-10-13 16:37:19 +02:00
2021-11-17 15:05:25 +01:00
2021-10-13 16:37:19 +02:00
2021-10-13 16:37:19 +02:00
2021-11-16 16:20:26 +01:00
2021-10-15 09:59:14 +02:00
2021-10-18 20:52:53 +02:00
2021-09-14 14:58:03 +02:00
2021-09-11 12:45:15 +02:00
2021-09-11 12:45:15 +02:00
2021-10-25 15:13:37 +02:00
2021-11-16 21:52:55 +01:00
2021-11-18 09:03:06 +01:00
2021-11-18 10:14:51 +01:00
2021-10-29 11:17:24 +02:00
2021-11-07 22:06:27 +01:00
2021-10-01 11:26:15 +02:00
2021-11-18 10:14:51 +01:00
2021-09-11 12:45:15 +02:00
2021-09-02 08:50:56 +02:00
2021-10-25 15:07:37 +02:00
2021-09-11 12:45:15 +02:00
2021-10-18 17:31:26 +02:00
2021-08-13 19:50:38 +02:00
2020-10-13 18:57:39 +02:00
2020-10-13 18:57:39 +02:00
2021-10-26 12:51:05 +02:00
2021-09-11 12:45:15 +02:00
2021-11-16 20:48:32 +01:00
2021-11-18 22:30:58 +01:00
2021-09-01 21:38:40 +02:00
2021-11-16 20:17:03 +01:00
2021-11-18 23:05:42 +01:00
2021-09-11 12:45:15 +02:00
2021-11-15 17:25:59 +01:00
2021-08-13 19:50:38 +02:00
2021-11-19 17:22:51 +01:00
2021-09-11 12:45:15 +02:00
2020-08-08 12:44:11 +02:00
2021-11-19 17:22:51 +01:00
2021-11-19 17:22:51 +01:00
2021-11-19 17:22:51 +01:00
2021-11-19 17:22:51 +01:00
2019-08-29 10:35:53 +02:00
2021-11-19 13:24:57 +01:00
2021-07-09 10:47:42 +02:00
2020-08-31 09:57:28 +02:00