<?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 Imx6 - Configuring SPI in Application Level  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Imx6-Configuring-SPI-in-Application-Level/m-p/778769#M120977</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using IMX6-duallite-A9 SOC for accessing a tuner via SPI-3 in that SOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is regarding to use SPI in user level application like configuring SPI in application itself and then exchanging data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What are the dependencies to use SPI_3.? (I had done PIN Muxing, Clock enabled (CCM_CCGR1 register) I also enabled GPIO2_IO6 pin as an interrupt pin to transmit data from SPI_3).&lt;/P&gt;&lt;P&gt;2. Is it necessary to enable the SPI_3 in DTS for application level use.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is attached at attachments, please refer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please respond as soon as possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 May 2018 10:41:37 GMT</pubDate>
    <dc:creator>narreddiprakash</dc:creator>
    <dc:date>2018-05-23T10:41:37Z</dc:date>
    <item>
      <title>Imx6 - Configuring SPI in Application Level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx6-Configuring-SPI-in-Application-Level/m-p/778769#M120977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using IMX6-duallite-A9 SOC for accessing a tuner via SPI-3 in that SOC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My query is regarding to use SPI in user level application like configuring SPI in application itself and then exchanging data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. What are the dependencies to use SPI_3.? (I had done PIN Muxing, Clock enabled (CCM_CCGR1 register) I also enabled GPIO2_IO6 pin as an interrupt pin to transmit data from SPI_3).&lt;/P&gt;&lt;P&gt;2. Is it necessary to enable the SPI_3 in DTS for application level use.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is attached at attachments, please refer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please respond as soon as possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 May 2018 10:41:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx6-Configuring-SPI-in-Application-Level/m-p/778769#M120977</guid>
      <dc:creator>narreddiprakash</dc:creator>
      <dc:date>2018-05-23T10:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Imx6 - Configuring SPI in Application Level</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx6-Configuring-SPI-in-Application-Level/m-p/778770#M120978</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;/P&gt;&lt;P&gt;In the following document, I explain the way in which I developed a SPI driver in Application Level. You will find it helpful, you just need to adapt the read and write functions to communicated with your device.&lt;/P&gt;&lt;P&gt;&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;/P&gt;&lt;P&gt;On the other hand, in the following thread I explain how to enable the spidev driver including the device tree and how to test it. This will be helpful too.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/461426"&gt;How to check if SPI is working?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&lt;BR /&gt;NXP Technical Support&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, 28 May 2018 19:41:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx6-Configuring-SPI-in-Application-Level/m-p/778770#M120978</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2018-05-28T19:41:12Z</dc:date>
    </item>
  </channel>
</rss>

