Hello,
I use a S32K358 eval board, I try to start the second core with the main core.
So in the main core after init I call the function StartCore2 but the second core doesn't start.
What else I need to check ?
If I use CM7_2_ENABLE the 2 and don't call StartCore2 the core start correctly.
I use one software/hex file for the both core.
Sophie
here the code :
static void StartCore2(void)
{
IP_MC_ME->PRTN0_CORE4_ADDR = (uint32) &__CORE2_VTOR;
IP_MC_ME->PRTN0_CORE4_PCONF = 0x00000001;
IP_MC_ME->PRTN0_CORE4_PUPD = 0x00000001;
IP_MC_ME->CTL_KEY = 0x5AF0U;
IP_MC_ME->CTL_KEY = 0xA50FU;
while (IP_MC_ME->PRTN0_CORE4_PUPD == 1)
{
};
while ((IP_MC_ME->PRTN0_CORE4_STAT & MC_ME_PRTN0_CORE4_STAT_CCS_MASK) == 0)
{
};
Solved! Go to Solution.
Hello Sophie,
Can you check my test project:
I used your code and Power_IP RTD driver to start CM7_2.
In both cases, the blue LED (S32K3x8EVB-Q289), starts blinking 5 seconds after power-on reset.
Thank you,
BR, Daniel
Hello Sophie,
Can you check my test project:
I used your code and Power_IP RTD driver to start CM7_2.
In both cases, the blue LED (S32K3x8EVB-Q289), starts blinking 5 seconds after power-on reset.
Thank you,
BR, Daniel