<?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>Verifying FEM Activation on BT840X (nRF52840 + SKY66112-11)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118183/verifying-fem-activation-on-bt840x-nrf52840-sky66112-11</link><description>Hello, I&amp;#39;m trying to confirm whether the front-end module (FEM) is actually active in my application. Here is a summary of what I have done so far: 
 
 
 Updated prj.conf 
 
 
 
 
 
 
 
 Modified the .dts file to include: 
 
 
 
 
 
 
 
 
 
 
 
 
 Modified</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 20 Jan 2025 17:15:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118183/verifying-fem-activation-on-bt840x-nrf52840-sky66112-11" /><item><title>RE: Verifying FEM Activation on BT840X (nRF52840 + SKY66112-11)</title><link>https://devzone.nordicsemi.com/thread/519149?ContentTypeID=1</link><pubDate>Mon, 20 Jan 2025 17:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4ca57a9-319b-469c-8da2-63dc7005309a</guid><dc:creator>Arthur J Sary</dc:creator><description>&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I apologize for the silly question! It turns out the issue was simply missing the &lt;strong&gt;CPS&lt;/strong&gt; and &lt;strong&gt;CHL&lt;/strong&gt; pin configuration in the code. Once these pins were properly configured, everything started working as expected.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
#include &amp;lt;zephyr/drivers/gpio.h&amp;gt;

int main(void)
{
	// Enable pins of SKY66112-11
	const struct device* gpio0_dev = device_get_binding(&amp;quot;gpio@50000000&amp;quot;); // gpio 0

	//	Table 6. SKY66112-11 Mode Control Logic1
	//	Mode	Description 		CPS	CHL
	//	1 	Receive LNA 		0 	X
	//	2 	Transmit high-power 	0 	1
	//	3 	Transmit low-power 	0 	0

	gpio_pin_configure(gpio0_dev, 6, GPIO_OUTPUT); // gpio 0.06 - CPS
	gpio_pin_set(gpio0_dev, 6, 0);
	gpio_pin_configure(gpio0_dev, 8, GPIO_OUTPUT); // gpio 0.08 - CHL
	gpio_pin_set(gpio0_dev, 8, 1);
	
	// etc
	
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, one question remains: &lt;strong&gt;why doesn&amp;#39;t it work when I set &lt;code&gt;tx-gain-db=22&lt;/code&gt;?&lt;/strong&gt; If anyone has any insight into this, I&amp;#39;d greatly appreciate your help.&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>