Hello,
Now I am developping the STM module of S32K344. I have some trouble.
I make sure I have set the clock source for STM0 and STM1. The clock is 40MHz from FXOSC. But I cannot set the value of related registers. The code is error when go till setting registers, such as "STM_0->CR |= STM_CR_CPS(0);". I have no idea to figure that.
I just set the system clock and core clock. But I'm not sure is the configuration is correct. When I set GPIO to output high, it works.
Thanks!