1 minute delay

Thread Starter

mohansaini

Joined Apr 22, 2010
13
Hi,
I have 8-bit μc P9v51rd2fn i have to generate 1 min delay (exact) the crystal i m using is 11.0592 Mhz. i need the source codes in assembly.
 

t06afre

Joined May 11, 2009
5,934
Hi, I have 8-bit μc P9v51rd2fn i have to generate 1 min delay (exact) the crystal i m using is 11.0592 Mhz. i need the source codes in assembly.
Then people are posting like this. The poster most often is only fishing for someone to do their homework. And the posting will be ignored. And since we do not know anything about your system we can not help. I suggest you post some details about what you have tried so far, and why you struggle.
 

polleke

Joined Oct 30, 2009
3
if needed exact do it with a external rtc as you uc will have interrupts, although it is possible but you will have to count all your clockcycles to do this.
count the cycles and put some loops in the counter. cycles are 11059200*60 good luck
 

davebee

Joined Oct 22, 2008
540
A good place to start is to realize that you'll never achieve an "exact" delay, so once that is accepted, the question becomes how close is good enough.

Must the delay be one minute +/- one nanosecond? one microsecond? One millisecond? One second?

The source code can be very different depending on what error is acceptable.
 
Top