<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/27032/problem-in-monitoring-eoc-of-adc-0809</link><description> 
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...? 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/136094?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 04:52:46 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6070f3a0-8269-4332-a7ba-08a51f35f0b8</guid><dc:creator>prashant achari</dc:creator><description>&lt;p&gt;&lt;p&gt;
LOOP4:MOV A,P0 ; MONITOR EOC ANL A,#80H JZ LOOP4&lt;br /&gt;
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...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/136092?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 04:52:40 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:50ab9c7b-45b9-4ef2-9a72-b750c19e3a3c</guid><dc:creator>Shital B</dc:creator><description>&lt;p&gt;&lt;p&gt;
As per datasheet of ADC0809 the EOC pulse goes low till conversion
completes. After conversion it goes to high level.&lt;/p&gt;

&lt;p&gt;
So the min &amp;amp; max time for which EOC pulse is low, given in
datasheet.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/136091?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 04:45:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e518a640-0c1d-44be-ade6-218cd88352e7</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;I just wanted to know whether the EOC pulse goes to high or
goes from high to low after end of conversion.... and if it goes from
low to high or high to low then what is the pulse width of
EOC&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
this is a support forum for Keil, not a &amp;quot;datasheet reading
service&amp;quot;&lt;/p&gt;

&lt;p&gt;
Erik&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/126071?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 04:33:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2fae7437-5fa4-4217-8e98-2118f308c7bf</guid><dc:creator>prashant achari</dc:creator><description>&lt;p&gt;&lt;p&gt;
I think that my way of asking question was wrong... sorry for
that....I just wanted to know whether the EOC pulse goes to high or
goes from high to low after end of conversion.... and if it goes from
low to high or high to low then what is the pulse width of EOC...
please reply me your reply is the turning point of my project....&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/126056?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 04:30:25 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b27aac86-389d-4887-a802-427d56e21da1</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
What do you mean by, &lt;i&gt;&amp;quot;press E8&amp;quot;&lt;/i&gt;?&lt;/p&gt;

&lt;p&gt;
Do you mean you are sending &amp;quot;E8&amp;quot; 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 &amp;quot;E9&amp;quot; on hypoterminal?&lt;/p&gt;

&lt;p&gt;
If so, then you have just 1 LSB error there; ie, 1 part in 256 -
or 0.4% error.&lt;/p&gt;

&lt;p&gt;
Remember that you&amp;#39;re dealing with an &lt;i&gt;&lt;b&gt;analogue&lt;/b&gt;&lt;/i&gt; signal
here - so 0.4% error is actually pretty good!!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/115630?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 03:37:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6d5f97c3-3abc-4898-815f-cea0d7401d26</guid><dc:creator>prashant achari</dc:creator><description>&lt;p&gt;&lt;p&gt;
thanks again...&lt;br /&gt;
but i have shorted the eoc and soc pin in adc..and i am giving the
data through the hyperterminal.&lt;br /&gt;
my circuit consists of max232,8051,dac,adc and back to pc through
mc.&lt;br /&gt;
now when i pree E8 in the hyperterminal i am getting as E9
back(recieved)....i am not getting where is the fault.. i have
checked the output of dac it is correct..could you help me in this
regard...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/103853?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 03:29:04 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b45b18f2-45f6-441f-be6d-9b95110b6616</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
What do you mean &lt;i&gt;&amp;quot;&lt;b&gt;the&lt;/b&gt;&amp;quot;&lt;/i&gt; sample code - as if there is
only one possible way to code it in the whole wide world?!&lt;/p&gt;

&lt;p&gt;
For a start, do you want it interrupt-driven, or polled?&lt;/p&gt;

&lt;p&gt;
As I said, &lt;i&gt;&lt;b&gt;any&lt;/b&gt;&lt;/i&gt; sample code that monitors
&lt;i&gt;&lt;b&gt;any&lt;/b&gt;&lt;/i&gt; digital input could be used&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/84687?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 03:09:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e5cac924-ad2a-4904-aac0-65d7dbe37b76</guid><dc:creator>Matir Chimael</dc:creator><description>&lt;p&gt;&lt;pre&gt;

  if (EOC)
    EOC_Detected();

&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/78194?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 03:00:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a4aab6b4-847e-45c8-a895-bd6e2963d581</guid><dc:creator>prashant achari</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks for your reply...&lt;br /&gt;
but will you please give me the sample code to just monitor
EOC...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem in monitoring EOC of ADC 0809</title><link>https://community.arm.com/thread/57955?ContentTypeID=1</link><pubDate>Thu, 25 Mar 2010 02:52:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:240e3e42-4aac-475d-a951-1f775d7dce2d</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
As far as the 8051 is concerned, it is just another digital input
- so you can &amp;quot;monitor&amp;quot; it in exactly the same ways that you&amp;#39;d monitor
any other digital input.&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.8052.com/tutorial"&gt;http://www.8052.com/tutorial&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
&lt;a href="http://www.keil.com/books/8051books.asp"&gt;http://www.keil.com/books/8051books.asp&lt;/a&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>