Benjamin Valentin
4d1a5aa62c
cpu/sam0_common: eth: port to new netdev API
2024-05-23 17:19:32 +02:00
Benjamin Valentin
2a255ff3e8
cpu/sam0_eth: interrupt based link detection/auto-negotiation
2023-06-14 14:21:52 +02:00
Benjamin Valentin
04b895ce8a
cpu/sam0_eth: use 64 bit bus
2023-06-05 11:42:55 +02:00
Benjamin Valentin
385d260069
cpu/sam0_eth: disable PHY when MAC is sleeping
...
- idle 13.88 mA
- MAC off 11.48 mA
- MAC+PHY off 10.73 mA
2023-05-31 14:08:50 +02:00
Benjamin Valentin
faf8be39c6
cpu/sam0_eth: clean up init()
...
- don't enable PHY twice
- properly set NCFGR register
- sam0_read_phy() does not return a signed value
2023-05-30 15:41:24 +02:00
Benjamin Valentin
2583239867
cpu/sam0_eth: generate RX event for queued packets
2022-06-17 10:50:31 +02:00
Benjamin Valentin
1f96e95fde
cpu/sam0_eth: implement SLEEP state
...
This saves ~3 mA when the device is in SLEEP mode.
2022-03-31 23:54:33 +02:00
dylad
950c71cc10
cpu/sam0: improve ethernet driver resilience
...
In case of network heavy traffic on the Ethernet, interrupts
fire faster than the netdev thread can process them and we
run out of buffers. With this commit, we now check if we
don't have buffers available, so we can flush everything and
restart reception properly even if we did drop a few in the
operation
2021-07-27 12:52:07 +02:00
ba85c2d9ca
cpu/sam0_common: fix ENABLE_DEBUG definition
2021-01-08 14:37:33 +01:00
dylad
a1f5b6182d
cpu/sam0: add initial Ethernet support
2020-12-13 22:01:50 +01:00