At prsent we are working on msp430F4132 and are facing problem in accessing UART interface.
We are using 32khz external crystal as ossilatior and giving mclk = 7.99 Mhz frequency
by the formula:
WDTCTL = WDTPW+WDTHOLD;
// Stop watchdog timer
wait(100);
SCFI0 |= FN_4;
// x2 DCO freq, 8MHz nominal DCO
SCFQCTL = 121;
// (121+1) x 32768 x 2 = 7.99 Mhz
FLL_CTL0 =0; // as intialise to zero before using
FLL_CTL0 |= DCOPLUS + XCAP0PF; //During debugging thevalue is coming as 0x83
As we were doing debugging and found that LFOF, DCOF bits in FLL_CTL1 are getting set automatically indicating Following errors.
1>LFOF Bit 1 LFXT1 low frequency oscillator fault
0 No fault condition present
1 Fault condition present
2>DCOF Bit 0 DCO oscillator fault
0 No fault condition present
1 Fault condition present thanks
Plz suggest in this regard
thanks and regard