<?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: SDIO device in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028711#M5045</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245586"&gt;@chengxinyu&lt;/a&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;I am not sure what processor you are using or BSP version, but you can refer to this &lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mp-evk.dts#L947C1-L970C3" target="_self"&gt;segment of the Device tree&lt;/A&gt; (in this case for i.MX8MP):&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;&amp;amp;usdhc2 {
	assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_USDHC2&amp;gt;;
	assigned-clock-rates = &amp;lt;400000000&amp;gt;;
	pinctrl-names = "default", "state_100mhz", "state_200mhz";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usdhc2&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_usdhc2_100mhz&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;
	pinctrl-2 = &amp;lt;&amp;amp;pinctrl_usdhc2_200mhz&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;
	cd-gpios = &amp;lt;&amp;amp;gpio2 12 GPIO_ACTIVE_LOW&amp;gt;;
	vmmc-supply = &amp;lt;&amp;amp;reg_usdhc2_vmmc&amp;gt;;
	bus-width = &amp;lt;4&amp;gt;;
	status = "okay";
};

&amp;amp;usdhc3 {
	assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_USDHC3&amp;gt;;
	assigned-clock-rates = &amp;lt;400000000&amp;gt;;
	pinctrl-names = "default", "state_100mhz", "state_200mhz";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usdhc3&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_usdhc3_100mhz&amp;gt;;
	pinctrl-2 = &amp;lt;&amp;amp;pinctrl_usdhc3_200mhz&amp;gt;;
	bus-width = &amp;lt;8&amp;gt;;
	non-removable;
	status = "okay";
};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;There you can configure your USDHC interfaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this can helps to you.&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>Thu, 16 Jan 2025 05:30:31 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2025-01-16T05:30:31Z</dc:date>
    <item>
      <title>SDIO device</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028149#M5041</link>
      <description>&lt;P&gt;我现在想测试 SDIO 控制器的设备模式，但我没有该设备的驱动程序代码。您能否提供设备模式的驱动程序代码&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jan 2025 08:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028149#M5041</guid>
      <dc:creator>chengxinyu</dc:creator>
      <dc:date>2025-01-15T08:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: SDIO device</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028711#M5045</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/245586"&gt;@chengxinyu&lt;/a&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;I am not sure what processor you are using or BSP version, but you can refer to this &lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8mp-evk.dts#L947C1-L970C3" target="_self"&gt;segment of the Device tree&lt;/A&gt; (in this case for i.MX8MP):&lt;/P&gt;
&lt;LI-CODE lang="cpp"&gt;&amp;amp;usdhc2 {
	assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_USDHC2&amp;gt;;
	assigned-clock-rates = &amp;lt;400000000&amp;gt;;
	pinctrl-names = "default", "state_100mhz", "state_200mhz";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usdhc2&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_usdhc2_100mhz&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;
	pinctrl-2 = &amp;lt;&amp;amp;pinctrl_usdhc2_200mhz&amp;gt;, &amp;lt;&amp;amp;pinctrl_usdhc2_gpio&amp;gt;;
	cd-gpios = &amp;lt;&amp;amp;gpio2 12 GPIO_ACTIVE_LOW&amp;gt;;
	vmmc-supply = &amp;lt;&amp;amp;reg_usdhc2_vmmc&amp;gt;;
	bus-width = &amp;lt;4&amp;gt;;
	status = "okay";
};

&amp;amp;usdhc3 {
	assigned-clocks = &amp;lt;&amp;amp;clk IMX8MP_CLK_USDHC3&amp;gt;;
	assigned-clock-rates = &amp;lt;400000000&amp;gt;;
	pinctrl-names = "default", "state_100mhz", "state_200mhz";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_usdhc3&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;pinctrl_usdhc3_100mhz&amp;gt;;
	pinctrl-2 = &amp;lt;&amp;amp;pinctrl_usdhc3_200mhz&amp;gt;;
	bus-width = &amp;lt;8&amp;gt;;
	non-removable;
	status = "okay";
};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;There you can configure your USDHC interfaces.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this can helps to you.&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>Thu, 16 Jan 2025 05:30:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028711#M5045</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-01-16T05:30:31Z</dc:date>
    </item>
    <item>
      <title>Re: SDIO device</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028733#M5046</link>
      <description>您好，我使用的是RISC-V处理器，使用的是FreeRTOS实时操作系统。我想讨要一份SDIO控制器的device模式的驱动代码。</description>
      <pubDate>Thu, 16 Jan 2025 06:19:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/SDIO-device/m-p/2028733#M5046</guid>
      <dc:creator>chengxinyu</dc:creator>
      <dc:date>2025-01-16T06:19:19Z</dc:date>
    </item>
  </channel>
</rss>

