We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am using 8051 family's uController(AT89C55WD). May I know is there a way to enable or disable transmit(TI) and receive(RI) interrupt individualy?
Pls advice... Thank you.
regards,
I don't believe this is possible.
If you want to ignore one of the two, you will need to do so inside your interrupt service routine.
"I don't believe this is possible."
It is not Possible!
Look at the diagrams on pp12-16 of Chapter 3 of the so-called "bible" for the 8051:
Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer's Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf
You can disable the receiver, though...
Well ... unless you can change the hardware. That would create a nonstandard derivative though.
"unless you can change the hardware"
I'm sure that anyone who was in a position to change the hardware wouldn't have needed to ask the question in the first place... ;-)
Presumably, though, if one were working with a softcore it might not be that hard...
Thanx the reply from all.
"softcore it might not be that hard"
Ya, what i mean is disable in the software coding.
That is not possibile.
A "softcore" has nothing to do with "software" - it means that you have a chip where you can actually modify the behavior of the "the hardware" core.
You quoted me as saying, "softcore it might not be that hard" - but you missed the important part of it!
What I actually said was (emphasis added), "if one were working with a softcore it might not be that hard..."
You are not working with a softcore - you are using a standard, off-the-shelf, physical chip - the AT89C55WD, you said.
For a standard 8051 (including the AT89C55WD), the original advice stands: You can not separately enable/disable TI and RI.
Although, as originally noted, you can disable the receiver...
Hi... I'm sorry for my careless and overlook.
I noted what you all mean. Thank you for the reply.
regards, perline