Device: nRF54L15 x 2, face to face
SDK: v3.2.2
Toolchain v3.2.2 c717907b94
Sample code (with default setting):
channel_sounding_ras_reflector
channel_sounding_ras_initiator
Issue:
rtt is always 0 no matter how far between them
Both ifft and phase_slope are wrong, devices distance is around 15, but it output 0.69 meters
============================================
Log:
Initiator:
*** Booting nRF Connect SDK v3.2.2-74845e169be2 ***
*** Using Zephyr OS v4.2.99-fe4f0106803e ***
I: Starting Channel Sounding Initiator Sample
I: SoftDevice Controller build revision:
I: 90 3d 6a f1 a5 ad 64 1d |.=j...d.
I: cd 27 3e bf fc 68 0f 40 |.'>..h.@
I: 40 99 ca ac |@...
I: HW Platform: Nordic Semiconductor (0x0002)
I: HW Variant: nRF54Lx (0x0005)
I: Firmware: Standard Bluetooth controller (0x00) Version 144.27197 Build 1689101809
I: HCI transport: SDC
I: Identity: CA:85:78:3B:4D:82 (random)
I: HCI: version 6.2 (0x10) revision 0x305e, manufacturer 0x0059
I: LMP: version 6.2 (0x10) subver 0x305e
I: Filters matched. Address: DA:F7:8C:35:A5:10 (random) connectable: 1
I: Connecting
I: Connected to DA:F7:8C:35:A5:10 (random) (err 0x00)
I: Security changed: DA:F7:8C:35:A5:10 (random) level 2
I: MTU exchange success (498)
I: The discovery procedure succeeded
I: Read RAS feature bits: 0x1
I: CS capability exchange completed.
I: CS config creation complete.
- id: 0
- mode: Invalid
- min_main_mode_steps: 2
- max_main_mode_steps: 5
- main_mode_repetition: 0
- mode_0_steps: 3
- role: Initiator
- rtt_type: AA only
- cs_sync_phy: LE 1M PHY
- channel_map_repetition: 1
- channel_selection_type: Algorithm #3b
- ch3c_shape: Hat shape
- ch3c_jump: 2
- t_ip1_time_us: 30
- t_ip2_time_us: 20
- t_fcs_time_us: 60
- t_pm_time_us: 10
- channel_map: 0x1FFFFFFFFFFFFC7FFFFC
I: CS security enabled.
I: CS procedures enabled:
- config ID: 0
- antenna configuration index: 0
- TX power: 0 dbm
- subevent length: 16000 us
- subevents per event: 1
- subevent interval: 0
- event interval: 2
- procedure interval: 5
- procedure count: 0
- maximum procedure length: 1000
I: Latest distance estimates on antenna path 0: ifft: 0.64, phase_slope: 0.69, rtt: 0.00 meters
I: Latest distance estimates on antenna path 0: ifft: 0.64, phase_slope: 0.69, rtt: 0.00 meters
I: Latest distance estimates on antenna path 0: ifft: 0.64, phase_slope: 0.69, rtt: 0.00 meters
I: Latest distance estimates on antenna path 0: ifft: 0.64, phase_slope: 0.69, rtt: 0.00 meters
I: Latest distance estimates on antenna path 0: ifft: 0.64, phase_slope: 0.68, rtt: 0.00 meters
I: Latest distance estimates on antenna path 0: ifft: 0.64, phase_slope: 0.69, rtt: 0.00 meters
Reflector:
*** Booting nRF Connect SDK v3.2.2-74845e169be2 ***
*** Using Zephyr OS v4.2.99-fe4f0106803e ***
I: Starting Channel Sounding Reflector Sample
I: SoftDevice Controller build revision:
I: 90 3d 6a f1 a5 ad 64 1d |.=j...d.
I: cd 27 3e bf fc 68 0f 40 |.'>..h.@
I: 40 99 ca ac |@...
I: HW Platform: Nordic Semiconductor (0x0002)
I: HW Variant: nRF54Lx (0x0005)
I: Firmware: Standard Bluetooth controller (0x00) Version 144.27197 Build 1689101809
I: HCI transport: SDC
I: Identity: DA:F7:8C:35:A5:10 (random)
I: HCI: version 6.2 (0x10) revision 0x305e, manufacturer 0x0059
I: LMP: version 6.2 (0x10) subver 0x305e
I: Connected to CA:85:78:3B:4D:82 (random) (err 0x00)
I: CS capability exchange completed.
I: CS config creation complete.
- id: 0
- mode: Invalid
- min_main_mode_steps: 2
- max_main_mode_steps: 5
- main_mode_repetition: 0
- mode_0_steps: 3
- role: Reflector
- rtt_type: AA only
- cs_sync_phy: LE 1M PHY
- channel_map_repetition: 1
- channel_selection_type: Algorithm #3b
- ch3c_shape: Hat shape
- ch3c_jump: 0
- t_ip1_time_us: 30
- t_ip2_time_us: 20
- t_fcs_time_us: 60
- t_pm_time_us: 10
- channel_map: 0x1FFFFFFFFFFFFC7FFFFC
I: CS security enabled.
I: CS procedures enabled:
- config ID: 0
- antenna configuration index: 0
- TX power: 0 dbm
- subevent length: 16000 us
- subevents per event: 1
- subevent interval: 0
- event interval: 2
- procedure interval: 5
- procedure count: 0
- maximum procedure length: 1000