Posted on June 16, 2014 at 08:55I'm very new to electronics and have a basic question regarding timer setup. I'm using an STM8L151K6 and am trying to configure TIM2 to simply generate an interrupt every 30 seconds using the standard peripheral libra...
Posted on November 26, 2013 at 19:44Based on the standard peripheral library templates for the STM8L, am I allowed to provide the source code for my project as a download or must the compiled binary only be made available?
Posted on June 16, 2014 at 20:21RTC is working fine. I've configured LSI clock source. It seems closer to 36KHz rather than 38KHz. I don't need exact timing, so this is working fine. Thanks again for the help.
Posted on June 16, 2014 at 18:19Thanks for response. I actually misstated the sleep mode. The MCU is in wait-for-interrupt as opposed to halt. I've been able to generate an interrupt every 1ms, but was assuming that by setting the counter to 30000, ...