cancel
Showing results for 
Search instead for 
Did you mean: 

Doesn't creating 1us delay by using Timer1 in NUCLEO-F410RBNUF410RB$AU1board.

Gokulraj
Associate II

Hi,

Generated delay of 1 Microsecond in NUCLEO-F410RB board by using Timer1(16bit) with counter but while using Timer(16bit) interrupt mode unable to generate 1 Microsecond delay,even the Pre-scaler,Counter and Clock frequency are at required rate(Counter=10,Prescaler=10,Clock frequency=100Mhz).So verified the NUCLEO-F410RB controller by generating different delay and it generated requireddelays(1s,1ms,10ms,100ms,200μs,100μs) except below 50μs.

 

Thanks &Regards,
M.Gokulraj.
2 REPLIES 2
Issamos
Lead II

Hello @Gokulraj 

I suggest you to follow this tutorial to implement your application.

Best regards

II

You can't interrupt at these high rates.

If you want to measure time have the counter free run at 1 MHz and inspect the count to get the desired delay 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..