RTC
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-17 4:26 PM
Posted on August 18, 2012 at 01:26
Hello everyone..,
I am new to Embedded programming. I wanted to generate 2mins delay. I already want to use two timers in PWM input and Input capture mode simultaneously. Can I use RTC to generate 2mins delay? Thanking in advance,
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-17 7:45 PM
Posted on August 18, 2012 at 04:45
On the STM32F1 you could certainly advance the RTC Alarm by 2 minutes, and keep repeating that. Hours or days could work on a similar principle.
You could mark time with the RTC interrupt, or SysTick interrupt.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-08-21 8:23 AM
Posted on August 21, 2012 at 17:23
Thanks Clive1..
will try changing the alarm time in the stdPeriph lib RTC example.