1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam0_common/periph
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
..
adc.c sam0/adc: work around ADC errata on SAM D5x/E5x 2021-02-22 12:39:32 +01:00
cpuid.c cpu/samd5x: define CPU_COMMON_SAMD5X symbol and use it 2020-08-24 16:13:18 +02:00
dac.c cpu/sam0_common: DAC: wait for DAC to be ready 2020-12-13 02:11:36 +01:00
dma.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
eth.c cpu/sam0: improve ethernet driver resilience 2021-07-27 12:52:07 +02:00
flashpage.c cpu/sam0_common/periph/flashpage: fix unaligned writes 2021-01-20 09:55:47 +01:00
gpio.c cpu/sam0: prevent disabled irq from being called 2021-11-05 18:21:21 +01:00
hwrng.c cpu/sam0_common: add hwrng driver 2019-08-03 14:50:58 +02:00
i2c.c cpu/sam0/i2c: Handle read with I2C_NOSTOP flag 2021-07-01 14:50:54 +02:00
Kconfig cpu/sam0_common/periph: add periph_rtc_rtt module to Kconfig 2020-11-06 15:57:56 +01:00
Kconfig.spi cpu/sam0_common: SPI: don't perform DMA transfer for small buffers 2021-11-19 17:22:51 +01:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pwm.c cpu/sam0_common: PWM: fix build on samd20 2021-01-21 20:29:15 +01:00
rtc_rtt.c cpu/sam0_common: implement periph_rtc_mem 2021-09-03 11:43:43 +02:00
spi.c cpu/sam0_common: SPI: don't perform DMA transfer for small buffers 2021-11-19 17:22:51 +01:00
timer.c drivers/periph/timer: Use uint32_t for frequency 2020-10-30 22:02:12 +01:00
uart.c cpu/sam0_common: uart: set oversampling based on baud rate 2021-11-11 17:03:05 +01:00
usbdev.c sam0_common/usbdev: Adapt to xmit API 2021-11-16 20:17:04 +01:00
wdt.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00