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.

Problem with CC2650 + CC2592 using BLE Stackv2.1

Other Parts Discussed in Thread: CC2592, CC2650

Hi,

I am using CC2650_5XD board interfaced with CC2592 RF Front End.

I had modified "SimpleBLEPeripheral" project in CCS as below:

1. In Project Properties,changed the Include Options from "${TI_RTOS_DRIVERS_BASE}/ti/boards/SRF06EB/CC2650EM_7ID" to "${TI_RTOS_DRIVERS_BASE}/ti/boards/SRF06EB/CC2650EM_5XD"

2. Removed "TI_DRIVERS_LCD_INCLUDED" from predefined symbols.

3.  In main.c file of Application Project:

[In our PCB, CC2592_PA_EN is connected to DIO_7 , CC2592_LNA_EN to DIO_8 , CC2592_HGM to DIO_9]

void HGM_io_init(void) {
CC2592_Handle = PIN_open(&keyPins, keyPinsCfg);
PINCC26XX_setMux(CC2592_Handle, Board_LNA_PIN,IOC_PORT_RFC_GPO0);
PINCC26XX_setMux(CC2592_Handle, Board_PA_PIN, IOC_PORT_RFC_GPO1);
PIN_setOutputValue(CC2592_Handle, Board_HGM_PIN, 0);
}
void CC2592_io_init (void)
{
HGM_io_init();
}

int main()
{
PIN_init(BoardGpioInitTable);

CC2592_io_init(); //For Configuring CC2592

/* Initialize ICall module */
ICall_init();

/* Start tasks of external images - Priority 5 */
ICall_createRemoteTasks();

/* Kick off profile - Priority 3 */
GAPRole_createTask();

SimpleBLEPeripheral_createTask();


/* enable interrupts and start SYS/BIOS */
BIOS_start();

return 0;
}

4.In SimpleBLEPeripheral.c:


static void SimpleBLEPeripheral_init(void)
{
ICall_registerApp(&selfEntity, &sem);

HCI_EXT_SetTxPowerCmd(HCI_EXT_TX_POWER_5_DBM); 

// Create an RTOS queue for message from profile to be sent to app.
appMsgQueue = Util_constructQueue(&appMsg);

--------------------------

// remaining code as it is

--------------------------

}

But, the problem I am facing is I am trying to connect the peripheral but within 10sec due to "Connection Timeout" , peripheral is getting disconnected(even though while reading the UUIDs, in the mean time it is getting disconnected). I am able to connect the peripheral within 10meters range only.Can anyone help me to solve this.

Thanks.

Regards,

Anuhya.