Hi,
I am trying to manually (bare-metal) switch the clock from FIRC to PLL; however, I am getting the following error in the status register. For clock switching, I used MC_CGM registers.
"010b - Switch after the request failed because of an inactive target clock and the current clock is FIRC."
Does that mean PLL needs to be turned on somewhere first before switching? If so, where?
I tried setting up PLL registers such as PLLCR and PLLFM; however, any access to PLL registers generates hard fault. Any idea why?
Thanks!
Vusal
Hi Vusal,
Sorry, I was a little busy so I didn't reply to you in time.
This question seems to be related to your previous question How to switch clock source from FIRC to PLL_PHI0 for S32K3?. Let's continue the discussion over there.
Best Regards,
Robin