1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

13 Commits

Author SHA1 Message Date
benpicco
9eed85d211
Merge pull request #13627 from jue89/feature/samr30-xpro_antenna
boards/samr30: add helper for antenna switch
2020-03-13 09:06:28 +01:00
Juergen Fitschen
8034342c54 boards/samr30-xpro: add function to configure antenna switch 2020-03-12 19:30:02 +01:00
Dylan Laduranty
88bb019438 boards/sam0: update to use generic uart_hw_fc module 2020-03-10 14:22:34 +01:00
Juergen Fitschen
8fbfb13c84 Revert "boards/samr30-xpro: fix AT86RF212B communication"
This reverts commit a9faac7218.

The changed rounding behavior sets the SPI baud rate to 4MHz, which is a suitable rate for the AT86RF212B.
2020-03-03 12:32:54 +01:00
Juergen Fitschen
a9faac7218 boards/samr30-xpro: fix AT86RF212B communication
This board is driven by a 16MHz clock source. In this case, the baud rate generator is able to clock the SPI interface with 4MHz or 8MHz only.
Due to integer division and rounding, the interface is actually driven with 8MHz, which is too fast for the AT86RF212.
2020-03-02 18:38:04 +01:00
Benjamin Valentin
c4e0ed4b79 boards: use explicit GCLK_SRC defines 2020-02-04 21:17:00 +01:00
Benjamin Valentin
a51d167a43 cpu/sam0: use GCLK ID instead of bitmask
To simplify board definitions and for unification between samd2x and
newer models, don't use the GCLK bitmask in board definitions.
Instead use the GCLK index and generate the bitmask when needed.
2020-02-04 21:06:21 +01:00
dylad
fc9549b069 boards/sam0: update sam0-based board to use hw fc 2019-12-20 21:26:56 +01:00
Benjamin Valentin
0ea2cbf1eb boards: remove RTT_NUMOF/RTC_NUMOF
Those macros are defined but never used.
2019-11-08 14:20:33 +01:00
Kees Bakker
04c84ed158 cpu/sam0: refactor ADC_0 into plain ADC
This change is for all boards with a sam0 cpu. This cpu just has one ADC.
It is unnecessary to have defines with ADC_0_ prefix as if multiple ADCs
are possible.

Some defines were not used, such as ADC_0_EN, ADC_0_CHANNELS,
ADC_MAX_CHANNELS, ADC_0_CLK_SOURCE, ADC_0_CHANNELS

Change all ADC_0_ prefixes to ADC_
2019-10-03 20:45:44 +02:00
Benjamin Valentin
8af04cd939 boards: make use of ARRAY_SIZE macro 2019-08-06 19:43:54 +02:00
Benjamin Valentin
849dd4cdce sam0_common: make Timer implementation common across all sam0 MCUs
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same
Timer peripheral, yet each of them carries it's own copy of the Timer
driver.

This introduces a new timer driver that is common for all sam0 MCUs and
uses structs for configuration instead of defines.
2019-05-21 11:47:59 +02:00
4df9e059ae boards/samr30-xpro: add initial board support
Co-authored-by: biboc <bapclenet@gmail.com>
2018-10-01 10:20:41 +02:00