<?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 ADC+DMA First Conversion Timeout in S32K</title>
    <link>https://community.nxp.com/t5/S32K/ADC-DMA-First-Conversion-Timeout/m-p/2145726#M51565</link>
    <description>&lt;P&gt;MCU:s32k312&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem Description:​&lt;/STRONG&gt;​&lt;BR /&gt;When using ADC with DMA in group conversion mode, I'm observing a consistent issue where the ​&lt;STRONG&gt;​first conversion start (Adc_StartGroupConversion)​&lt;/STRONG&gt;​ always results in a ​&lt;STRONG&gt;​timeout condition​&lt;/STRONG&gt;​. Specifically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The ​&lt;STRONG&gt;​group notification callback is never triggered​&lt;/STRONG&gt;​&lt;/LI&gt;&lt;LI&gt;When polling the ​&lt;STRONG&gt;​group status in a task​&lt;/STRONG&gt;​, it remains stuck at ​&lt;STRONG&gt;​"busy"​&lt;/STRONG&gt;​ indefinitely&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;If I execute a ​&lt;/SPAN&gt;&lt;STRONG&gt;​timeout handler​&lt;/STRONG&gt;&lt;SPAN&gt;​ (triggered by the initial failure), which calls&amp;nbsp;&lt;/SPAN&gt;Adc_StopGroupConversion&lt;SPAN&gt;&amp;nbsp;followed by a ​&lt;/SPAN&gt;&lt;STRONG&gt;​second&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Adc_StartGroupConversion​&lt;/STRONG&gt;&lt;SPAN&gt;​, subsequent conversions work ​&lt;/SPAN&gt;&lt;STRONG&gt;​flawlessly​&lt;/STRONG&gt;&lt;SPAN&gt;​ without any further issues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adc_StartGroupConversion(gularrMcuWrapAdcGroups[ulAdcIter]); Adc_StopGroupConversion(gularrMcuWrapAdcGroups[ulAdcIter]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:​&lt;/STRONG&gt;​&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Has anyone encountered similar behavior where the ​&lt;STRONG&gt;​first ADC group conversion fails​&lt;/STRONG&gt;​ (timeout/busy status) but works fine afterward?&lt;/LI&gt;&lt;LI&gt;Is this a known ​&lt;STRONG&gt;​initialization sequence requirement​&lt;/STRONG&gt;​ for ADC+DMA groups (e.g., needing a dummy conversion to "prime" the hardware)?&lt;/LI&gt;&lt;LI&gt;Could this be related to ​&lt;STRONG&gt;​clock gating, power-on state, or DMA initialization timing​&lt;/STRONG&gt;​?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Looking for insights on root cause or recommended initialization practices to avoid this workaround.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Aug 2025 01:59:39 GMT</pubDate>
    <dc:creator>JhonYF</dc:creator>
    <dc:date>2025-08-04T01:59:39Z</dc:date>
    <item>
      <title>ADC+DMA First Conversion Timeout</title>
      <link>https://community.nxp.com/t5/S32K/ADC-DMA-First-Conversion-Timeout/m-p/2145726#M51565</link>
      <description>&lt;P&gt;MCU:s32k312&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem Description:​&lt;/STRONG&gt;​&lt;BR /&gt;When using ADC with DMA in group conversion mode, I'm observing a consistent issue where the ​&lt;STRONG&gt;​first conversion start (Adc_StartGroupConversion)​&lt;/STRONG&gt;​ always results in a ​&lt;STRONG&gt;​timeout condition​&lt;/STRONG&gt;​. Specifically:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The ​&lt;STRONG&gt;​group notification callback is never triggered​&lt;/STRONG&gt;​&lt;/LI&gt;&lt;LI&gt;When polling the ​&lt;STRONG&gt;​group status in a task​&lt;/STRONG&gt;​, it remains stuck at ​&lt;STRONG&gt;​"busy"​&lt;/STRONG&gt;​ indefinitely&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;If I execute a ​&lt;/SPAN&gt;&lt;STRONG&gt;​timeout handler​&lt;/STRONG&gt;&lt;SPAN&gt;​ (triggered by the initial failure), which calls&amp;nbsp;&lt;/SPAN&gt;Adc_StopGroupConversion&lt;SPAN&gt;&amp;nbsp;followed by a ​&lt;/SPAN&gt;&lt;STRONG&gt;​second&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Adc_StartGroupConversion​&lt;/STRONG&gt;&lt;SPAN&gt;​, subsequent conversions work ​&lt;/SPAN&gt;&lt;STRONG&gt;​flawlessly​&lt;/STRONG&gt;&lt;SPAN&gt;​ without any further issues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adc_StartGroupConversion(gularrMcuWrapAdcGroups[ulAdcIter]); Adc_StopGroupConversion(gularrMcuWrapAdcGroups[ulAdcIter]);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Question:​&lt;/STRONG&gt;​&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Has anyone encountered similar behavior where the ​&lt;STRONG&gt;​first ADC group conversion fails​&lt;/STRONG&gt;​ (timeout/busy status) but works fine afterward?&lt;/LI&gt;&lt;LI&gt;Is this a known ​&lt;STRONG&gt;​initialization sequence requirement​&lt;/STRONG&gt;​ for ADC+DMA groups (e.g., needing a dummy conversion to "prime" the hardware)?&lt;/LI&gt;&lt;LI&gt;Could this be related to ​&lt;STRONG&gt;​clock gating, power-on state, or DMA initialization timing​&lt;/STRONG&gt;​?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Looking for insights on root cause or recommended initialization practices to avoid this workaround.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 01:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-DMA-First-Conversion-Timeout/m-p/2145726#M51565</guid>
      <dc:creator>JhonYF</dc:creator>
      <dc:date>2025-08-04T01:59:39Z</dc:date>
    </item>
  </channel>
</rss>

