Hi
I want to use the SYSCLKOUT to verify the core frequency of my C6657 after I call platform_init to initialize the main PLL with default values.
What I see when I run my code is that the SYSCLOCKOUT gives a 16,67MHz signal for approx. 8ms and after that it gives a constant signal.
When I single step through
Platform_STATUS platform_init(platform_init_flags * p_flags,platform_init_config * p_config)
I can see that SYSCLOCKOUT is disabled until the function CorePllcHwSetup
executes this code
/* 3b. Clear PLLENSRC bit (enable PLLEN to control PLL controller mux) */
hPllcRegs->PLLCTL &= ~(1 << 5);
At that point the output starts toggling with 16,6MHz (=100MHz/6), and it keeps toggling the output until the end of this function where this code is executed
/* 14. In PLLCTL, write PLLEN = 1 (enable PLL contoller mux to switch to PLL mode) */
hPllcRegs->PLLCTL |= (1 << 0);
During all the time the SYSCLKOUTEN bit in DEVCFG register (0x0262014C) remains 1 so the output should be toggling right?
Can anyone tell me how the SYSCLOCKOUT can be disabled when the SYSCLKOUTEN bit in DEVCFG is set?
Best
Jens