1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/samd5x
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
..
include cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
periph cpu/sam0_common: SPI: don't perform DMA transfer for small buffers 2021-11-19 17:22:51 +01:00
cpu.c cpu/*: add missing include of assert.h 2020-10-22 11:13:08 +02:00
doc.txt cpu/samd5x: add support for samd5x/same5x MCUs 2019-06-06 16:47:11 +02:00
Kconfig cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
Kconfig.samd51 cpu/samd5x: add all parts to Kconfig 2020-08-24 16:11:48 +02:00
Kconfig.same54 cpu/samd5x: add all parts to Kconfig 2020-08-24 16:11:48 +02:00
Makefile cpu/samd5x: add support for samd5x/same5x MCUs 2019-06-06 16:47:11 +02:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu/sam0_common: GPIO: use tamper detection to wake from Deep Sleep 2020-09-17 18:46:25 +02:00
Makefile.features cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
Makefile.include cpu/samd5x: define CPU_COMMON_SAMD5X symbol and use it 2020-08-24 16:13:18 +02:00
vectors.c cpu/samd5x: add support for samd5x/same5x MCUs 2019-06-06 16:47:11 +02:00