I Planned to set SCLK_LF source explicitly by using OSCClockSourceSet function.
For that I Implement following method inside main:
int main()
{
OSCClockSourceSet(OSC_SRC_CLK_LF,OSC_RCOSC_LF);
currentOSC = OSCClockSourceGet(OSC_SRC_CLK_LF);
..............
}
After this configuration I expect currentOSC value is 2(OSC_RCOSC_LF),But I result is currentOSC value is 3(OSC_XCOSC_LF).
May I know what is the reason for this issue?