Skip to main content
Graduate
September 2, 2023
Question

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

  • September 2, 2023
  • 2 replies
  • 1023 views

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.
    This topic has been closed for replies.

    2 replies

    Graduate II
    September 2, 2023

    Hello @Gokulraj 

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

    Best regards

    II

    Graduate II
    September 2, 2023

    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