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.

[AVR] priority for multiple interrups in AVR

Status
Not open for further replies.

ketanrathod

Junior Member level 3
Junior Member level 3
Joined
Nov 28, 2014
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
179
I am using ISR(INT0_vect) & ISR(USART_RXC_vect) interrupts. Both are in separate application codes. When I synchronizes these both codes, code doesn't works. Please suggest me what should I do ?
 

I need more help sir. Please explain how to use one ISR interrupt on the occurrence of new other ISR interrupt ?
 

Interrupt Priority is not causing any problem in your project. You say that INT0 fires and it displays messages on LCD based on values of data[0]. So ISR is working properly. wrong .hex file is being generated or there is an issue with the RAM usage. I have experienced the same problem with Arduino Code with UNO R3. The ISR was firing for small code and if some more code was added then Serial ISR was not at all firing.
 

Useful steps to get help:
- Tell briefly what you want to achieve. Up to now, you just told that your application involves two interrupts, which is rather common.
- Tell which problem you observe. "Code doesn't work" means nothing.
- Show your code.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top