<?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>Kinetis Software Development KitのトピックRe: Issue with SPI as slave mode in MKL17Z64</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508195#M5121</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello vignesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which function do you used transfer the data ? I recommend you use&lt;/P&gt;&lt;P&gt;spi_status_t SPI_DRV_SlaveTransferBlocking()&lt;/P&gt;&lt;P&gt;You can refer to the demo code under the KSDK installation directory :&lt;/P&gt;&lt;P&gt;KSDK_1.3.0\examples\frdmkl27z\driver_examples\spi\spi_blocking\slave\kds &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2016 02:13:42 GMT</pubDate>
    <dc:creator>Alice_Yang</dc:creator>
    <dc:date>2016-03-07T02:13:42Z</dc:date>
    <item>
      <title>Issue with SPI as slave mode in MKL17Z64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508194#M5120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Freescale MKL17Z64 with KSDK configured MKL17Z64 in slave mode(FIFO enabled) and sending 5 bytes (0x01,0x02,0x03,0x04,0x05) to Master. I am expecting (0x01, 0x02,0x03,0x04,0x05) in master.&lt;/P&gt;&lt;P&gt;I send 1&lt;SUP&gt;st&lt;/SUP&gt; 6 dummy bytes(0xFF,0xFF,0xFF,0xFF,0xFF) from master to read slave data I get response (0x01 0xFF 0xFF 0xFF 0xFF 0xFF)&amp;nbsp; in master during this period SS is pulled low by master and same continues when I do 2&lt;SUP&gt;nd&lt;/SUP&gt; , 3&lt;SUP&gt;rd&lt;/SUP&gt; , 4&lt;SUP&gt;th&lt;/SUP&gt;… dummy transfers slave responds with (0x02 0xFF 0xFF 0xFF 0xFF 0xFF)&amp;nbsp; , (0x03 0xFF 0xFF 0xFF 0xFF 0xFF)&amp;nbsp; , (0x04 0xFF 0xFF 0xFF 0xFF 0xFF) … respectively.&lt;/P&gt;&lt;P&gt;So every SS interrupt I get one byte transfer from Slave FIFO. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to get all 5 bytes from slave at one shot by using single SS interrupt (OR) should we need to toggle SS for each byte?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Awaiting for your reply. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2016 17:41:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508194#M5120</guid>
      <dc:creator>vigneshmohan</dc:creator>
      <dc:date>2016-03-04T17:41:06Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SPI as slave mode in MKL17Z64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508195#M5121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello vignesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which function do you used transfer the data ? I recommend you use&lt;/P&gt;&lt;P&gt;spi_status_t SPI_DRV_SlaveTransferBlocking()&lt;/P&gt;&lt;P&gt;You can refer to the demo code under the KSDK installation directory :&lt;/P&gt;&lt;P&gt;KSDK_1.3.0\examples\frdmkl27z\driver_examples\spi\spi_blocking\slave\kds &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 02:13:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508195#M5121</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-07T02:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with SPI as slave mode in MKL17Z64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508196#M5122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yang, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your input. The issue is resolved by making CPHA = 1. I could able to send all my TX FIFO bytes from slave to master&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;vignesh M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 13:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Issue-with-SPI-as-slave-mode-in-MKL17Z64/m-p/508196#M5122</guid>
      <dc:creator>vigneshmohan</dc:creator>
      <dc:date>2016-03-07T13:33:11Z</dc:date>
    </item>
  </channel>
</rss>

