<?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: i.MX7d uSDHC CMD53 read error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993378#M230796</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;1. This is not any errata issue in RM. The description in the RM implies that the bit is not designed for use by customers, it's only reserved for internal debug.&amp;nbsp;It's not that an error was generated because the bit was set, but that some error caused the bit to be set. So you can't fix this directly by clearing this bit. This bit is not the direct cause.&lt;/P&gt;
&lt;P&gt;2. Normally set TUNING_1bit_EN to use only the DATA0 line for auto-tuning. This should be fine, &lt;STRONG&gt;all that is required is that the line lengths on the PCB are well matched&lt;/STRONG&gt;. Suggest you troubleshoot the uSDHC line lengths in&amp;nbsp;PCB design.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2024 06:05:07 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2024-11-13T06:05:07Z</dc:date>
    <item>
      <title>i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1988277#M230534</link>
      <description>&lt;P&gt;When connecting a Silex SX-SDMAC to an i.MX7d uSDHC2 via SDR50 and running it, an error sometimes occurs when reading CMD53, and we are investigating the cause.&lt;BR /&gt;The tuning process does not use auto tuning, but instead sets STD_TUNING_EN in the uSDHC2_TUNING_CTRL register and EXECUTE_TUNING in the uSDHC2_AUTOCMD12_ERR_STATUS register, issues CMD19 40 times and waits for tuning to complete, but there was a post in the community below saying that when the default CMD and DATA[0] to DATA[3] are enabled in auto tuning, the Delay cell cannot be adjusted properly, and an error may occur when reading CMD53.&lt;BR /&gt;Even if auto tuning is not being performed, do I need to set only CMD and DATA[0] to be the target when tuning and perform tuning?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/uSDHC-auto-tuning-and-possible-SDIO-failures/ta-p/1352855" target="_blank"&gt;uSDHC auto tuning and possible SDIO failures - NXP Community&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Nov 2024 22:55:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1988277#M230534</guid>
      <dc:creator>kadota</dc:creator>
      <dc:date>2024-11-05T22:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990657#M230649</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;The tuning process for the i.MX7d uSDHC2 should target only CMD and DATA[0] when performing tuning, even if auto tuning is not being used. This approach can help prevent errors when reading CMD53, especially when operating at higher speeds like SDR50.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Recommended setting: To address this issue, it's recommended to set TUNING_1bit_EN to use only the DATA0 line for auto-tuning. This should be sufficient, assuming that the PCB line lengths are well-matched with minimal skew between them.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 02:08:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990657#M230649</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-11-08T02:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990759#M230655</link>
      <description>Your post has been changed because invalid HTML was found in the message body. The invalid HTML has been removed. Please review the message and submit the message when you are satisfied.</description>
      <pubDate>Fri, 08 Nov 2024 04:47:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990759#M230655</guid>
      <dc:creator>kadota</dc:creator>
      <dc:date>2024-11-08T04:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990761#M230656</link>
      <description>I understand that in the uSDHC2 tuning process, only CMD and DATA[0] must be set, even if auto-tuning is not used.&lt;BR /&gt;Is it okay to set the uSDHC2_VEND_SPEC2 register to only target CMD and DATA[0] immediately before setting EXECUTE_TUNING in the uSDHC2_AUTOCMD12_ERR_STATUS register?&lt;BR /&gt;Or are there any restrictions that require it to be set before any other register settings?&lt;BR /&gt;Incidentally, when the CMD53 read error occurred this time, bit 15 (Reserved) of the uSDHC2_INT_STATUS register was set to 1. The manual says that 0 is always read out, but could you please tell me what this bit means?</description>
      <pubDate>Fri, 08 Nov 2024 04:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990761#M230656</guid>
      <dc:creator>kadota</dc:creator>
      <dc:date>2024-11-08T04:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990767#M230657</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I understand that in the uSDHC2 tuning process, only CMD and DATA[0] must be set, even if auto-tuning is not used.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Is it okay to set the uSDHC2_VEND_SPEC2 register to only target CMD and DATA[0] immediately before setting EXECUTE_TUNING in the uSDHC2_AUTOCMD12_ERR_STATUS register?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Or are there any restrictions that require it to be set before any other register settings?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; Incidentally, when the CMD53 read error occurred this time, bit 15 (Reserved) of the uSDHC2_INT_STATUS register was set to 1. The manual says that 0 is always read out, but could you please tell me what this bit means?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2024 04:50:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1990767#M230657</guid>
      <dc:creator>kadota</dc:creator>
      <dc:date>2024-11-08T04:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1992566#M230749</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Is it okay to set the uSDHC2_VEND_SPEC2 register to only target CMD and DATA[0] immediately before setting EXECUTE_TUNING in the uSDHC2_AUTOCMD12_ERR_STATUS register?&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;--&amp;gt;&lt;SPAN data-teams="true"&gt; It is generally safe to set the uSDHC2_VEND_SPEC2 register immediately before setting EXECUTE_TUNING in the uSDHC2_AUTOCMD12_ERR_STATUS register. There are no specific restrictions requiring it to be set before other register settings.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Here's what the internal team responded to on a similar question:&lt;/P&gt;
