<?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 Device driver programming in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706522#M109804</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can find an example of a SPI driver in user space and in kernel space &lt;A class="link-titled" href="http://linux-sunxi.org/SPIdev" title="http://linux-sunxi.org/SPIdev"&gt;http://linux-sunxi.org/SPIdev&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find it very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&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 14:30:18 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2017-08-31T14:30:18Z</dc:date>
    <item>
      <title>SPI Device driver programming</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706521#M109803</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 interfaced a 24bit ADC(sampling rate 52ksps) to phycore imx6 module via SPI. I have created a node in /dev - SPIDEV1.0. I have&amp;nbsp; written an spi driver in user space and reading the ADC using read() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to read the adc, but since the driver was written in user space - read() function is taking a lot of time and&amp;nbsp; the samples are getting missed. I was advised to write the driver in kernel space instead of user space to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to linux and has no idea on device drivers.&lt;/P&gt;&lt;P&gt;My basic doubt is to know whether it is possible to read the ADC by writing my own device driver. Is it possible to do all buffering in kernel space and send it later to user space once all the samples are collected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me out, thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 12:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706521#M109803</guid>
      <dc:creator>vijeshreddy</dc:creator>
      <dc:date>2017-08-24T12:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Device driver programming</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706522#M109804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here you can find an example of a SPI driver in user space and in kernel space &lt;A class="link-titled" href="http://linux-sunxi.org/SPIdev" title="http://linux-sunxi.org/SPIdev"&gt;http://linux-sunxi.org/SPIdev&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find it very useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&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 14:30:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706522#M109804</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-08-31T14:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Device driver programming</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706523#M109805</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 try use this code&amp;nbsp;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Flinux-sunxi.org%2FSPIdev" rel="nofollow" style="color: #5e89c1; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://linux-sunxi.org/SPIdev&lt;/A&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;And i have problem:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;spi: disagrees about version of symbol spi_sync&lt;BR /&gt;spi: Unknown symbol spi_sync (err -22)&lt;BR /&gt;spi: disagrees about version of symbol spi_new_device&lt;BR /&gt;spi: Unknown symbol spi_new_device (err -22)&lt;BR /&gt;spi: disagrees about version of symbol spi_busnum_to_master&lt;BR /&gt;spi: Unknown symbol spi_busnum_to_master (err -22)&lt;BR /&gt;spi: disagrees about version of symbol spi_setup&lt;BR /&gt;spi: Unknown symbol spi_setup (err -22)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #51626f;"&gt;What is wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 07:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706523#M109805</guid>
      <dc:creator>marcingrzelak</dc:creator>
      <dc:date>2017-10-23T07:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: SPI Device driver programming</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706524#M109806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check &lt;A href="https://community.nxp.com/docs/DOC-335264"&gt;Interfacing FXLS8471Q with i.MX6Q&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&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, 26 Oct 2017 14:12:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-Device-driver-programming/m-p/706524#M109806</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2017-10-26T14:12:25Z</dc:date>
    </item>
  </channel>
</rss>

