<?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 Start second core form main core in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Start-second-core-form-main-core/m-p/1921724#M38601</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use a S32K358 eval board, I try to start the second core with the main core.&lt;/P&gt;&lt;P&gt;So in the main core after init I call the function&amp;nbsp;StartCore2 but the second core doesn't start.&lt;/P&gt;&lt;P&gt;What else I need to check ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use&amp;nbsp;CM7_2_ENABLE the 2&amp;nbsp; and don't call&amp;nbsp;StartCore2 the&amp;nbsp;core start correctly.&lt;/P&gt;&lt;P&gt;I use one software/hex file for the both core.&lt;BR /&gt;&lt;BR /&gt;Sophie&lt;/P&gt;&lt;P&gt;here the code :&lt;/P&gt;&lt;P&gt;static void StartCore2(void)&lt;BR /&gt;{&lt;BR /&gt;IP_MC_ME-&amp;gt;PRTN0_CORE4_ADDR = (uint32) &amp;amp;__CORE2_VTOR;&lt;BR /&gt;IP_MC_ME-&amp;gt;PRTN0_CORE4_PCONF = 0x00000001;&lt;BR /&gt;IP_MC_ME-&amp;gt;PRTN0_CORE4_PUPD = 0x00000001;&lt;BR /&gt;IP_MC_ME-&amp;gt;CTL_KEY = 0x5AF0U;&lt;BR /&gt;IP_MC_ME-&amp;gt;CTL_KEY = 0xA50FU;&lt;BR /&gt;while (IP_MC_ME-&amp;gt;PRTN0_CORE4_PUPD == 1)&lt;BR /&gt;{&lt;BR /&gt;};&lt;BR /&gt;while ((IP_MC_ME-&amp;gt;PRTN0_CORE4_STAT &amp;amp; MC_ME_PRTN0_CORE4_STAT_CCS_MASK) == 0)&lt;BR /&gt;{&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Jul 2024 15:20:41 GMT</pubDate>
    <dc:creator>sobo</dc:creator>
    <dc:date>2024-07-31T15:20:41Z</dc:date>
    <item>
      <title>Start second core form main core</title>
      <link>https://community.nxp.com/t5/S32K/Start-second-core-form-main-core/m-p/1921724#M38601</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use a S32K358 eval board, I try to start the second core with the main core.&lt;/P&gt;&lt;P&gt;So in the main core after init I call the function&amp;nbsp;StartCore2 but the second core doesn't start.&lt;/P&gt;&lt;P&gt;What else I need to check ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use&amp;nbsp;CM7_2_ENABLE the 2&amp;nbsp; and don't call&amp;nbsp;StartCore2 the&amp;nbsp;core start correctly.&lt;/P&gt;&lt;P&gt;I use one software/hex file for the both core.&lt;BR /&gt;&lt;BR /&gt;Sophie&lt;/P&gt;&lt;P&gt;here the code :&lt;/P&gt;&lt;P&gt;static void StartCore2(void)&lt;BR /&gt;{&lt;BR /&gt;IP_MC_ME-&amp;gt;PRTN0_CORE4_ADDR = (uint32) &amp;amp;__CORE2_VTOR;&lt;BR /&gt;IP_MC_ME-&amp;gt;PRTN0_CORE4_PCONF = 0x00000001;&lt;BR /&gt;IP_MC_ME-&amp;gt;PRTN0_CORE4_PUPD = 0x00000001;&lt;BR /&gt;IP_MC_ME-&amp;gt;CTL_KEY = 0x5AF0U;&lt;BR /&gt;IP_MC_ME-&amp;gt;CTL_KEY = 0xA50FU;&lt;BR /&gt;while (IP_MC_ME-&amp;gt;PRTN0_CORE4_PUPD == 1)&lt;BR /&gt;{&lt;BR /&gt;};&lt;BR /&gt;while ((IP_MC_ME-&amp;gt;PRTN0_CORE4_STAT &amp;amp; MC_ME_PRTN0_CORE4_STAT_CCS_MASK) == 0)&lt;BR /&gt;{&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Jul 2024 15:20:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Start-second-core-form-main-core/m-p/1921724#M38601</guid>
      <dc:creator>sobo</dc:creator>
      <dc:date>2024-07-31T15:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Start second core form main core</title>
      <link>https://community.nxp.com/t5/S32K/Start-second-core-form-main-core/m-p/1923900#M38689</link>
      <description>&lt;P&gt;Hello Sophie,&lt;/P&gt;
&lt;P&gt;Can you check my test project:&lt;/P&gt;
&lt;P&gt;&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" shape="rect"&gt;https://community.nxp.com/t5/S32K-Knowledge-Base/S32K358-Multicore-Start-CM7-2-from-CM7-0/ta-p/1923889&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I used your code and Power_IP RTD driver to start CM7_2.&lt;/P&gt;
&lt;P&gt;In both cases, the blue LED (S32K3x8EVB-Q289), starts blinking 5 seconds after power-on reset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2024 10:07:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Start-second-core-form-main-core/m-p/1923900#M38689</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-08-02T10:07:47Z</dc:date>
    </item>
  </channel>
</rss>

