cancel
Showing results for 
Search instead for 
Did you mean: 

Generating 1 nanosecond update event using Timers - AN4013

Zaher
Senior II

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:

0693W00000D0FIqQAN.jpg 

Zaher

This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10

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.