<?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>How to Use nRF21540 FEM on BL5340PA DVK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99931/how-to-use-nrf21540-fem-on-bl5340pa-dvk</link><description>Hi There, We are trying to make a trying to make a non connectable Bluetooth beacon / broadcaster that sends out sensor data. We need the FEM for the extended range capabilities it offers in our end case application and have successfully built and flashed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 May 2023 07:56:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99931/how-to-use-nrf21540-fem-on-bl5340pa-dvk" /><item><title>RE: How to Use nRF21540 FEM on BL5340PA DVK</title><link>https://devzone.nordicsemi.com/thread/426772?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 07:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:606a6873-722a-4653-af36-645a9c8d255a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Tyler&lt;/p&gt;
&lt;p&gt;Please do.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Ideally it should be enough to use their board files and set a high output power (+10 for instance), and everything else would be handled for you, but it requires the nRF21540 to be properly enabled in the board files.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Use nRF21540 FEM on BL5340PA DVK</title><link>https://devzone.nordicsemi.com/thread/426558?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 12:27:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4662515d-a13e-42f2-a654-805e8d13cac5</guid><dc:creator>Tyler_H</dc:creator><description>&lt;p&gt;Hi Torbj&lt;span&gt;&amp;oslash;rn,&lt;br /&gt;&lt;br /&gt;Thank you for your help and the information!&amp;nbsp;I will reach out to Laird for additional information as well.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Use nRF21540 FEM on BL5340PA DVK</title><link>https://devzone.nordicsemi.com/thread/426524?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 11:26:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe5b52eb-4d7d-4acc-b0fd-1ea6d965bebe</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In general you would need to ask Laird for input if you are using their hardware and software, but I will provide some general comments.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How to work with FEM devices (not specific to the nRF5340) is described &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/working_with_fem/index.html#working-with-rf-front-end-modules"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;One thing you need to do in order to make the FEM work on the nRF5340 is to add&amp;nbsp;some configuration to the hci_rpmsg.conf file in the child_image folder of the project. The Broadcaster sample you mention doesn&amp;#39;t include this file, but you can look at other samples to see how this is done. As an example the &lt;a href="https://github.com/LairdCP/sdk-nrf/blob/bl5340pa-ga1/samples/bluetooth/peripheral_hr_coded/child_image/hci_rpmsg.conf"&gt;peripheral_hr_coded sample&lt;/a&gt; includes this file (with configuration settings needed for long range).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My colleague Hieu provides the configuration parameters needed for the FEM to work on the nRF5340, &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/98412/ncs-2-3-0-fem-not-working/419185"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking at Laird&amp;#39;s own documentation in the manifest you linked to it seems the BL5340PA does not use the SPI interface to communicate with the nRF21540, only the TXEN, RXEN and PDN pins. This means you will have limited control over the output power since you can only set the TX power of the nRF5340 radio, and not change the gain of the nRF21540.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>