<?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: SPI not works on LPC43S67 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708558#M28568</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ChuYuan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please tell me what the board you are using, the full name of your board, and the full name of the code which you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check the code, what the detail SPI pin in the code, just make sure, the problem is not caused by the wrong spi testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp; As I know, our lpcopen code for SPI works OK, I have test it before.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still can't make it work, please give me the detail information.&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>Thu, 31 Aug 2017 06:57:09 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2017-08-31T06:57:09Z</dc:date>
    <item>
      <title>SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708557#M28567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the LC43S67, and try to run the example code periph_ssp on mcuxpresso ide,&lt;/P&gt;&lt;P&gt;after I burn the binary to the target board, I can set the SPI mode and translate method over ttyACM (VCOM),&amp;nbsp;&lt;/P&gt;&lt;P&gt;that works, but there is not signals from SPI clock or MOSI (from J4 in target board).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I lost any configure for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ChuYuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 07:47:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708557#M28567</guid>
      <dc:creator>chuyuanchiang</dc:creator>
      <dc:date>2017-08-28T07:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708558#M28568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ChuYuan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please tell me what the board you are using, the full name of your board, and the full name of the code which you are using.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please check the code, what the detail SPI pin in the code, just make sure, the problem is not caused by the wrong spi testing.&lt;/P&gt;&lt;P&gt;&amp;nbsp; As I know, our lpcopen code for SPI works OK, I have test it before.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you still can't make it work, please give me the detail information.&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>Thu, 31 Aug 2017 06:57:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708558#M28568</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-08-31T06:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708559#M28569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kerry,&lt;/P&gt;&lt;P&gt;I found the reason, the pin define code is dis-match between lpcopen sample code and lpcxpresso 43S67 board.&lt;/P&gt;&lt;P&gt;this issue is resolved after I get the reference manual from our agents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;ChuYuan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Sep 2017 07:18:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708559#M28569</guid>
      <dc:creator>chuyuanchiang</dc:creator>
      <dc:date>2017-09-04T07:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708560#M28570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ChuYuan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The lpcopen code is defined like this:&lt;/P&gt;&lt;P&gt;void Board_SSP_Init(LPC_SSP_T *pSSP)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (pSSP == LPC_SSP1) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SCU_PinMuxSet(&lt;STRONG&gt;0x1, 5&lt;/STRONG&gt;, (SCU_PINIO_FAST | SCU_MODE_FUNC5));&amp;nbsp; /* P1.5 =&amp;gt; SSEL1 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SCU_PinMuxSet(&lt;STRONG&gt;0xF, 4,&lt;/STRONG&gt; (SCU_PINIO_FAST | SCU_MODE_FUNC0));&amp;nbsp; /* PF.4 =&amp;gt; SCK1 */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SCU_PinMuxSet(&lt;STRONG&gt;0x1, 4,&lt;/STRONG&gt; (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC5)); /* P1.4 =&amp;gt; MOSI1 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Chip_SCU_PinMuxSet(0&lt;STRONG&gt;x1, 3,&lt;/STRONG&gt; (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC5)); /* P1.3 =&amp;gt; MISO1 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_SCU_PinMuxSet(0x3, 1, (SCU_MODE_INACT | SCU_MODE_FUNC4));&amp;nbsp; /* P1.5 =&amp;gt; SSEL1 */&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 5, 8);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Chip_GPIO_SetPinState(LPC_GPIO_PORT, 5, 8, (bool) true);&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you need to connect the according pins in the board.&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, 04 Sep 2017 08:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708560#M28570</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-04T08:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708561#M28571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no, that not works,&lt;/P&gt;&lt;P&gt;I just use this and it works on J4 in my target board&lt;/P&gt;&lt;P&gt;else if (pSSP == LPC_SSP0) {&lt;BR /&gt; Chip_SCU_PinMuxSet(0x1, 0, (SCU_PINIO_FAST | SCU_MODE_FUNC5)); /* P1.5 =&amp;gt; SSEL1 */&lt;BR /&gt; Chip_SCU_PinMuxSet(0x3, 0, (SCU_PINIO_FAST | SCU_MODE_FUNC4)); /* PF.4 =&amp;gt; SCK1 */&lt;/P&gt;&lt;P&gt;Chip_SCU_PinMuxSet(0x1, 2, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC5)); /* P1.4 =&amp;gt; MOSI1 */&lt;BR /&gt; Chip_SCU_PinMuxSet(0x1, 1, (SCU_MODE_INACT | SCU_MODE_INBUFF_EN | SCU_MODE_ZIF_DIS | SCU_MODE_FUNC5)); /* P1.3 =&amp;gt; MISO1 */&lt;/P&gt;&lt;P&gt;Chip_SCU_PinMuxSet(0x3, 1, (SCU_MODE_INACT | SCU_MODE_FUNC4)); /* P1.5 =&amp;gt; SSEL1 */&lt;BR /&gt; Chip_GPIO_SetPinDIROutput(LPC_GPIO_PORT, 5, 8);&lt;BR /&gt; Chip_GPIO_SetPinState(LPC_GPIO_PORT, 5, 8, (bool) true);&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 03:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708561#M28571</guid>
      <dc:creator>chuyuanchiang</dc:creator>
      <dc:date>2017-09-11T03:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708562#M28572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ChuYuan Chiang,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I have test the lpcopen ssp code directly on my LPCXpresso43S67 board, it works OK.&lt;/P&gt;&lt;P&gt;1. Board&lt;/P&gt;&lt;P&gt;&amp;nbsp; LPCXpresso43s67, REVB&lt;/P&gt;&lt;P&gt;2.lpcopen code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/downloads/en/software/lpcopen_3_01_keil_iar_nxp_lpcxpresso_4337.zip" title="https://www.nxp.com/downloads/en/software/lpcopen_3_01_keil_iar_nxp_lpcxpresso_4337.zip"&gt;https://www.nxp.com/downloads/en/software/lpcopen_3_01_keil_iar_nxp_lpcxpresso_4337.zip&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. SSP1 pin&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/28590i4EE8F60A6659BBDD/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;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28626i1A78ECB8137F56F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;4. Test Result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28659i66DAC88CE9640CE0/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28700i482723D2425C7990/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I didn't connect the SPI slave, so just MOSI have the data out.&lt;/P&gt;&lt;P&gt;The MOSI works ok on my side.&lt;/P&gt;&lt;P&gt;You modified the code, and you are using the SSP0 now, the lpcopen code are using the SSP1.&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>Tue, 12 Sep 2017 02:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708562#M28572</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-12T02:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708563#M28573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, that is my original question, I used spi from J4,&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Do I lost any configure for that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;but it sees you are lost the target.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;all right, by the way, it works now.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 02:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708563#M28573</guid>
      <dc:creator>chuyuanchiang</dc:creator>
      <dc:date>2017-09-13T02:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: SPI not works on LPC43S67</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708564#M28574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ChuYuan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I didn't lost the target, just didn't connect the SPI slave, because your original question is MOSI don't have data, then I just test MOSI wave, it has data out.&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you are using the same board as I, and if you have interest, you also can try J1 interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp; J4 on my side is the USB port. I think your problem maybe caused by the hardware.&lt;/P&gt;&lt;P&gt;&amp;nbsp;Anyway, you already make SPI0 works.&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>Wed, 13 Sep 2017 03:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/SPI-not-works-on-LPC43S67/m-p/708564#M28574</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-13T03:25:02Z</dc:date>
    </item>
  </channel>
</rss>

