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