Calculate delay
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-08-14 12:24 PM
Posted on August 14, 2013 at 21:24
hello
how can i calculate a delay of 1 second if i have this parameters: SYSCLK(Hz) | 168000000 *----------------------------------------------------------------------------- * HCLK(Hz) | 168000000 * HSE Frequency(Hz) | 8000000 and thnx :)
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
‎2013-08-14 12:54 PM
Posted on August 14, 2013 at 21:54
I guess you could spin on DWT_CYCCNT for 168000000 ticks.
Or use a timer with prescale and period factors of 16800 and 10000, this isn't complicated stuff.
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
‎2013-08-19 3:06 AM
Posted on August 19, 2013 at 12:06
thank you :)
yeah i just wanted to verify