Benjamin Valentin
419fc6e7f6
boards/samd5x: GCLK source for ADC must not exceed 100 MHz
2024-10-22 14:54:17 +02:00
Mikolai Gütschow
bb97445b20
boards/*: include periph/gpio.h in board.h
2024-07-12 15:02:43 +02:00
Firas Hamdi
477f9cd82f
boards/same54-xpro: add CAN periph definitions
2024-03-26 15:17:48 +01:00
Benjamin Valentin
8db01f6df1
boards/same54-xpro: configure orange ethernet LED
...
There is a software controlled LED on the RJ45 connector.
Export it via SAUL.
2023-12-14 15:21:54 +01:00
Benjamin Valentin
fb6e3c01c7
boards/same54-xpro: configure pins for UART HW flow control
2023-12-14 15:07:10 +01:00
Gunar Schorcht
26030e28af
boards: remove extern mtd_dev_t*
Declarations
2023-12-07 15:32:49 +01:00
Urs Gompper
6849ef9827
boards/same54-xpro: added FREQM peripheral configuration
2023-11-23 21:00:16 +01:00
Gunar Schorcht
46040a4361
boards: use XFA with MTD pointers for defined MTDs
2023-10-02 12:28:08 +02:00
Gunar Schorcht
4cda0e41cb
boards/sam54-xpro: enable SDMMC support
2023-09-23 19:26:30 +02:00
Benjamin Valentin
90b0607f18
boards/same54-xpro: fix style of PWM config
2022-11-23 13:53:46 +01:00
Benjamin Valentin
2c9a3857d9
boards: convert sam0 boards to new adc_conf_chan_t
2022-09-27 22:43:31 +02:00
Benjamin Valentin
f39e502eaf
boards: drop unused BTN0_PORT define
2022-09-20 18:08:55 +02:00
Karl Fessel
05f114d0af
doc: fix unbalaced grouping
...
- most were trivial
- missing group close or open
- extra space
- no doxygen comment
- name commad might open an implicit group
this hould also be implicit cosed but does not happen somtimes
- crazy: internal declared groups have to be closed internal
2022-09-14 15:05:25 +02:00
Benjamin Valentin
b97359ea71
boards/same54-xpro: configure FAT on SD card
2022-05-31 11:07:20 +02:00
562cc9bba8
boards/samd51: adapt ADC configuration
2022-03-17 11:45:06 +01:00
Benjamin Valentin
5d111e71aa
boards: drop board_init() from board.h
2022-02-25 15:08:58 +01:00
Benjamin Valentin
c161fd8dbf
boards/same54-xpro: lock EUI provider to ethernet interface
...
Otherwise the provider can be used for multiple interfaces but only
return a single MAC address for all of them.
2021-06-08 14:01:03 +02:00
Benjamin Valentin
57f40e5afb
boards/same54-xpro: expose at24mac as MTD_1
2021-01-26 11:40:59 +01:00
Martine Lenders
6646682873
Merge pull request #15611 from benpicco/boards/eui_provider.h
...
net/eui_provider: API cleanup
2020-12-18 15:02:57 +01:00
Benjamin Valentin
d4acf95a27
net/eui_provider: drop useless EUI provider arg parameter
...
This has never been used and we might as well define a second
callback function instead of using a generic one with an arg.
2020-12-14 00:22:43 +01:00
Benjamin Valentin
9c20540e3d
boards/same54-xpro: move EUI provider config to eui_provider_params.h
2020-12-14 00:22:42 +01:00
Benjamin Valentin
fe9ae5bc80
net/eui_provider: provide index to the callback function
...
If the same callback function is used for multiple interfaces
(`NETDEV_INDEX_ANY`), it is necessary to also provide the index of
the interface to hand out and address.
2020-12-14 00:22:18 +01:00
dylad
3937aff923
board/same54-xpro: add Ethernet configuration
2020-12-13 22:01:50 +01:00
Benjamin Valentin
09c6d2c4db
boards/same54-xpro: add configuration for SPI flash
2020-12-12 18:36:16 +01:00
Benjamin Valentin
182cb9d44b
boards/same54-xpro: add EUI-48 provider
...
Use the on-board AT24MAC chip as an EUI-48 provider.
2020-09-04 13:36:21 +02:00
János Brodbeck
96fd915b76
boards/same54-xpro: add ADC periph_conf
2020-08-19 18:00:30 +02:00
benpicco
30ebabb84e
Merge pull request #14007 from benpicco/cpu/sam0_common-pwm
...
cpu/sam0_common: move PWM to common code, add support for saml21, samd5x
2020-07-09 10:01:08 +02:00
Benjamin Valentin
9500b651dc
boards/same54-xpro: configure LED0 as PWM output
2020-07-08 21:51:12 +02:00
Benjamin Valentin
cd76c95560
boards/same54-xpro: use new GCLK names
2020-06-20 00:25:54 +02:00
Benjamin Valentin
1ad56364cc
boards/same54-xpro: enable buck converter
2020-06-20 00:25:53 +02:00
Benjamin Valentin
7242835905
boards/same54-xpro: provide config to run off XOSC
...
The board provides a 12 MHz oscillator that can be used to source
the CPU and peripheral clocks.
When doing so we don't have to rely on the internal fast oscillators.
This allows us to enable the buck regulator for maximum power savings.
With this same54-xpro reaches 0.8 mA in IDLE.
2020-06-20 00:25:53 +02:00
Francisco Molina
36baec4512
cpu/samd5x: add unified rtt configuration
2020-06-19 09:16:23 +02:00
35bf7d5b41
same54-xpro: add DMA triggers to spi config
2020-06-14 14:56:21 +02:00
Benjamin Valentin
54b57bd97f
cpu/sam0_common: drop prescaler from timer config
...
since c05984b341
the prescaler in the timer
config struct is no longer used.
Let's remove it.
2020-06-11 19:29:43 +02:00
Benjamin Valentin
d4b601327b
boards/same54-xpro: enable DAC
...
Both PA2 and PA5 are exposed on the board, so we can enable the DAC
feature.
2020-05-02 18:31:55 +02:00
Benjamin Valentin
9ca480abf1
boards/same54-xpro: configure remaining EXT connectors
...
Add configuration for all UARTs, SPI and I2C buses available on EXT
connectors.
2020-03-24 01:16:47 +01:00
Dylan Laduranty
88bb019438
boards/sam0: update to use generic uart_hw_fc module
2020-03-10 14:22:34 +01:00
benpicco
aa1c23d4bd
Merge pull request #11929 from fabian18/driver-at24cxxx-eeprom
...
Driver for AT24CXXX EEPROM
2020-02-25 18:16:45 +01:00
fabian18
07f7d818bd
boards/same54-xpro: use at24cxxx EEPROM
2020-02-24 14:00:25 +01:00
Benjamin Valentin
3ee7b72431
boards/same54-xpro: don't source peripheral clocks from main clock
...
Use the dedicated 48 MHz clock as a source for the peripheral clocks.
This was already done for I2C to allow it to work despite the 120 MHz
main clock.
Not running the peripherals off the main clock will allow for dynamic
re-clocking of the main clock in the future, without affecting the
operation of the peripherals.
It also gives more flexibility to the main clock selection in general.
2020-02-19 17:52:12 +01:00
Benjamin Valentin
02e1c0a4ed
boards/same54-xpro: add configuration for AT24MAC402
2020-02-13 15:58:43 +01:00
Benjamin Valentin
c4e0ed4b79
boards: use explicit GCLK_SRC defines
2020-02-04 21:17:00 +01:00
Benjamin Valentin
4fbca251bc
boards/same54-xpro: use 48 MHz GCLK6 for I2C
...
We can't run I2C off the 120 MHz main clock as the availiable dividers are too small.
Use the 48 MHz GCLK 6 instead which offers an appropriate frequency.
fixes #12037
2020-02-04 21:16:54 +01:00
Benjamin Valentin
1496149bba
cpu/sam0: don't hard-code peripheral clocks
...
Instead of hard-coding the peripheral clocks to CLOCK_CORECLOCK
introduce helper functions to return the frequency of the individual
GCLKs and use those for baud-rate calculations.
This requires the GCLK to be part of the peripheral's config struct.
While this is already the case for most peripherals, this also adds
it for those where it wasn't used before.
As it defaults to 0 (CLOCK_CORECLOCK) no change is to be expected.
2020-02-04 21:06:21 +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
0d977b3b3c
cpu/sam0_common/periph/uart: implement buffered write
...
Implement interrupt based uart_write() using a tsrb for the TX buffer.
To enable it, add
USEMODULE += periph_uart_nonblocking
to your Makefile.
2019-11-27 19:01:00 +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
Benjamin Valentin
8af04cd939
boards: make use of ARRAY_SIZE macro
2019-08-06 19:43:54 +02:00
Benjamin Valentin
ddbeccb195
boards/same54-xpro: add support for SAME54-XPRO board
...
This adds support for the Atmel SAM E54 Xplained Pro Evaluation Kit.
Only basic functionality has been enabled.
2019-06-06 16:47:11 +02:00