Hi All,
I am ashok, senior embedded firmware developer 5+ yr experience from India.
I am using MSP430g2533 for one our project. I am using 4 MHz clock configuration for DCO, MCLK = 1 MHz, SMCLK = 0.5 MHz. I recently found that DCO clock is not stable and not accurate as per configuration and also the DCO clock varies for each part even though the configuration remains same.
Here, is clock configuration settings i used in firmware
DCOCTL = 0x65;
BCSCTL1 = 0x8B;
BCSCTL2 = 0x00 + DIVS_3;
I tested the DCO clock by outputing the SMCLK on p1.4. I obsereved the SMCLK as 0.491MHz in one board and 0.526 MHz on another board.. Due to the varying clock for each part, my firmware timing is not accurate and varying for each part. Please let me know is there any work around available to get DCO as 4MHz accurately. Also, i came to know that TI provides calibration values for 1,8 and 16 MHz.
Regards,
Ashok