1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/cpu/sam0_common
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
..
dist cpu/sam0_common: add script to generate Kconfig files for all parts 2020-08-24 16:13:18 +02:00
include treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
periph cpu/sam0_common: uart: set oversampling based on baud rate 2021-11-11 17:03:05 +01:00
sam0_eth cpu/sam0: improve ethernet driver resilience 2021-07-27 12:52:07 +02:00
doc.txt cpu/sam0: update doc.txt with new MCU families 2019-07-17 11:37:46 +02:00
Kconfig drivers/kconfig: simplify shared rtt/rtc hardware in kconfig 2021-10-14 11:28:46 +02:00
Makefile cpu/sam0: add initial Ethernet support 2020-12-13 22:01:50 +01:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.features cpu/sam0_common: implement periph_uart_rx_start feature 2021-07-28 16:19:04 +02:00
Makefile.include cpu/samd21: add support for SAMD20 2021-01-12 15:48:39 +01:00
sam0_common.config treewide: change Kconfig prefix for module symbols 2020-08-31 09:57:28 +02:00