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 CCS Restart

Other Parts Discussed in Thread: CC2650

Hey,

I am developing CC2650 with CCS, somewhere the application stops working (I have a periodic task that change the adv data every 20 ms, so using sniffer I see that it continue to transmit the same packet which means that the periodic task stopped working)!

then every time I make Pause I see it is in the Void Power_standbyPolicy() at CPUcpsie();!

if I try to restart and relaunch from the CCS it has no effect!

till I stop/terminate the program and then launch from the beginning!

what is the problem do you think and how can I solve/work around?!

Thanks.

  • Hello Feras,

    Can you explain what "make a pause" means in this context? Can you post your code snippet that is changing the Adv data via Periodic Task? Can you confirm that you are not calling Stack APIs in the timer callback function?

    Best wishes
  • Hey,

    I use these in the periodic task: (I think they are not considered Stack APIs)!

    osal_snv_read

    osal_snv_write

    UART_write

    UART_read

    SimpleProfile_SetParameter( SIMPLEPROFILE_CHAR1, BLE_MAX_DATA_LEN, BLE_Packet.BLE_Data_Tx );

  • Hi,

    This (SimpleProfile_SetParameter( SIMPLEPROFILE_CHAR1, BLE_MAX_DATA_LEN, BLE_Packet.BLE_Data_Tx );) is not for setting advertising data.

    You need to use GAPRole_SetParameter(GAPROLE_ADVERT_DATA, sizeof(advertData), advertData);