[Tinyos-help] cc2420 RF power
Marco Antonio Lopez Trinidad
marco.lopez at unige.it
Mon Aug 13 02:02:23 PDT 2007
Hi Roberto,
> the cc2420 allows different RF output power levels. The default value is set
> to
>
> (1 << CC2420_TXCTRL_PADIFF) | (0x1f << CC2420_TXCTRL_PAPWR));
>
> I'm wondering to know to which value that correspond to, since I didn't find
> it in the datasheet. Also, the possible values are
>
> 31
> 27
> 23
> 19
> 15
> 11
> 7
> 3
>
That are not the right output power RF values, the right-ones are:
P = -25 dBm, -15 dBm, -10 dBm, −5 dBm, 0 dBm. (radio Manual page 14 of 90)
by default the radio is set to 0 dBm.
check it in:
/opt/tinyos-1.x/tos/lib/CC2420Radio
In particular,
CC2420Const.h
and
CC2420ControlM.nc
> what happens if the RF power is set to a different value, say 30 for
> example?
>
>
> Thank you
>
ciao,
--marco.
More information about the Tinyos-help
mailing list