best way to generate microseconds delay
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-29 5:02 AM
Hi,
Can anyone recommend the best way to generate microseconds delay??
and how to generate it??
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
‎2019-08-29 5:04 AM
Use a free running 32-bit TIM or DWT_CYCCNT​
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
‎2019-08-29 9:11 AM
Nop loop or lptimer xan get the job done. Actually HAL_Delay should be renamed as HAL_Delay_ms and an example of usec delay should be provided for giving snippets to developpers.
