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.

CC2650MODA: Problem this connect

Part Number: CC2650MODA
Other Parts Discussed in Thread: CC2650,

Hello

I hawe problem with connect my CC2650 to my phone.I ran SimpleLink SDK Explorer on my phone and he see my CC2650 but when I click connect he not connekted and SimpleLink SDK Explorer stops seeing my CC2650 .When I reabut CC2650, SimpleLink SDK Explorer seeing he again .I usse simple_peripheral_cc2650em_app-example,last version BLE stak.

  • Hi Konstantis,

    What phone are you using? Have you been able to sniff the communication?

  • My phone xiaomi redmi pro 4.I trying to connect using SimpleLink SDK Explorer--BLE Provisioning.When I start,I see my CC2650,then I click on the connection of my device in response to receive a message (BLE Connection TImed out), after that my device is not visible until I reboot it.When I start in debug the program breaks down here :

    ICall_CSState ICall_enterCSImpl(void)
    {
      ICall_CSStateUnion cu;
      cu.each.taskkey = (uint_least16_t) Task_disable();
      cu.each.hwikey = (uint_least16_t) Hwi_disable();
      return cu.state;
    }

  • Hi Konstantinis,

    1) What board are you using? CC2650 LaunchPad? Custom board?

    2) Can you make sure you are following the steps in the Bluetooth Fundamentals SimpleLink Academy lab for building and loading the project: software-dl.ti.com/.../overview.html

  • Hi. I still can't get work properly my (CC2650MODA).I use it(СС2650MODA) with my own production board.When I load into it cc2650lp_simple_peripheral_rel.hex
    everything works correctly, the device is determined and there is access to the declared services (I check with BLE_Scanner).I have installed ble_sdk_2_02_02_25.When I export a project from ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650lp\simple_peripheral compile it and load it

    device is not working BLE_Scanner does not see the device.I found a document (UsingTI CertifiedBluetooth®low energyModule(CC2650MODA)as Single-ChipWirelessMCU) and made corrections described in it, making adjustments to the layout on my board.
    As a result, I got the following:
    ---------CC2650_LAUNCHXL.h------
    //#define CC2650EM_7ID
    #define CC2650EM_5XD
    /* Mapping of pins to board signals using general board aliases
     *      <board signal alias>        <pin mapping>
     */

    /* Discrete outputs */
    #define Board_RLED                  PIN_UNASSIGNED
    #define Board_GLED                  PIN_UNASSIGNED
    #define Board_LED_ON                1
    #define Board_LED_OFF               0

    /* Discrete inputs */
    #define Board_BTN1                  PIN_UNASSIGNED
    #define Board_BTN2                  PIN_UNASSIGNED

    /* UART Board */
    #define Board_UART_RX               IOID_7          /* RXD  */
    #define Board_UART_TX               IOID_8          /* TXD  */
    #define Board_UART_CTS              PIN_UNASSIGNED         /* CTS  */
    #define Board_UART_RTS              PIN_UNASSIGNED         /* RTS */

    /* SPI Board */
    #define Board_SPI0_MISO             PIN_UNASSIGNED          /* RF1.20 */
    #define Board_SPI0_MOSI             PIN_UNASSIGNED          /* RF1.18 */
    #define Board_SPI0_CLK              PIN_UNASSIGNED         /* RF1.16 */
    #define Board_SPI0_CSN              PIN_UNASSIGNED
    #define Board_SPI1_MISO             PIN_UNASSIGNED
    #define Board_SPI1_MOSI             PIN_UNASSIGNED
    #define Board_SPI1_CLK              PIN_UNASSIGNED
    #define Board_SPI1_CSN              PIN_UNASSIGNED

    /* I2C */
    #define Board_I2C0_SCL0             PIN_UNASSIGNED
    #define Board_I2C0_SDA0             PIN_UNASSIGNED

    /* SPI */
    #define Board_SPI_FLASH_CS          PIN_UNASSIGNED
    #define Board_FLASH_CS_ON           0
    #define Board_FLASH_CS_OFF          1

    /* Booster pack generic */
    #define Board_DIO0                  IOID_0
    #define Board_DIO1_RFSW             IOID_1
    #define Board_DIO12                 IOID_12
    #define Board_DIO15                 IOID_15
    #define Board_DIO16_TDO             IOID_16
    #define Board_DIO17_TDI             IOID_17
    #define Board_DIO21                 IOID_21
    #define Board_DIO22                 IOID_22

    #define Board_DIO23_ANALOG          IOID_7
    #define Board_DIO24_ANALOG          IOID_8
    #define Board_DIO25_ANALOG          IOID_9
    #define Board_DIO26_ANALOG          IOID_10
    #define Board_DIO27_ANALOG          IOID_11
    #define Board_DIO28_ANALOG          IOID_12
    #define Board_DIO29_ANALOG          IOID_13
    #define Board_DIO30_ANALOG          IOID_14
    ---------CC2650_LAUNCHXL.c-----
    const PIN_Config BoardGpioInitTable[] = {

        //Board_RLED   | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,         /* LED initially off             */
        //Board_GLED   | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,         /* LED initially off             */
        //Board_BTN1   | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_BOTHEDGES | PIN_HYSTERESIS,            /* Button is active low          */
        //Board_BTN2   | PIN_INPUT_EN | PIN_PULLUP | PIN_IRQ_BOTHEDGES | PIN_HYSTERESIS,            /* Button is active low          */
        //Board_SPI_FLASH_CS | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MIN,  /* External flash chip select    */
        Board_UART_RX | PIN_INPUT_EN | PIN_PULLDOWN,                                              /* UART RX via debugger back channel */
        Board_UART_TX | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL,                        /* UART TX via debugger back channel */
        //Board_SPI0_MOSI | PIN_INPUT_EN | PIN_PULLDOWN,                                            /* SPI master out - slave in */
        //Board_SPI0_MISO | PIN_INPUT_EN | PIN_PULLDOWN,                                            /* SPI master in - slave out */
        //Board_SPI0_CLK | PIN_INPUT_EN | PIN_PULLDOWN,                                             /* SPI clock */

        PIN_TERMINATE
    };
    compile my project and load it.Device is not working BLE_Scanner does not see the device.
    Actually the question is where do I find the poject  from which it was compiled ---- cc2650lp_simple_peripheral_rel.hex??????
    Or tell me what I'm doing wrong.
  • After reinstallation BLE sdk 2.02.02.25 I export a project from ti\simplelink\ble_sdk_2_02_02_25\examples\cc2650lp\simple_peripheral compile it and load it.The device has become determined(BLE_Scanner)but when trying to connect, it tries to connect for a long time and then gives the connection status CONNECTION FAILL and then DISCONNECTED.Why it happens?

  • Hi Konstantis,

    Sorry for the late answer.

    If your device is advertising but connections fail, it could typically be a hardware issue. Can you please make sure your board follows the design guidelines in this app note: http://www.ti.com/lit/swra640

  • I figured out the reason most likely in the incorrect code that lies in BLE 2.02.02.25.after installing 2.02.01.18 and downloading the same example, the problem is gone.