<?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>The nrf21540 amplifier can&amp;#39;t enable Transmit mode after Receive mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66978/the-nrf21540-amplifier-can-t-enable-transmit-mode-after-receive-mode</link><description>I have a issue with nrf21540 in the Transmit state after the Receive state with using of GPIO for control Transmit / Receive switch. 
 I&amp;#39;m doing next steps for reproducing the issue (I&amp;#39;m doing this steps on the debug mode): 
 1 - power on amplifier and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Oct 2020 06:58:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66978/the-nrf21540-amplifier-can-t-enable-transmit-mode-after-receive-mode" /><item><title>RE: The nrf21540 amplifier can't enable Transmit mode after Receive mode</title><link>https://devzone.nordicsemi.com/thread/274468?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 06:58:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbb6bd9b-e137-4708-b6a0-ccd31857d831</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Using a combination should not be a problem, but as you say currently there is no support for that directly from the SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The TX_GAIN you write will be used every time but reset when the device enters the PROGRAM state, so you will need to set it every time you enter TX. Using POUTA_UICR or POUTB_UICR will default to the value you program in that, without having to write TX_GAIN, but as you know this is OTP.&lt;/p&gt;
&lt;p&gt;When using GPIO MODE is used instead of CONFREG2 and CONFREG3 yes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf21540 amplifier can't enable Transmit mode after Receive mode</title><link>https://devzone.nordicsemi.com/thread/274437?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 21:17:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c53d2def-f9aa-4afc-ac6d-5bff035c3e53</guid><dc:creator>Goodjamp</dc:creator><description>&lt;p&gt;Thanks for getting back to me so quickly.&lt;/p&gt;
&lt;p&gt;I tested without CSN - unfortunately behavior the same.&lt;/p&gt;
&lt;p&gt;I begin analyze driver for nrf21540 from nRF5_SDK_17.0.2. As i can see, we can select only one way control: SPI or GPIO. But, if I select GPIO, I cant use SPI for adjustment TX_GAIN field on the CONFREG0, because I need SPI for this. If I use GPIO I can only use MODE pin and configuration from registers CONFREG2 or CONFREG3. But for this I need program this two OTP registers before using amplifier (with using higher voltage level and so on).&lt;/p&gt;
&lt;p&gt;But I need next behavioure (SPI +GPIO): once I write settings to the TX_GAIN field of the CONFREG0 register (over SPI) it should be used every time when I switch amplifier to TX state (with using GPIO). Or I need update TX_GAIN field every time over SPI before start Transmit ?&lt;br /&gt;Or in case of using GPIO for controlling, I can use only MODE pin and CONFREG2 or CONFREG3 registers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: The nrf21540 amplifier can't enable Transmit mode after Receive mode</title><link>https://devzone.nordicsemi.com/thread/274334?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 13:10:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e281fd85-5abd-4d50-9e74-2420b931e6b1</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you tested using the radio test example from SDK v17.0? Also try not toggling CSN low when entering RX.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>