<?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>nrf21540</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73321/nrf21540</link><description>Hi, as the table register above, If I want to set Tx_Gain manually, Does MODE effect my config? (Ex, if I choose mode as 0, does the device use POUTA default to use instead of my manual value?)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Apr 2021 14:32:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73321/nrf21540" /><item><title>RE: nrf21540</title><link>https://devzone.nordicsemi.com/thread/304614?ContentTypeID=1</link><pubDate>Tue, 13 Apr 2021 14:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e0222f-75a4-4216-aec1-997d811821ad</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Nahan_Trogn"]When I set mode = 1 in CONFREG0, after that, the value I read from that register is 0x23! This won&amp;#39;t happen when I set mode to 0.[/quote]
&lt;p&gt;Changing the MODE triggers a reload of the default value. depending on the action sett/clear different default or end user values will be loaded.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;em&gt;To configure the output power through pins, MODE can be used to set TX power control to one of two preset values. Preset values are used to update the TX_Gain value when MODE control changes in the Program state. The same functionality can be achieved by writing to the MODE bit in CONFREG0. Custom preset values can be stored in UICR and selected as default.&lt;/em&gt;&amp;quot;&lt;br /&gt;&lt;br /&gt;&amp;quot;&lt;em&gt;Changing MODE or the MODE bit in CONFREG0 will always trigger a reload of a default value to TX_Gain. Setting any of these will load POUTB. Clearing any of these will load POUTA. The default value will also be used even if a new value is loaded to TX_Gain during the SPI write cycle changing the MODE bit&lt;/em&gt;.&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Nahan_Trogn"]I know that preset values can be stored in UICR, but what does the field TX_Gain in CONFREG0 mean[/quote]
&lt;p&gt;TX Gain is configured by writing the gain value over SPI to register CONFREG0 TX_Gain field.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Nahan_Trogn"]What is the special purpose for this design?[/quote]
&lt;p&gt;Dual antenna port with antenna diversity support, so it gives you the option to use two antennas.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540</title><link>https://devzone.nordicsemi.com/thread/302430?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 15:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5a88216-c424-4b18-9fa3-fe9a36680395</guid><dc:creator>Nahan_Trogn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) I know that preset values can be stored in UICR, but what does the field TX_Gain in CONFREG0 mean? Can I set custom Tx_Power in CONFREG0 instead of UICR?&lt;br /&gt;2) When I set mode = 1 in CONFREG0, after that, the value I read from that register is 0x23! This won&amp;#39;t happen when I set mode to 0.&lt;/p&gt;
&lt;p&gt;3) We can use both Tx and Rx in the same antenna, but the design has two antennas. What is the special purpose for this design?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540</title><link>https://devzone.nordicsemi.com/thread/302424?ContentTypeID=1</link><pubDate>Mon, 29 Mar 2021 15:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:98a87908-2757-463a-a454-26c8121e0f41</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Section 5.4 in the PS:&lt;br /&gt;&lt;br /&gt;&amp;quot;Preset values are used to update the TX_Gain value when MODE control changes in the Program state. The same functionality can be achieved by writing to the MODE bit in CONFREG0. Custom preset values can be stored in UICR and selected as default.&amp;quot;&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1617031086554v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Table 7 illustrate how to use user defined.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>