Hi Miklos,

Thanks for your help! I was already employing the files available from 
the tinyos-contrib link that you mention. However, the IO configuration 
setup defined in those files corresponds to the physical wirings in the 
IRIS mote, not Zigbit. So, I replaced those with the ones you forwarded 
and I've got the radio working now. Except for one line, the 
modifications I had mentioned in my previous email were spot on though. 
So, just for the record, the correct ones are:

     ...
     HplRF230P.PortIRQ -> IO.PortE5;
     ...
     SLP_TR = IO.PortB4;
     RSTN = IO.PortA7;
     SELN = IO.PortB0;
     ...

The line "HplRF230P.PortCLKM -> IO.PortD6;" is not needed anymore in 
HplRF230C.nc

Thanks again!

Sergio


> Hi Sergio,
>
> Look at the meshbean platform in
> tinyos-2.x-contrib/ethz/meshbean900/tos/platforms/meshbean/chips/rf230
>
> I have the attached files there, and I am sure these will be good for
> your platform as well.
>
> Best,
> Miklos
>
> On Sat, Oct 29, 2011 at 4:27 AM, Sergio Gonzalez<[email protected]>  wrote:
>> Hi Miklos,
>>
>> Thank you so much for your previous help. I ended up designing new boards
>> for my custom zigbit implementation and finally got TinyOS running on them.
>> So far I've got LEDs blinking and serial comms (TestSerial&  Printf)
>> working. However, I have been unable to get the radio working.
>>
>> The only thing I've noticed so far is what appears to be an incorrect pin
>> configuration in /tos/platforms/zigbit/chips/rf320/HplRF230C.nc that does
>> not correspond to the presupposed internal pins connections in the zigbit
>> module. The original file specifies the following configuration:
>>
>> ? ?...
>> ? ?HplRF230P.PortCLKM ->  IO.PortD6;
>> ? ?HplRF230P.PortIRQ ->  IO.PortD4;
>> ? ?...
>> ? ?SLP_TR = IO.PortB7;
>> ? ?RSTN = IO.PortA6;
>> ? ?SELN = IO.PortB0;
>> ? ?...
>>
>> Obviously, this configuration is intended for the IRIS mote, so I changed it
>> for zigbit as follows:
>>
>> ? ?...
>> ? ?HplRF230P.PortCLKM ->  IO.PortB0; ? ? // PortB5<- wrong as per P. Sommer
>> (no?) // PortD6;
>> ? ?HplRF230P.PortIRQ ->  IO.PortE5; ? ? ? ?// PortD4;
>> ? ?...
>> ? ?SLP_TR = IO.PortB4; ? ? ? ? ? ? ? ? ? ? ? ? ? // PortB7;
>> ? ?RSTN = IO.PortA7; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// PortA6;
>> ? ?SELN = IO.PortB0; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// OK!
>>
>> I don't know whether I am wrong here, and what else I am missing to get the
>> radio working accordingly. I would greatly appreciate your help on this
>> matter!
>>
>> Best regards,
>>
>> Sergio
>>
>>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to