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.

Routing SMCLK, MCLK to port pin issue

Other Parts Discussed in Thread: MSP430F2410

Hi i am using msp430f2410 MCU with CCS 6.0 compiler.

32KHZ external clock is connected to Xin/Xout (Pin8&9)

Below is my code.

#include "msp430f2410.h"

void main(void)
{
  WDTCTL = WDTPW + WDTHOLD;                 // Stop Watchdog Timer
  if (CALBC1_8MHZ ==0xFF || CALDCO_8MHZ == 0xFF)
  {
    while(1);                               // If calibration constants erased
                                            // do not load, trap CPU!!
  }
  BCSCTL1 = CALBC1_8MHZ;                    // Set DCO to 8MHz
  DCOCTL = CALDCO_8MHZ;

  P5DIR |= 0x70;                            // P5.6,5,4 outputs
  P5SEL |= 0x70;                            // P5.6,5,4 options

  while(1)
  {
  }
}

When i run this program the program execution stops inside the for loop.

I want to know why it is stopping there and how to resolve this issue?

Thanks in Advance,

Vinoth

**Attention** This is a public forum