2023-09-02 02:50 AM
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.
2023-09-02 03:26 AM
2023-09-02 03:54 AM
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