<?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>nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123637/nrf52833-nrf21540-custom-board</link><description>Hello Team, 
 We are using custom nRF52833 with nRF21540 (PCB). we manually controlling the nRF21540 FEM using GPIO and SPI (not using the FEM driver) for testing purpose. After configuring the gain to 20 dBm , I expected significantly increased BLE advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Sep 2025 11:01:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123637/nrf52833-nrf21540-custom-board" /><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/547449?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 11:01:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad9f7129-7b16-429d-bdbe-e037ddf9e802</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Hi, Ashwini.&lt;/p&gt;
&lt;p&gt;Asbjørn is currently out of office, so I&amp;#39;ll try to help you out while he&amp;#39;s away.&lt;/p&gt;
&lt;p&gt;Have you had a look at &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.1.0/page/nrf/app_dev/device_guides/fem/fem_nrf21540_gpio_spi.html"&gt;this section&lt;/a&gt; in the documentation, describing how to enable&amp;nbsp;GPIO+SPI mode support for nRF21540?&lt;/p&gt;
&lt;p&gt;Are you sure you&amp;#39;re not able to share a PDF containing your board&amp;#39;s schematic and a zip folder containing the Gerber and drill files for the layout? Even not if the case is made private? This could possibly be very helpful for figuring out what may be the issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Mathias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/547021?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2025 08:00:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c5e8c78-9780-4aea-b03b-5f038f06c4fb</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;Hello Asbjorn,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Due to certain limitations, the schematic cannot be shared.&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p data-start="206" data-end="368"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I would like to request confirmation on the following points regarding the control and configuration of the nRF21540 FEM for our testing setup:&lt;/p&gt;
&lt;ol data-start="370" data-end="1361"&gt;
&lt;li data-start="370" data-end="949"&gt;
&lt;p data-start="373" data-end="594"&gt;&lt;strong data-start="373" data-end="422"&gt;TX Gain Enable Sequence (Using GPIO and SPI):&lt;/strong&gt;&lt;br data-start="422" data-end="425" /&gt; After enabling the nRF21540, the initial state of the control pins &amp;mdash; &lt;strong data-start="497" data-end="505"&gt;MODE&lt;/strong&gt;, &lt;strong data-start="507" data-end="516"&gt;TX_EN&lt;/strong&gt;, and &lt;strong data-start="522" data-end="531"&gt;RX_EN&lt;/strong&gt; &amp;mdash; is LOW (logic 0).&lt;br data-start="551" data-end="554" /&gt; My current procedure is as follows:&lt;/p&gt;
&lt;ul data-start="598" data-end="818"&gt;
&lt;li data-start="598" data-end="719"&gt;
&lt;p data-start="600" data-end="719"&gt;First, I write to &lt;strong data-start="618" data-end="630"&gt;CONFREG0&lt;/strong&gt; to set the TX gain (e.g., writing &lt;code data-start="665" data-end="671"&gt;0x1C&lt;/code&gt; for +10 dBm gain or &lt;code data-start="692" data-end="698"&gt;0x6C&lt;/code&gt; for +20 dBm gain).&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="723" data-end="818"&gt;
&lt;p data-start="725" data-end="818"&gt;Once the write is successful, I set the &lt;strong data-start="765" data-end="774"&gt;TX_EN&lt;/strong&gt; GPIO to HIGH (logic 1) to enable TX gain.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p data-start="823" data-end="949"&gt;&lt;strong data-start="823" data-end="949"&gt;Could you please confirm if this is the correct sequence for enabling TX gain using a combination of SPI and GPIO control and values written to CONFREG0 for the corresponding gain?&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="951" data-end="1361"&gt;
&lt;p data-start="954" data-end="1142"&gt;&lt;strong data-start="954" data-end="1007"&gt;TX Gain Control Using Only SPI (No GPIO Control):&lt;/strong&gt;&lt;br data-start="1007" data-end="1010" /&gt; In the case where we want to set and enable TX gain using only &lt;strong data-start="1076" data-end="1088"&gt;CONFREG0&lt;/strong&gt; (Only SPI control without using FEM control GPIOs),&lt;/p&gt;
&lt;ul data-start="1146" data-end="1361"&gt;
&lt;li data-start="1146" data-end="1227"&gt;
&lt;p data-start="1148" data-end="1227"&gt;What is the correct sequence of SPI commands to set and activate the TX gain?&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="1231" data-end="1361"&gt;
&lt;p data-start="1233" data-end="1361"&gt;What should be the expected or required states of the &lt;strong data-start="1287" data-end="1296"&gt;TX_EN&lt;/strong&gt;, &lt;strong data-start="1298" data-end="1307"&gt;RX_EN&lt;/strong&gt;, and &lt;strong data-start="1313" data-end="1321"&gt;MODE&lt;/strong&gt; pins in this SPI-only control scenario?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p data-start="1363" data-end="1474"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Your guidance on these points will be greatly appreciated to ensure correct operation during our testing phase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/546780?ContentTypeID=1</link><pubDate>Tue, 26 Aug 2025 13:35:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90daa6a7-f540-49cd-8118-ea23fe3f93d6</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Ashwini,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Embel_Tech"]as per schematic no external crystal is mounted on it. [/quote]
&lt;p&gt;What schematic? I&amp;#39;ve asked about the schematic and layout for this board and the implementation, but haven&amp;#39;t seen any. Would it be possible to share as this might also be related to the issues you&amp;#39;re observing.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/546337?ContentTypeID=1</link><pubDate>Thu, 21 Aug 2025 12:08:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91ac1937-4906-4a6c-86a1-590d1997fca8</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Yes, we&amp;nbsp;&lt;span&gt;are using LFRC. as per schematic no external crystal is mounted on it. Also documentation&amp;nbsp;500 ppm value reflects the expected accuracy after calibration for the internal RC oscillator.&amp;nbsp;we cannot set it externally.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Also, tried with setting up configuration as:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;br /&gt;&amp;nbsp; &amp;nbsp; CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM=y&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; but not getting drastic change in observations.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp; &amp;nbsp;Is there need to set accuracy at different value for internal RC?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/546222?ContentTypeID=1</link><pubDate>Wed, 20 Aug 2025 14:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0640413-c70b-4238-a380-38ae91988b46</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Hello Ashwini,&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;based on your numbers alone it looks like the gain from the FEM is there and the numbers don&amp;#39;t look too bad. Suspect that there might be two things worth checking here:&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Q1: What does the layout and schematic look like on your board? Are you able to share this information with us if you set this ticket to be private?&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Q2: RX timing, what clock source do you have available on your board. LFXO (32k crystal) or are you using LFRC (internal 32k)? It looks like you are using LFRC based on this: CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y, but what are you using for the clock source accuracy? &lt;a href="https://docs.nordicsemi.com/bundle/ncs-1.7.0/page/kconfig/choice_483.html#choice-483"&gt;https://docs.nordicsemi.com/bundle/ncs-1.7.0/page/kconfig/choice_483.html#choice-483&lt;/a&gt;&amp;nbsp;Can you set it to &lt;a href="https://docs.nordicsemi.com/bundle/ncs-1.7.0/page/kconfig/CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM.html#std-kconfig-CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM"&gt;https://docs.nordicsemi.com/bundle/ncs-1.7.0/page/kconfig/CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM.html#std-kconfig-CONFIG_CLOCK_CONTROL_NRF_K32SRC_500PPM&lt;/a&gt;&amp;nbsp;and give it a try? I fear that if you haven&amp;#39;t set this correct, your RX windows are out of sync with the phones.&amp;nbsp;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Best regards&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/546001?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 07:29:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09d27864-e72a-48d5-bc47-c4a97e7125eb</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p data-start="190" data-end="277"&gt;&amp;nbsp; &amp;nbsp; Additionally, we have conducted RSSI testing for various TX gain levels and distances.&lt;/p&gt;
&lt;p data-start="279" data-end="406"&gt;&amp;nbsp; &amp;nbsp; Could you please review the results and let us know which values appear to be expected and if any seem unusual or inconsistent?&lt;/p&gt;
&lt;p data-start="408" data-end="485"&gt;&amp;nbsp; &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF21540_5F00_TX_5F00_gain_5F00_Testing_5F00_18_5F00_Aug_5F00_25.xlsx"&gt;devzone.nordicsemi.com/.../nRF21540_5F00_TX_5F00_gain_5F00_Testing_5F00_18_5F00_Aug_5F00_25.xlsx&lt;/a&gt;Your feedback will help us validate our observations and proceed accordingly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/545997?ContentTypeID=1</link><pubDate>Tue, 19 Aug 2025 06:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c02aa212-5544-44a9-822e-f09ca09ffa53</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;Hello Asbjorn,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Yes, we have the FEM integrated with a custom nRF52833 board, and there is no provision to separate them for testing. As a result, we are unable to trace the GPIO state.&lt;br data-start="279" data-end="282" /&gt;&amp;nbsp; &amp;nbsp; Both antennas have been connected for testing purposes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/545925?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 12:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:693e68e7-0f0f-4fe9-b8b5-71f8605df7e6</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Hi Ashwini,&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;This sounds like far from what I would expect. I asked about the custom board performance with the FEM connected, is that a possibility or is the FEM integrated into your custom board? If it is possible to separate, what is the performance of just the custom board?&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Timing between states, from the product specification:&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;img style="max-height:240px;max-width:1040px;" src="https://devzone.nordicsemi.com/resized-image/__size/2080x480/__key/communityserver-discussions-components-files/4/pastedimage1755520615477v1.png" alt=" " /&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;ul style="margin-bottom:0;margin-top:0;"&gt;
&lt;li style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;
&lt;div&gt;Could you capture the state of the control GPIOs across a couple of advertising and connection attempts? PDN, TX_EN, RX_EN, ANT_SEL?&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;ul style="margin-bottom:0;margin-top:0;"&gt;
&lt;li style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;
&lt;div&gt;Do you have the antenna connected to the selected antenna pin on the nRF21540?&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Best regards&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/545857?ContentTypeID=1</link><pubDate>Mon, 18 Aug 2025 06:02:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be905ddb-9273-481c-9b31-10f4ad407131</guid><dc:creator>Embel_Tech</dc:creator><description>&lt;p&gt;Yes, at 40 meters I can only scan my device, and I&amp;#39;m only able to establish a connection at a range of 5&amp;ndash;6 meters.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52833 + nRF21540 Custom Board</title><link>https://devzone.nordicsemi.com/thread/545502?ContentTypeID=1</link><pubDate>Wed, 13 Aug 2025 11:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4fb9a9c-dd64-4baf-b9b1-9e4e30374eb0</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Hello Ashwini,&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Just to be sure how your custom board performance with the FEM. If you bypass the FEM and only use the nRF52833 on your custom board, what&amp;#39;s the range you see then?&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;You say BLE scan range is 40m, are you able to establish a connection at this range or is that just the range you can see the advertising at?&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Best regards&lt;/div&gt;
&lt;div style="color:rgba(0, 0, 0, 1);font-size:11pt;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>