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.

CC2650: Adaptation ProjectZero to custom board

Part Number: CC2650
Other Parts Discussed in Thread: SYSBIOS

Hello everyone,


Previously I have tested CC2650_LAUNCHXL successfully with ProjectZero.

After this I have made my custom board and flashed it successfully with this project ... But neither Phone discover this device.

I thought maybe I made a mistake with hardware design of the board, but I have rechecked and seems like I did all properly as by Reference Manual.

I have noticed that on CC2650_LAUNCHXL there is 48-pin chip, but on my board  32-pin chips.

Should I change CC2650_LAUNCHXL.h for supporting this chip or it should works as it is ?

  • Yes, you should revise board pin defines. Maybe you can refer to Using TI Certified Bluetooth ® low energy Module (CC2650MODA) as Single-Chip Wireless MCU which is an application note to porting code to CC2650MODA (5x5 chip embedded).

  • Man thanks !!

    I did as you suggested !!
    I have changed:
    #define CC2650EM_7ID
    to
    #define CC2650EM_5XD

    But I have faced with that on custom board chip not every time started !!
    In assembler I have found that OS got in some exception handler:
    ti_sysbios_family_arm_m3_Hwi_excHandler__I():
    1001bbc8: 4A05 ldr r2, [pc, #0x14]
    1001bbca: B508 push {r3, lr}
    1001bbcc: 6812 ldr r2, [r2]
    1001bbce: 2301 movs r3, #1
    1001bbd0: 8013 strh r3, [r2]
    1001bbd2: 4A04 ldr r2, [pc, #0x10]
    1001bbd4: 6812 ldr r2, [r2]
    $C$L526:
    1001bbd6: 2A00 cmp r2, #0 <-----------------------------------------
    1001bbd8: D0FD beq $C$L526
    1001bbda: 4790 blx r2
    1001bbdc: BD08 pop {r3, pc}
    1001bbde: 46C0 mov r8, r8
    $C$CON596:
    1001bbe0: 0148 lsls r0, r1, #5
    1001bbe2: 2000 movs r0, #0
    $C$CON597:
    1001bbe4: 04A0 lsls r0, r4, #0x12
    1001bbe6: 0000 movs r0, r0
    ti_sysbios_gates_GateHwi_Handle__label__S(), xdc_runtime_System_Module_GateProxy_Handle__label__S():
    1001bbe8: B510 push {r4, lr}
    ...

    Maybe you know what could be wrong ? Sometimes chip started successfully. I have tried to guess what is wrong (
  • I suspect there’s something wrong in your custom HW. I suggest you to refer to and do some checks on your custom board.

  • I have figure out what was wrong.
    I have set as output pin for Red Led:
    #define Board_RLED IOID_25

    But on my chip I do not have IOID_25 that's why I guess TiRTOS got in some exception or interruption