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.

Compiler/CC2541: CC2541+CC2591 Pin Issue

Part Number: CC2541
Other Parts Discussed in Thread: CC2591, CC2592

Tool/software: TI C/C++ Compiler

I am using cc2541+cc2591. I am using these configuration 

P0SEL = 0; // Configure Port 0 as GPIO
P1SEL = 0; // Configure Port 1 as GPIO
P2SEL = 0; // Configure Port 2 as GPIO

P0DIR = 0xFF; .
P1DIR = 0x13;//00010011 13
P2DIR = 0x1F;

P0 = 0;
P1 = 0xEC;// 11101100 EC
P2 = 0;

RFC_OBS_CTRL0=0x68;
RFC_OBS_CTRL1=0x6A;
OBSSEL1=0xFB;
OBSSEL3=0xFC;

When  I am setting OBSSEL1=0xFB; BLE pin P1.1 stop working. Is this(OBSSEL1=0xFB;) necessary to set to extended range.?
or how can i use P1.1 after setting this(OBSSEL1=0xFB;).


  • Hi Muqarrab,

    First off, I would recommend you to use the CC2592 instead of CC2591. CC2591 is very unstable and difficult to get to work properly.

    As you can see in the CC253x/4x User´s Guide, OBSSEL1 overrides the standard GPIO behaviour, so what you are seeing is expected. You must use the RF Observation signals to control the PA- and LNA- enable signals of the CC259x device, but there are 5 such signals, so you do not necessarily have to use P1.1. 

    Refer to the CC253x/4x User´s Guide for more details. 

    Regards,
    Fredrik