[riot-devel] Support for Microchip MRF24J40 Radio Module

Peter Kietzmann peter.kietzmann at haw-hamburg.de
Mon Feb 29 08:37:17 CET 2016

Hi Bernhard,

I'm a bit confused. Just some days ago @TobiasFredersdorf stated to work 
on this. Did you synchronize each others?

Regarding the module initialization: Honestly I don't quite understand 
your doubts. Yes it is a signed 16 bit integer in dBm. The quantization 
to valid values is done inside the function. It makes things easier for 
the netdev(2) abstraction.

You won't get an OpenLabs transceiver within days. By experience not 
even within two weeks. If you want to cross-test drivers you could

a) get an Atmel samr21-xpro (same transceiver as OpenLaps on board) and 
run RIOT
b) get a Phytec evaluation kit. There you can cross-test with kinetis 
kw2x transceivers on either RIOT or Linux
c) use the MRF24J40 with the Linux driver on a RasPi
d) work together with @TobiasFredersdorf. He hast the hardware available.


Am 29.02.2016 um 00:58 schrieb Bernhard Nägele:
> Hello everybody,
> today I started to port the AT86RF2XX driver for the MRF24J40 radio module.
> Hier I have 2 question:
> 1. At the module initialization I found the following comment:
> /**
>   * @brief   Set the transmission power of the given device [in dBm]
>   *
>   * If the device does not support the exact dBm value given, it will
> set a value
>   * as close as possible to the given value. If the given value is
> larger or
>   * lower then the maximal or minimal possible value, the min or max
> value is
>   * set, respectively.
>   *
>   * @param[in] dev           device to write to
>   * @param[in] txpower       transmission power in dBm
>   */
>   void at86rf2xx_set_txpower(at86rf2xx_t *dev, int16_t txpower);
> How should the txpower be coded? A int16 value in dBm ??? I don't
> understand this.
> The Atmel AT86RF231 has a tx-power range from -17dBm to +3dBm and the
> MRF24J40
> has a range from -30 to 0dBm. How fits this together with that comment
> above?
> 2. From where could I get as fast as possible some OpenLabs 802.15.4
> modules (delivery should be in 2-3 days, prefered in Germany)? At the
> store of OpenLabs there is mentioned a
> delivery time from about 2 weeks....this is to long for my purpose.
> Best regards
> Bernhard
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

Peter Kietzmann

Hamburg University of Applied Sciences
Dept. Informatik, Internet Technologies Group
Berliner Tor 7, 20099 Hamburg, Germany
Fon: +49-40-42875-8426
Web: http://www.haw-hamburg.de/inet

More information about the devel mailing list