[AVR] priority for multiple interrups in AVR

Status
Not open for further replies.

ketanrathod

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

Cookies are required to use this site. You must accept them to continue using the site. Learn more…