<?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のトピックHow to Set SPI's Clock</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621928#M94282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the imx6ql-sabreauto board to communicate with a slave board.&lt;/P&gt;&lt;P&gt;I want to know the highest speed of spi block.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;I read the document and i think the highest speed is up to&amp;nbsp;60MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;and i use the ioctl like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&amp;nbsp;ioctl (fd, SPI_IOC_WR_MAX_SPEED_HZ, 60MHz)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;But ,&amp;nbsp;&lt;SPAN&gt;I don't confirm whether this is effective or not.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;How do I know the actual&amp;nbsp;speed of the SPI work with?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2016 10:31:50 GMT</pubDate>
    <dc:creator>jiehunt</dc:creator>
    <dc:date>2016-11-01T10:31:50Z</dc:date>
    <item>
      <title>How to Set SPI's Clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621928#M94282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the imx6ql-sabreauto board to communicate with a slave board.&lt;/P&gt;&lt;P&gt;I want to know the highest speed of spi block.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;I read the document and i think the highest speed is up to&amp;nbsp;60MHz.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;and i use the ioctl like this&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;&amp;nbsp;ioctl (fd, SPI_IOC_WR_MAX_SPEED_HZ, 60MHz)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;But ,&amp;nbsp;&lt;SPAN&gt;I don't confirm whether this is effective or not.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;How do I know the actual&amp;nbsp;speed of the SPI work with?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Nov 2016 10:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621928#M94282</guid>
      <dc:creator>jiehunt</dc:creator>
      <dc:date>2016-11-01T10:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set SPI's Clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621929#M94283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;max. ecspi frequency can be found in sect.4.11.2 ECSPI Timing Parameters&lt;/P&gt;&lt;P&gt;i.MX6DQ Datasheet &lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf"&gt;http://cache.freescale.com/files/32bit/doc/data_sheet/IMX6DQCEC.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;example of usage with spi-nor flash using dts "spi-max-frequency" parameter in&lt;/P&gt;&lt;P&gt;imx6qdl-sabresd.dtsi&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/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=imx_4.1.15_1.0.0_ga" title="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?h=imx_4.1.15_1.0.0_ga"&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;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, 01 Nov 2016 10:57:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621929#M94283</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-11-01T10:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to Set SPI's Clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621930#M94284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually my imx6qdl-sabreauto.dtsi is like this:&lt;/P&gt;&lt;P&gt;&amp;amp;ecspi1{&lt;BR /&gt;&amp;nbsp; fsl,spi-num-chipselects = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp; cs-gpios = &amp;lt;&amp;amp;gpio5 25 0&amp;gt;;&lt;BR /&gt;&amp;nbsp; pinctrl-names = "default";&lt;BR /&gt;&amp;nbsp; pinctrl-0 = &amp;lt;&amp;amp;pinctrl_ecspi1&amp;gt;;&lt;BR /&gt;&amp;nbsp; status = "okay";&lt;BR /&gt;&amp;nbsp; spidev0: spi@0 {&lt;BR /&gt;&amp;nbsp; compatible = "spidev";&lt;BR /&gt;&amp;nbsp; spi-max-frequency = &amp;lt;40000000&amp;gt;;&lt;BR /&gt;&amp;nbsp; reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp; };&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;So, I think the SPI is work with&amp;nbsp;40MHz.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2016 02:20:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Set-SPI-s-Clock/m-p/621930#M94284</guid>
      <dc:creator>jiehunt</dc:creator>
      <dc:date>2016-11-02T02:20:42Z</dc:date>
    </item>
  </channel>
</rss>

