<?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>GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/47970/gsm-interfacing-problem-with-stm32</link><description> I am trying to use SIM900A With STM32F1 USING UART FOR SENDING MESSAGE.I CAN SEE MY TRANSMITTING DATA THROUGH PUTTY BUT IN RECEIVE BUFFER I CANT GET ANY VALUE SOMETIMES MY TRANSMITTING DATA I CAN SEE IN MY RX.WHAT SHOULD WE DO FOR SENDING MESSAGE CAN</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168630?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 09:43:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a8280081-75ac-4007-83c1-237063106ec2</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;then how did you intend to test &amp;amp; debug this?&lt;/p&gt;
&lt;p&gt;But, anyhow, the&amp;nbsp;&lt;span&gt;&amp;quot;&lt;/span&gt;&lt;span&gt;&lt;em&gt;hints on debugging serial comms&lt;/em&gt;&amp;quot; link given above doesn&amp;#39;t rely on a scope or analyser...&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168629?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 09:33:38 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ac994f14-ddee-42c3-bc69-fedc83479548</guid><dc:creator>ANKUSH</dc:creator><description>&lt;p&gt;No I don&amp;#39;t have oscilloscope or analyser&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168628?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 09:16:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:08d2ede1-8271-4193-8e17-c6e317ee2943</guid><dc:creator>Andy Neil</dc:creator><description>[quote userid="70029" url="~/developer/tools-software/tools/f/keil-forum/47970/gsm-interfacing-problem-with-stm32/168626"]when i am connecting UART receive from another module i am not getting anything[/quote]
&lt;p&gt;So you need to debug what&amp;#39;s going on, then!&lt;/p&gt;
&lt;p&gt;See the &amp;quot;&lt;span&gt;&lt;em&gt;hints on debugging serial comms&lt;/em&gt;&amp;quot; link given above.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you used a logic analyser or oscilloscope to see what&amp;#39;s actually happening on the wires ?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168626?ContentTypeID=1</link><pubDate>Fri, 13 Nov 2020 07:07:10 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5a6e6af6-0a39-4667-b443-22e263c13415</guid><dc:creator>ANKUSH</dc:creator><description>&lt;p&gt;thanks for replying.yes i have checked the controller uart receive and transmit in my serial port using usb ttl.its working fine for both tx and rx.&lt;/p&gt;
&lt;p&gt;But when i am connecting UART receive from another module i am not getting anything.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168590?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 08:49:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:31dc2ba3-64cf-4a6e-b307-9d4038e84b93</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;AT Commands are just about sending &amp;amp; receiving serial data - so start by getting that working.&lt;/p&gt;
&lt;p&gt;The easiest way to do that is with your microcontroller connected to a terminal app on the PC.&lt;/p&gt;
&lt;p&gt;Yes, you will need a USB-to-TTL converter (or similar) to connect the microcontroller to the PC.&lt;/p&gt;
&lt;p&gt;Most development boards these days - including ST Nucleo - have this built in, so I would strongly suggest that you start on one of those. They also give you a debugger.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168586?ContentTypeID=1</link><pubDate>Wed, 11 Nov 2020 04:19:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4d2677d2-e91c-4cca-9df7-e606f4f6998b</guid><dc:creator>ANKUSH</dc:creator><description>&lt;p&gt;Can you tell me how to do that .I am giving Controller tx to GSM Rx and vise versa should we need USb TTL also for that&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168569?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:41:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9413240a-fc35-41d1-af3b-bf88d8836c56</guid><dc:creator>Andy Neil</dc:creator><description>[quote userid="70029" url="~/developer/tools-software/tools/f/keil-forum/47970/gsm-interfacing-problem-with-stm32/168568"]I am giving delay after each AT command also[/quote]
&lt;p&gt;&lt;strong&gt;No!&lt;/strong&gt; &lt;em&gt;&lt;strong&gt;Don&amp;#39;t&lt;/strong&gt; &lt;/em&gt;do that - that&amp;#39;s just &amp;quot;blind&amp;quot; delays - see the link in my previous post!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168568?ContentTypeID=1</link><pubDate>Tue, 10 Nov 2020 13:29:52 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ee569596-d0de-45b1-8dcd-b6c27380d4c2</guid><dc:creator>ANKUSH</dc:creator><description>&lt;p&gt;Yeah I have tried that on serial port it worked fine.I am sending data using uart tx sand rx fn in controller.I am giving delay after each AT command also.and receive through uart at the same time.i can watch in serial port that my data is transmitting but in rxbuf i am getting nothing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168511?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 16:47:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:a7c2dd83-f865-4b71-8786-5bb1ff94b265</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Have you first confirmed that you can communicate with the SIM900 manually using a PC and terminal app?&lt;/p&gt;
&lt;p&gt;And confirmed that the commands you are sending are correct, and that your module gives the responses you expect?&lt;/p&gt;
&lt;p&gt;And have you confirmed that your code works when connected to&amp;nbsp;&lt;span&gt;a PC and terminal app - with you manually emulating the SIM900?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In particular, pay attention to things like command terminators, and response separators:&amp;nbsp;&lt;a href="https://www.avrfreaks.net/comment/2212161#comment-2212161"&gt;https://www.avrfreaks.net/comment/2212161#comment-2212161&lt;/a&gt;&amp;nbsp;- check the SIM900 AT Commands&amp;nbsp; documentation carefully.&lt;/p&gt;
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://www.avrfreaks.net/comment/2212166#comment-2212166"&gt;https://www.avrfreaks.net/comment/2212166#comment-2212166&lt;/a&gt;&amp;nbsp;- and, in fact, the rest of that thread. And the links to examples.&lt;/p&gt;
&lt;p&gt;Probably the commonest mistake people make with AT Commands is not waiting for the complete response to one command before sending the next.&lt;/p&gt;
&lt;p&gt;See, for example:&amp;nbsp;&lt;a href="https://www.avrfreaks.net/comment/2209136#comment-2209136"&gt;https://www.avrfreaks.net/comment/2209136#comment-2209136&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;See also:&amp;nbsp;&lt;a href="https://www.avrfreaks.net/comment/2336161#comment-2336161"&gt;https://www.avrfreaks.net/comment/2336161#comment-2336161&lt;/a&gt;&amp;nbsp;- for some hints on debugging serial comms.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As you can see, none of this has anything specifically to do with Keil - or even STM32!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GSM INTERFACING PROBLEM WITH STM32</title><link>https://community.arm.com/thread/168509?ContentTypeID=1</link><pubDate>Fri, 06 Nov 2020 16:20:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:5fa601a8-05f7-4bfc-839f-395a402822f2</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;PLEASE DON&amp;#39;T WRITE IN ALL CAPS IT&amp;#39;S HARD TO READ!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>