spirilis 1,265 Posted January 25, 2013 Author Share Posted January 25, 2013 thanks,will try patch it. yes, i am triing figuring out how to change timer in energia to VLO and after that return it back without power saving it get near 0.9mA,that is too much. Maybe try this: WDTCTL = WDT_ADLY_1_9; // WDT triggered from ACLK after ~6ms, millis() will be skewed BTW LPM3; WDTCTL = WDT_MDLY_0_5; // WDT back to original Energia setting, SMCLK 0.5ms/IRQ It looks like Energia does set up the ACLK = VLOCLK already. You can also use WDT_ADLY_16, _250, or _1000 (those numbers assume 32.768KHz ACLK btw, at ~11KHz VLOCLK they'd be 46ms, 744ms and 2.97 seconds respectively). The millis() value will be very skewed (running slow) as a result. disclaimer: I have not tried this yet lunakid 1 Quote Link to post Share on other sites
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.