Dears
MSP430G2553 p/n, using internal 1MH clock, power on to determine CALBC1_1MHZ== 0xFF and CALDCO_1MHZ== 0xFF, But some can start run, some can not start run, if I do not judge, after the system starts the clock error is very large,If CALBC1_1MHZ== 0xFF and CALDCO_1MHZ== 0xFF, the internal 1M clock is not calibrated?Now 4500pcs are used, and there are 2100pcs. When I judge that the ICALBC1_1MHZ== 0xFF and CALDCO_1MHZ== 0xFF program cannot be started and run, 2400pcs is ok.
Is the internal 1M clock factory calibration, how can I judge?
My code is as follows:
if(CALBC1_1MHZ==0XFF||CALDCO_1MHZ==0XFF)
{
while(1)_NOP(); //if cal const erased
}
BCSCTL1=CALBC1_1MHZ;
DCOCTL=CALDCO_1MHZ;