<?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>GPIO pins to Control nRF21540 FEM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111888/gpio-pins-to-control-nrf21540-fem</link><description>Hi, 
 I have a custom board with a nRF52840 and the nRF21540 FEM. To control my FEM, I have added the following to my code to my nRF52840_nRF52840.dts file: 
 
 / { 
 nrf_radio_fem: name_of_fem_node { 
 compatible = &amp;quot;nordic,nrf21540-fem&amp;quot; ; 
 tx-en-gpios</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Jun 2024 15:35:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111888/gpio-pins-to-control-nrf21540-fem" /><item><title>RE: GPIO pins to Control nRF21540 FEM</title><link>https://devzone.nordicsemi.com/thread/488171?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 15:35:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83d24008-79cf-4615-bc7f-5fb39cd1a8f6</guid><dc:creator>Naeem Maroof</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;To use radio protocols and a FEM with your application, you need to enable Front-end module feature in the Multiprotocol Service Layer (MPSL) library. Using MPSL supports SPI/GPIO mode or the GPIO only mode.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.5.2/nrf/device_guides/working_with_fem.html#enabling-fem-and-mpsl"&gt;Enabling FEM and MPSL&lt;/a&gt;&amp;nbsp;Adding support for MPSL (Enable MPSL CONFIG_MPSL,&amp;nbsp;Enable FEM CONFIG_MPSL_FEM, choose FEM Implementation CONFIG_MPSL_FEM_NRF21540_GPIO)&lt;/p&gt;
&lt;p&gt;The (MPSL) library provides multiprotocol support, but you can also use it in applications that require only one protocol. To avoid conflicts, check the protocol documentation to see if the protocol uses the FEM support provided by MPSL.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrfxlib/mpsl/doc/api.html"&gt;MPSL API Documentation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.1/nrf/device_guides/working_with_fem.html#:~:text=The%20following%20test%20samples%20support%20FEM%20control%3A"&gt;Samples supporting FEM Control&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>