Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Question about creating a delay function call

Status
Not open for further replies.

luckyquincy

Newbie level 5
Joined
Oct 7, 2005
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,390
Hi all,

I would like to create a delay function call in ms using the internal RC, 7.373 MHz.

if I inverse the 7.373 MHz --> 1.35 E-7. is that the real time or not??

Thanks for your help.

I appreciated it
 

Re: delay function call

Hi
it is real time but u should look into micro instructions that every instruction u are using how many cycle takes to execute and u should consider everyy compare that is in your loops.but the architecture of your micro is very important(risk and pipeline)
 

delay function call

You can use a timer with overflow interrupt. You can get delay time in any range.
 

delay function call

could u please give more infos about this?
 

delay function call

check how many cycles per instruciton the controller will take. Then calculate the delay. U can use ram count or NOP instructions or timers for delay.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top