Hi,
can you please help me with configuring ras_initiator for channel sounding when using two antennas on the initiator and one antenna on the reflector?
I am starting from the basic ras example, where only one antenna path (A1_B1) is used by default. If I keep just one antenna, everything works fine.
But when I add a second antenna path, the behavior becomes unstable:
-
At first, I get results with similar period as with one antenna.
-
But after some time, the results start "dropping out" – I get almost no data, and I see messages like:
app_main: Ranging data overwritten 656
Then nothing for a long time, and suddenly I get one result like:
Distance estimates on antenna path 0: ifft: 0.999505,...
Then again nothing for a long time.
This is what I changed for two antennas, but maybe it is not enough:
in main.c:
.tone_antenna_config_selection = BT_LE_CS_TONE_ANTENNA_CONFIGURATION_A2_B1,
in prj.conf:
CONFIG_BT_CHANNEL_SOUNDING_REASSEMBLY_BUFFER_SIZE=3840
also in overlay I edited RF switch, but not sure how it works - could not find the source code where the RF switch is swithed, is that correct?
I am using an RF switch (AS179-92LF) that has two control pins.
To switch the RF path, the pins must always be in opposite logic states (one is HIGH, the other is LOW).
Thank you very much for any help.