Hi @VaneB ,
S32k144 part number : FS32K144HAT0MLLT
I understood how to run my MCU @80Mhz. Now I want to change the system clock source because the FIRC is selected as the system clock source by default (48MHz).
how to modify the system clock source to select the SPLL as source.
I thought the below instruction will set SPLL as system clock source
//Configure the system clock source and dividers, depending on power mode
SCG->RCCR =
SCG_RCCR_SCS(6)|SCG_RCCR_DIVCORE(1)|SCG_RCCR_DIVBUS(1)|SCG_RCCR_DIVSLOW(2);
But I am not getting SPLL as system clock source.

In all examples they following instructions are used to set clocks,

If I use above code to set the clocks I am getting hard fault. I want to know why the above clock settings is not working for me.
Thanks in advance,
Sarwath