Generating 1 nanosecond update event using Timers - AN4013
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-07-21 7:54 AM
According to AN4013 on using timers as time base generators, one could use a 16-bit timer to generate an update event from a nanosecond to a few minutes.
Well, take for example the STM32F429 clocked @ 180 MHz. If one cycle takes 5.56 ns, which is the fastest clock available for APB2 Timers, how to go beyond that to generate a 1 nanosecond intervals?
I know that 1 nanosecond = 32403240 CPU Ticks
Could it be done by measuring/calculating CPU Ticks?
Why I would need a timing base in the nanosecond range is beyond the scope of this question!
AN4013 for reference:
Zaher
- Labels:
-
Documentation
-
HRTIM
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-07-21 9:33 AM
Thank you Clive. Well, nanosecond delays in multiple of 10s will do fine for most applications, but there are some other applications where a more tight timing is required. The text draw my attention in the AN "a nanosecond" so I wanted to confirm if there's a way to do it.

- « Previous
-
- 1
- 2
- Next »