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.

What happens when timer in 8051 finished but didn't stop?

Status
Not open for further replies.

mohamed saleh

Member level 3
Member level 3
Joined
Aug 26, 2006
Messages
62
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,768
i have Two simple Questions

1)
if i started a timer in 8051 by "SETB TR0"
when the timer has finished and overflowed,whould it stop automaticall or it will continue counting up again and again"from the initial value"
shall i stop it by "CLR TR0" or it will automatically stop


2)
what is the best disassembler for 8051
 

Re: Two simple Questions

I think this quote should answer your first question:
How does a timer count? The answer to this question is very simple: A timer always counts up. It doesnt matter whether the timer is being used as a timer, a counter, or a baud rate generator: A timer is always incremented by the microcontroller.
Quoted from:
"8051 Tutorial: Timers"
**broken link removed**

As far as your second question is concerned, try DISASSEMBLER from the same site:
**broken link removed**

Regards,
IanP
 

Re: Two simple Questions

About timer, if you don't apply any logic to reset the timer to its original value it will always incrementing up. Whenever your specified counting is finished try to reset the timer sending a pulse.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top