Thank You
I need to work with the MCUExpresso.
Right now I am able to use the PRINTF from the fsl_debug_console.c
I am moderately happy.
I need to setup the clock for the 72 MHz.
The SDK example has this structure
const osc_config_t oscConfig_BOARD_BootClockRUN =
{
.freq = 50000000U, /* Oscillator frequency: 50000000Hz */
.capLoad = (OSC_CAP0P), /* Oscillator capacity load: 0pF */
.workMode = kOSC_ModeExt, /* Use external clock */
.oscerConfig =
{
.enableMode = kOSC_ErClkEnable, /* Enable external reference clock, disable external reference clock in STOP mode */
}
};
to use in the BOARD_BootClockRUN().;
Here the freq is 50000000 but on this board the cristal is 8000000Hz
It seems not consistent.
Effectively downloading the SDK for the K20 I got the directory SDK_2.2.0_MK20DX256xxx10
and under board I find the twrk60d100m directory. So it seems it is referring to a different processor.
The confusion is total. Can you suggest a source with the correct initialization of the 72 MHz clock
using the SDK ( calling the BOARD_BootClockRUN() ) for this board?
Thank You
Pietro