1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430
Marian Buschsieweke 4c0d6f8f7d
cpu/msp430/perriph_usci: fix prescaler values for ACLK
For super low symbol rates the auxiliary clock (ACLK) is used to
conserve power. But with only 32,678 Hz clock just prescaling will
result in poor bit timing, hence correct modulation control settings
to compensate are needed. Since computing this is too expensive, a
look-up table (as switch statement) for the four most common symbol
rates was used.

The datasheet gave the prescaler values ordered by ascending symbol
rate, the switch statement was ordered descending.
This changes the order to match the datasheets order and matches the
correct prescaler setting to the corresponding symbol rate.

Fixes https://github.com/RIOT-OS/RIOT/issues/20620
2024-04-25 22:39:45 +02:00
..
include cpu/msp430: implement get_caller_pc 2024-04-19 21:21:32 +02:00
kconfigs *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
ldscripts Revert "cpu/msp430_common: extend flashpage API" 2024-04-04 17:57:19 +02:00
periph cpu/msp430/perriph_usci: fix prescaler values for ACLK 2024-04-25 22:39:45 +02:00
vendor cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
clock.c cpu/msp430: clean up and fix clock driver 2024-04-19 19:17:18 +02:00
cpu.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
doc.txt cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
irq.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Makefile.dep cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Makefile.features cpu/msp430/f2xx: clean up periph_uart,periph_spi 2024-03-27 18:54:07 +01:00
Makefile.include cpu/msp430: clean up and fix clock driver 2024-04-19 19:17:18 +02:00
msp430-main.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
mspgcc-supplement.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
startup.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00