<?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 spi0 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879466#M224464</link>
    <description>&lt;P&gt;SPI1 is used on your custom board&lt;BR /&gt;SPI3 was used on EVK connected to your SPI component&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;CS0&amp;nbsp; on SAI1_TXFS (G21)&lt;BR /&gt;MOSI SAI1_TXC (G20)&lt;BR /&gt;SCK SAI1_TXD0 (H21)&lt;BR /&gt;MISO SAI1_RXD0 (H20)&lt;BR /&gt;Hardware is on OK,&amp;nbsp; SPI component is ok using GPIOs&amp;nbsp; (slow but OK)&lt;BR /&gt;&lt;BR /&gt;Is there issue on iMX93 Rev A0 on this part ?&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jun 2024 06:06:11 GMT</pubDate>
    <dc:creator>frebourg</dc:creator>
    <dc:date>2024-06-03T06:06:11Z</dc:date>
    <item>
      <title>Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1875633#M224210</link>
      <description>&lt;P&gt;on imx93 with linux 6.1.22&amp;nbsp; ( imx93 rev A0) , I want to use spi1 to access custom component.&lt;BR /&gt;I have declared it on dts, but no respond from component&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;with dtb without SPI1, using GPIO to emulate SPI no problem to access my compoent.&lt;BR /&gt;&lt;BR /&gt;Is something missing ?&amp;nbsp; I have with and without dma on SPI , but still no answer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright 2022 NXP
 */

#include "myboard.dts"

&amp;amp;lpspi1 {
	fsl,spi-num-chipselects = &amp;lt;1&amp;gt;;
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpspi1&amp;gt;;
	status = "okay";

	spidev0: spi@0 {
		reg = &amp;lt;0&amp;gt;;
        compatible = "lwn,bk4";
		spi-max-frequency = &amp;lt;1000000&amp;gt;;
//		spi-max-frequency = &amp;lt;20000000&amp;gt;;
	};
};

&amp;amp;iomuxc {
	pinctrl_lpspi1: lpspi1grp {
		fsl,pins = &amp;lt;
               		MX93_PAD_SAI1_RXD0__LPSPI1_SOUT            0x0000051E
                	MX93_PAD_SAI1_TXC__LPSPI1_SIN              0x0000051E
                	MX93_PAD_SAI1_TXD0__LPSPI1_SCK             0x0000051E
                	MX93_PAD_SAI1_TXFS__LPSPI1_PCS0            0x0000051E

		&amp;gt;;
	};
};&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;BR /&gt;And add imx93.dtsi&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;			lpspi1: spi@44360000 {
				#address-cells = &amp;lt;1&amp;gt;;
				#size-cells = &amp;lt;0&amp;gt;;
				compatible = "fsl,imx93-spi", "fsl,imx7ulp-spi";
				reg = &amp;lt;0x44360000 0x10000&amp;gt;;
				interrupts = &amp;lt;GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH&amp;gt;;
				clocks = &amp;lt;&amp;amp;clk IMX93_CLK_LPSPI1_GATE&amp;gt;,
					 &amp;lt;&amp;amp;clk IMX93_CLK_BUS_AON&amp;gt;;
				clock-names = "per", "ipg";
				dmas = &amp;lt;&amp;amp;edma1 11 0 0&amp;gt;, &amp;lt;&amp;amp;edma1 12 0 1&amp;gt;;
				dma-names = "tx","rx";
				status = "disabled";
			};
​&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 13:52:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1875633#M224210</guid>
      <dc:creator>frebourg</dc:creator>
      <dc:date>2024-05-27T13:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1877920#M224342</link>
      <description>&lt;P&gt;Do you add your driver in the kernel source code?&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 06:34:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1877920#M224342</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-05-30T06:34:58Z</dc:date>
    </item>
    <item>
      <title>Re: Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1877932#M224343</link>
      <description>&lt;P&gt;Yes,&amp;nbsp; it's ok with SPI3&lt;/P&gt;</description>
      <pubDate>Thu, 30 May 2024 06:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1877932#M224343</guid>
      <dc:creator>frebourg</dc:creator>
      <dc:date>2024-05-30T06:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879375#M224455</link>
      <description>&lt;P&gt;How you connect your component to SPI3 and SPI1?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 03:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879375#M224455</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-06-03T03:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879466#M224464</link>
      <description>&lt;P&gt;SPI1 is used on your custom board&lt;BR /&gt;SPI3 was used on EVK connected to your SPI component&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;CS0&amp;nbsp; on SAI1_TXFS (G21)&lt;BR /&gt;MOSI SAI1_TXC (G20)&lt;BR /&gt;SCK SAI1_TXD0 (H21)&lt;BR /&gt;MISO SAI1_RXD0 (H20)&lt;BR /&gt;Hardware is on OK,&amp;nbsp; SPI component is ok using GPIOs&amp;nbsp; (slow but OK)&lt;BR /&gt;&lt;BR /&gt;Is there issue on iMX93 Rev A0 on this part ?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 06:06:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879466#M224464</guid>
      <dc:creator>frebourg</dc:creator>
      <dc:date>2024-06-03T06:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879541#M224475</link>
      <description>&lt;P&gt;Could you try to set the value of pad ctrl register to 0x39e?&lt;/P&gt;
&lt;P&gt;i.e. Change all the below 0x51E to 0x39E&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-c"&gt;&lt;CODE&gt;               		MX93_PAD_SAI1_RXD0__LPSPI1_SOUT            0x0000051E
                	MX93_PAD_SAI1_TXC__LPSPI1_SIN              0x0000051E
                	MX93_PAD_SAI1_TXD0__LPSPI1_SCK             0x0000051E
                	MX93_PAD_SAI1_TXFS__LPSPI1_PCS0            0x0000051E&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 07:18:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1879541#M224475</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2024-06-03T07:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Imx93 spi0</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1909728#M226233</link>
      <description>&lt;P&gt;Don't use dedicated CS on device tree, but use IO&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;With dedicated CS function,&amp;nbsp; CS is released between each byte&lt;BR /&gt;&lt;BR /&gt;With IO use as CS,&amp;nbsp; CS is not released between each byte,&amp;nbsp; but at end of the frame.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2024 11:40:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Imx93-spi0/m-p/1909728#M226233</guid>
      <dc:creator>frebourg</dc:creator>
      <dc:date>2024-07-16T11:40:44Z</dc:date>
    </item>
  </channel>
</rss>

