<?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: imx8mm spi clock format issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1250957#M171345</link>
    <description>&lt;P&gt;Hello Again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When can I have a solution about 8 bit per work for spi module, @EXP CN, imx8mm EVK Board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though the set value of bpw is 8 (default) CLK signal generate continuous without a pause per every 8 bit.&amp;nbsp; (refer to the image&amp;nbsp; attached in post my first inquiry.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is urgent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Mar 2021 07:37:23 GMT</pubDate>
    <dc:creator>Junpapa</dc:creator>
    <dc:date>2021-03-24T07:37:23Z</dc:date>
    <item>
      <title>imx8mm spi clock format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1242504#M170569</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;Precondition :&lt;/P&gt;&lt;P&gt;Old project: Imx7ulp,&amp;nbsp;&lt;/P&gt;&lt;P&gt;New project : imx8 (working on imx8mm EVK)&lt;/P&gt;&lt;P&gt;I'm porting the same device used on the previous project (imx7ulp), on the imx8mm EVK board through SPI I/F.&lt;BR /&gt;Even though spi module is working fine with testing through Loopback, the IC chip is not working properly.&lt;BR /&gt;I figured out the difference the Clock signal pattern of SPI between old one (imx7ulp) and new board (imx8).&lt;BR /&gt;that is the the image attached.&lt;BR /&gt;There's a gap (about 1.5 period) between every 8 bits TX&amp;nbsp;&amp;nbsp;@&amp;nbsp;the previous board and chip. (this is working is fine)&lt;/P&gt;&lt;P&gt;@imx8mm EVK Board, there's no gap, the CLOCK signal changes with seamless. (I'm not sure this is a&amp;nbsp; reason, but the PCB test with the previous board is OK)&lt;/P&gt;&lt;P&gt;How can I make the clk signal pattern of SPI like the image attached ?&lt;/P&gt;&lt;P&gt;here's set infomation of SPI&amp;nbsp;@ imx8mm EVK Board.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;/soc@0/bus@30000000/pinctrl@30330000/ecspi2cs&lt;BR /&gt;[ 1.365510] spi_imx 30830000.spi: registered master spi1&lt;BR /&gt;[ 1.365617] spi spi1.0: spi_imx_setup: mode 0, 8 bpw, 500000 hz&lt;BR /&gt;[ 1.365625] spi spi1.0: setup mode 0, 8 bits/w, 500000 Hz max --&amp;gt; 0&lt;BR /&gt;[ 1.370396] /soc@0/bus@30800000/spi@30830000/spidev@0: buggy DT: spidev listed directly in DT&lt;BR /&gt;[ 1.378982] WARNING: CPU: 3 PID: 1 at drivers/spi/spidev.c:731 spidev_probe+0x170/0x238&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="format worked" style="width: 577px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/139127iDBD26F62061B1E6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="8bits.jpg" alt="format worked" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;format worked&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Mar 2021 11:41:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1242504#M170569</guid>
      <dc:creator>Junpapa</dc:creator>
      <dc:date>2021-03-09T11:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm spi clock format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1242818#M170585</link>
      <description>&lt;P&gt;Hi JunpapaCS&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;one can try to adjust BURST_LENGTH in register ECSPIx_CONREG,&lt;/P&gt;
&lt;P&gt;ECSPIx_PERIODREG described in sect.10.1 Enhanced Configurable SPI (ECSPI)&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/webapp/Download?colCode=IMX8MMRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8M Mini Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 01:07:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1242818#M170585</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-03-10T01:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm spi clock format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1242918#M170603</link>
      <description>&lt;P&gt;Hello Igor~&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;BR /&gt;But I am looking for a solution directly related to the ECSPI2 port @EXP_CN on the imx8mm EVK board.&lt;BR /&gt;(Verified board, implemented on the LPSPI port of imx7ulp and the CLK DATA of the image is executed during once chip selection.)&lt;/P&gt;</description>
      <pubDate>Wed, 10 Mar 2021 05:01:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1242918#M170603</guid>
      <dc:creator>Junpapa</dc:creator>
      <dc:date>2021-03-10T05:01:39Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm spi clock format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1244445#M170728</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;According to the set of bit per word (bpw), 0 or 8 ?, How does CLK's pattern work?&lt;BR /&gt;I'm suspecting that SPI CLK of imx8mm-evk SW(board) work as 0 of bpw even it looks 8 bpw in dmesg.&lt;BR /&gt;Anyone, please let me know the difference format when bpw is set 0 or 8 on imx board and software ? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Mar 2021 00:42:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1244445#M170728</guid>
      <dc:creator>Junpapa</dc:creator>
      <dc:date>2021-03-12T00:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm spi clock format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1246757#M170938</link>
      <description>&lt;P&gt;I doubt that bpw(bits per word) is work or not on imx8mm_evk.board (the default is 8 bpw) and imx-5-4_24-2-1.0.&lt;BR /&gt;I directly implemented the clk format pattern through controlling GPIOs, due to timeline issue for the project.&lt;BR /&gt;But I want to know why the bpw was not work as the set value.&lt;BR /&gt;mis-control or bugs&lt;/P&gt;</description>
      <pubDate>Wed, 17 Mar 2021 01:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1246757#M170938</guid>
      <dc:creator>Junpapa</dc:creator>
      <dc:date>2021-03-17T01:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: imx8mm spi clock format issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1250957#M171345</link>
      <description>&lt;P&gt;Hello Again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When can I have a solution about 8 bit per work for spi module, @EXP CN, imx8mm EVK Board.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even though the set value of bpw is 8 (default) CLK signal generate continuous without a pause per every 8 bit.&amp;nbsp; (refer to the image&amp;nbsp; attached in post my first inquiry.)&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is urgent&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Mar 2021 07:37:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8mm-spi-clock-format-issue/m-p/1250957#M171345</guid>
      <dc:creator>Junpapa</dc:creator>
      <dc:date>2021-03-24T07:37:23Z</dc:date>
    </item>
  </channel>
</rss>

