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.

msp430: p2.6 and p2.7 messing up wireless

Other Parts Discussed in Thread: CC2500, SIMPLICITI

So I have a weird problem. My wireless transmitter works fine, but when I set p2.6 and p2.7 to be outputs, suddenly, the ED can't detect the AP anymore.

When I have the following Code:

P2DIR = 0x30; // P2.0, 2.1, 2.2, and 2.3 need to be inputs

Everything works fine but when I switch it to:

P2DIR = 0xF0; // P2.0, 2.1, 2.2, and 2.3 need to be inputs

The program will get stuck in this loop for some reason:

  while (SMPL_NO_JOIN == SMPL_Init((uint8_t (*)(linkID_t))0))
  {
    BSP_TOGGLE_LED1();
    BSP_TOGGLE_LED2();;
    __bis_SR_register(LPM3_bits + GIE);     // LPM3 with interrupts enabled
  }

Any ideas why this is happening?

**Attention** This is a public forum