<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC MicrocontrollersのトピックRe: LPC1837 - SSP1 busy bit stuck</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-SSP1-busy-bit-stuck/m-p/602297#M23416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bosko Petkovski,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think it still caused by your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So, please refer to our official LPC1837 SSP code in the lpcopen:&lt;/P&gt;&lt;P&gt;1. LPCXpresso IDE project&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_lpcxpresso_nxp_lpcxpresso_1837.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_lpcxpresso_nxp_lpcxpresso_1837.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_lpcxpresso_nxp_lpcxpresso_1837.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. IAR and MDK project&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the SSP1 code in&amp;nbsp; folder:lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837\applications\lpc18xx_43xx\iar\nxp_lpcxpresso_1837\periph\ssp&lt;/P&gt;&lt;P&gt;Please check it on your side at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 01:42:41 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-03-03T01:42:41Z</dc:date>
    <item>
      <title>LPC1837 - SSP1 busy bit stuck</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-SSP1-busy-bit-stuck/m-p/602296#M23415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've written some code to make use of &amp;nbsp;the SSP module of lpc1837 for SPI communication and it initially worked just fine.&lt;/P&gt;&lt;P&gt;However, after some minor changes it stopped sending data out. I've tried debugging and discovered that the busy bit from SSP1 status register is stuck on 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are the steps I take:&lt;/P&gt;&lt;P&gt;CREG0 --&amp;gt; 0x2CF&lt;/P&gt;&lt;P&gt;CPSR --&amp;gt; 0x5A&lt;/P&gt;&lt;P&gt;CREG1 --&amp;gt; 0x06&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After writing in the data register I read and print the status register in a while cycle and it always has the value 0x12 i.e. BSY &amp;amp; TNF bits are set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone encountered a similar problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 15:06:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-SSP1-busy-bit-stuck/m-p/602296#M23415</guid>
      <dc:creator>boskop</dc:creator>
      <dc:date>2017-02-27T15:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1837 - SSP1 busy bit stuck</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-SSP1-busy-bit-stuck/m-p/602297#M23416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bosko Petkovski,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I think it still caused by your code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; So, please refer to our official LPC1837 SSP code in the lpcopen:&lt;/P&gt;&lt;P&gt;1. LPCXpresso IDE project&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_lpcxpresso_nxp_lpcxpresso_1837.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_lpcxpresso_nxp_lpcxpresso_1837.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_lpcxpresso_nxp_lpcxpresso_1837.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. IAR and MDK project&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837.zip" title="http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837.zip"&gt;http://www.nxp.com/assets/downloads/data/en/software/lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find the SSP1 code in&amp;nbsp; folder:lpcopen_2_20_keil_iar_nxp_lpcxpresso_1837\applications\lpc18xx_43xx\iar\nxp_lpcxpresso_1837\periph\ssp&lt;/P&gt;&lt;P&gt;Please check it on your side at first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wish it helps you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 01:42:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1837-SSP1-busy-bit-stuck/m-p/602297#M23416</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-03T01:42:41Z</dc:date>
    </item>
  </channel>
</rss>

