<?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>i.MX ProcessorsのトピックECSPI slave mode support for iMX6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on phyBOARD-Segin i.MX 6UL Alpha Kit and Linux 4.8.0 running on it. We want to enable ECSPI slave mode for one of the usecase. Can anyone let me know how to configure it and how to test it from user space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kuldeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Jan 2018 06:47:25 GMT</pubDate>
    <dc:creator>kuldeepnigam</dc:creator>
    <dc:date>2018-01-06T06:47:25Z</dc:date>
    <item>
      <title>ECSPI slave mode support for iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am working on phyBOARD-Segin i.MX 6UL Alpha Kit and Linux 4.8.0 running on it. We want to enable ECSPI slave mode for one of the usecase. Can anyone let me know how to configure it and how to test it from user space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kuldeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jan 2018 06:47:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767130#M119124</guid>
      <dc:creator>kuldeepnigam</dc:creator>
      <dc:date>2018-01-06T06:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: ECSPI slave mode support for iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767131#M119125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&amp;nbsp; NXP BSP does not support neither &lt;SPAN class=""&gt;ECSPI slave mode nor kernel 4.8.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, customers can configure SPI slave mode support in Linux (SPIDEV).&lt;BR /&gt;By default it is not supported; the following sequence may be performed for SPIDEV :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ bitbake linux-imx -c menuconfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# select DEVICE DRIVERS -&amp;gt; SPI Support -&amp;gt; User mode SPI device driver support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$ bitbake linux-imx&lt;BR /&gt;$ bitbake core-image-minimal &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The recent command is used to deploy compiled files to file system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the following may be helpful :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/921897"&gt;https://community.nxp.com/message/921897&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&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, 08 Jan 2018 08:02:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767131#M119125</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-01-08T08:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: ECSPI slave mode support for iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767132#M119126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;spi-imx driver supports SPI Slave since commit: 71abd29057cb1 ("spi: imx: Add support for SPI Slave mode"), which is part of 4.15-rc kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jan 2018 13:21:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767132#M119126</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2018-01-08T13:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: ECSPI slave mode support for iMX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767133#M119127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have ported the support for SPI slave from kernel 4.15 to kernel 4.8 and I can see the sysfs entries for SPI slave.&lt;BR /&gt;Testing the SPI communication using Spidev application in Slave side. Also able to communicate to phyBOARD-Segin i.MX 6UL Alpha Kit. &amp;nbsp;&lt;BR /&gt;But the data sent from Master and data received at slave is not same.&lt;BR /&gt;I am using the following setting at master :&lt;BR /&gt;SPI clock : 500 KHz (also tested with different Baudrate)&lt;BR /&gt;SPI Mode : 1 (CPOL = 0, CPOH = 0)&lt;BR /&gt;Frame size : 8 bits&lt;/P&gt;&lt;P&gt;DMA disabled at slave side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone provide some input to debug further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kuldeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2018 05:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ECSPI-slave-mode-support-for-iMX6/m-p/767133#M119127</guid>
      <dc:creator>kuldeepnigam</dc:creator>
      <dc:date>2018-01-16T05:31:45Z</dc:date>
    </item>
  </channel>
</rss>

