[Tinyos-devel] problem with msp430 spi unconfigure.
Eric Decker
cire831 at gmail.com
Thu May 8 20:36:25 PDT 2008
async command void ResourceConfigure.unconfigure[ uint8_t id ]() {
call Usart.resetUsart(TRUE);
call Usart.disableSpi();
call Usart.resetUsart(FALSE);
}
The above is from tos/chips/msp430/usart/Msp430SpiNoDmaP.nc and I suspect
other spi modules
but I haven't looked. I suspect the last call Usart.resetUsart(FALSE) of
being a problem. It
will leave the Usart in a running state.
I would think that the Usart should be left reset if it is unconfigured.
eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080508/b75e3e1d/attachment.htm
More information about the Tinyos-devel
mailing list