Skip to main content
Visitor II
November 1, 2019
Question

Can I add 30 minutes delay using Timer or RTC in STM8L051F3

  • November 1, 2019
  • 0 replies
  • 557 views

I am currently trying to put STM8 in sleep mode after 30 minutes if no activity is observed on I2C. I am able to use timer4 to get a delay in ms upto 1 secs but I am unable to get delay in minutes. Do I need to use RTC for this? If so can someone please suggest how I can configure and set RTC clock to get 30 minutes delay. I have gone through RTC periodic wakeup example but not sure if that is something I can use.

    This topic has been closed for replies.