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

10 Commits

Author SHA1 Message Date
Jose Alamos
91a299cb7d
drivers/mrf24j40: add support for IEEE 802.15.4 Radio HAL 2023-01-19 15:31:06 +01:00
Jan Romann
4384795cb9
treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
Bas Stottelaar
92b1dfc703 drivers/*: realign ENABLE_DEBUG 2020-10-23 01:26:09 +02:00
Leandro Lanzieri
ede9117a1e
drivers/mrf24j40: Turn MRF24J40_USE_EXT_PA_LNA into bool config
MRF24J40_USE_EXT_PA_LNA is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:30 +02:00
Leandro Lanzieri
655ce69903
drivers/mrf24j40: Turn MRF24J40_TEST_SPI_CONNECTION into bool config
MRF24J40_TEST_SPI_CONNECTION is moved to the 'CONFIG_' namespace and by
default is not set. Now it is checked in code using 'IS_ACTIVE'.
2020-04-08 18:49:27 +02:00
Benjamin Valentin
38b35c513c drivers/mrf24j40: allow for basic self-test on init
During production it is often desirable for devices to perform
some kind of basic self-test to isolate defects.

For this it is necessary for the initialization not to hang if a
component is faulty / not connected.

This moves an already exising self-test that was previously enabled
as a debug option to an independent compile-time configurable.

It is necessary to call this in _init() before mrf24j40_hardware_reset()
as the reset function uses xtimer_usleep() which will cause another
thread to get scheduled.
If this thread (e.g. rpl or ipv6) then tries to access the netdev, RIOT
will crash.
2019-10-14 14:50:06 +02:00
Benjamin Valentin
477938e46e drivers/mrf24j40: add external PA/LNA control on MC/MD/ME devices
The MRF24J40MC/MD/ME modules contain an external power amplifier &
low noise amplifier that has to be enabled manually by setting three bits
in the TESTMODE register.
On MRF24J40MC the power amplifier is powered by a separate voltage regualtor
that has to be enabled by setting GPIO3 to HIGH.

During Sleep and CCA the PA should be disabled.

Co-authored-by: Carton <joel.carron@eeproperty.ch>
Co-authored-by: Benjamin Valentin <benjamin.valentin@ml-pa.com>
2019-05-23 11:07:04 +02:00
3712def1f5 mrf24j40: Remove TX fifo write function 2017-09-04 15:59:31 +02:00
c7d8c7ace5 mrf24j40: Remove rx fifo write function 2017-08-29 10:27:20 +02:00
672da2c457 drivers/mrf24j40: initial mrf24j40 support 2017-01-26 10:05:20 +01:00