<?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>topic Re: LPCOPEN example SSP(SPI) with LPC_SSP1 instead of LPC_SSP0 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617736#M24166</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind. There is only 1 CLK1. Don't know the problem then....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Mar 2017 14:01:16 GMT</pubDate>
    <dc:creator>luukgr</dc:creator>
    <dc:date>2017-03-03T14:01:16Z</dc:date>
    <item>
      <title>LPCOPEN example SSP(SPI) with LPC_SSP1 instead of LPC_SSP0</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617735#M24165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to get the lpcopen example ssp to work with LPC_SSP1? I'm using the lpc11c24 chip.&lt;/P&gt;&lt;P&gt;I changed:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define LPC_SSP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SSP1&lt;BR /&gt;#define SSP_IRQ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSP1_IRQn&lt;BR /&gt;#define SSPIRQHANDLER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SSP1_IRQHandler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, IOCON_PIO2_2, (IOCON_FUNC1 | IOCON_MODE_INACT));&amp;nbsp;&amp;nbsp; &amp;nbsp;/* MISO1 */&lt;BR /&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, IOCON_PIO2_3, (IOCON_FUNC1 | IOCON_MODE_INACT));&amp;nbsp;&amp;nbsp; &amp;nbsp;/* MOSI1 */&lt;BR /&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, IOCON_PIO2_0, (IOCON_FUNC1 | IOCON_MODE_INACT));&amp;nbsp;&amp;nbsp; &amp;nbsp;/* SSEL1 */&lt;BR /&gt;Chip_IOCON_PinMuxSet(LPC_IOCON, IOCON_PIO2_1, (IOCON_FUNC1 | IOCON_MODE_INACT));&amp;nbsp;&amp;nbsp; &amp;nbsp;/* SCK1 */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I'm &lt;SPAN class=""&gt;presume&lt;A rel="nofollow"&gt; &lt;/A&gt;&lt;/SPAN&gt;the problem lies in: Chip_IOCON_PinLocSel(LPC_IOCON, IOCON_SCKLOC_PIO2_11); which needs to be Chip_IOCON_PinLocSel(LPC_IOCON, IOCON_SCKLOC_PIO2_1); but this doesn't exist in the library. Which value do I need to put in. I'm a little confused by the library and the registers...&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 13:33:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617735#M24165</guid>
      <dc:creator>luukgr</dc:creator>
      <dc:date>2017-03-03T13:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOPEN example SSP(SPI) with LPC_SSP1 instead of LPC_SSP0</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617736#M24166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind. There is only 1 CLK1. Don't know the problem then....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 14:01:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617736#M24166</guid>
      <dc:creator>luukgr</dc:creator>
      <dc:date>2017-03-03T14:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPCOPEN example SSP(SPI) with LPC_SSP1 instead of LPC_SSP0</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617737#M24167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luuk Grefte,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Your pin function configuration is not correct, please check the user manual. I have checked it, SPI function in PIO2_0, PIO2_1, PIO2_2, PIO2_3 is all function 2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Take an example:&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/16062i36FA63FBD3071046/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;/P&gt;&lt;P&gt;Chip_IOCON_PinLocSel can be found in iocon11xx.h, in the lpc_chip_11cxx.lib.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/16108i62E8FE99C5AE25C4/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please modify the pin function to 2, then try again.&lt;/P&gt;&lt;P&gt;If you still have question, please let me know!&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>Mon, 06 Mar 2017 10:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPCOPEN-example-SSP-SPI-with-LPC-SSP1-instead-of-LPC-SSP0/m-p/617737#M24167</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-03-06T10:07:32Z</dc:date>
    </item>
  </channel>
</rss>

