External Interrupts on 8051 - Questions & Answers

  • Thread starter Thread starter soul
  • Start date Start date
Click For Summary
SUMMARY

The discussion focuses on external interrupts in the 8051 microcontroller family, specifically addressing the need to clear low-level signals before executing the RETI instruction in assembly language. Participants seek clarification on edge-triggered interrupts and request code examples for better understanding. Additionally, they emphasize the importance of referring to the 8051 databook and application notes for comprehensive information on interrupts. The conversation highlights the effectiveness of community assistance in grasping complex concepts related to microcontroller programming.

PREREQUISITES
  • Understanding of 8051 microcontroller architecture
  • Familiarity with assembly language programming
  • Knowledge of interrupt handling mechanisms
  • Access to the 8051 databook and application notes
NEXT STEPS
  • Review the 8051 microcontroller databook for detailed interrupt information
  • Study edge-triggered interrupt mechanisms in microcontroller design
  • Practice writing assembly code for handling external interrupts on the 8051
  • Explore application notes related to 8051 interrupts for practical examples
USEFUL FOR

Students and professionals learning about microcontrollers, particularly those working with the 8051 family, as well as developers seeking to enhance their understanding of interrupt handling in assembly language.

soul
Messages
61
Reaction score
0
Hi eveyone,
I am taking a course about microcontrollers and 8051 family and now I am so confused about the external interrupts. Therefore, I have some questions to ask. First of all, as I know we need to remove the low level situation before the RETI instruction is executed. But how can we do this in assembly? Can anyone put some sort of code to make it clear?
Second one, how does edge-triggered interrupt work?
These are the basic questions that I want to learn. However, further information about the external interrupts are welcome.
 
Engineering news on Phys.org
Isn't this covered in the databook and app notes? It's been a long time since I wrote assembly for an 8051, but the documentation was pretty clear back then. Can you post a link to the databook for the 8051 variant you are using, and a link to an app note about using interrupts with it?
 
berkeman said:
Isn't this covered in the databook and app notes? It's been a long time since I wrote assembly for an 8051, but the documentation was pretty clear back then. Can you post a link to the databook for the 8051 variant you are using, and a link to an app note about using interrupts with it?

You are right berkeman, it is covered. I haven't understood this concept from my textbook but then I did what you said and the things that I didn't understand is clear now. Thanks for your help.
 

Similar threads

Replies
7
Views
3K
Replies
6
Views
4K
Replies
5
Views
3K
Replies
19
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K