This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1305: example FCS

Part Number: MSPM0L1305

Hi,
is there any example code or procedure for enabling FCL?

Just executing DL_SYSCTL_enableSYSOSCFCL(void)?
At what step of clock configuration should this bit be enabled? First enabling MCLK source as SYSOSC?
Is there any pre-requisite of enabling power to ADC, GPIO or any other peripheral before enabling FCL?

Regards, Holger

  • Hello Holger,

    FCL is "Frequency correction loop" which is used to improve the SYSOSC frequency accuracy. As the function "DL_SYSCTL_enableSYSOSCFCL(void)" you mentioned, it can be enabled by setting the SETUSEFCL bit in the SYSOSCFCLCTL register. Before you want to increase the SYSOSC accuracy with FCL, you should first disable all digital functions on the ROSC pin in IOMUX (this is the default state after power up). And an ROSC reference resistor that meet the application accuracy requirements must be placed between ROSC pin and device ground (VSS). Then you can use this function. It should be noticed that when the FCL mode is enabled, software can't disable the mode and a BOOTRST is required. 

    More information about the FCL can be found in "section 2.3.1.2.3 SYSOSC Frequency Correction Loop" in our user guide "MSPM0 L-Series 32-MHz Microcontrollers" which can be download in Ti.com.  I am sorry that we do not have demo code for FCL, and if we add it to SDK, I will send to you in this post.

    Best Regards,

    Janz Bai