Hello NXP community,
we have now custom hw board with S32K148, we don't have crystall oscillator neither external clock.
and problem is that the code got stuck in :
hello_world_s32k144 : in this example the code get stuck at
while(!(SCG->SOSCCSR & SCG_SOSCCSR_SOSCVLD_MASK)); /* Wait for sys OSC clk valid */
and it is running forever.
or status= timeout in SDK examples, Clock_sys_ConfigureSOSC(), also same line.
1. is it possible to not use a crystal oscillator?
2. Why in the custom hw, i needed to enable the clock to the peripherals i will use, at the time i didn't have to do this in NXP EVBs? PCC_SetClockMode(PCC, PCC_PORTA_CLOCK, true);
3. Now i disabled the SOSC and changed system clock source to FIRC_CLK instead of SPLL, is what i did correct?
please see the attached screenshot.
Thanks!
Best regards,
Nader