<?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 (IMX6Q) How to enable spidev for SPI2 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827926#M127270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;I have a few questions about SPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #212121;"&gt;I am developing using the imx6q-sabresd board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #212121;"&gt;Here is my code :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;1.&amp;nbsp;fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git/arch/arm/mach-mx6/board-mx6q_sabresd.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68089i679ADEE9C453DCEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;/* ECSPI1 */ is the existing code and I added /*ECSPI2*/.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;SPAN&gt;2.&amp;nbsp;fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git/arch/arm/mach-mx6/board-mx6q_sabresd.c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68143i16D48ECD24096A76/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68175iF59B97E6F8C22214/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;3. add CONFIG_SPI_SPIDEV=y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68227i5C76DAB64ECABA0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;I made this setting, but I can not see the / dev / spi related device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need help. please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;CHEON&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2018 04:17:20 GMT</pubDate>
    <dc:creator>ktc7270</dc:creator>
    <dc:date>2018-08-27T04:17:20Z</dc:date>
    <item>
      <title>(IMX6Q) How to enable spidev for SPI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827926#M127270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;I have a few questions about SPI.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #212121;"&gt;I am developing using the imx6q-sabresd board.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #212121;"&gt;Here is my code :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;1.&amp;nbsp;fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git/arch/arm/mach-mx6/board-mx6q_sabresd.h&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68089i679ADEE9C453DCEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;/* ECSPI1 */ is the existing code and I added /*ECSPI2*/.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;SPAN&gt;2.&amp;nbsp;fsl-community-bsp/build/tmp/work/imx6qsabresd-poky-linux-gnueabi/linux-imx/3.0.35-r37.14/git/arch/arm/mach-mx6/board-mx6q_sabresd.c&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68143i16D48ECD24096A76/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68175iF59B97E6F8C22214/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;3. add CONFIG_SPI_SPIDEV=y&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/68227i5C76DAB64ECABA0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.png" alt="6.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; background-color: #ffffff;"&gt;I made this setting, but I can not see the / dev / spi related device.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I need help. please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;CHEON&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2018 04:17:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827926#M127270</guid>
      <dc:creator>ktc7270</dc:creator>
      <dc:date>2018-08-27T04:17:20Z</dc:date>
    </item>
    <item>
      <title>Re: (IMX6Q) How to enable spidev for SPI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827927#M127271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kangta&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at L3.0.35 spidev example:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/322097"&gt;/dev/spidev not appearing on iMX6Q despite kernel configuration and modalias="spidev"&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&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, 27 Aug 2018 09:29:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827927#M127271</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-27T09:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: (IMX6Q) How to enable spidev for SPI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827928#M127272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="" data-fulltext="" data-placeholder="번역" dir="ltr" style="color: #212121; background-color: #ffffff; border: none; font-size: 16px !important; padding: 0px 0.14em 0px 0px;"&gt;&lt;SPAN lang="en"&gt;Thank you for your reply. I set it up as you told me, but I do not see / dev / spi info.
Excuse me, can you suggest another way?&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 02:16:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827928#M127272</guid>
      <dc:creator>ktc7270</dc:creator>
      <dc:date>2018-08-28T02:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: (IMX6Q) How to enable spidev for SPI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827929#M127273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you try linux from &lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/?h=imx_3.0.35_4.1.0" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/?h=imx_3.0.35_4.1.0"&gt;linux-2.6-imx.git - Freescale i.MX Linux Tree&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2018 08:24:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827929#M127273</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2018-08-28T08:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: (IMX6Q) How to enable spidev for SPI2</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827930#M127274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE data-fulltext="" data-placeholder="번역" dir="ltr"&gt;Thank you for your help. Now I can see /dev/spi2.0.
By the way, I am looking for a way to check spi behavior.

&lt;STRONG&gt;echo "test"&amp;gt; /dev/spi2.0&lt;/STRONG&gt;
I tested it with the command, but it has no response.

&lt;STRONG&gt;./mxc_spi_test1.out -D 0 -s 1000000 -b 8 E6E0&lt;/STRONG&gt;
In the test using / unit_test / mxc_spi_test1.out
&lt;STRONG&gt;Error: Can not open device (Maybe not present in your board?)&lt;/STRONG&gt;
This error message is output.

I searched the community, but I could not find the cause. Could you help me?

Thank you.&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 00:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-How-to-enable-spidev-for-SPI2/m-p/827930#M127274</guid>
      <dc:creator>ktc7270</dc:creator>
      <dc:date>2018-08-29T00:33:55Z</dc:date>
    </item>
  </channel>
</rss>

