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.

Using timer0 and serial interrupt in 8051

Status
Not open for further replies.

shaji001

Newbie level 2
Joined
Oct 12, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,293
Hi, I am implementing an up/down counter with a delay of 1sec(using Timer0) and dsiplaying it on the terminal using serial port at the same time. When i implement only the led display it works but when i add the logic for hyperterminal display it doesnt. But the same terminal display logic is working in a program where no timer interrupt is used. Can anyone please help me on this? Thanks.
 

May be the problem of Interrupt priority....

But can u put your code so we can varify it????
 

Hi, thanx for responding...I'm attaching my codehere. Please suggest any changes if required.
 

on the begin of interrupt subroutine is missing (minimum!):

"push psw"

end before instruction reti:

"pop psw"
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top