I am using DCO as main clock, not external oscillator. After power up, I am monitoring OFIFG bit is set. Is it normal behavior? Is it related with not using ext. oscillator?
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.
See the code example below. If you run this example, do you still see this fault flag being set?
The fault conditions and operation are shown in section 3.2.8 of the users guide below.
Thanks for your answer. I read the user guide;
"The OFIFG oscillator-fault interrupt flag is set and latched at POR or when any oscillator fault (LFXTOFFG
or HFXTOFFG) is detected. When OFIFG is set and OFIE is set, the OFIFG requests a user NMI. When
the interrupt is granted, the OFIE is not reset automatically as it is in previous MSP430 families. It is no
longer required to reset the OFIE. NMI entry and exit circuitry removes this requirement. The OFIFG flag
must be cleared by software. The source of the fault can be identified by checking the individual fault bits."
**Attention** This is a public forum