Thansk for a speedy reply... As the command was not reading from the chip I decided to use the HPLCC2420C module. I am using the read and write functions to write values directly into the TXCTRL register. However I realised that I am able to do it only once... I am using a Timer. When the timer fires each time, I am trying to change the value in the register. However I can only seem to the value that I had written the first time...

Why should this happen? Could you please help?

Regards

Dattatraya

On 3/27/06, Robert Szewczyk < [EMAIL PROTECTED]> wrote:
Hi Dattatraya,

I've looked at the code, and on inspection there is nothing wrong with
it.   Note that getRFPower does not actually query the chip, but
rather returns the cached value for RFPower; in order for this to work
you'd have to have called either CC2420RadioC.SplitControl.init() or
CC2420ControlM.SetRFPower ().  Then the function shall return a value
between 0 and 31.

Cheers,

Rob

On 3/25/06, Dattatraya Gokhale <[EMAIL PROTECTED]> wrote:
> hello
>
> I saw your mail about the same on the tinyos mailing list. I am trying to
> read the power level of transmission from the corresponding register but I
> am unable to do so.. Could you provide some insight? I am wiring to the
> CC2420ControM component and using the GetRFPower command. However the
> resultant uint8_t number does not have any of its lower bits set which I
> dont think should be the case... Could you help?
>
> Regards
>
> --
> Dattatraya
>
> -------------------------------------------------
> Work fascinates me, I can stare at it for hours...!!



--
Dattatraya

-------------------------------------------------
Work fascinates me, I can stare at it for hours...!!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to