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.

CCS/LAUNCHXL-CC2640R2: Bluetooth Connection Cannot Be Established - Coding/Software Issue

Part Number: LAUNCHXL-CC2640R2


Tool/software: Code Composer Studio

Hi to all,

I figure out the same issue describe in thread disussion "Bluetooth Connection Cannot Be Established - Coding/Software Issue".

I am using SDK simplelink_cc2640r2_sdk_4_10_00_10 instead 3.0 described in thread.

I follow all the step described in discussion in order to use RC oscillator instead a 32KHz oscillator.

Now everytihing works fine but I have also do the following operation:

  1. In rcosc_calibration.c "include icall_ble_api.h" is still missing and for correct comiplation I must add it otherwise linker miss some function. Is it correct? Should it better to include this file only if USE_RCOSC is defined or the file is wrong?
  2. Under BIM project I add the file ccf_app_nle_rcosc.c and remove  ccfg_app_ble.c. 
    In first file I found a new define for 
    #define SET_CCFG_IMAGE_VALID_CONF_IMAGE_VALID           0x00000000 // Flash image is valid
    instead orginal define 
    #define SET_CCFG_IMAGE_VALID_CONF_IMAGE_VALID 0x1E000
    In order to start correctly OAD enviroment I have to change the define to ccfg_app_ble.c value in order to start BIM (with 0x000000 system not start.
    is it correct? shoul I add for portability some preprocessor #if ...?


Thank you

Andrea Cannavicci