<?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: core 1 enable in s32k32x</title>
    <link>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174536#M52970</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252204"&gt;@leo_Z&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&lt;STRONG&gt;CM7_1_ENABLE = 0&lt;/STRONG&gt;&amp;nbsp;in the IVT/boot header doesn’t guarantee the clock is gated.&amp;nbsp;That flag only controls whether CM7_1 is&amp;nbsp;&lt;EM&gt;released at boot&lt;/EM&gt;&amp;nbsp;given a start address:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;.section boot_header" header","ax
.long SBAF_BOOT_MARKER /* IVT marker */
.long (CM7_0_ENABLE &amp;lt;&amp;lt; CM7_0_ENABLE_SHIFT) | (CM7_1_ENABLE &amp;lt;&amp;lt; CM7_1_ENABLE_SHIFT) /* Boot configuration word */
.long 0 /* Reserved */
.long CM7_0_VTOR_ADDR /* CM7_0 Start address */ 
.long 0 /* Reserved */
.long CM7_1_VTOR_ADDR /* CM7_1 Start address */
.long 0 /* Reserved */
.long XRDC_CONFIG_ADDR /* XRDC configuration pointer */
.long LF_CONFIG_ADDR /* Lifecycle configuration pointer */
.long 0 /* Reserved */&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;If&amp;nbsp;&lt;STRONG&gt;CM7_1_ENABLE = 1:&lt;/STRONG&gt;&amp;nbsp;CM7_1 is enabled during boot. Debugger can connect to CM7_1 at the beginning.&lt;/P&gt;
&lt;P&gt;You should ensure&amp;nbsp;that only the master core can initialize the clock for the MSCM module. So, check if CORE1 is defined in core1 project, and CORE0 in the core0 project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1758655743531.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358211iB513F97AF06F7863/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1758655743531.png" alt="Julin_AragnM_0-1758655743531.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Try comparing the bit instead of the whole register like so:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;while (IP_MC_ME-&amp;gt;PRTN0_CORE1_PUPD &amp;amp; MC_ME_PRTN0_CORE1_PUPD_CCUPD_MASK) { }&lt;/P&gt;
&lt;P&gt;Also, &lt;SPAN&gt;make sure the session uses a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;destructive reset&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;before the test just in case the debugger is not clearing the registers upon reset.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I imagine you are using the&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1515429" target="_blank"&gt;S32K324 Multi-Core Example Projects&lt;/A&gt; from community as reference, correct?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 23 Sep 2025 20:04:06 GMT</pubDate>
    <dc:creator>Julián_AragónM</dc:creator>
    <dc:date>2025-09-23T20:04:06Z</dc:date>
    <item>
      <title>core 1 enable in s32k32x</title>
      <link>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174299#M52959</link>
      <description>&lt;P&gt;Hello Everyone , I'm trying to initialize the core 1 in S32k324 by Core 0.&lt;/P&gt;&lt;P&gt;I attached my Code here.&lt;/P&gt;&lt;P&gt;I made CM7_1_Enable as 0 in core 0 , according to the start_up file of core 0, clock for core 1 is should not enable in there.&lt;/P&gt;&lt;P&gt;In core 0 main file I'm trying to enable the core clock for core 1 , but before that I'm checking the core1 clock status bit , it is already enabled.&lt;/P&gt;&lt;P&gt;Even I not initialized the&amp;nbsp;CM7_1_Enable in path and symbol&amp;nbsp; core 1 clock is enabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#s32&lt;/P&gt;&lt;P&gt;But if try to connect with and flash the core 1 image with debugger with &lt;STRONG&gt;run on reset&lt;/STRONG&gt; option, its stuck at &lt;STRONG&gt;wait for clock,&amp;nbsp;&lt;/STRONG&gt;then once i enabled the core 1 clock with core 0 , core 1 start running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Why the core clock is enabled even CM7_1_Enable is 0?&lt;/P&gt;&lt;P&gt;2. I need to verify the core 1 clock is enabled by core 0, how can i do that?&lt;/P&gt;&lt;P&gt;void core_one_startup(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;if((IP_MC_ME-&amp;gt;PRTN0_CORE1_STAT&amp;amp;0x0001) != 1)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;printf("Core one not enabled yet");&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;printf("Core one is enabled"); // Core 1 is always on?&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP_MC_ME-&amp;gt;PRTN0_CORE1_PCONF |= MC_ME_PRTN0_CORE1_PCONF_CCE_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP_MC_ME-&amp;gt;PRTN0_CORE1_ADDR = (uint32)AVB_CODE;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP_MC_ME-&amp;gt;PRTN0_CORE1_PUPD |= MC_ME_PRTN0_CORE1_PUPD_CCUPD_MASK;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IP_MC_ME-&amp;gt;CTL_KEY = MC_ME_CTL_KEY_KEY( 0x5AF0);&lt;/P&gt;&lt;P&gt;IP_MC_ME-&amp;gt;CTL_KEY = MC_ME_CTL_KEY_KEY(~0x5AF0);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;while (IP_MC_ME-&amp;gt;PRTN0_CORE1_PUPD == MC_ME_PRTN0_CORE1_PUPD_CCUPD_MASK);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*wait for core1 status*/&lt;/P&gt;&lt;P&gt;while((IP_MC_ME-&amp;gt;PRTN0_CORE1_STAT&amp;amp;0x0001) != 1);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*!&lt;/P&gt;&lt;P&gt;\brief The main function for the project.&lt;/P&gt;&lt;P&gt;\details The startup initialization sequence is the following:&lt;/P&gt;&lt;P&gt;* - startup asm routine&lt;/P&gt;&lt;P&gt;* - main()&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;int main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;core_one_startup();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;return exit_code;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;LI-PRODUCT title="S32K3" id="S32K3"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 12:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174299#M52959</guid>
      <dc:creator>leo_Z</dc:creator>
      <dc:date>2025-09-23T12:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: core 1 enable in s32k32x</title>
      <link>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174536#M52970</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252204"&gt;@leo_Z&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1.&amp;nbsp;&lt;STRONG&gt;CM7_1_ENABLE = 0&lt;/STRONG&gt;&amp;nbsp;in the IVT/boot header doesn’t guarantee the clock is gated.&amp;nbsp;That flag only controls whether CM7_1 is&amp;nbsp;&lt;EM&gt;released at boot&lt;/EM&gt;&amp;nbsp;given a start address:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;.section boot_header" header","ax
