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

David Moss dmm at rincon.com
Thu Feb 28 09:25:45 PST 2008


I verified this works fine, and does put your node into a lower power mode
without messing anything up.  Everyone using an MSP430 platform with DMA
owes you a beer.

-David



-----Original Message-----
From: tinyos-devel-bounces at millennium.berkeley.edu
[mailto:tinyos-devel-bounces at millennium.berkeley.edu] On Behalf Of David
Moss
Sent: Thursday, February 28, 2008 10:07 AM
To: 'Roman Lim'; 'TinyOS Development'
Subject: RE: [Tinyos-devel] msp spi dma driver prevents lowpower mode 3

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




More information about the Tinyos-devel mailing list