<?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>i.MX ProcessorsのトピックRe: How to use STC_RIL_SetInterleave function in SCFW</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1816915#M220497</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229754"&gt;@luozhu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;STC_RIL_SetInterleave &lt;/STRONG&gt;function is used in&amp;nbsp;build_mx8qm_b0/soc/MX8QM/soc.o, the soc.c it's not open source. We don't recommend you modify it. If you still need to modify it. You can use like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STC_Type *bases[] = STC_BASE_PTRS;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for(int i; i &amp;lt; STC_count; i ++)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;STC_Type *base =&amp;nbsp;bases[i]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;STC_RIL_SetInterleave(base,&amp;nbsp; &amp;lt;your stc config&amp;gt;)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2024 00:37:16 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2024-02-28T00:37:16Z</dc:date>
    <item>
      <title>How to use STC_RIL_SetInterleave function in SCFW</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1811684#M220149</link>
      <description>&lt;P&gt;My board is imx8qm-mek,It has two DDRC.&lt;SPAN&gt;I found that the default interleaving size for A-core CPUs accessing DDR memory is 4KB. That is, the first 4KB is accessed through DDRC0 and the second 4KB is accessed through DDRC1. I want to change this size to 8KB. I found that the STC_RIL_SetInterleave function in the SCFW seems to achieve my requirement. I called &lt;STRONG&gt;STC_RIL_SetInterleave(STC10, kSTC_Interleave8K);&lt;/STRONG&gt; in the board_init_ddr function, but it didn't work. Can you help me understand how to use this function?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 09:00:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1811684#M220149</guid>
      <dc:creator>luozhu</dc:creator>
      <dc:date>2024-02-20T09:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to use STC_RIL_SetInterleave function in SCFW</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1816915#M220497</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229754"&gt;@luozhu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;&lt;STRONG&gt;STC_RIL_SetInterleave &lt;/STRONG&gt;function is used in&amp;nbsp;build_mx8qm_b0/soc/MX8QM/soc.o, the soc.c it's not open source. We don't recommend you modify it. If you still need to modify it. You can use like this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;STC_Type *bases[] = STC_BASE_PTRS;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for(int i; i &amp;lt; STC_count; i ++)&lt;/P&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;STC_Type *base =&amp;nbsp;bases[i]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;STC_RIL_SetInterleave(base,&amp;nbsp; &amp;lt;your stc config&amp;gt;)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 00:37:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1816915#M220497</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-02-28T00:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use STC_RIL_SetInterleave function in SCFW</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1817544#M220532</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788"&gt;@Zhiming_Liu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,but where can i do this in&amp;nbsp;src/scfw_export_mx8qm_b0/platform/board/mx8qm_mek/board.c file?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:56:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1817544#M220532</guid>
      <dc:creator>luozhu</dc:creator>
      <dc:date>2024-02-28T13:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use STC_RIL_SetInterleave function in SCFW</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1880479#M224523</link>
      <description>&lt;P&gt;Hi,@&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788" target="_self"&gt;&lt;SPAN class=""&gt;Zhiming_Liu&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I also have a similar problem on the IMX8 board. I want to disable the memory interleaving mode. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;How can I modify it in the source code?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I don't know where to modify to make it work?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My question link is as follows:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/How-to-modify-or-disable-the-memory-interleaving-access-mode-on/m-p/1876137#M224241" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/How-to-modify-or-disable-the-memory-interleaving-access-mode-on/m-p/1876137#M224241&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Looking forward to your reply&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2024 09:04:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1880479#M224523</guid>
      <dc:creator>wangbo9105</dc:creator>
      <dc:date>2024-06-04T09:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to use STC_RIL_SetInterleave function in SCFW</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1881462#M224584</link>
      <description>&lt;P&gt;Hi,@&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/151788" target="_self"&gt;&lt;SPAN class=""&gt;Zhiming_Liu&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code I wrote are as you described.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found an issue:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The function board_qos_config() normally won't be entered unless ss_updown_db(SC_PGP_XXX, 0x1); is called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) I speculate that the implementation of STC_RIL_SetInterleave is as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void STC_RIL_SetInterleave(STC_Type *base, stc_interleave_mode_t interleave)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (base == NULL ) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;return;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;interleave &amp;amp;= 0x3;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;base-&amp;gt;INTERLEAVE_SEL = interleave;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After I used your code to disable the memory interleaving mode for 16 STC instances, I read the value of base-&amp;gt;INTERLEAVE_SEL. Only subsystem 15 (base-&amp;gt;INTERLEAVE_SEL=0x3) was set successfully. For the other subsystems, base-&amp;gt;INTERLEAVE_SEL=0x0 failed to set, but base-&amp;gt;RVSD_HPR_ENABLE=0x3. I don't know why it was set to RVSD_HPR_ENABLE. What is the relationship between INTERLEAVE_SEL and RVSD_HPR_ENABLE?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please provide a manual describing the STC registers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) When entering the board_qos_config(sc_sub_t ss) function, the value of ss is always 15. Does this mean only subsystem 15 can reconfigure the memory interleaving mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am eagerly looking forward to your response!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 10:45:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-STC-RIL-SetInterleave-function-in-SCFW/m-p/1881462#M224584</guid>
      <dc:creator>wangbo9105</dc:creator>
      <dc:date>2024-06-05T10:45:47Z</dc:date>
    </item>
  </channel>
</rss>

