<?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>NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/86235/ncs1-9-1-nrf5340dk-nrf21540ek</link><description>Hello, 
 NCS1.9.1, nRF5340DK+nRF21540EK, Windows10 X64, VS Code, 
 not find [nRF21540EK_nRF5340], 
 about software: how to create project build? 
 are there any samples? 
 
 about hardware: where is TXR connected? what is its function? 
 
 
 
 thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Apr 2022 01:07:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/86235/ncs1-9-1-nrf5340dk-nrf21540ek" /><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/363728?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 01:07:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de588a81-3ff6-4c46-a8a2-61c26e539c08</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;span&gt;Amanda,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;ok,&amp;nbsp; I will discard&amp;nbsp;&lt;span&gt;nrf21540_ek.overlay.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/363553?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 11:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa29cfde-6c67-46e9-b14b-7c1fdbee6bd1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay. I was out of the office for the past week.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. See &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/porting/shields.html?highlight=arduino_header#gpio-nexus-nodes"&gt;GPIO nexus nodes&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. If you&amp;#39;re building a BLE-only application (without 802.15.4) then the child image chosen for the network core is going to be &lt;code&gt;hci_rpmsg&lt;/code&gt;, so the &lt;code&gt;SHIELD&lt;/code&gt; variable should actually be set for that child image:&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;west build -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540_ek -Dhci_rpmsg_SHIELD=nrf21540_ek&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;It doesn&amp;#39;t need to have the same contents in&amp;nbsp;&lt;span&gt;hci_rpmsg.overlay again.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/362689?ContentTypeID=1</link><pubDate>Sat, 09 Apr 2022 02:53:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34fce2ce-6887-481f-b21e-ba4f26a6f7ec</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;Two questions:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp;&lt;span style="color:#0000ff;"&gt;arduino_header&lt;/span&gt; is the same &lt;span style="color:#0000ff;"&gt;gpio0&lt;/span&gt; ?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/454x149/__key/communityserver-discussions-components-files/4/pastedimage1649471420570v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. if the contents of files &lt;span style="color:#0000ff;"&gt;hci_rpmsg.overlay&lt;/span&gt; and &lt;span style="color:#0000ff;"&gt;nrf21540_ek.overlay&lt;/span&gt;&amp;nbsp; are the same,&lt;/p&gt;
