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.

CC2652R: Speed up latency of read/writes in peripheral mode

Part Number: CC2652R
Other Parts Discussed in Thread: LAUNCHXL-CC26X2R1, SYSCONFIG, CC2650

Hello,

With the LAUNCHXL-CC26X2R1 whenever I read or write a characteristics there seems to be a delay from when the write/read  happens on the host to when the command actually persists on the LAUNCHXL-CC26X2R1. I will write from my iPad and then a after a delay of around few seconds later my callback in the application occurs. I am trying to optimize my iOS application to be very responsive to a sensor reading on the CC2652R so this delay is a bit problematic.

I am guessing there is some sort of power savings mode happening on the CC2652 that only checks for updates at a set period- however is there a specific parameter that I should be looking at in the SysConfig configuration to speed things up? Maybe something along the lines of a latency setting or a memory allocation setting? Power is not a careabout as the device is powered from a supply- I just want to be able to respond to reads/writes from the host very quickly.

I am using the LAUNCHXL-CC26X2R1 with a modified Simple Peripheral profile (however the problem exits with just Simple Peripheral out of box). All of the SysConfig BLE settings are identical to SimplePeripheral. My host is an iPad Air (3rd Generation) running iPadOS 14.3, however the problem is also an issue on my iPhone 12 Pro running iOS 14.3. I am seeing this if I use the "LightBlue" app or just use the CoreBluetooth APIs directly.

I remember not having this issue when doing some work with the CC2650 in the past so I am a bit convinced this has something to do with all of SysConfig settings. 

  • Hi Timothy,

    Could you specify the latency you are observing? Could you also specify if this could be due to the connection interval (set within SysConfig in BLE > Peripheral Configuration > Connection Update Request Params > Requested Min/Max Conn. Interval) ?

    Best regards,