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.

CC2543 miniBLE Broadcaster Software - When TX is Done? and How to Set Calibration period

Other Parts Discussed in Thread: CC2543

Hi Experts,

My customer is working on the CC2543 design for a remote controller. We use the miniLE stack and the scenario is that when button pressed, we send out broadcast packets, then:

1. We would want to close the broadcast once the TX end. But we don't know where we should put the TASK disable. See the miniBleSetAdvertisingData don't have a flat indicate the TX is done.

2. Due the system is battery powered, we would like to close the DAQ task, and we would like to reduce the CAL task period as more as possible. Is there any guideline for the CAL task period setting?

Thanks!

  • Hello Louis,

    1. Start the ADV task in the button press ISR. Then you can for example add a simple counter in the main while loop and stop the adv task after a certain number of advertising events (miniBleDisableTask(TASK_ADV))

    if(events&BV(TASK_ADV)) {
    // Enable counter here and stop ADV task...

    2. Refer to section 5.3.2 Calibration of System Clock in the Mini Bluetooth Low Energy Broadcaster Design Guide (http://www.ti.com/lit/ug/tidu550/tidu550.pdf). Basically this is up to you to control to be able tot stay within BLE specifications.