Hi Aziz,

The MAC should release the USART (SPI) resource after Rx or Tx
operations, that's part of the implementation, but I've not tested it
so far. A lot of the CC2420 low level code is identical to the code in
tos/chips/cc2420, so it would be interesting to see if you see the
same issue with the "standard" MAC as well (e.g. install
apps/Oscilloscope, maybe also try LPL version).

When you say that you never get the granted() event, are you using the
Resource interface provided by Msp430Usart0C()? (because this seems to
be what the CC2420 via HplCC2420SpiC() connects to)

I will also test this myself in a few days (when I return from traveling).

Jan


On Thu, Jun 9, 2011 at 11:31 AM, Aziz Khakulov <[email protected]> wrote:
> Hi all,
> I'm trying to use both UART0 (Pins 2 and 4 on the expansion port) and
> TKN15.4 MAC but facing problems. It seems that something in the MAC is
> getting the resource and not releasing it as when I try
> UartResouce.request(), it never triggers the UartResource.granted() event.
> It happens even if I just initialize MAC without receiving any packets
> (MLME_RESET.request(TRUE) task).
> Has anyone ever faced such problems and knows any possible solution?
>
> Yours,
> Aziz Khakulov
>
>
> _______________________________________________
> 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