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.

LAUNCHXL-CC2650: Connection Problems

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Hello,

 

I have downloaded the multi role project for my CC2650 Launchpad to test multiple connections.
To connect to random devices I have modified these lines:

// TRUE to filter discovery results on desired service UUID
#define DEFAULT_DEV_DISC_BY_SVC_UUID          FALSE

//RN4677 UUID
uint8 A128_Type0_W_CharUUID[ATT_UUID_SIZE] =
{//NSString *kType0_W_CharacteristicUUIDString = @"49 53 53 43 FE 7D 4A E 8F A9 9F AF D2 05 E4 55";
 0x55, 0xE4, 0x05, 0xD2, 0xAF, 0x9F, 0xA9, 0x8F, 0xE5, 0x4A, 0x7D, 0xFE, 0x43, 0x53, 0x53, 0x49,
};

static void multi_role_processGATTDiscEvent(gattMsgEvent_t *pMsg)
{ 

....

        // Discovery simple BLE service
        VOID GATT_DiscPrimaryServiceByUUID(pMsg->connHandle,A128_Type0_W_CharUUID, ATT_BT_UUID_SIZE,
                                           selfEntity);
...
}

If I debug the project it is possible to connect to devices and hold the connections without problems.
When I terminate the debug mode and reset the CC2650 Launchpad it is not possible to hold the connection to the devices. I can connect to them but after a few seconds the connection to both devices gets terminated. In debug mode i never have such connections porblems
Have someone an idea how I can fix this problem?

 

  • Hi Tobias,

    Some LaunchPads have been assembled with incorrect 32k crystal which affects the RTC and thus the timing. This could be what is causing the problem you see. Can you please try calling HCI_EXT_SetSCACmd(120); and see if that resolves the problem? You can do it right after the IcallRegisterApp(); call in the multirole init function.

    Cheers,
    Fredrik
  • Hello,
    I have added the HCI Command at your recommended position but this did not affect the connections problems. It is still the same situation. In debug mode no problems to connect and hold the connection. Without debugger the connection terminates after a few seconds.
    How can I Check if my Launchpad is assembled with the incorrect crystal?
    Do you have other solution suggestions?

  • To test that the problem comes from the Launchpad hardware I have ported my application to the CC2650 Module Boosterpack. On the Boosterpack works everything fine.
    I have no connection problems. So maybe my Launchpad has a incorrect crystal