<?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のトピックRe: SPI issue on iMX28 when change cpu clock</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461347#M72452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use SPI master mode with DMA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Feb 2016 09:45:43 GMT</pubDate>
    <dc:creator>victorien</dc:creator>
    <dc:date>2016-02-17T09:45:43Z</dc:date>
    <item>
      <title>SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461345#M72450</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 add a custom driver for cpu clock control on linux 3.14 (based on freescale's driver from 2.6.35). This driver works but I have an issue. If I reduce the CPU clock (261.819, 360 or 392.728 MHz) I have some data error when I receive data on SPI bus (number 2). The SPI bus doesn't miss data but modify some bytes (but not all of them) : bxxxxxx01 is changed to bxxxxxx00 and bxxxxxx10 is changed to bxxxxxx11 . At 454.737Mhz (max clock) I have no problem.&lt;/P&gt;&lt;P&gt;I checked waveform of data bus with an oscilloscope and the shape and timing are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone knows this problem ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Victorien&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:17:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461345#M72450</guid>
      <dc:creator>victorien</dc:creator>
      <dc:date>2016-02-16T17:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461346#M72451</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;&amp;nbsp; Do You use SPI master mode ? PIO or DMA ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&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>Wed, 17 Feb 2016 09:33:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461346#M72451</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-02-17T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461347#M72452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use SPI master mode with DMA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 09:45:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461347#M72452</guid>
      <dc:creator>victorien</dc:creator>
      <dc:date>2016-02-17T09:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461348#M72453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;During my tests I read on SPI flash memory. I made the same test on my custom board and on evaluation board and I have the same issu on both board. The difference is that I have more byte change with evaluation board.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:03:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461348#M72453</guid>
      <dc:creator>victorien</dc:creator>
      <dc:date>2016-02-17T14:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461349#M72454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about using the standard cpufreq driver instead?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461349#M72454</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2016-02-17T14:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461350#M72455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use standard cpufreq driver. The custom part is on power driver and voltage regulator. This drivers don't exist in kernel mainline for iMX28&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 14:59:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461350#M72455</guid>
      <dc:creator>victorien</dc:creator>
      <dc:date>2016-02-17T14:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461351#M72456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would be nice if you could send some patches for that (even if they are RFC) so that people could review the changes in the mailing lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan Wahren has started to work on this sometime ago.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 15:03:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461351#M72456</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2016-02-17T15:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461352#M72457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I based my development on Stefan Wahren's driver. I don't send patch to kernel mainline because the driver is dirty (commit not in english, copy files from Stefan Wahren driver instead of add his patch) and writed for 3.14. I don't yet have time to clean it and modify for 4.x kernel.&lt;/P&gt;&lt;P&gt;I work on standby to but there are bugs.&lt;/P&gt;&lt;P&gt;I can share patchs on forum if some people is interested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2016 16:14:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461352#M72457</guid>
      <dc:creator>victorien</dc:creator>
      <dc:date>2016-02-17T16:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461353#M72458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know this issue and i can reproduce it without cpufreq driver. Until now i didn't find a better solution than switching the clock parent to ref_xtal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/310434"&gt;SPI receive error with mxs-spi&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Feb 2016 11:45:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461353#M72458</guid>
      <dc:creator>lategoodbye</dc:creator>
      <dc:date>2016-02-27T11:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461354#M72459</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for this answer ; I'll test with the clock switching.&lt;/P&gt;&lt;P&gt;Is it possible that it's a bug of iMX28 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 17:04:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461354#M72459</guid>
      <dc:creator>victorien</dc:creator>
      <dc:date>2016-02-29T17:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: SPI issue on iMX28 when change cpu clock</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461355#M72460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stumbled upon the same issue after analyzing problems with our SPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my case the error rate correlated highly with the temperature of the i.MX28: After startup of the system we had no errors. Heating up the i.MX28 caused the error rate to go up, reaching about 30 - 40% of the affected data (where the last two bits are different). After turning off the heating the error rate dropped again to virtual zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Switching to ref_xtal worked also for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this information is helpful for others looking for temperature issues...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 10:14:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-issue-on-iMX28-when-change-cpu-clock/m-p/461355#M72460</guid>
      <dc:creator>wolfgangfraedri</dc:creator>
      <dc:date>2016-07-19T10:14:15Z</dc:date>
    </item>
  </channel>
</rss>

