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.

[SOLVED] NEED HELP to move further in 8051

Status
Not open for further replies.

basavaraj.mr

Junior Member level 3
Joined
Mar 24, 2010
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,291
Location
banglore
Activity points
1,537
Hai,

Am struck in activating the interrupt in 8051.
Am trying for total of 4 inputs,out of which one is more priority.
Basically am using "while loop" for these three inputs .

and i don't no how to give prioritize input ..

For info: MCU is Philips 89v51RD2



Pls post some reference code for the above.


Pls plz plz .......
 
Last edited:

your question is not very clear
pls give us more details like circuit diagram and code for solving your problem.
or read 8051 book by mazidi.
 

hi

there are two external interrupts and two timer/counter interrupts can be accomplished with the standard 8051 devises.
if you can explain the actual requirement we may be able to help you better

ml
 

interrupt priority can be set using ip register. rest of the question is pretty foggy, plz evaluate if u want help
 

This is ISR function:
void ISR_ex0(void)interrupt 0
{

lcdcmd(0x01);
lcd_line1(0);
lcd_puts("Pls cal to -->");
lcd_line2(0);
lcd_puts("9844098440");


}
In the main:

void main()
{

<do some thing>

IE=0x81;
while(1)
{
}
}


when ever i powered up the unit this above code is executing automatically irrespective of the INT0 pin in the IC

Pls help me to find out the problem.

Am struck to initialize the external hardware interrupt.

In my project am using P89v51rd2 IC.
 
Last edited:

Hai here am posting clear details pls help me .


This is ISR function:
void ISR_ex0(void)interrupt 0
{

lcdcmd(0x01);
lcd_line1(0);
lcd_puts("Pls cal to -->");
lcd_line2(0);
lcd_puts("9844098440");


}
In the main:

void main()
{

<do some thing>

IE=0x81;
while(1)
{
}
}


when ever i powered up the unit this above code is executing automatically irrespective of the INT0 pin in the IC

Pls help me to find out the problem.

Am struck to initialize the external hardware interrupt.

In my project am using P89v51rd2 IC.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top