<?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>S32KのトピックRe: S32K3 BCTU Issue</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2069480#M47230</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you share full simplified project, we can test on EVB.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
    <pubDate>Thu, 27 Mar 2025 12:51:14 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2025-03-27T12:51:14Z</dc:date>
    <item>
      <title>S32K3 BCTU Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2067660#M47117</link>
      <description>&lt;P&gt;Hello, S32K3 Team,&lt;/P&gt;&lt;P&gt;We are currently experiencing an issue while configuring eMios-BCTU-ADC.&lt;/P&gt;&lt;P&gt;When executing Adc_EnableCtuControlMode, the process frequently halts at the Bctu_ConfigAndUpdateFifoNotification function. Although the notification configured in the FIFO occasionally gets triggered, in most cases, the system stops responding at this point.&lt;/P&gt;&lt;P&gt;We would appreciate your insight into the root cause of this issue, as well as any recommended solutions.&lt;/P&gt;&lt;P&gt;Please find our configuration attached below for your reference.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu6.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329595i6E524F6F74470D99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu6.png" alt="adcbctu6.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu5.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329596i1A107F01CA6DBF7D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu5.png" alt="adcbctu5.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu4.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329593i125B1BE9974C70F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu4.png" alt="adcbctu4.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu3.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329594i965E0C14C14B3356/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu3.png" alt="adcbctu3.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu2.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329597i65C171F3965C0E77/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu2.png" alt="adcbctu2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu1.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329598i509317D66DCF1FC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu1.png" alt="adcbctu1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="adcbctu0.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329599iDE62C5ACDFFAF780/image-size/medium?v=v2&amp;amp;px=400" role="button" title="adcbctu0.png" alt="adcbctu0.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 10:39:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2067660#M47117</guid>
      <dc:creator>NewbieNerd</dc:creator>
      <dc:date>2025-03-25T10:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 BCTU Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2067811#M47127</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;shared configuration looks normal, so hard to say what can be wrong, if other non listed setting or the code you have. For example be sure you enable HW trigger after all init is done, etc.&lt;BR /&gt;You can refer to below motor control solutions project which includes eMIOS-BCTU-ADC mechanism as well and contains&amp;nbsp;&lt;SPAN&gt;high-level Autosar&amp;nbsp;project too.&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Motor-control-SW-examples/ta-p/1804577" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K3-Motor-control-SW-examples/ta-p/1804577&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;Good RTD low level examples are posted at&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/RTD400-LLD-K344-ADC-SW-HW-trigger/ta-p/1966179" target="_blank"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/RTD400-LLD-K344-ADC-SW-HW-trigger/ta-p/1966179.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Tue, 25 Mar 2025 14:16:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2067811#M47127</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-03-25T14:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 BCTU Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2068296#M47148</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;As you mentioned, I begin by initializing the peripheral modules in the following order:&lt;BR /&gt;Mcu → Port → Dio → Adc → Gpt → Mcl → Icu → Pwm,&lt;BR /&gt;and then I proceed to call the Adc_EnableCtuControlMode function.&lt;/P&gt;&lt;P&gt;To investigate whether the issue might be related to the operation of the eMIOS module in the MCL, I also tested invoking Adc_EnableCtuControlMode before calling the MCL initialization. However, in both cases, the behavior is inconsistent—the system mostly halts, and only occasionally does it operate successfully.&lt;/P&gt;&lt;P&gt;I would greatly appreciate your advice on this matter.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;/* ADC */&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Adc_Calibrate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AdcHwUnit_0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;CalibStatus_0&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Adc_Calibrate&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AdcHwUnit_1&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;CalibStatus_1&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;if&lt;/SPAN&gt; &lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CalibStatus_0&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;AdcUnitSelfTestStatus&lt;/SPAN&gt; &lt;SPAN&gt;==&lt;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;DIV&gt;&lt;SPAN&gt;Adc_SetupResultBuffer&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;0U&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;s_usAdcReadBuffer_0&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Adc_EnableGroupNotification&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;0U&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Adc_StartGroupConversion&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;0U&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;BR /&gt;Best regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 26 Mar 2025 04:08:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2068296#M47148</guid>
      <dc:creator>NewbieNerd</dc:creator>
      <dc:date>2025-03-26T04:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 BCTU Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2069480#M47230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;if you share full simplified project, we can test on EVB.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 12:51:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2069480#M47230</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-03-27T12:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 BCTU Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2072707#M47393</link>
      <description>&lt;P&gt;First of all, I apologize for the delayed response, and I kindly ask for your understanding that, due to company policy, I am unable to upload files.&lt;/P&gt;&lt;P&gt;The issue occurs within the Bctu_ConfigAndUpdateFifoNotification function, specifically in the following code segment:&lt;/P&gt;&lt;P&gt;Mask |= FifoConfig-&amp;gt;FifoDmaEnable ? (BCTU_FIFOCR_DMA_EN_FIFO1_MASK &amp;lt;&amp;lt; FifoConfig-&amp;gt;FifoIndex) : 0U;&lt;BR /&gt;Mask |= FifoConfig-&amp;gt;bEnNotif ? (BCTU_FIFOCR_IEN_FIFO1_MASK &amp;lt;&amp;lt; FifoConfig-&amp;gt;FifoIndex) : 0U;&lt;BR /&gt;SchM_Enter_Adc_ADC_EXCLUSIVE_AREA_65();&lt;BR /&gt;BctuBasePtr-&amp;gt;FIFOCR &amp;amp;= ~(Mask);&lt;BR /&gt;BctuBasePtr-&amp;gt;FIFOCR |= Mask;&lt;BR /&gt;SchM_Exit_Adc_ADC_EXCLUSIVE_AREA_65();&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After this code is executed, the system no longer proceeds. It seems to get stuck or halt at this point.&lt;/P&gt;&lt;P&gt;I would greatly appreciate your assistance in identifying the cause of this issue and any potential resolutions.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;There are rare cases where the execution succeeds, so I am wondering if there are specific conditions that must be met when setting the FIFOCR register.&lt;/P&gt;&lt;P&gt;In normal operation, the value of the FIFO1DR register changes.&lt;/P&gt;&lt;P&gt;(picture adc0 &amp;lt;-&amp;gt; adc1)&lt;/P&gt;&lt;P&gt;In abnormal operation, it does not.&lt;/P&gt;&lt;P&gt;(only adc1)&lt;/P&gt;&lt;P&gt;Thank you for your continued support.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 08:48:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2072707#M47393</guid>
      <dc:creator>NewbieNerd</dc:creator>
      <dc:date>2025-04-02T08:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3 BCTU Issue</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2073681#M47459</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;it looks it has some result in FIFO1 at time of enabling its interrupts. If those are initialized before it would be OK, but I would expect commands come after all is initialized. Lets try to start eMIOS as final steps after all init is done.&lt;/P&gt;
&lt;P&gt;BR, Petr&lt;/P&gt;</description>
      <pubDate>Thu, 03 Apr 2025 11:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-BCTU-Issue/m-p/2073681#M47459</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2025-04-03T11:49:43Z</dc:date>
    </item>
  </channel>
</rss>

