<?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>89S52 not able to receive complete AT Response from SIM900 GSM MOdem</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/31448/89s52-not-able-to-receive-complete-at-response-from-sim900-gsm-modem</link><description> 
Hello 
I have connected SIM 900 (GSM Modem) with 89S52 Controller, via RS232
Communication. 
If I send AT from controller to Modem , it is replying with 
AT 
OK 
but my controller is just able to receive character “A”,
(in below given cod if “A” is</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: 89S52 not able to receive complete AT Response from SIM900 GSM MOdem</title><link>https://community.arm.com/thread/107682?ContentTypeID=1</link><pubDate>Sat, 10 May 2014 09:11:56 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:58f711d2-74bb-4a6b-902c-1cabaf2007ef</guid><dc:creator>sanjyot kadu</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you very much for paying attention to my query,&lt;/p&gt;

&lt;p&gt;
as you suggested i changed Receiving data on UART Interrupt
(interrupt 4) and now i am able to receive all the characters into
buffer.&lt;/p&gt;

&lt;p&gt;
i will get back here for more doubts in future&lt;/p&gt;

&lt;p&gt;
thank you&lt;br /&gt;
sanjyot&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 89S52 not able to receive complete AT Response from SIM900 GSM MOdem</title><link>https://community.arm.com/thread/93187?ContentTypeID=1</link><pubDate>Sat, 10 May 2014 04:35:19 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:362807a6-6681-482f-8c04-dfdde4236cab</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Your code is unreadable.&lt;/p&gt;

&lt;p&gt;
But don&amp;#39;t use any timer interrupt to try to send multiple
characters with your send_on_wire() function. Unless you have a
processor with enabled FIFO, the UART will not be able to receive
multiple characters at the same time so the send code (which you
didn&amp;#39;t post) has to wait for the transmit register to get room for
more data.&lt;/p&gt;

&lt;p&gt;
And not only that - you somewhere also wants code ready to pick up
any echo from the modem when it arrives. And then you better not be
busy doing a send.&lt;/p&gt;

&lt;p&gt;
That is a good reason for doing things one character at a time.
And it&amp;#39;s also a good reason for using an UART interrupt handler that
can check if there is any received character and/or if the UART is
ready to send one more character.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 89S52 not able to receive complete AT Response from SIM900 GSM MOdem</title><link>https://community.arm.com/thread/62802?ContentTypeID=1</link><pubDate>Fri, 09 May 2014 21:22:54 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:67be772b-d38f-454c-a717-80e8fc5217c7</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
Please review the posting instructions before posting source code
again.&lt;/p&gt;

&lt;p&gt;
You&amp;#39;ll need to be able to receive multiple characters and
accumulate them with be able to see the echo, or &amp;quot;OK&amp;quot; and &amp;quot;ERROR&amp;quot;
type responses. You&amp;#39;d probably want to manage the incoming data using
an interrupt to collect them into a buffer.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>