I am trying to configure FCCU for MPC5777C. when i configure it after PLL initialization where fm_per_clk = 132MHz
Everything works fine and FCCU gets configured.
But when i move the same piece of code before PLL initialization such that the system is running on IRCOSC , my code execution gets stuck at the configuration state and CFG_TO_STAT field in FCCU_IRQ_STAT indicates a configuration timeout error (this does not happen when running at 132 MHz).
my FCCU_CFG_TO is set to its default value 0x6.
and in my config operation right after OP1 execution i am just enabling faults and alarms for them. in 3 instructions before switching to normal state.