2019-11-01 2:10 AM
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.