<?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>Thingy53 ESB and FEM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111745/thingy53-esb-and-fem</link><description>Hi, 
 I am working with Thingy53 using the ESB (Enhanced ShockBurst) library. I have my basic app running with multi-point comms and power control. This was done without using the Thingy53 nRF21540 FEM module (CONFIG_MPSL_FEM=n). This means that the Thingy53</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2024 11:05:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111745/thingy53-esb-and-fem" /><item><title>RE: Thingy53 ESB and FEM</title><link>https://devzone.nordicsemi.com/thread/500407?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 11:05:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:220d5d16-cdf7-4805-8800-21768f21415e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry no.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 ESB and FEM</title><link>https://devzone.nordicsemi.com/thread/500396?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 09:55:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:571d18d5-abb1-43c8-9179-dc74c080fa5c</guid><dc:creator>carefree</dc:creator><description>&lt;p&gt;Does Gazell support FEM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 ESB and FEM</title><link>https://devzone.nordicsemi.com/thread/487168?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2024 17:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbdb8627-5ba2-4616-a92f-855a7af17216</guid><dc:creator>Petri Haavisto</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Thank you for the confirmation!&lt;br /&gt;I tried again and it is now working, at least to some extent.&lt;br /&gt;My initial problem was that when I took FEM into use (CONFIG_MPSL_FEM=y) I also did the following:&lt;br /&gt;CONFIG_MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL=y&lt;br /&gt;CONFIG_MPSL_FEM_POWER_MODEL=y&lt;/p&gt;
&lt;p&gt;These are both explained in the link you provided and they seemed like a good idea when I actually wanted to control the power dynamically;-)&lt;br /&gt;However, this did not compile for Thingy53 and I made the quick (wrong) conclusion that FEM is not supported.&lt;br /&gt;Now that I looked into this again, I noticed that it was only the setting CONFIG_MPSL_FEM_POWER_MODEL that causes the problem. It will not compile complaining that &amp;quot;undefined reference to `mpsl_fem_power_model_to_use_get&amp;#39;&amp;quot;. I verified this with the simplest esb_prx() sample code by just adding that config parameter, and it will not work. This is not a problem and using the power model would have only been a nice extra.&lt;/p&gt;
&lt;p&gt;I am still confused about whether this CONFIG_MPSL_FEM_NRF21540_RUNTIME_PA_GAIN_CONTROL really allows me to set power freely within the FEM range. The role of CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB_POUTA and CONFIG_MPSL_FEM_NRF21540_TX_GAIN_DB_POUTB is a bit unclear since parts of the link seem to suggest that only those two values should be used. That does not make much sense so I assume it means something else. I have not yet been able to measure whether TX power actually changes more than between two different values.&lt;/p&gt;
&lt;p&gt;Regarding ANT1/ANT2 choice, my current assumption is that there simply is no need to use ANT2. I don&amp;#39;t think that I can just control antenna selection externally from FEM control since the same line is connected to FEM power-down pin. Since there is no run-time option in ESB to switch antennas (and hence power-down the FEM) I am sure ESB would get confused if FEM would be powered down. I only wanted to have run-time switching between the antennas for test purposes, but compile-time changing is fine as well.&lt;/p&gt;
&lt;p&gt;However, this question is clear to me now. Thank you for a very quick response!&lt;/p&gt;
&lt;p&gt;Petri&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thingy53 ESB and FEM</title><link>https://devzone.nordicsemi.com/thread/487102?ContentTypeID=1</link><pubDate>Mon, 03 Jun 2024 11:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2c1394c-8a32-4cdb-a372-081231797b9e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Yes it&amp;#39;s supported, see here:&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/esb/index.html#ug-esb"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/protocols/esb/index.html#ug-esb&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Each time a transmission is triggered, the ESB protocol will update the output power according to the latest that was provided by&amp;nbsp;esb_set_tx_power(). You can see how this is handled by the&amp;nbsp;update_radio_tx_power() that occurs internally in the ESB protocol:&lt;br /&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/esb/esb.c#L1106"&gt;https://github.com/nrfconnect/sdk-nrf/blob/main/subsys/esb/esb.c#L1106&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you need to select antenna pin, then this must be handled directly by the application by controlling the ANTSEL pin.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>