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.

LP-EM-CC2745R10-Q1: How to set up sysconfig and python parameters that can run channel sounding ranging to get valid data for dual antennas

Part Number: LP-EM-CC2745R10-Q1
Other Parts Discussed in Thread: SYSCONFIG,

Tool/software:

Hi, TI:

Currently testing channel sounding dual antenna ranging feature, but the data obtained from the test is invalid, how should I set the parameters of sysconfig and python?

software and hardware environment: SDK 9.10.0.83,2 * LP-EM-CC2745R10-Q1board,2 * BP-EM-CS board

The test results are shown below:

----------------------------------------------------------------------
Waiting for NWP_CS_APP_DISTANCE_RESULTS
Distance Results - initiator
----------------------------------------------------------------------
_io: []
event: 96
distance: 4294967295
quality: 4294967295
confidence: 4294967295
----------------------------------------------------------------------
***** procedure enable *****
Procedure Enable
----------------------------------------------------------------------
_io: []
event: 68
status: 0
conn_handle: 0
config_id: 0
enable: 1
aci: 7
pwr_delta: 128
sub_event_len: 28450
sub_events_per_event: 1
sub_event_interval: 0
event_interval: 3
procedure_interval: 0
procedure_count: 1
----------------------------------------------------------------------
Waiting for NWP_CS_APP_DISTANCE_RESULTS
Distance Results - initiator
----------------------------------------------------------------------
_io: []
event: 96
distance: 4294967295
quality: 4294967295
confidence: 4294967295
----------------------------------------------------------------------
***** procedure enable *****
Procedure Enable
----------------------------------------------------------------------

Thanks

James

2025.05.21

  • Hello James, 

    This is mentioned in the Channel Sounding Documentation. I have linked the section of the documentation. For a quick summary: 

    1. In Channel Sounding Configuration section, set Number of Antennas to 2. 

    2. Set Antenna Muxing Bitmap to 0xC6. 

    3. Navigate to TI Drivers->RCL->RCL Observables, and select PBEGPO2, and PBEGPO3 under Additional RF GPIO Signals. These GPIOs will control the antenna switch on the multiple antenna booster pack. 

    4. Set ACI to 7, and preferred_peer_antenna to 0b0011 if using 2x2 antenna configuration within the python script. 

    Please let me know if this does not work. 

    Thanks,

    Isaac 

  • Hi ,Isaac:

    Thank you for your prompt response.

    I set up all the parameters exactly as you instructed , but I still get invalid values, so I opened distance + rawdata, and found the following error:

     No CS_SUBEVENT_RESULTS_CONTINUE arrived,As shown in the following log。

    ----------------------------------------------------------------------
    Subevent Results - remote device
    ----------------------------------------------------------------------
    _io: []
    event: 69
    conn_handle: 0
    config_id: 0
    start_acl_connection_event: 58
    procedure_counter: 0
    frequency_compensation: 476
    reference_power_level: -21
    procedure_done_status: 1
    subevent_done_status: 1
    abort_reason: 0
    num_antenna_path: 4
    num_steps_reported: 10
    data_len: 234
    data: 00:0E:05:00:E0:01:D0:01:00:2C:05:00:E0:01:DC:01:00:40:05:00:E0:01:DC:01:03:26:1B:00:FF:E0:73:03:01:05:39:72:EC:01:59:A1:1A:02:9A:1D:05:06:7E:DE:E6:17:00:00:00:FF:03:1C:1B:00:FF:E0:A7:02:01:10:59:80:E4:05:4D:C0:20:12:DD:0F:25:0B:74:C1:E3:15:39:A2:ED:01:03:2A:1B:00:FF:E0:ED:00:01:0E:88:FD:14:00:30:D1:1C:01:83:0E:E8:0F:2E:81:25:00:00:00:00:FF:03:34:1B:00:FF:E0:25:00:01:0D:A1:21:EF:01:84:72:ED:00:B3:0E:E6:05:2B:1E:F2:0C:00:00:00:FF:03:03:1B:00:FF:E0:12:04:01:06:4D:D1:DC:12:0E:1E:12:07:01:72:02:05:1F:2F:EC:01:00:00:00:FF:03:2D:1B:00:FF:E0:FC:00:01:15:D8:3E:18:04:91:E0:E2:10:61:5E:19:05:36:92:E7:03:78:02:EB:00:03:27:1B:00:FF:E0:1A:FE:01:02:7E:9E:1E:0F:A5:A1:10:05:23:C2:02:15:6A:DE:E8:08:00:00:00:FF
    ----------------------------------------------------------------------
    Waiting for CS_SUBEVENT_RESULTS_CONTINUE
    No CS_SUBEVENT_RESULTS_CONTINUE arrived
    Waiting for NWP_CS_APP_DISTANCE_RESULTS
    Distance Results - initiator
    ----------------------------------------------------------------------
    _io: []
    event: 96
    distance: 4294967295
    quality: 4294967295
    confidence: 4294967295
    ----------------------------------------------------------------------
    ***** procedure enable *****
    Procedure Enable
    ----------------------------------------------------------------------
    _io: []
    event: 68
    status: 0
    conn_handle: 0
    config_id: 0
    enable: 1
    aci: 7
    pwr_delta: 128
    sub_event_len: 28450
    sub_events_per_event: 1
    sub_event_interval: 0
    event_interval: 3
    procedure_interval: 0
    procedure_count: 1
    ----------------------------------------------------------------------
    Subevent Results - local device
    ----------------------------------------------------------------------

    Thanks

    James

    2025.05.22