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 49fda3e900 cpu/samd5x: don't run DFLL on-demand
The DFLL on samd5x has a hardware bug that requires a special
re-enabling sequence when it is disabled and then re-enabled again.

When running the clock on-demand, the hardware handles the disabling
and re-enabling so that sequence does not get executed.

To reproduce, run `tests/periph_uart` on `same54-xpro`.

Without this patch the test will get seemingly stuck on `sleep_test()`.
(In fact it keeps running, but the DFLL has the wrong frequency so the
UART baudrate is wrong).

In this test, on `same54-xpro` only UART0 is sourced from DFLL.
So if the UART is disabled the DFLL will be turned off as well.
2020-04-02 20:11:41 +02:00
..
include cpu/sam0_common: distribute PM_NUM_MODES among siblings 2020-04-01 18:10:23 +02:00
periph cpu/sam0*: Wrap cortexm_sleep call 2020-02-24 11:48:13 +01:00
cpu.c cpu/samd5x: don't run DFLL on-demand 2020-04-02 20:11:41 +02:00
doc.txt cpu/samd5x: add support for samd5x/same5x MCUs 2019-06-06 16:47:11 +02:00
Kconfig cpu/samd5x: Add Kconfig file 2020-03-31 13:39:40 +02:00
Makefile cpu/samd5x: add support for samd5x/same5x MCUs 2019-06-06 16:47:11 +02:00
Makefile.dep cpu/sam0_common/periph/uart: implement buffered write 2019-11-27 19:01:00 +01:00
Makefile.features cpu/*: add cortex_mpu to known-to-support CPU families 2020-03-03 22:59:41 +01:00
Makefile.include cpu/cortexm: move CPU_ARCH/FAM to Makefile.features 2020-02-17 16:02:48 +01:00
vectors.c cpu/samd5x: add support for samd5x/same5x MCUs 2019-06-06 16:47:11 +02:00