<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Channel sounding with 2 antennas</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/127364/channel-sounding-with-2-antennas</link><description>Hi, I am currently testing the channel sounding capabilities of nRF54L15 with zephyr on NCS 3.2.3. I used the sample code from nrf\samples\bluetooth\channel_sounding_ras_initiator and reflector and it works well but only use one antenna from both sides</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Mar 2026 14:33:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/127364/channel-sounding-with-2-antennas" /><item><title>RE: Channel sounding with 2 antennas</title><link>https://devzone.nordicsemi.com/thread/563354?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 14:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9ee9dbf-6c03-45eb-ace8-2c6d8c65163f</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Try changing this line in your initiator:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;.preferred_peer_antenna = BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_1,&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;.preferred_peer_antenna = BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_1 | BT_LE_CS_PROCEDURE_PREFERRED_PEER_ANTENNA_2,&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And see if that helps.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Channel sounding with 2 antennas</title><link>https://devzone.nordicsemi.com/thread/563318?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2026 11:43:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab9b02c4-9f82-406a-83d2-31e91902d558</guid><dc:creator>rsaboret</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;br /&gt;&lt;br /&gt;Thank you for your time and sorry for the delay, I was out of office.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The setup I was using already had those configurations but didnt work :&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;For the one with two antennas:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_RAS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_NUM_ANTENNAS=2&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;For the one with one antenna:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_RAS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_NUM_ANTENNAS=1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;For the&lt;span&gt;&amp;nbsp;P0.0 and P0.1 pins, they are hardwired in my PCB. I previously confirmed I can set them on and off to select the different antennas. As for the configuration, im using:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y
CONFIG_CLOCK_CONTROL_NRF_K32SRC_XTAL=n&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here I can upload the simplest code about channel sounding with two antennas:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/channel_5F00_sounding_5F00_ras_5F00_sample_5F00_323_5F00_two_5F00_antennas.zip"&gt;devzone.nordicsemi.com/.../channel_5F00_sounding_5F00_ras_5F00_sample_5F00_323_5F00_two_5F00_antennas.zip&lt;/a&gt;&lt;br /&gt;It it literally the sample code from ncs/v3.2.3/nrf/samples/bluetooth with the only changes being the antennas number in prj.conf and the&amp;nbsp;BT_LE_CS_TONE_ANTENNA_CONFIGURATION_A1_B2 setting in the code.&lt;/p&gt;
&lt;p&gt;When I flash this code on two nRF54L15DK (one initiator, one reflector), the initiator fails after the connection is established when it tries to call&amp;nbsp;bt_le_cs_set_procedure_parameters:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;I: CS security enabled.
W: opcode 0x2093 status 0x12 
E: Failed to set procedure parameters (err -22)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The nRF54L15DK doesnt have a RF switch connected to pins P1.11, P1.12, P1.13 and P1.14 (as specified in nrf54l15dk_nrf54l15_cpuapp.overlay) but that shouldnt be a problem: the channel sounding procedure will just use twice the same antenna, thinking it has switched in between.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;
&lt;p&gt;R. Saboret&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Channel sounding with 2 antennas</title><link>https://devzone.nordicsemi.com/thread/563009?ContentTypeID=1</link><pubDate>Wed, 11 Mar 2026 10:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126f2f82-d7f5-4aae-ad55-2fa2abec3ced</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Can you try the following confituration on both your devices, please:&lt;/p&gt;
&lt;p&gt;For the one with two antennas:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_RAS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_NUM_ANTENNAS=2&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For the one with one antenna:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BT_RAS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_MAX_ANTENNA_PATHS=2
CONFIG_BT_CTLR_SDC_CS_NUM_ANTENNAS=1&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if that doesn&amp;#39;t work.&lt;/p&gt;
&lt;p&gt;If it does not, can you please upload your entire application (or a strip down version), so that I can build it and see what you are seeing?&lt;/p&gt;
&lt;p&gt;One thing that struck me is that you are using P0.0 and P0.1. By default these are the LFXTAL pins. Did you set the device to use the internal RC Oscillator? (I can&amp;#39;t tell from the snippets you provided). Is it possible to test with another set of pins, or are they hardwired on your PCB?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>