cancel
Showing results for 
Search instead for 
Did you mean: 

Need help !!! I want to make 3 delay functions which works guaranteed delay in nanoSecond, microSecond and milliSeconds using Timer.

Vivek yadav1
Associate III

What i am currently using to achieve my goal.

Few Details :

1: STM32F103C8 Blue Pill

2: CMISS core Library

3:Datasheet, Reference Manual and Programming Manual

I have attached two files. Which give you some idea that how I want to make These 3 functions. I want to understand at Register level.

I want to configure Registers by myself.

Thanks & Regards

@Vivek yadav​ 

20 REPLIES 20

you can get time between external events at higher resolution, but not delays. You’re still limited to an integer number of system ticks, plus some ticks in overhead. Of course at 480MHz you’re just shy of 2ns resolution.

The stm32f3 also has a super precise timer for external events.

If you feel a post has answered your question, please click "Accept as Solution".