1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/sam0_common/periph
Benjamin Valentin 18cdd100a9 cpu/sam0_common: uart: set oversampling based on baud rate
In Asynchronous Fractional baud rate mode, the baud rate can not be
greater than the source frequency divided by the oversampling (8, 16).

Currently we are always using 16x oversampling.
This makes it impossible to e.g. set a 2 MHz UART baud rate on the 16 MHz
`saml10-xpro`.

With this change, the oversampling is automatically reduced to 8x which
allows us to set 16 MHz / 8 -> 2 MHz baud rate.
2021-11-11 17:03:05 +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
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/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02: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 cpu/sam0_common: Uncrustified and fixed static-check issues 2021-11-04 13:49:34 +01:00
wdt.c treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00