Based on my experiences with the ZigBit OEM module (I used the one
with the power amp and the rf230 transceiver), I can say that it's not
a particularly great hardware for TinyOS. You must not allow the MCU
to sleep while the radio is on, because the IRQ pin of the rf230 is
connected to a pin of the MCU that can't wake up the MCU in edge
triggered interrupt mode.

The best workaround is to change
tos/platforms/zigbit/chips/rf2xx/HplRf230P such that it provides
McuPowerOverride, and McuPowerOverride.lowestState() returns
ATM128_POWER_IDLE if the interrupt is enabled,  or ATM128_POWER_DOWN
if the interrupt is disabled. You know that the interrupt is enabled
after IRQ.captureRisingEdge() called, and it is disabled after
IRQ.disable(). You'll need to maintain this state in the module.

Janos



On Sat, May 22, 2010 at 11:40 AM, C L <[email protected]> wrote:
> Hello guys
>
> I'm testing some of my TOS applications (which work on TelosB) on the
> Meshbean platform.
>
> I access my radio through SplitControl, and I get success for
> RadioControl.start() the first time. However, I can't stop the radio:
> RadioControl.stop() returns an error.
>
> Have you come across similar issues? Any ideas to solve this? No idea is a
> bad idea!
>
> CL
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to