To: <[EMAIL PROTECTED]>
From: "Matt Orlofsky" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 11/29/2005 03:39PM
Subject: [Tinyos-help] Tmote SCLK Change Effects DelugeAll,I changed MSP430ClockM.nc (see source code snippets below) such that the SCLK would run at the same speed as the MCLK (4MHz). I did this to improve the maximum clock rate of the SPI bus. The change appears to have worked in my application however Deluge does not work properly. I'm using Deluge 2.0. Any idea what the problem is? Perhaps there is a delay loop in the Deluge code that is effected by the change in clock rate? Any help would be greatly appreciated.// Snippet from MSP430ClockM.nc v1.14 near line 60//--------before--------//// BCSCTL2
// .SELM = 0; select DCOCLK as source for MCLK
// .DIVM = 0; set the divisor of MCLK to 1
// .SELS = 0; select DCOCLK as source for SCLK
// .DIVS = 2; set the divisor of SCLK to 4
// .DCOR = 0; select internal resistor for DCO
BCSCTL2 = DIVS1;//-------/before--------////---------after---------//// BCSCTL2
// .SELM = 0; select DCOCLK as source for MCLK
// .DIVM = 0; set the divisor of MCLK to 1
// .SELS = 0; select DCOCLK as source for SCLK
// .DIVS = 0; set the divisor of MSCLK to 1
// .DCOR = 0; select internal resistor for DCO
BCSCTL2 = 0x00;//--------/after---------//Matt Orlofsky
____________________
RLW, Inc.
Phone: 814-689-1833
Cell: 585-233-8243
Disclaimer: This message is intended only for the use of the noted recipient(s) and may contain information that is priviledged, proprietary and confidential.If you received this message in error, you must not, directly or indirectly, distribute, use, disclose, print, or copy any part of this message. Please notify the sender if you have received this message by mistake and erase this email and its contents from your system. Note that any views or opinions expressed in this message are solely those of the author and do not necessarily represent those of the company. Finally, note that email transmission cannot be guaranteed to be secure or error-free. Information could be intercepted, corrupted, lost, destroyed, received late or incomplete, or infected with a virus. Therefore, the sender does not accept liability for any errors in the content of this message which arise as a result of email transmission.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
