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.

CC2340R5: Channel Sounding procedure stop working after 1st execution

Part Number: CC2340R5

Hi TI forum,

Currently I'm working with BLE CS project. In Example, Initiator request Reflector send CS result (but it takes too much time) so I modify some code which only send RTT result. 

1st execution is work, but from 2nd execution, it's like CS procedure is not work anymore (I see that ble_cs_step_result) always equal to 0. Below is some of my modified, do you have any ideal about this issue?

SDK: simplelink_lowpower_f3_sdk_7_10_00_35_cs_patch_2_0_0

Here is the change in send/receive CS result from Reflector (need to send two times to get RTT from 78 channels -> Initiator invokeStep is 0,1

*Update 29/11/2023

It's likely related to timing. I set up two timing which CSprocedure should start:

1. Timing 1: execute every 4s or greater. successfully get RTT result from Initiator

2. Timing 2: execute every <4s. CSProcedure can't start

Modified file: