<?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: imx93 spi3 testing. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1978805#M229961</link>
    <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for your support!&lt;BR /&gt;&lt;BR /&gt;Do I need to add the lpspi3 node in &lt;STRONG&gt;imx93-11x11-evk.dts&lt;/STRONG&gt; file, or can we work with the DTS files &lt;STRONG&gt;"imx93-11x11-evk-lpspi.dts and imx93-11x11-evk-lpspi-slave.dts"&lt;/STRONG&gt; as the spi configuration is already done?&lt;BR /&gt;&lt;BR /&gt;Also, I cannot see the &lt;STRONG&gt;/dev/spidev&lt;/STRONG&gt; interface if I am not adding the node in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;imx93-11x11-evk.dts&lt;/STRONG&gt; file. Please help in this what configurations actually I need to validate the spi.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Oct 2024 05:53:48 GMT</pubDate>
    <dc:creator>sbmd_1234</dc:creator>
    <dc:date>2024-10-22T05:53:48Z</dc:date>
    <item>
      <title>imx93 spi3 testing.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1975089#M229750</link>
      <description>&lt;P&gt;Hi NXP team,&lt;BR /&gt;&lt;BR /&gt;I have created the node and pin settings for the spi3 in dts but I am unable the see the &lt;STRONG&gt;spidev_test&lt;/STRONG&gt; data tx/rx as shown in the logs&amp;nbsp; I have connected the MOSI and MISO pins also for loopback but no rx data I am getting pls check :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;dts :&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;lpspi3 {&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpspi3&amp;gt;;&lt;BR /&gt;cs-gpios = &amp;lt;&amp;amp;gpio2 8 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;fsl,spi-num-chipselects = &amp;lt;1&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;spidev0: spi@0 {&lt;BR /&gt;compatible = "rohm,dh2228fv";&lt;BR /&gt;spi-max-frequency = &amp;lt;1000000&amp;gt;;&lt;BR /&gt;reg = &amp;lt;0&amp;gt;; /* Chip select 0 */&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pinctrl_lpspi3: lpspi3grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;MX93_PAD_GPIO_IO08__LPSPI3_PCS0 0x3fe&lt;BR /&gt;MX93_PAD_GPIO_IO08__GPIO2_IO8 0x3fe&lt;BR /&gt;MX93_PAD_GPIO_IO09__LPSPI3_SIN 0x3fe&lt;BR /&gt;MX93_PAD_GPIO_IO10__LPSPI3_SOUT 0x3fe&lt;BR /&gt;MX93_PAD_GPIO_IO11__LPSPI3_SCK 0x3fe&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;spidev_test logs :&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;spidev_test -D /dev/spidev0.0 -v -p "hello"&lt;BR /&gt;spi mode: 0x0&lt;BR /&gt;bits per word: 8&lt;BR /&gt;max speed: 500000 Hz (500 kHz)&lt;BR /&gt;TX | 68 65 6C 6C 6F __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ |hello|&lt;BR /&gt;RX | FF FF FF FF FF __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ |.....|&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;spidev_test -D /dev/spidev0.0 -v&lt;BR /&gt;spi mode: 0x0&lt;BR /&gt;bits per word: 8&lt;BR /&gt;max speed: 500000 Hz (500 kHz)&lt;BR /&gt;TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |......@.........................|&lt;BR /&gt;RX | FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF |................................|&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;please help me to resolve this.&lt;BR /&gt;&lt;BR /&gt;thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2024 10:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1975089#M229750</guid>
      <dc:creator>sbmd_1234</dc:creator>
      <dc:date>2024-10-16T10:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: imx93 spi3 testing.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1976921#M229842</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Any suggestions on this I want to validate the spi interface please help in this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 09:06:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1976921#M229842</guid>
      <dc:creator>sbmd_1234</dc:creator>
      <dc:date>2024-10-18T09:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: imx93 spi3 testing.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1978477#M229939</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229463"&gt;@sbmd_1234&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer to the&amp;nbsp;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk-lpspi.dts" target="_self"&gt;imx93-11x11-evk-lpspi.dts&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Then, you should be able to get it working:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Without&lt;/STRONG&gt; connection between SIN and SOUT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1729533982466.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305944iBB96FF2C7A79D860/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1729533982466.png" alt="Alejandro_Salas_0-1729533982466.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;With&lt;/STRONG&gt; connection between SIN and SOUT:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_1-1729534016576.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305945i5443811C19AFA4A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_1-1729534016576.png" alt="Alejandro_Salas_1-1729534016576.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_2-1729534043249.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305946iFCDD3DB6C5E909C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_2-1729534043249.png" alt="Alejandro_Salas_2-1729534043249.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;FYI: tested on imx93evk and 6.6.23 bsp&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_3-1729534076938.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305947iCF0D644FEA92E4C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_3-1729534076938.png" alt="Alejandro_Salas_3-1729534076938.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2024 18:08:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1978477#M229939</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-10-21T18:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: imx93 spi3 testing.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1978805#M229961</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks for your support!&lt;BR /&gt;&lt;BR /&gt;Do I need to add the lpspi3 node in &lt;STRONG&gt;imx93-11x11-evk.dts&lt;/STRONG&gt; file, or can we work with the DTS files &lt;STRONG&gt;"imx93-11x11-evk-lpspi.dts and imx93-11x11-evk-lpspi-slave.dts"&lt;/STRONG&gt; as the spi configuration is already done?&lt;BR /&gt;&lt;BR /&gt;Also, I cannot see the &lt;STRONG&gt;/dev/spidev&lt;/STRONG&gt; interface if I am not adding the node in&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;imx93-11x11-evk.dts&lt;/STRONG&gt; file. Please help in this what configurations actually I need to validate the spi.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 05:53:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1978805#M229961</guid>
      <dc:creator>sbmd_1234</dc:creator>
      <dc:date>2024-10-22T05:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: imx93 spi3 testing.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1979362#M229992</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229463"&gt;@sbmd_1234&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use&amp;nbsp;&lt;STRONG&gt;imx93-11x11-evk-lpspi.dts&amp;nbsp;&lt;/STRONG&gt;directly and then you will be able to use the lpspi interface.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2024 15:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx93-spi3-testing/m-p/1979362#M229992</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-10-22T15:21:50Z</dc:date>
    </item>
  </channel>
</rss>