.long SBAF_BOOT_MARKER /* IVT marker */
.long (CM7_0_ENABLE &amp;lt;&amp;lt; CM7_0_ENABLE_SHIFT) | (CM7_1_ENABLE &amp;lt;&amp;lt; CM7_1_ENABLE_SHIFT) /* Boot configuration word */
.long 0 /* Reserved */
.long CM7_0_VTOR_ADDR /* CM7_0 Start address */ 
.long 0 /* Reserved */
.long CM7_1_VTOR_ADDR /* CM7_1 Start address */
.long 0 /* Reserved */
.long XRDC_CONFIG_ADDR /* XRDC configuration pointer */
.long LF_CONFIG_ADDR /* Lifecycle configuration pointer */
.long 0 /* Reserved */&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;If&amp;nbsp;&lt;STRONG&gt;CM7_1_ENABLE = 1:&lt;/STRONG&gt;&amp;nbsp;CM7_1 is enabled during boot. Debugger can connect to CM7_1 at the beginning.&lt;/P&gt;
&lt;P&gt;You should ensure&amp;nbsp;that only the master core can initialize the clock for the MSCM module. So, check if CORE1 is defined in core1 project, and CORE0 in the core0 project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Julin_AragnM_0-1758655743531.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358211iB513F97AF06F7863/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Julin_AragnM_0-1758655743531.png" alt="Julin_AragnM_0-1758655743531.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2. Try comparing the bit instead of the whole register like so:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;while (IP_MC_ME-&amp;gt;PRTN0_CORE1_PUPD &amp;amp; MC_ME_PRTN0_CORE1_PUPD_CCUPD_MASK) { }&lt;/P&gt;
&lt;P&gt;Also, &lt;SPAN&gt;make sure the session uses a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;destructive reset&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;before the test just in case the debugger is not clearing the registers upon reset.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I imagine you are using the&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K/S32K324-Multi-Core-Example-Project-based-on-Whiteboard/m-p/1515429" target="_blank"&gt;S32K324 Multi-Core Example Projects&lt;/A&gt; from community as reference, correct?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Julián&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2025 20:04:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174536#M52970</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-09-23T20:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: core 1 enable in s32k32x</title>
      <link>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174963#M52996</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200831"&gt;@Julián_AragónM&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank For reply.&lt;/P&gt;&lt;P&gt;1. I Make it &lt;STRONG&gt;CM7_1_Enable&lt;/STRONG&gt; =0 , becoz i don't want to execute the following part in start up code&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_0-1758707426807.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358316i55A1AF64B646380C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_0-1758707426807.png" alt="AntoZ_0-1758707426807.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Becoz i want core 0 application needs to enable the core 1.&lt;/P&gt;&lt;P&gt;and core 0 is defined in core 0 project and core 1 is defined in core 1 project&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Does the code which i posted is it enough to enable the core 1 clock?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&amp;nbsp;&lt;/STRONG&gt;And we are using S32k328(Used S32K324 only for testing), in this mcu remote core is core 1 right like not in S32k358(which is core 0 and core 2).&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;&lt;STRONG&gt;MC_ME.PRTN0_CORE1_PCONF[CCE]&amp;nbsp;&lt;/STRONG&gt;to enable the core 1 clock, is it same for s32k328?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Becoz in datasheet there is one more register mentioned for s32k328, I'm confused in here&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AntoZ_3-1758709057278.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358320i4AEE36AD9C37896C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AntoZ_3-1758709057278.png" alt="AntoZ_3-1758709057278.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&amp;nbsp;&lt;/STRONG&gt;Could u tell how can i make sure my debug section&amp;nbsp;&lt;SPAN&gt;uses a&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;destructive reset?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&amp;nbsp;&lt;/STRONG&gt;There is lot of project listed in S32k324 multicore Example folder which you posted, could u possible to tell me which project does have the details of enabling the remote core clocks?&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, 24 Sep 2025 10:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2174963#M52996</guid>
      <dc:creator>leo_Z</dc:creator>
      <dc:date>2025-09-24T10:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: core 1 enable in s32k32x</title>
      <link>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2176848#M53110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/252204"&gt;@leo_Z&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;1. Yes, the code you posted should be enough to enable core1 clock for S32K324 and S32K328. Here a code snippet from the example code I've shared at the bottom of my reply.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/*******************************************************************************
 * start_core_cm7_2
 *******************************************************************************/
