Another thread [
https://groups.google.com/group/ti-launchpad/browse_thread/thread/ebd11949354ce2a5
] got off topic on discussions of things that people cant quite figure
out from the docs and/or Beginner questions.
To stop hijacking the thread I am starting this new one.
So far questions include:
"the stuff about the low power states seems a little incomplete, some
docs mention 4 power states some 5 and I have not found anything that
explicitly answers the question of if you need to re-issue the low
power command at the end of your interrupt handle code."
(it seems you do not have to re-issue the sleep command)
"how much do those tiny leds on the board draw?"
(NJC has a good suggestion for figuring this out with the right tools
in the original thread)
"I don't use an external crystal for my project; from what I
understand that seriously limits me as to which low power modes I can
use"
the last question lead to these posts:
-----------------------------------------------------------------------------------------------------------
I thought I just ran into the limitation you were mentioning about not
having an external crystal while trying to build the temp project I
had mentioned. it seems that SMCLK is the only clock that works
without the debugger and ACLK is the one you want for long durations,
but some poking about and I found the command to change ACLK to not
rely on an external reference "BCSCTL3 |= LFXT1S_2" and it seems to
work without the emulator connection.
what is the limitation you were referring to, just that it is less
accurate timing?
anyway, I took a stab at the blinky thermometer idea I mentioned
earlier. you can see the code here :
http://bill-landers.blogspot.com/2010/08/msp430-launchpad-low-power-thermometer.html
most likely I have done some things poorly, but it seems to work
correctly...
From: NJC MSP430 LaunchPad Blog <
nicholasjc...@gmail.com>
Date: Mon, 2 Aug 2010 01:23:13 -0700 (PDT)
Bill,
http://mspsci.blogspot.com/2010/07/tutorial-08-beating-heart-bcs-part-i.html
I would recommend taking a look at beretta's post above on clocks if
you haven't already. If you want some extra help on understanding the
clocks better, post on either this group or the
43oh.com/forum/ . Make
new threads, help start the community. :-) I'll also comment on any
post you make about the limitations I mentioned in my last message.
BCSCTL3 |= LFXT1S_2;
As far as the line of code above, this sets the source for the clock
as the LVOCLK. I will not discuss more about this here, or your code
here, since this is a link thread :-P. i would recommend posting your
code on either this group, or the
43oh.com/forum/ and hopefully some
people will be able to discuss your code with you. :-) I will be
watching both places so I will help out a bit when I have time.
-----------------------------------------------------------------------------------------------------------