&lt;P&gt;The BSP default value for&amp;nbsp;uSDHCx_VEND_SPEC2&amp;nbsp;means autotuning uses DATA[3:0]:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;TUNING_CMD_EN = 0&lt;/LI&gt;
&lt;LI&gt;TUNING_1bit_EN = 0&lt;/LI&gt;
&lt;LI&gt;TUNING_8bit_EN = 0&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;When SDIO interrupts are enabled, the async nature of the SDIO interrupts on DATA1 will confuse the auto tuning (it seems that the uSDHC module IP does not properlly comprehend SDIO DATA1 interrupts while autotuning is enabled on the 4 data lines).&lt;/P&gt;
&lt;P&gt;Recommend setting TUNING_1bit_EN to use only DATA0 line for autotuning. This should be ok, since line lengths on PCB are well matched.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For bit 15 of&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;uSDHC2_INT_STATUS&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;--&amp;gt;&lt;/SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_0-1731394164487.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/309961i7DAA4F607D2AD43F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_0-1731394164487.png" alt="Zhiming_Liu_0-1731394164487.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--&amp;gt;Or You can try to clear these bits to check if this issue can be resolved.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;uSDHCx_AUTOCMD12_ERR_STATUS[SMP_CLK_SEL]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uSDHCx_MIX_CTRL[FBCLK_SEL]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;uSDHCx_MIX_CTRL[AUTO_TUNE_EN]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 07:04:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1992566#M230749</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-11-12T07:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993155#M230780</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;In the i.MX 7Dual Applications Processor Reference Manual, 10.3.8.13 Interrupt Status (uSDHCx_INT_STATUS) it says that bit 15 is Reserved (This read-only field is reserved and always has the value 0.), which is not what you answered, so I would like you to revise the Reference Manual or provide an errata.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; In addition, it seems that bit 15 is set when an error occurs, but how can I clear bit 15 when it is set?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;--&amp;gt;Or You can try to clear these bits to check if this issue can be resolved.&lt;BR /&gt;&amp;gt;uSDHCx_AUTOCMD12_ERR_STATUS[SMP_CLK_SEL]&lt;BR /&gt;&amp;gt;uSDHCx_MIX_CTRL[FBCLK_SEL]&lt;BR /&gt;&amp;gt;uSDHCx_MIX_CTRL[AUTO_TUNE_EN]&lt;BR /&gt;When should I clear these bits?&lt;BR /&gt;Is this just before setting EXECUTE_TUNING in the uSDHC2_AUTOCMD12_ERR_STATUS register?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 22:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993155#M230780</guid>
      <dc:creator>kadota</dc:creator>
      <dc:date>2024-11-12T22:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993378#M230796</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;1. This is not any errata issue in RM. The description in the RM implies that the bit is not designed for use by customers, it's only reserved for internal debug.&amp;nbsp;It's not that an error was generated because the bit was set, but that some error caused the bit to be set. So you can't fix this directly by clearing this bit. This bit is not the direct cause.&lt;/P&gt;
&lt;P&gt;2. Normally set TUNING_1bit_EN to use only the DATA0 line for auto-tuning. This should be fine, &lt;STRONG&gt;all that is required is that the line lengths on the PCB are well matched&lt;/STRONG&gt;. Suggest you troubleshoot the uSDHC line lengths in&amp;nbsp;PCB design.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 06:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993378#M230796</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-11-13T06:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX7d uSDHC CMD53 read error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993470#M230800</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 08:09:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX7d-uSDHC-CMD53-read-error/m-p/1993470#M230800</guid>
      <dc:creator>kadota</dc:creator>
      <dc:date>2024-11-13T08:09:08Z</dc:date>
    </item>
  </channel>
</rss>

