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.

MSP430FR5994: About Clock Settings when using an external RTC

Part Number: MSP430FR5994

Hi teams:

I would like to ask about clock settings when using an external RTC.
Using DriverLib, we call the Function in the following order to configure LFXT.
1. CS_turnOnLFXT(CS_LFXT_DRIVE_2)
2. CS_bypassLFXT()

An external RTC is connected to the J.4 pin.

When operating with this setting, clearing of OSC flut Flag inside CS_turnOnLFXT,
An infinite loop occurs and processing cannot proceed further.
If you comment out While in CS_turnOnLFXT, you can proceed to the next step.

CS_bypassLFXT also has the same OSC flut Flag clearing process, so
Is it okay to delete the OSC flout Flag clearing process inside CS_turnOnLFXT?

Since I want to configure LFXTDRIVE, I want to call CS_turnOnLFXT before CS_bypassLFXT.
(If CS_turnOnLFXT was deleted, the value of the PMMIFG register was not updated when returning from LPM3.5)

I look forward to your reply, thank you.

**Attention** This is a public forum