Hello Alexis,
Yes, I've set pins PIO0_8 and the PIO0_9 to the XTALIN/XTALOUT function and I've verified that next code lines appears in pin_mux.c file:
/* XTALIN connect to P0_8 */
SWM_SetFixedPinSelect(SWM0, kSWM_XTALIN, true);
/* XTALOUT connect to P0_9 */
SWM_SetFixedPinSelect(SWM0, kSWM_XTALOUT, true);
Pins are correct and system oscillator module is working because I can see 8MHz signal in CLKOUT pin when I select "clk_in" in CLKOUTSEL.
It seems that the problem is in the Main Clock Selector. I select "PLL input" signal with "CLOCK_SetMainClkSrc(kCLOCK_MainClkSrcSysPllin);" but no clock appears at "Main clock".
Is necesary that PLL module was enabled for catching the "PLL input" signal ?
Thank you very much,
Asier