<?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: LPC1549 SPI0 SSEL0 never gets low</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926972#M36975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sven,&lt;/P&gt;&lt;P&gt;Both are right, you can see the Reset value of bit 7 is 1, so there is no matter whether config like code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91322iA2F6D9748D12DB4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2019 07:52:51 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2019-10-11T07:52:51Z</dc:date>
    <item>
      <title>LPC1549 SPI0 SSEL0 never gets low</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926968#M36971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure what am I doing wrong, but ssel0 never gets pulled low. I am using lpcxpresso1549 board with arduino ethernet shield. Pins are configured in SWM as per arduino requirement.&lt;/P&gt;&lt;P&gt;P0.12 - MISO&lt;/P&gt;&lt;P&gt;P0.28 - Mosi&lt;/P&gt;&lt;P&gt;P0.14 - SCK&lt;/P&gt;&lt;P&gt;P0.27 - SSEL0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Checking PINASSIGN3 and 4, shows correct assignment. I left IOCON as default.&lt;/P&gt;&lt;P&gt;SPI0 is enabled, TXCTL-&amp;gt;SEL0 =&amp;nbsp;1, rest are 0.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;CFG-&amp;gt;SPOL0 = 0; CFG-&amp;gt;MASTER = 1;&amp;nbsp;&lt;SPAN&gt;CFG-&amp;gt;&lt;/SPAN&gt;CPHA = 0; &lt;SPAN&gt;CFG-&amp;gt;&lt;/SPAN&gt;CPOL = 0;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL1-&amp;gt;SPI0 = 1&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Starting spi0 write, ssel never gets low.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;SPI-&amp;gt;STAT-&amp;gt;RXRDY = 1; TXRDY = 1; STALLED = 1; SSA = 1; ENDTRANSFER = 0; IDLE = 0;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I control the ssel pin manually I get some garbage on the clock and master out (not what I would expect to get), also after burst of 8bits spi0 status go to stalled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Sep 2019 17:37:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926968#M36971</guid>
      <dc:creator>svensavic</dc:creator>
      <dc:date>2019-09-28T17:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 SPI0 SSEL0 never gets low</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926969#M36972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A _jive_internal="true" data-content-finding="Community" data-userid="300195" data-username="svensavic" href="https://community.nxp.com/people/svensavic" style="color: #3d9ce7; background-color: #ffffff; border: 0px; font-weight: 600; text-decoration: none; font-size: 11.9994px;"&gt;Sven Savic&lt;/A&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;Recommend you first refer to the SPi demo under LPCopen:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc15xx:LPCOPEN-SOFTWARE-FOR-LPC15XX?tab=Design_Tools_Tab" title="https://www.nxp.com/design/microcontrollers-developer-resources/lpcopen-libraries-and-examples/lpcopen-software-development-platform-lpc15xx:LPCOPEN-SOFTWARE-FOR-LPC15XX?tab=Design_Tools_Tab"&gt;LPCOpen Software for LPC15XX | NXP&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #646464; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2019 03:56:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926969#M36972</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-09-29T03:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 SPI0 SSEL0 never gets low</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926970#M36973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I have checked the sample code and it works on the same shield. What I have noticed in the sample code is that it is setting IOCON for pins in undocumented way ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define IOCON_DIGMODE_EN (0x1 &amp;lt;&amp;lt; 7) /*!&amp;lt; Enables digital function (analog pins only) */ Chip_IOCON_PinMuxSet(LPC_IOCON, 0, 27, (IOCON_MODE_INACT | IOCON_DIGMODE_EN));&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Untitled 2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/90331i4FFF651824C2B8E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Untitled 2.png" alt="Untitled 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the documentation 7th bit is defined as reserved while in the code it is set to digital mode enable. Which one is correct ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2019 17:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926970#M36973</guid>
      <dc:creator>svensavic</dc:creator>
      <dc:date>2019-09-29T17:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 SPI0 SSEL0 never gets low</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926971#M36974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The logic in TXDATCTL that controls the SSEL pins is inverted, so bit 16 (TXSSEL0) should be 0 and bits 17-19 (TXSSEL1 to TXSSEL3) should be 1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Oct 2019 21:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926971#M36974</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2019-10-03T21:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1549 SPI0 SSEL0 never gets low</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926972#M36975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sven,&lt;/P&gt;&lt;P&gt;Both are right, you can see the Reset value of bit 7 is 1, so there is no matter whether config like code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/91322iA2F6D9748D12DB4C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2019 07:52:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1549-SPI0-SSEL0-never-gets-low/m-p/926972#M36975</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2019-10-11T07:52:51Z</dc:date>
    </item>
  </channel>
</rss>

