Skip to main content
SJain.6
Visitor II
February 15, 2022
Question

I am using STM8 mcu , i want put a 15 minute counter or set timer to check some conditions in MCU so how i can do this?

  • February 15, 2022
  • 1 reply
  • 1012 views

..

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    February 15, 2022

    If it has a 1ms (1 KHz) ticker, count those off for the desire period. Perhaps use a TIM to count off minutes? Perhaps an RTC with an ALARM?

    Which STM8? I think they make more than one, and they often have slightly different feature mixes.

    https://www.st.com/resource/en/application_note/an3133-using-the-stm8l05xxxstm8l101xxstm8l15xxxstm8l162xxstm8al31xxstm8al3lxx-realtime-clock-stmicroelectronics.pdf

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..