<?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>LPC2136 SPI0 not working</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/35217/lpc2136-spi0-not-working</link><description> 
hello friends, 

 
i am using arm7 lpc2136 to make communication via SPI with a
graphic lcd. for some reason this code is not working (SPI is not
sending), i do not receive any error from the compiler keil-v5
however the microcontroller does not work</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC2136 SPI0 not working</title><link>https://community.arm.com/thread/83856?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 07:58:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aa5f61cf-4559-4ec2-a678-ae483a68ddb2</guid><dc:creator>Raul</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hello Andrew, answering your questions, I have already confirmed
the microcontroller with a simple application and responds well to
changes in the input / output ports.&lt;/p&gt;

&lt;p&gt;
However, the function that stops the operation of the
microcontroller is the function PLL when trying to use external
oscillator the code does not work.&lt;/p&gt;

&lt;p&gt;
I have removed the PLL function in the code and I see the high and
low changes in P0.21 however I do not see data output by the SPI.&lt;/p&gt;

&lt;p&gt;
Regards,&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2136 SPI0 not working</title><link>https://community.arm.com/thread/70864?ContentTypeID=1</link><pubDate>Wed, 15 Aug 2018 07:29:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cdd3a430-c9bb-44a8-88ed-e38920f82ad4</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
If the &lt;i&gt;microcontroller&lt;/i&gt; itself does not work, that&amp;#39;s a
hardware fault.&lt;/p&gt;

&lt;p&gt;
Presumably, you really mean that your code is not producing the
results that you wanted?&lt;/p&gt;

&lt;p&gt;
So the standard 3 questions are:&lt;/p&gt;

&lt;p&gt;
1. What, exactly, did you &lt;i&gt;expect&lt;/i&gt; the code to do?&lt;/p&gt;

&lt;p&gt;
2. What, exactly, is the code &lt;i&gt;actually&lt;/i&gt; doing?&lt;/p&gt;

&lt;p&gt;
3. What investigation / testing / debugging have &lt;i&gt;&lt;b&gt;you&lt;/b&gt;&lt;/i&gt;
done to find the problem?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>