New DCOCTL value. Seems to be closer to the mean.
[goodfet] / firmware / lib / msp430x2618.c
index 814c8ef..6a224fc 100644 (file)
@@ -139,7 +139,10 @@ void msp430_init_dco() {
     case 0x6ff2:        //f26f, the MSP430F2618
       DCOCTL = 0x00;
       BCSCTL1 = 0x8f;   //CALBC1_16MHZ at 0x10f9
-      DCOCTL = 0x7f;    //CALDCO_16MHZ at 0x10f8
+      /** Observed DCOCTL values:
+         2618: 7f, 97
+      */
+      DCOCTL = 0x83;    //CALDCO_16MHZ at 0x10f8
       break;
     }
   }