<?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 SPI read error in imx8mm in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/SPI-read-error-in-imx8mm/m-p/1484426#M192177</link>
    <description>&lt;P&gt;Hi everyone!,&lt;/P&gt;&lt;P&gt;I need your help for the SPI read error in linux 4.14.98,&lt;/P&gt;&lt;P&gt;our system uses the ECSPI between imx8mm evk and FPGA.&lt;/P&gt;&lt;P&gt;basically, SPI uses 12M clock rate. I can access correctly.&lt;/P&gt;&lt;P&gt;but in 24M clock rate, I have a shifted or truncated read data.&lt;/P&gt;&lt;P&gt;The following is a capture in logic analyzer of FPGA internal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the correct expected data is 0x11111111 but driver returns the 0x08888888 as shifted and last bit was truncated.&lt;/P&gt;&lt;P&gt;more detail analyzer of logic stream, there is no failure of CLK, MISO, SS and OE. and logic stream is same that of 12M SPI clock case.&lt;/P&gt;&lt;P&gt;why does it return the unexpected data?&amp;nbsp;&lt;BR /&gt;spi_imx.c is a kernel code of SPI. I was checked but didn't find a clue.&lt;/P&gt;&lt;P&gt;please help me!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI-24M.png" style="width: 895px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185543iBC7578A2E654A965/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI-24M.png" alt="SPI-24M.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SPI-24M.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jul 2022 07:11:37 GMT</pubDate>
    <dc:creator>justNow</dc:creator>
    <dc:date>2022-07-05T07:11:37Z</dc:date>
    <item>
      <title>SPI read error in imx8mm</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/SPI-read-error-in-imx8mm/m-p/1484426#M192177</link>
      <description>&lt;P&gt;Hi everyone!,&lt;/P&gt;&lt;P&gt;I need your help for the SPI read error in linux 4.14.98,&lt;/P&gt;&lt;P&gt;our system uses the ECSPI between imx8mm evk and FPGA.&lt;/P&gt;&lt;P&gt;basically, SPI uses 12M clock rate. I can access correctly.&lt;/P&gt;&lt;P&gt;but in 24M clock rate, I have a shifted or truncated read data.&lt;/P&gt;&lt;P&gt;The following is a capture in logic analyzer of FPGA internal.&amp;nbsp;&lt;/P&gt;&lt;P&gt;the correct expected data is 0x11111111 but driver returns the 0x08888888 as shifted and last bit was truncated.&lt;/P&gt;&lt;P&gt;more detail analyzer of logic stream, there is no failure of CLK, MISO, SS and OE. and logic stream is same that of 12M SPI clock case.&lt;/P&gt;&lt;P&gt;why does it return the unexpected data?&amp;nbsp;&lt;BR /&gt;spi_imx.c is a kernel code of SPI. I was checked but didn't find a clue.&lt;/P&gt;&lt;P&gt;please help me!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI-24M.png" style="width: 895px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185543iBC7578A2E654A965/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI-24M.png" alt="SPI-24M.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;SPI-24M.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:11:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/SPI-read-error-in-imx8mm/m-p/1484426#M192177</guid>
      <dc:creator>justNow</dc:creator>
      <dc:date>2022-07-05T07:11:37Z</dc:date>
    </item>
  </channel>
</rss>

