[riot-devel] Support for Microchip MRF24J40 Radio Module

malo malo at 25cmsquare.io
Mon Feb 29 08:36:32 CET 2016


Hello Bernhard,

as for first question: check for the AT86RF2XX_REG__PHY_TX_PWR macro
and dbm_to_tx_pow function + rf231 datasheet
for the second question have a look at atzb-a-233-xpro module from atmel
(can get it from mouser) if you are or ok with 233 and not strictly 231.

wbr
malo

On 29 February 2016 at 00:58, Bernhard Nägele <bernhard at naegele-privat.de>
wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20160229/0fd66741/attachment.html>


More information about the devel mailing list