&lt;p&gt;does that mean I only need to keep any one?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649471499873v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/748x152/__key/communityserver-discussions-components-files/4/pastedimage1649472003177v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/362256?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 09:05:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69836101-e258-408e-82e1-44b733724ec5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The nrf21540_ek.overlay already includes the SPI control, see&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/boards/shields/nrf21540_ek/nrf21540_ek.overlay#L18"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/boards/shields/nrf21540_ek/nrf21540_ek.overlay#L18&lt;/a&gt;&amp;nbsp;You don&amp;#39;t do it again. Currently,&amp;nbsp;we do not have SW support for SPI control. If you plan to use this, you will need to implement it by yourself. It&amp;#39;s under development.&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/362237?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2cae87b-d3f1-45eb-8bad-52ae4999c951</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/325x313/__key/communityserver-discussions-components-files/4/pastedimage1649319186419v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/605x452/__key/communityserver-discussions-components-files/4/pastedimage1649319247725v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/362236?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:09:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5750eced-79c8-4b74-8c7a-e04cebf13ab4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the error message? Can you provide the log?&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/362234?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 08:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b58c3e32-6012-44c7-b8ed-7f034beae38a</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;i follow&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html#software-support"&gt;Working with RF front-end modules &amp;mdash; nRF Connect SDK 1.9.99 documentation (nordicsemi.com)&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/{
        nrf_radio_fem: nrf21540_fem {
                compatible  = &amp;quot;nordic,nrf21540-fem&amp;quot;;
                tx-en-gpios = &amp;lt;&amp;amp;gpio0 39 GPIO_ACTIVE_HIGH&amp;gt;;	//P1.07
                rx-en-gpios = &amp;lt;&amp;amp;gpio0 37 GPIO_ACTIVE_LOW&amp;gt;;	//P1.05
                pdn-gpios   = &amp;lt;&amp;amp;gpio0 42 GPIO_ACTIVE_HIGH&amp;gt;;	//P1.11
                spi-if = &amp;lt;&amp;amp;nrf_radio_fem_spi&amp;gt;;
        };

        fem_spi: &amp;amp;spi3 {
                status = &amp;quot;okay&amp;quot;;
                sck-pin = &amp;lt;47&amp;gt;;	//P1.15
                miso-pin = &amp;lt;46&amp;gt;;//P1.14
                mosi-pin = &amp;lt;45&amp;gt;;//P1.13
                cs-gpios = &amp;lt;&amp;amp;gpio0 44 GPIO_ACTIVE_LOW&amp;gt;;//P1.12

                nrf_radio_fem_spi: nrf21540_fem_spi@0 {
                        compatible = &amp;quot;nordic,nrf21540-fem-spi&amp;quot;;
                        status = &amp;quot;okay&amp;quot;;
                        reg = &amp;lt;0&amp;gt;;
                        label = &amp;quot;FEM_SPI_IF&amp;quot;;
                        spi-max-frequency = &amp;lt;8000000&amp;gt;;
                };
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;the overlay error,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/432x378/__key/communityserver-discussions-components-files/4/pastedimage1649215226576v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/362218?ContentTypeID=1</link><pubDate>Thu, 07 Apr 2022 07:32:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbec35e2-d866-4756-8389-885b2533bf68</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The team said&amp;nbsp;setting &lt;code&gt;SHIELD&lt;/code&gt; variable does that part for the overlay and config. There&amp;#39;s no need to set any additional Kconfig options manually. If you&amp;#39;re building a BLE-only application (without 802.15.4) then the child image chosen for the network core is going to be &lt;code&gt;hci_rpmsg&lt;/code&gt;, so the &lt;code&gt;SHIELD&lt;/code&gt; variable should actually be set for that child image:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;west build -b nrf5340dk_nrf5340_cpuapp -- -DSHIELD=nrf21540_ek -Dhci_rpmsg_SHIELD=nrf21540_ek&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The bluetooth would get the FEM TX power.&amp;nbsp;&lt;span&gt;So all standard Bluetooth samples should work as long as you take the sample and enable the EK overlay (&lt;/span&gt;&lt;code&gt;-DSHIELD=nrf21540_ek&lt;/code&gt;). It doen&amp;#39;t need extra setting in the BLE application.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I use the&amp;nbsp;hci_rpmsg.conf with BLE sample without modification of code&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;# FEM
CONFIG_MPSL_FEM=y
CONFIG_MPSL_FEM_NRF21540_RX_GAIN_DB=0
CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB=20
CONFIG_BT_CTLR_TX_PWR_DYNAMIC_CONTROL=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I get the reslut in the Lab:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/35034.png" /&gt;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/361940?ContentTypeID=1</link><pubDate>Wed, 06 Apr 2022 02:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c92bcb57-61b7-4d9a-b50f-f94ab018e2d8</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/86135/nrf21540ek-integration-with-nrf5340dk/360197#360197"&gt;thread&lt;/a&gt;&lt;span&gt;.&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/adv_5F00_nRF21540_5F00_20dBm.zip"&gt;adv_nRF21540_20dBm.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;not for nRF5340DK+nRF21540EK,&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1649205496134v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in devzone,i&amp;#39;ve&amp;nbsp;search about it,&amp;nbsp;perhaps many people are looking for this problem, so the authorities need to make a valid sample for nRF5340DK+nRF21540EK.&lt;/p&gt;
&lt;p&gt;rar is my test project &lt;span style="color:#0000ff;"&gt;test_periodic_adv&lt;/span&gt; ,&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7536.test_5F00_periodic_5F00_adv.rar"&gt;devzone.nordicsemi.com/.../7536.test_5F00_periodic_5F00_adv.rar&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i want to set max power and max GAIN for adv, (all maximum)&lt;/p&gt;
&lt;p&gt;it is also desirable to enable SPI controls,but i write overlay file wrong.&lt;/p&gt;
&lt;p&gt;If possible, please fixed conf and overlay file and upload a complete project,&lt;/p&gt;
&lt;p&gt;it can be used as an official example for&amp;nbsp;many people.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Best Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/361532?ContentTypeID=1</link><pubDate>Mon, 04 Apr 2022 13:14:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76121f33-8061-4f89-acb8-633127789d55</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For hardware connecting, see&amp;nbsp;You can refer to our reference design&amp;nbsp;&lt;a title="Schematic with single antenna" href="https://infocenter.nordicsemi.com/topic/ps_nrf21540/chapters/hw_layout/reference_circuitry/doc/alt1.html?cp=7_0_0_8_2_0"&gt;Schematic with single antenna&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="yuyou"]is the SCH(&lt;span&gt;ANT_SEL---GND&lt;/span&gt;) and&amp;nbsp;overlay configuration correct?[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It might need to change&amp;nbsp;name_of_fem_node to&amp;nbsp;nrf21540_fem, so it would look like&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
      nrf_radio_fem: nrf21540_fem {
         compatible  = &amp;quot;nordic,nrf21540-fem&amp;quot;;
         tx-en-gpios = &amp;lt;&amp;amp;gpio0 13 GPIO_ACTIVE_HIGH&amp;gt;;
         rx-en-gpios = &amp;lt;&amp;amp;gpio0 14 GPIO_ACTIVE_HIGH&amp;gt;;
         pdn-gpios   = &amp;lt;&amp;amp;gpio0 15 GPIO_ACTIVE_HIGH&amp;gt;;
   };
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="yuyou"]is the configuration correct?&amp;nbsp; &amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;The `CONFIG_MPSL_FEM_*` configuration looks fine, but&amp;nbsp;because the BT_CTLR_TX_PWR_ is not being used by the SDC in the code,&amp;nbsp;to set TX power for Bluetooth, you need to use HCI commands. This is a known issue, see &lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/known_issues.html#softdevice-controller" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/known_issues.html#softdevice-controller" rel="noopener noreferrer" target="_blank"&gt;Known issues — nRF Connect SDK 1.9.99 documentation (nordicsemi.com)&lt;/a&gt;.&amp;nbsp;If you could use&amp;nbsp;&lt;span&gt;nRF21540DK, here is an example in this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/86135/nrf21540ek-integration-with-nrf5340dk/360197#360197"&gt;thread&lt;/a&gt;. That might be easier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/361304?ContentTypeID=1</link><pubDate>Sat, 02 Apr 2022 03:01:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e5ff799-b99c-49ff-9acd-399e8de23710</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;span&gt;Amanda&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;thank you very much,&lt;/p&gt;
&lt;p&gt;To put it another way.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648783582614v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;child_image\hci_rpmsg.overlay&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648783601380v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;above&lt;/span&gt;, i want only use ANT1 fixed,and not use SPI control (3 pin mode).&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:150%;"&gt;is the SCH(&lt;span style="color:#003300;font-size:75%;"&gt;ANT_SEL---GND&lt;/span&gt;) and&amp;nbsp;overlay configuration correct?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;child_image\hci_rpmsg.conf&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648783590686v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;above&lt;/span&gt;, i want to:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;TX power set to maximum (Fixed value);&lt;/li&gt;
&lt;li&gt;TX power&amp;nbsp;don&amp;#39;t need&amp;nbsp;changed dynamically;&lt;/li&gt;
&lt;li&gt;RX GAIN set to minimum (Fixed value);&lt;/li&gt;
&lt;li&gt;TX GAIN set to maximum (Fixed value);&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;span style="color:#0000ff;font-size:150%;"&gt;is the configuration correct?&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/361167?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 09:06:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be96b2c4-4e24-48fe-ac48-1cbe5a522448</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="yuyou"]child_image\hci_rpmsg.overlay[/quote]
&lt;p&gt;That means t&lt;span&gt;he nRF21540 GPIO mode implementation of FEM is compatible with this device and implements the 3-pin PA/LNA interface. See &lt;/span&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html#id10"&gt;GPIO mode&lt;/a&gt;. To use the SPI interface, see&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html#id11"&gt;SPI/GPIO mode&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
[quote user="yuyou"]Only use ANT1;[/quote]
&lt;p&gt;&lt;span&gt;There is an optional&amp;nbsp;property to select&amp;nbsp;antenna:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ant-sel-gpios - GPIO characteristic of the device that controls the&amp;nbsp;&lt;/span&gt;&lt;span&gt;ANT_SEL&lt;/span&gt;&lt;span&gt;&amp;nbsp;signal of devices that support antenna diversity&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;See&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html?highlight=ant_sel#id12"&gt;Optional properties&lt;/a&gt;&lt;/p&gt;
[quote user="yuyou"]TX power set to maximum 20dBm (Fixed value);[/quote]
&lt;p&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/kconfig/CONFIG_BT_CTLR_TX_PWR_MINUS_20.html?highlight=config_bt_ctlr_tx_pwr_minus_20"&gt;CONFIG_BT_CTLR_TX_PWR_MINUS_20&lt;/a&gt;=y is set to&amp;nbsp;-20 dBm.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently, we don&amp;#39;t support run-time switching of TX gain by the application. It needs to be configured in Kconfig, passed to the child image just the way you did it with &lt;code&gt;child_image/hci_rpmsg.conf&lt;/code&gt; and it is set by the network core on initialization. The relevant piece of code: &lt;a title="https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/subsys/mpsl/fem/mpsl_fem.c#l284-l295" href="https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/subsys/mpsl/fem/mpsl_fem.c#L284-L295" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v1.9.1/subsys/mpsl/fem/mpsl_fem.c#L284-L295&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code I provided is for &lt;span&gt;nrf21540&lt;/span&gt;&lt;span&gt;dk_nrf52840, and it&amp;nbsp;&lt;/span&gt;cannot apply to &lt;span&gt;nRF5340DK+nRF21540EK. S&lt;/span&gt;o I would remove them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/361122?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2022 03:29:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de0b26ee-c30f-47fe-a73c-79022f9e1ce9</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;span&gt;Amanda&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;see:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648783582614v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;child_image\hci_rpmsg.conf&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648783590686v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;child_image\hci_rpmsg.overlay&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648783601380v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;From the above description,&lt;/p&gt;
&lt;p&gt;does that mean the following?&lt;/p&gt;
&lt;p&gt;Hardware:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Only use ANT1;&lt;/li&gt;
&lt;li&gt;SPI selected;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Software:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;SPI control not using;&lt;/li&gt;
&lt;li&gt;TX power set to maximum 20dBm (Fixed value);&lt;/li&gt;
&lt;li&gt;TX power cannot be changed dynamically;&lt;/li&gt;
&lt;li&gt;RX GAIN set to minimum 0dBm (Fixed value);&lt;/li&gt;
&lt;li&gt;TX GAIN set to maximum 20dBm (Fixed value);&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thanks&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/360642?ContentTypeID=1</link><pubDate>Wed, 30 Mar 2022 03:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc949e8c-9ac5-4a72-863c-a4851d7521cc</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for reply,&lt;/p&gt;
&lt;p&gt;i&amp;#39;ve &lt;span&gt;install NCS1.9.1 under&amp;nbsp;C:\&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;but still got error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;the file&amp;nbsp;hci_rpmsg.overlay write error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648610445162v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648622575680v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;the code rar&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3146.test_5F00_periodic_5F00_adv.rar"&gt;devzone.nordicsemi.com/.../3146.test_5F00_periodic_5F00_adv.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;other question:&lt;/p&gt;
&lt;p&gt;1.&lt;/p&gt;
&lt;p&gt;set_tx_power(BT_HCI_VS_LL_HANDLE_TYPE_ADV, 0, &lt;span style="color:#0000ff;"&gt;TRANSMIT_POWER_dBm&lt;/span&gt;);&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;TRANSMIT_POWER_dBm undefine, is it value 0-31?&amp;nbsp; max power is 31.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;how to select ant?&amp;nbsp;unable to understand file of nrF21540_PS_v1.2.pdf.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/379x207/__key/communityserver-discussions-components-files/4/pastedimage1648612361669v4.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;is it set pin ANT_SEL&amp;nbsp;logic level high will select ant2?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;RX_EN&amp;nbsp; and TX_EN,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;set pin logic level high will be enable?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/360207?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2022 09:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0694b7c3-54dc-4a3e-bcfb-efade4e93691</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="yuyou"]can you fix the project?[/quote]
&lt;p&gt;Please install NCS under&amp;nbsp;C:\ and try again.&amp;nbsp;&lt;/p&gt;
[quote user="yuyou"]the link not say&amp;nbsp;how to&amp;nbsp; change tx_power/selet ant/enable tx_en&amp;nbsp; by sources code.[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You can refer to&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/bluetooth/hci_pwr_ctrl"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/bluetooth/hci_pwr_ctrl&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="yuyou"]TRX connect like this?[/quote]
&lt;p&gt;Yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/360107?ContentTypeID=1</link><pubDate>Sat, 26 Mar 2022 02:19:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d17579cf-50e4-4ce3-b47e-dd6d4b020153</guid><dc:creator>yoyou</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;thank you very much,&lt;/p&gt;
&lt;p&gt;I follow the link.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648257079591v2.png" alt=" " /&gt;&amp;nbsp;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648258420398v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Extra CMake arguments:&lt;/p&gt;
&lt;p&gt;-DSHIELD=nrf21540_ek -Dmultiprotocol_rpmsg_SHIELD=nrf21540_ek&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/482x415/__key/communityserver-discussions-components-files/4/pastedimage1648260114829v8.png" /&gt;&lt;/p&gt;
&lt;p&gt;but i&amp;#39;m failed,&amp;nbsp; &amp;nbsp;and the link not say&amp;nbsp;how to&amp;nbsp; change tx_power/selet ant/enable tx_en&amp;nbsp; by sources code.&lt;/p&gt;
&lt;p&gt;can you fix the project?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test_5F00_periodic_5F00_adv.rar"&gt;devzone.nordicsemi.com/.../test_5F00_periodic_5F00_adv.rar&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TRX connect like this?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/482x259/__key/communityserver-discussions-components-files/4/pastedimage1648255135658v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best Regards&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NCS1.9.1, nRF5340DK+nRF21540EK</title><link>https://devzone.nordicsemi.com/thread/360035?ContentTypeID=1</link><pubDate>Fri, 25 Mar 2022 13:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7a8aa83-4d2b-440b-9e77-085cdad71b06</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]about software:&amp;nbsp; &amp;nbsp; how to create project build?[/quote]
&lt;p&gt;See&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html#programming"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html#programming&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/286518.PNG" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]where is TXR connected?&amp;nbsp; &amp;nbsp;what is its function?[/quote]
&lt;p&gt;It&amp;#39;s for radio input. S&lt;span&gt;ince the nrf21540 is more or less just a power amplifier with the option to select between two antennas and adjust the power output. So the TRX pin is the radio in, so if we are to use the nrf52840 as an example it will be ANT pin on 52840 -&amp;gt; TRX on 21540&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;See&amp;nbsp;&lt;a title="https://infocenter.nordicsemi.com/topic/ps_nrf21540/chapters/hw_layout/pin/doc/frontpage.html?cp=7_0_0_8_0" href="https://infocenter.nordicsemi.com/topic/ps_nrf21540/chapters/hw_layout/pin/doc/frontpage.html?cp=7_0_0_8_0" rel="noopener noreferrer" target="_blank"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf21540/chapters/hw_layout/pin/doc/frontpage.html?cp=7_0_0_8_0&lt;br /&gt;&lt;/a&gt;&lt;a title="https://infocenter.nordicsemi.com/topic/ps_nrf21540/chapters/hw_layout/pin/doc/frontpage.html?cp=7_0_0_8_0" href="https://infocenter.nordicsemi.com/topic/ps_nrf21540/chapters/hw_layout/pin/doc/frontpage.html?cp=7_0_0_8_0" rel="noopener noreferrer" target="_blank"&gt;&lt;/a&gt;&lt;span&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1648216650871v1.jpeg" alt=" " /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>