<?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] [RTD 7.0.1] Three Issues in the BCTU Module</title>
    <link>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2397080#M59960</link>
    <description>&lt;P&gt;Hi@&lt;SPAN&gt;chenwilsoft&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;The software team and I have confirmed these issues, they are indeed bugs.&lt;/P&gt;
&lt;P&gt;We have escalated these issues internally and will fix them in a future update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2026 07:52:13 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2026-07-21T07:52:13Z</dc:date>
    <item>
      <title>[S32K3] [RTD 7.0.1] Three Issues in the BCTU Module</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2395839#M59894</link>
      <description>&lt;DIV&gt;&lt;DIV class=""&gt;I have found three problems with the BCTU module in the RTD code version &lt;STRONG&gt;S32K3_RTD_7_0_1_D2602_ASR_REL_4_9_REV_0000_20260206&lt;/STRONG&gt;. The detailed issues are listed below:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Issue 1:&lt;/STRONG&gt; In file &lt;STRONG&gt;Adc_TS_T40D34M70I1R0/src/Bctu_Ip.c&lt;/STRONG&gt;, line 1558, the current code uses bitwise OR assignment: &lt;STRONG&gt;BctuBasePtr-&amp;gt;FIFOERR |= FifoWatermarkMask;&lt;/STRONG&gt; It should be modified to direct assignment: &lt;STRONG&gt;BctuBasePtr-&amp;gt;FIFOERR = FifoWatermarkMask;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Issue 2:&lt;/STRONG&gt; In file &lt;STRONG&gt;Adc_TS_T40D34M70I1R0/src/Bctu_Ip.c&lt;/STRONG&gt;, lines 567 and 568, the existing code contains incorrect bit shift operations. The original code is shown below:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;ClrMask |= ((u32Mask &amp;amp; (BCTU_IP_STATUS_FIFO1_OVR_ERR &amp;lt;&amp;lt; (Index * 2u))) != 0U) ? (BCTU_FIFOERR_OVR_ERR_FIFO1_MASK &amp;lt;&amp;lt; Index) : 0U;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;ClrMask |= ((u32Mask &amp;amp; (BCTU_IP_STATUS_FIFO1_UNDR_ERR &amp;lt;&amp;lt; (Index * 2u))) != 0U) ? (BCTU_FIFOERR_UNDR_ERR_FIFO1_MASK &amp;lt;&amp;lt; Index) : 0U;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;These two lines should be revised to the correct shift logic as follows:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;ClrMask |= ((u32Mask &amp;amp; (BCTU_IP_STATUS_FIFO1_OVR_ERR &amp;lt;&amp;lt; Index)) != 0U) ? (BCTU_FIFOERR_OVR_ERR_FIFO1_MASK &amp;lt;&amp;lt; (Index * 2u)) : 0U;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;ClrMask |= ((u32Mask &amp;amp; (BCTU_IP_STATUS_FIFO1_UNDR_ERR &amp;lt;&amp;lt; Index)) != 0U) ? (BCTU_FIFOERR_UNDR_ERR_FIFO1_MASK &amp;lt;&amp;lt; (Index * 2u)) : 0U;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Issue 3:&lt;/STRONG&gt; There is a type inconsistency alignment issue between the MCAL/SDK code generation tools and the static source code of the BCTU module. In the MCAL generated code (&lt;STRONG&gt;Adc_TS_T40D34M70I1R0/generate_PB/Adc_RegOperations.m&lt;/STRONG&gt;, line 2397), the arrays defined in both header and C files uniformly adopt the &lt;STRONG&gt;uint32&lt;/STRONG&gt; type. In the SDK generated code, the type definition is inconsistent between header and C files: the array type in &lt;STRONG&gt;eclipse/mcu_data/components/PlatformSDK_S32K3/Bctu_Ip/Bctu_Ip_PBcfg.h&lt;/STRONG&gt; (line 249) switches between &lt;STRONG&gt;uint16&lt;/STRONG&gt; and &lt;STRONG&gt;uint32&lt;/STRONG&gt; depending on whether the &lt;STRONG&gt;BctuFifoDmaRawData&lt;/STRONG&gt; option is enabled, while the corresponding array in &lt;STRONG&gt;eclipse/mcu_data/components/PlatformSDK_S32K3/Bctu_Ip/Bctu_Ip_PBcfg.c&lt;/STRONG&gt; (line 317) is fixed as &lt;STRONG&gt;uint32&lt;/STRONG&gt; type. In the static code (&lt;STRONG&gt;Adc_TS_T40D34M70I1R0/src/Bctu_Ip.c&lt;/STRONG&gt;, line 1629), the transmission length (2-byte or 4-byte) is determined dynamically based on the &lt;STRONG&gt;BctuFifoDmaRawData&lt;/STRONG&gt; configuration. All the following abnormal problems occur when the&lt;STRONG&gt;BctuFifoDmaRawData&lt;/STRONG&gt; option is &lt;STRONG&gt;unchecked&lt;/STRONG&gt;:&lt;/DIV&gt;&lt;DIV class=""&gt;1. For SDK projects: The mismatched array types between header and C files cause direct &lt;STRONG&gt;compilation failures&lt;/STRONG&gt;.&lt;/DIV&gt;&lt;DIV class=""&gt;2. For MCAL projects: Although compilation can succeed, the fixed uint32 array definition leads to &lt;STRONG&gt;half of the memory space being wasted&lt;/STRONG&gt;. Besides, each uint32 data unit contains two ADC results, requiring manual splitting of high and low uint16 values during data parsing.&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV&gt;&lt;DIV class=""&gt;The above three bugs exist in the official version &lt;STRONG&gt;S32K3_RTD_7_0_1_D2602_ASR_REL_4_9_REV_0000_20260206&lt;/STRONG&gt;. We hope NXP software engineers can fix these BCTU module defects in the next RTD release.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 16 Jul 2026 09:13:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2395839#M59894</guid>
      <dc:creator>chenwilsoft</dc:creator>
      <dc:date>2026-07-16T09:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: [S32K3] [RTD 7.0.1] Three Issues in the BCTU Module</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2396216#M59913</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;chenwilsoft&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Your question has been escalated to the internal forum and is awaiting confirmation from the design team.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2026 06:41:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2396216#M59913</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-07-17T06:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: [S32K3] [RTD 7.0.1] Three Issues in the BCTU Module</title>
      <link>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2397080#M59960</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;chenwilsoft&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Thank you for your feedback.&lt;/P&gt;
&lt;P&gt;The software team and I have confirmed these issues, they are indeed bugs.&lt;/P&gt;
&lt;P&gt;We have escalated these issues internally and will fix them in a future update.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2026 07:52:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3-RTD-7-0-1-Three-Issues-in-the-BCTU-Module/m-p/2397080#M59960</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2026-07-21T07:52:13Z</dc:date>
    </item>
  </channel>
</rss>

