[Tinyos-devel] msp spi dma driver prevents lowpower mode 3

David Moss dmm at rincon.com
Thu Feb 28 09:06:52 PST 2008


Roman -

I saw your email on this last month.  Has anyone taken any action on this?
I'll do some analysis to double check it works, and if it does, we should
get your fix checked in asap.

-David


-----Original Message-----
From: tinyos-devel-bounces at millennium.berkeley.edu
[mailto:tinyos-devel-bounces at millennium.berkeley.edu] On Behalf Of Roman Lim
Sent: Tuesday, January 22, 2008 9:04 AM
To: TinyOS Development
Subject: [Tinyos-devel] msp spi dma driver prevents lowpower mode 3

i noticed that my application (running on tmotes) using dma on spi does 
not go to the lowest possible sleep mode but only to LPM1.
i managed to find out, that in McusleepC when calculating the lowpower 
mode, ME1 had the USPIE bit set. this is, because in Msp430SpiDmaP the 
unconfigure command does nothing. I don't know, if this is done on 
purpose, but if not, the same code as in Msp430SpiNoDmaP would do the 
job (see follwing diff)

roman

cvs diff: Diffing .
Index: Msp430SpiDmaP.nc
===================================================================
RCS file: 
/cvsroot/tinyos/tinyos-2.x/tos/chips/msp430/usart/Msp430SpiDmaP.nc,v
retrieving revision 1.5
diff -r1.5 Msp430SpiDmaP.nc
91a92,94
 >     call Usart.resetUsart(TRUE);
 >     call Usart.disableSpi();
 >     call Usart.resetUsart(FALSE);
_______________________________________________
Tinyos-devel mailing list
Tinyos-devel at millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Msp430SpiDmaP.nc
Type: application/octet-stream
Size: 6257 bytes
Desc: not available
Url : https://www.millennium.berkeley.edu/pipermail/tinyos-devel/attachments/20080228/5f5f313a/Msp430SpiDmaP-0001.obj


More information about the Tinyos-devel mailing list