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.

CC2531 Port1 always remains high

Other Parts Discussed in Thread: CC2531

Hello,

I am working with a CC2531 on a PCB of my own design based on TI's reference design.

I am running the following very simple code and no matter what I do, Port1 pins always remain high:

 P1SEL = 0x00;
  P1DIR = 0xFF;
  while(1)
  {
    P1 ^= BIT1 & BIT2;
    halMcuWaitMs(1000);
  }

Can anyone suggest what I am missing ?

All I want to do is toggle some pins of Port1.

Thank you very much for helping.

Benny.