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.
I am interfacing ADc0809 with 8051 but dont know how to monitor the EOC of ADC so can anybody help me .... i want to monitor EOC using assembly coding so how can i do it...?
What do you mean by, "press E8"?
Do you mean you are sending "E8" to the MCU, it then interprets that as a hex value, and sends it to the DAC; the DAC output is connected to the ADC input; the MCU reads the result from the ADC, and sends it back to the PC - here you see "E9" on hypoterminal?
If so, then you have just 1 LSB error there; ie, 1 part in 256 - or 0.4% error.
Remember that you're dealing with an analogue signal here - so 0.4% error is actually pretty good!!
LOOP4:MOV A,P0 ; MONITOR EOC ANL A,#80H JZ LOOP4 above mentioned is the code which i used to monitor the EOC pulse which i am checking at port p0.7,but the problem is that when i run the program it is getting struck can you please sort the error in my code...