void start_core_cm7_2(void){

	IP_MC_ME-&amp;gt;PRTN0_CORE4_ADDR = (uint32)0x00800000;
	IP_MC_ME-&amp;gt;PRTN0_CORE4_PCONF = 0x00000001;
	IP_MC_ME-&amp;gt;PRTN0_CORE4_PUPD = 0x00000001;
	IP_MC_ME-&amp;gt;CTL_KEY = 0x5AF0U;
	IP_MC_ME-&amp;gt;CTL_KEY = 0xA50FU;
	while (IP_MC_ME-&amp;gt;PRTN0_CORE4_PUPD == 1) { };
	while ((IP_MC_ME-&amp;gt;PRTN0_CORE4_STAT &amp;amp; MC_ME_PRTN0_CORE4_STAT_CCS_MASK) == 0) { };
}&lt;/LI-CODE&gt;
&lt;P&gt;In your case, PRTN0_CORE4 register is PRTN0_CORE1, since CM7_1 is used instead.&lt;/P&gt;
&lt;P&gt;Just as a note, you can define which core's clock is gated after boot within the boot configuration word (&lt;STRONG&gt;chapter 32.5.1&lt;/STRONG&gt; from S32K3XX reference manual). If not configured, you can use the code described above to enable it instead.&lt;/P&gt;
&lt;P&gt;2. Yes. S32K328 has CM7_0 &amp;amp; CM7_1 as S32K324:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_b806e79.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358780iD94BB2A3F3585C40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_b806e79.png" alt="Snag_b806e79.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P style="transition: none; animation-duration: 0s;"&gt;3. You could try modifying PEmicro's script and such, but for testing purposes, I suggest simply power-cycling the device and connecting through "Attach to Running Target" debug config to see if clock from core 1 is enabled:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snag_af6f089.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/358770iB24614331261CDDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Snag_af6f089.png" alt="Snag_af6f089.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;4. The S32K324 multicore examples simply shows how to build + debug multicore projects. For a simple project on enabling remote core clock, I think this community post is better suited:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/S32K-Knowledge-Base/S32K358-Multicore-Start-CM7-2-from-CM7-0/ta-p/1923889" target="_blank" rel="noopener"&gt;S32K358 Multicore Start CM7_2 from CM7_0 - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Fri, 26 Sep 2025 21:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/core-1-enable-in-s32k32x/m-p/2176848#M53110</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2025-09-26T21:26:26Z</dc:date>
    </item>
  </channel>
</rss>

