<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87091/nrf21540-interface-to-528xx</link><description>Hello Support, I&amp;#39;m looking for reference schematic for the interface between nrf52840 (or similar) and the nrf21540 . Is there a simpler version than the developer kit user guide version in 21540 section? Have to trace it all out and can easily miss something</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 12 May 2022 09:35:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87091/nrf21540-interface-to-528xx" /><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/367564?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 09:35:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f8b5a3b-0e0b-495b-945a-9ddceccce504</guid><dc:creator>user108933</dc:creator><description>&lt;p&gt;Hello Jorgen,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. When you say you can&amp;#39;t change gain &amp;quot;dynamically&amp;quot;, I assume you you referring to the changing gain on 21540 during runtime of an application?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;yes&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2.&amp;nbsp;If I stop application I should be able to change Gain parameter on 21540, right? I.e I don&amp;#39;t have to reset the device, right?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It would be possible , you need to reset the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3.&amp;nbsp;If I set a &amp;quot;fix gain&amp;quot; on 21540 to achieve total of +19dbm I assume I can dynamically reduce output power on 52840, through the 52840 USB port, right?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can change the tx power on the nRF52, you can see this&amp;nbsp;&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/bluetooth/hci_pwr_ctrl"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/bluetooth/hci_pwr_ctrl&lt;/a&gt;&amp;nbsp; samples of hci_pwr_control where dynamic Tx power controls over the LL of the BLE controller via Zephyr HCI VS command. A peripheral advertises by varying the TX power. The initial TX power is the default power set for the application in Kconfig. Later the TX power variation of the peripheral device varies from -4dBm to -30dBm where the power level decreases every 5s. However , we do not have any sample that does this through USB.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a sample &lt;a title="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/usb/cdc_acm" href="https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/usb/cdc_acm" rel="noopener noreferrer" target="_blank"&gt;https://github.com/nrfconnect/sdk-zephyr/tree/main/samples/subsys/usb/cdc_acm&lt;/a&gt;&lt;span&gt;&amp;nbsp; which demonstrates use of a USB communication Device Class (CDC) Abstract Control Model (ACM), received data from the serial port the serial port is echoed back to the same port provided by this driver.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It should be possible to combine so that you can send commands though USB.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/366790?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 22:38:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82c99039-376e-4d39-b5cd-cb73384d383f</guid><dc:creator>user114890</dc:creator><description>&lt;p&gt;Thanks Kazi for answers.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;When you say you can&amp;#39;t change gain &amp;quot;dynamically&amp;quot;, &lt;br /&gt;I assume you you referring to the changing gain on 21540 during runtime of an application?&lt;/li&gt;
&lt;li&gt;If I stop application I should be able to change Gain parameter on 21540, right? I.e I don&amp;#39;t have to reset the device, right?&lt;/li&gt;
&lt;li&gt;If I set a &amp;quot;fix gain&amp;quot; on 21540 to achieve total of +19dbm I assume I can dynamically reduce output power on 52840, through the 52840 USB port, right?&lt;br /&gt;This is not something &amp;quot;technically feasible&amp;quot; it already works, right?&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Sorry if these are fundamental questions. Just want o make sure I don&amp;#39;t spend days on trying to make something work if not supported yet.&lt;br /&gt;&lt;br /&gt;Thank you!&lt;br /&gt;Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/366766?ContentTypeID=1</link><pubDate>Fri, 06 May 2022 14:57:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:216dfc73-9ed4-4c52-b262-f227ac830e7f</guid><dc:creator>user108933</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can look at this documentation about working with RF fron End Module&amp;nbsp;&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/ug_radio_fem.html#" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html" rel="noopener noreferrer" target="_blank"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html#&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/nrf/ug_radio_fem.html#" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_radio_fem.html" rel="noopener noreferrer" target="_blank"&gt;&lt;/a&gt;&lt;strong&gt;2.Are all the drivers for TX and RX signals etc. to 21540 interface are available in the examples and SDK?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;yes&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3&lt;strong&gt;. Can I use K-config in VS to configure 21540 including gain parameter?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;yes mostly the device tree is used for this.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;4. Is the configuration for the 21540 being written through the 52840 SPI?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;yes&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;5.&lt;/strong&gt;&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;strong&gt;Can I write the USB port of the 52840 chip to set the gain on 21540 (not using Jlink debugger) and how?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;According to our expat in team&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;nbsp;It&amp;#39;s technical feasible, but we don&amp;#39;t have any samples that show-case this, and MPSL is also currently missing features for adjusting&amp;nbsp;output power dynamically.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/365482?ContentTypeID=1</link><pubDate>Thu, 28 Apr 2022 19:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfb48cc7-53af-4f39-83be-6ae20b6ea931</guid><dc:creator>user114890</dc:creator><description>&lt;p&gt;Yes, eval board schematics works fine. Didn&amp;#39;t realize you had the 21540 chip on the 21540 DB pcb actually.&lt;br /&gt;Are you working on Qestions : 2-5?&lt;br /&gt;(I haven&amp;#39;t received 21540 DB I ordered yet)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/365190?ContentTypeID=1</link><pubDate>Wed, 27 Apr 2022 12:36:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13d7a4c6-20d2-442a-93c0-c6d26aa49d16</guid><dc:creator>user108933</dc:creator><description>&lt;p&gt;Hello Jorgen,&lt;/p&gt;
&lt;p&gt;We do not have any schematic that shows interface between nRF21540 with nRF52840. But you can find hardware file of nRF21540 here.&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nRF21540-DB/Download?lang=en#infotabs"&gt;nRF21540 DB - Downloads - nordicsemi.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to have all the control lines (e.g. rx, tx, power down etc) and the spi interface connected up to the nRF52840, because the software implementation use both.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/364316?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 16:59:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:71703cf9-ab02-43b7-91d3-782ad77cf8ba</guid><dc:creator>user114890</dc:creator><description>&lt;p&gt;Hi Kazi,&lt;/p&gt;
&lt;p&gt;I just realize that the development kit nrf21540 DK is the nrf52840DK+nrf21540. This will make it easier to test out.&lt;br /&gt;(I was under impression that I had to plug in the nrf21540 EK to the nrf52840 DK.)&lt;/p&gt;
&lt;p&gt;Just to review questions:&lt;/p&gt;
&lt;p&gt;Again there is no actual schematic on 21540/52840 interface of the nrf21540DK in the user guide.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;1. Can you provide a schematic for this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I see some application examples for &amp;quot;light bulb&amp;quot; and &amp;quot;light switch&amp;quot; using 21540 and&amp;nbsp; 82540 in Visual Studio Coder.&lt;br /&gt;2.Are all the drivers for TX and RX signals etc. to 21540 interface are available in the examples and SDK?&lt;/p&gt;
&lt;p&gt;3. Can I use K-config in VS to configure 21540 including gain parameter?&lt;br /&gt;4. Is the configuration for the 21540 being written through the 52840 SPI or ?&lt;br /&gt;5. Can I write the USB port of the 52840 chip to set the gain on 21540 (not using Jlink debugger) and how?&lt;br /&gt;&lt;br /&gt;Thanks again,&lt;br /&gt;Jorgen&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/364256?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 13:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab7f7018-8bc5-44f4-b050-bd36774313f8</guid><dc:creator>user114890</dc:creator><description>&lt;p&gt;Hello Kazi,&lt;/p&gt;
&lt;p&gt;I have seen the&amp;nbsp;schematic in the link you provided.&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/nRF21540/Downloads?lang=en#infotabs"&gt;https://www.nordicsemi.com/Products/nRF21540/Downloads?lang=en#infotabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This &lt;span style="text-decoration:underline;"&gt;only&lt;/span&gt; shows the nrf21540. It does not show a nrf528xx or another SoC connected.&lt;br /&gt;Can I assume the net names in schematic are correct for the nrf52840 and there are &lt;span style="text-decoration:underline;"&gt;no other&lt;/span&gt; components on these nets needed on the nrf528xx side?&lt;br /&gt;&lt;br /&gt;In regards to SPI interface:&lt;br /&gt;Sorry, just to be a bit more clear.&lt;br /&gt;I assume that any real time control would be with done with GPIO such as for TX and RX etc. since fast switching is needed. So it would be &amp;quot;SPI and GPIO&amp;quot;&lt;br /&gt;However if I want to change gain parameter in real time is there a API command (BDB, or a specific &amp;quot;21540 command&amp;quot;) for this I can send to the USB port of nrf52840 which would then be sent to SPI interface to nrf21540 to set gain?&lt;br /&gt;&lt;br /&gt;The links you sent to the other tickets are &amp;quot;private&amp;quot; which I can&amp;#39;t see.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;Jorgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/364152?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 09:07:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd28fb27-a42b-462d-846d-0cf8d6bde550</guid><dc:creator>user108933</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;I&amp;#39;m looking for reference schematic for the interface between nrf52840 (or similar) and the nrf21540 . Is there a simpler version than the developer kit user guide version in 21540 section? Have to trace it all out and can easily miss something.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We have schematic diagram for nrf21540&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/nRF21540/Downloads?lang=en#infotabs"&gt;nRF21540 RF FEM - Downloads - nordicsemi.com&lt;/a&gt;&lt;strong&gt;.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Also is there some documentation and examples on how to write to nrf528xx USB port (not the usb/jlink on eval board) so I can configure the nrf21540 gain and some other parameters using the spi interface of the nrf52840?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Using only SPI interface interface is not supported, either spi and GPIo or only GPIO. There are some similar devzone post&amp;nbsp;&lt;a href="https://test-devzone.nordicsemi.com/f/nordic-q-a/69938/spi-vs-io-interface"&gt;SPI vs IO interface - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone (nordicsemi.com)&lt;/a&gt;,&amp;nbsp;&lt;a href="https://test-devzone.nordicsemi.com/support-private/support/276829"&gt;https://devzone.nordicsemi.com/support-private/support/276829&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://test-devzone.nordicsemi.com/support-private/support/282533"&gt;https://devzone.nordicsemi.com/support-private/support/282533&lt;/a&gt;&amp;nbsp;you can look at.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/363985?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:13:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d0ab59a-2bc8-46f3-a133-ebce8bbe501d</guid><dc:creator>user114890</dc:creator><description>&lt;p&gt;Thanks Kazi!&lt;br /&gt;I&amp;#39;m also wondering if Nordic provides all the access to configuration of the nrf21540 in Visual Studio Connect and does all the real time TX and RX operations have examples that can be used so I don&amp;#39;t have to figure this out myself?&lt;br /&gt;&lt;br /&gt;Can all these configuration be included in config file for nrf52840 and then the nrf52840 configures the nrf21540 on powerup through GPIO serial port etc.? Such as &amp;quot;Tablet 3 MCU to FEM&amp;quot; in 21540 user guide. MCU would be the nrf52840 in this case.&lt;br /&gt;Perhaps this is obvious, but it&amp;#39;s not clear what real time functions Nordic provides.&lt;br /&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf21540 interface to 528xx</title><link>https://test-devzone.nordicsemi.com/thread/363960?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 13:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d5d3f2-8001-4c97-b02c-c8134a84e5a5</guid><dc:creator>user108933</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have started looking at your case. I will get back to you later.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>