Calculator time in a micro controller

Status
Not open for further replies.

luckyvictor

Member level 4
Joined
Dec 1, 2009
Messages
78
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,903
Hi

In my microcontroller, it is running at a certain frequency named FCLK, and there is a one instruction which takes 18 TCLK of time to execute, so I need to write a delay function after this instruction, but the problem is I don't know how to measure this 18 TCLK.

Thanks
 

which controller are you using???
put the complete requirement.... what do you want to measure....

if you know the formula it is fclk / 18, thats the frequency at which the peripherals work....
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…