<?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: S32K3 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1414177#M14014</link>
    <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153258"&gt;@frank_yang_1_offboarding&lt;/a&gt;&amp;nbsp;Thank you for your reply!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;The solution you provided is ok, but there are still the following doubts(&lt;SPAN&gt;Personal understanding, if wrong please correct&lt;/SPAN&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;① As shown in the figure, with "MCL_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE", the structure variables should be stored in the nocache area, but they are not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiwei_0-1644991597765.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170689i1FE593E31F7FD769/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiwei_0-1644991597765.png" alt="Zhiwei_0-1644991597765.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiwei_2-1644991628339.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170691iED33C60009AB7422/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiwei_2-1644991628339.png" alt="Zhiwei_2-1644991628339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(2) The DMA controller loads the software TCD into the TCD register, which should not use DMA handling. There is no inconsistency between cache line data and physical address data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 06:34:55 GMT</pubDate>
    <dc:creator>Zhiwei</dc:creator>
    <dc:date>2022-02-16T06:34:55Z</dc:date>
    <item>
      <title>S32K3</title>
      <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1412291#M13956</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;When testing the MCAL DMA scatter-gather function , I found the following problems, I hope you can help answer the doubts:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;①Disable the D-Cache and I-Cache, the DMA transfer result is correct, and can enter the interrupt normally;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;②Enable D-Cache and I-Cache, DMA can not complete the transfer, only transfer completed ELEMENT_0, check the TCD0_DLAST_SGA register and find that the address is 0x00;&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;The RTD version tested is RTD2110, and the IP routine test DMA scatter-gather function did not find this problem.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;&lt;SPAN&gt;The attachment is a test routine. If your company can provide the MCAL routine of DMA scatter-gather, I would be very grateful. Then I can try to compare and find the error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Thank you so much!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 07:54:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3/m-p/1412291#M13956</guid>
      <dc:creator>Zhiwei</dc:creator>
      <dc:date>2022-02-11T07:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3</title>
      <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1414069#M14011</link>
      <description>&lt;P&gt;The cache make the DMA engine load the next TCD from cache instead of its actual address.&lt;/P&gt;
&lt;P&gt;There is an initial rough method to solve this problem:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Locate the the generated file Dma_Ip_PBcfg.c in path .\Generated\src.&lt;/LI&gt;
&lt;LI&gt;Find the Dma_Ip_SwTcdRegType structural parameters. It is the external software TCD elements which would be loaded into DMA.&lt;/LI&gt;
&lt;LI&gt;Specify its&amp;nbsp;link property and assign it into section mcal_bss_no_cacheable. (e.g. __attribute__((section(".mcal_bss_no_cacheable"))))&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf65308_0-1644980996433.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170666i82A34A2FCAA0BE7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf65308_0-1644980996433.png" alt="nxf65308_0-1644980996433.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;The user should note that this additional&amp;nbsp;property will be removed when user generate project in EB.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;The attachment is the modified project based on&amp;nbsp;the&amp;nbsp;provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 03:23:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3/m-p/1414069#M14011</guid>
      <dc:creator>frank_yang_1_offboarding</dc:creator>
      <dc:date>2022-02-16T03:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3</title>
      <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1414177#M14014</link>
      <description>&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/153258"&gt;@frank_yang_1_offboarding&lt;/a&gt;&amp;nbsp;Thank you for your reply!&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;The solution you provided is ok, but there are still the following doubts(&lt;SPAN&gt;Personal understanding, if wrong please correct&lt;/SPAN&gt;&lt;LI-EMOJI id="lia_disappointed-face" title=":disappointed_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;① As shown in the figure, with "MCL_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE", the structure variables should be stored in the nocache area, but they are not.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiwei_0-1644991597765.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170689i1FE593E31F7FD769/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiwei_0-1644991597765.png" alt="Zhiwei_0-1644991597765.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiwei_2-1644991628339.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170691iED33C60009AB7422/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiwei_2-1644991628339.png" alt="Zhiwei_2-1644991628339.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(2) The DMA controller loads the software TCD into the TCD register, which should not use DMA handling. There is no inconsistency between cache line data and physical address data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 06:34:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3/m-p/1414177#M14014</guid>
      <dc:creator>Zhiwei</dc:creator>
      <dc:date>2022-02-16T06:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3</title>
      <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1414234#M14015</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The user should deassert compile option "&lt;STRONG&gt;Data sections(-fdata-sections)"&lt;/STRONG&gt; in project&amp;nbsp;properties&amp;nbsp;for making macro MCL_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE valid.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf65308_0-1644996652500.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170708i9BC359DAE39D29A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf65308_0-1644996652500.png" alt="nxf65308_0-1644996652500.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the user needs place &lt;STRONG&gt;functions&lt;/STRONG&gt; to specific section, the option&amp;nbsp;&lt;SPAN&gt;compile option "Function sections(-ffunction-sections)" will be also should be deassert.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the user deassert these options, the rough method which shown above(__attribute__((section(".mcal_bss_no_cacheable"))) is &lt;STRONG&gt;not necessary&lt;/STRONG&gt;&amp;nbsp;anymore.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3/m-p/1414234#M14015</guid>
      <dc:creator>frank_yang_1_offboarding</dc:creator>
      <dc:date>2022-02-16T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3</title>
      <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1414236#M14016</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;The user should deassert compile option "&lt;STRONG&gt;Data sections(-fdata-sections)"&lt;/STRONG&gt;&amp;nbsp;in project&amp;nbsp;properties&amp;nbsp;for making macro MCL_START_SEC_VAR_CLEARED_UNSPECIFIED_NO_CACHEABLE valid.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nxf65308_0-1644997144814.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/170710i56552B2C88D855BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nxf65308_0-1644997144814.png" alt="nxf65308_0-1644997144814.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the user needs place&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;functions&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to specific section, the option&amp;nbsp;&lt;SPAN&gt;compile option "Function sections(-ffunction-sections)" will be also should be deassert.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If the user deassert these options, the rough method which shown above(__attribute__((section(".mcal_bss_no_cacheable"))) is&amp;nbsp;&lt;STRONG&gt;not necessary&lt;/STRONG&gt;&amp;nbsp;anymore.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3/m-p/1414236#M14016</guid>
      <dc:creator>frank_yang_1_offboarding</dc:creator>
      <dc:date>2022-02-16T07:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K3</title>
      <link>https://community.nxp.com/t5/S32K/S32K3/m-p/1414242#M14017</link>
      <description>&lt;P&gt;Thank you very much! I got it!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 07:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K3/m-p/1414242#M14017</guid>
      <dc:creator>Zhiwei</dc:creator>
      <dc:date>2022-02-16T07:49:01Z</dc:date>
    </item>
  </channel>
</rss>

