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.

RTOS/CC2640: Not connecting while in Clock handler

Part Number: CC2640

Tool/software: TI-RTOS

Hi , I have modified the SimpleBLEPeripheral example to add an LED Flash.

I have used a timer to flash the LED at time period of 25, but when the LED is flashing the BLE is not connecting

may be because the clock handler comes up repeatedly , how can I solve this issue.

Regards,

Joe

  • Hello,

    Clock handlers run in a SWI context which can block the BLE protocol task. As such, our documentation recommends only posting an event from your clock handler and performing the CPU activity (e.g., LED toggle) in your application task.

    Best wishes
  • Hi,Even if I post and event the clock handler keeps occurring at 35ms interval that interrupts with connecting with the
    cc2640 , is there a way that I can decrease the priority of clock handler or stop the clock while connecting and restart it after connection has been established?

    Regards,
    Joe