<?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 iMx6Solo SPI interface: No data read on MISO in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681854#M105334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have setup SPI in Linux with an iMx6Solo Wandboard on a custom&amp;nbsp;carrier board. I am trying to establish communication with a peripheral. However, I never see any data come back from the MISO line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOSI line, clock and chip select all have good transitions and I&amp;nbsp;have scoped the data coming back on MISO to confirm it's being sent. On the iMx6 [master], the IRQ goes off but I only ever get a blank buffer&amp;nbsp;reported. I have used the user-space tools spi-pipe &amp;amp; spi-config as well as the Ruby SPIDev gem. Same result with both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am inclined to believe this might be an issue with either spi_imx, spidev or both. Perhaps one reads the data and clears the buffer before the other can retrieve the data for my application? Or there's a hand-off that's mistimed/failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the SPI1 interface. I am confident my DTS entries and pin assignments are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System, drivers and software courtesy of the Freescale BSP on Yocto, Krogoth branch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any questions or insight appreciated. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 May 2017 13:39:41 GMT</pubDate>
    <dc:creator>hardyb</dc:creator>
    <dc:date>2017-05-16T13:39:41Z</dc:date>
    <item>
      <title>iMx6Solo SPI interface: No data read on MISO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681854#M105334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have setup SPI in Linux with an iMx6Solo Wandboard on a custom&amp;nbsp;carrier board. I am trying to establish communication with a peripheral. However, I never see any data come back from the MISO line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOSI line, clock and chip select all have good transitions and I&amp;nbsp;have scoped the data coming back on MISO to confirm it's being sent. On the iMx6 [master], the IRQ goes off but I only ever get a blank buffer&amp;nbsp;reported. I have used the user-space tools spi-pipe &amp;amp; spi-config as well as the Ruby SPIDev gem. Same result with both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am inclined to believe this might be an issue with either spi_imx, spidev or both. Perhaps one reads the data and clears the buffer before the other can retrieve the data for my application? Or there's a hand-off that's mistimed/failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the SPI1 interface. I am confident my DTS entries and pin assignments are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System, drivers and software courtesy of the Freescale BSP on Yocto, Krogoth branch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any questions or insight appreciated. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 13:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681854#M105334</guid>
      <dc:creator>hardyb</dc:creator>
      <dc:date>2017-05-16T13:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: iMx6Solo SPI interface: No data read on MISO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681855#M105335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Hardy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MISO data should be provided by external device, so one can check&lt;/P&gt;&lt;P&gt;if it was configured properly. Also one can test with loopback test.&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>Tue, 16 May 2017 23:29:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681855#M105335</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-16T23:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: iMx6Solo SPI interface: No data read on MISO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681856#M105336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;MOSI, MISO, clock and chip select have all been confirmed via logic analyzer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The slave device is an FPGA and is currently programmed to respond to any data on the MOSI line.&amp;nbsp;I&amp;nbsp;see the responses through a logic analyzer on the MISO line, but the buffer comes back 0 through Ruby SPIDev and spi-pipe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not tried the loopback&amp;nbsp;test. That is a good idea, I will attempt to set that up tomorrow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 May 2017 23:51:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681856#M105336</guid>
      <dc:creator>hardyb</dc:creator>
      <dc:date>2017-05-16T23:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: iMx6Solo SPI interface: No data read on MISO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681857#M105337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This issue was the result of a bad connector on our carrier board.&amp;nbsp;We were not able to source an EDM connector and used a different adapter that was deeper than the EDM specification. This caused the processor module board to have&amp;nbsp;half of its pins unconnected to the carrier. Only a few connections&amp;nbsp;went through that side of the&amp;nbsp;adapter so it took us a while to diagnose.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2018 19:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx6Solo-SPI-interface-No-data-read-on-MISO/m-p/681857#M105337</guid>
      <dc:creator>hardyb</dc:creator>
      <dc:date>2018-01-18T19:02:24Z</dc:date>
    </item>
  </channel>
</rss>

