<?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>Front End Module control with nRF Connect (1.7.0)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81758/front-end-module-control-with-nrf-connect-1-7-0</link><description>Hi, 
 I&amp;#39;m trying to enable PA/LNA control with a nRF5340 using the nRF Connect SDK v1.7.0. This version was the first to introduce FEM control, as described here: http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html 
 I&amp;#39;m wondering</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jun 2022 19:54:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81758/front-end-module-control-with-nrf-connect-1-7-0" /><item><title>RE: Front End Module control with nRF Connect (1.7.0)</title><link>https://devzone.nordicsemi.com/thread/372881?ContentTypeID=1</link><pubDate>Thu, 16 Jun 2022 19:54:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:884aed7a-4c9d-4df3-985e-61d2b2b6316e</guid><dc:creator>Jackie Zamow</dc:creator><description>&lt;p&gt;I finally solved this issue in v1.9.1! The REAL steps to turn on FEM are as follows, or at least what worked for me:&lt;/p&gt;
&lt;p&gt;1) Add the following node to boards/nrf5340dk_nrf5340_cupapp.overlay file AND child_image/hci_rpmsg.overlay:&lt;/p&gt;
&lt;p style="padding-left:60px;"&gt;/ {&lt;br /&gt; nrf_radio_fem: name_of_fem_node {&lt;br /&gt; compatible = &amp;quot;nordic,nrf21540-fem&amp;quot;;&lt;br /&gt; tx-en-gpios = &amp;lt;&amp;amp;gpio0 3 GPIO_ACTIVE_HIGH&amp;gt;;&lt;br /&gt; rx-en-gpios = &amp;lt;&amp;amp;gpio0 5 GPIO_ACTIVE_HIGH&amp;gt;;&lt;br /&gt; pdn-gpios = &amp;lt;&amp;amp;gpio0 7 GPIO_ACTIVE_HIGH&amp;gt;;&lt;br /&gt; };&lt;br /&gt;};&lt;/p&gt;
&lt;p&gt;2) Add the following file to your project&amp;nbsp;child_image\hci_rpmsg\boards\thingy53_nrf5340_cpunet.conf:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;# Copyright (c) 2021 Nordic Semiconductor ASA&lt;br /&gt;#&lt;br /&gt;# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause&lt;br /&gt;#&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;CONFIG_RPMSG_SERVICE=y&lt;br /&gt;CONFIG_RPMSG_SERVICE_MODE_REMOTE=y&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;CONFIG_HEAP_MEM_POOL_SIZE=8192&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;CONFIG_MAIN_STACK_SIZE=512&lt;br /&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512&lt;br /&gt;CONFIG_BT=y&lt;br /&gt;CONFIG_BT_HCI_RAW=y&lt;br /&gt;CONFIG_BT_MAX_CONN=10&lt;br /&gt;CONFIG_BT_CTLR_ASSERT_HANDLER=y&lt;br /&gt;CONFIG_BT_HCI_RAW_RESERVE=1&lt;br /&gt;CONFIG_BT_BUF_CMD_TX_COUNT=10&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;# Increase maximum data length of PDU supported in the Controller&lt;br /&gt;CONFIG_BT_CTLR_DATA_LENGTH_MAX=251&lt;br /&gt;CONFIG_BT_BUF_ACL_TX_SIZE=251&lt;br /&gt;CONFIG_BT_BUF_ACL_RX_SIZE=502&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Front End Module control with nRF Connect (1.7.0)</title><link>https://devzone.nordicsemi.com/thread/352172?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 17:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ff109ab-dd86-4a64-b21c-68459e9eb4a7</guid><dc:creator>Jackie Zamow</dc:creator><description>&lt;p&gt;Hi, I&amp;#39;m still working on this issue, but now in SDK version 1.8.0. Going back to the link you sent, the option that makes the most sense for our application is &amp;quot;&lt;span&gt;Manually create a devicetree overlay file that describes how FEM is connected to the nRF5 SoC in your device.&amp;quot; This is because we are not using the specific&amp;nbsp;nRF21540 FEM, we just want to use the 2 wire FEM interface.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What is necessary to manually create the overlay file? Are there any Kconfig flags that I need to mention in my prj.config file to support the new node in my overlay file? Is the child image overlay file supposed to have a new node as well?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Front End Module control with nRF Connect (1.7.0)</title><link>https://devzone.nordicsemi.com/thread/339717?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 18:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a4be762-628a-41f2-b35f-5f15ada90d68</guid><dc:creator>Jackie Zamow</dc:creator><description>&lt;p&gt;So as far as I can tell, there are 4 main steps:&lt;/p&gt;
&lt;p&gt;1) Add MPSL support by configuring the interrupts listed here:&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/mpsl/doc/mpsl.html#mpsl-lib"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/mpsl/doc/mpsl.html#mpsl-lib&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2) Enable MPSL with a config flag in the application core (CONFIG_MPSL = y)&lt;/p&gt;
&lt;p&gt;3) Add a node to the application device tree, shown here:&amp;nbsp;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html"&gt;http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;4) Add that same node to the child device tree&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Right now, I&amp;#39;m struggling with #1. How am I supposed to configure the interrupts to be priority 0? Via a Kconfig flag, or a function call in the application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Front End Module control with nRF Connect (1.7.0)</title><link>https://devzone.nordicsemi.com/thread/339215?ContentTypeID=1</link><pubDate>Tue, 16 Nov 2021 12:09:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:305fe3cb-310a-4251-b7c5-90f63e220882</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]I&amp;#39;m wondering whether the steps listed in the linked documentation are the only steps I need to take to enable this feature.[/quote]
&lt;p&gt;These are all the steps required yes, also see how to do this can be done for a specific BLE sample project (e.g. peripheral UART example):&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html#fem-support"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_uart/README.html#fem-support&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>