Before flash writing I am requesting for the SPI resource but it not
granted. How to overcome this situation?

On Tue, May 1, 2012 at 10:33 AM, kaustav das <[email protected]>wrote:

> When I am calling the function for acquiring SPI resource for flash
> writing the radio stops receiving packets. I am not understanding what is
> happening?
>
>
> On Tue, May 1, 2012 at 5:24 AM, Johny Mattsson <[email protected]>wrote:
>
>> On 30 April 2012 13:04, kaustav das <[email protected]> wrote:
>> > Thanks. I have tried with resource arbitration by giving exclusive
>> access of
>> > SPI for flash writing. But that didn't work.
>>
>> The idea is that thanks to resource arbitration you don't need to
>> worry about exclusivity - the arbiter grants exclusive access in
>> sequence, ensuring there are no conflicts. If for some reason (I can't
>> see why though) you need to not have anyone else even request bus
>> access while you're doing your flash I/O, then you'll need to stop
>> those components.
>>
>>
>> Regards,
>> /Johny
>>
>> PS. It's good to keep the list cc'd for archival purposes, plus it
>> gives others a chance to contribute further information.
>> --
>> Johny Mattsson
>> Senior Software Engineer
>>
>> DiUS Computing Pty. Ltd.
>> where ideas are engineered
>>
>
>
>
> --
> Kaustav Das,
> M.Tech Student,
> Department of CSE,
> IIT Bombay
>
>


-- 
Kaustav Das,
M.Tech Student,
Department of CSE,
IIT Bombay
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to