<?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>5340 + 21540 timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126393/5340-21540-timing</link><description>Hi, 
 The attached screenshot shows a section of an air-trace for the 5340 running a commercial LE Audio stack. From the rising edge of the logic inputs, it can be seen that the 5340 RADIO_START task is triggered before FEM_TXEN is asserted. This would</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jan 2026 15:08:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126393/5340-21540-timing" /><item><title>RE: 5340 + 21540 timing</title><link>https://devzone.nordicsemi.com/thread/558060?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 15:08:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16e434d4-1769-4ced-b1b4-b54bc1db8544</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;&amp;gt;&amp;nbsp;&lt;span&gt;So something is off the way the FEM is being controlled.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Agreed. I can look into this. Just wanted a second opinion.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Many thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;ac&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 + 21540 timing</title><link>https://devzone.nordicsemi.com/thread/558044?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 14:10:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30bbac67-833f-4052-bc7d-c8889fd0fadc</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Ok, this looks more normal with regards to the default state of the PDN pin, but it is being de-asserted briefly during the transmission in the first plot. This will cause the nRF21540 to exit TX the state and return to PDN:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1767708615598v5.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;So something is off the way the FEM is being controlled.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 + 21540 timing</title><link>https://devzone.nordicsemi.com/thread/558038?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 13:52:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68bbd271-6abe-4588-8dd1-ec3a9c55e3be</guid><dc:creator>skajam66</dc:creator><description>&lt;p&gt;Hi Bendik,&lt;/p&gt;
&lt;p&gt;Many thanks for your response.&lt;/p&gt;
&lt;p&gt;On your last comment about the 21540 PDN pin, the screenshot that I sent was zoomed in so that you could see the timing to the 5340 and 21540 signals. Below, I have zoomed back out and you can see that the PDN pin is being deasserted between transmissions.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2026_2D00_01_2D00_06-at-13.48.44.png" /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;ac&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 + 21540 timing</title><link>https://devzone.nordicsemi.com/thread/558033?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 13:25:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4d6ad61-226f-44b6-a728-e09f273a2412</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This timing is not normal at all, when the start task is triggered the radio is already ramped up and the carrier is already started:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1767703950450v2.png" alt=" " /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf5340/page/radio.html#ariaid-title7"&gt;https://docs.nordicsemi.com/bundle/ps_nrf5340/page/radio.html#ariaid-title7&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The FEM_TXEN should have been asserted &amp;quot;long&amp;quot; before the start task.&lt;/p&gt;
&lt;p&gt;The nRF21540 needs a minimum of 27.5us from power down to TX, so the order the should be PDN pin asserted followed by TX at least 17.5us later. This should happen early enough so that the FEM is in TX mode before the radio is finished ramping up. The rampup time of the radio is 40us, so the startup of the FEM can be started at the same time as the TXEN task is started.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf21540/page/chapters/device_control/doc/state_transition_timing.html"&gt;https://docs.nordicsemi.com/bundle/ps_nrf21540/page/chapters/device_control/doc/state_transition_timing.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here is a example plot of the correct timing of the PDN and TXEN pin in relation to RF out of the radio:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1767705566383v3.png" alt=" " /&gt;&lt;br /&gt;Channel 1 is showing a power detection connected to the output of the ANT pin of the nRF5340, the transition from high to low is due to the radio transmitting.&lt;/p&gt;
&lt;p&gt;Ignore the first pulse on the TX_EN pin, this was a artifact of the measurement setup.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/5123.Screenshot-2026_2D00_01_2D00_06-at-12.14.42.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;The behavior of the PDN pin is also not correct,&amp;nbsp; In normal operation the PDN pin will be low by default, keeping the nRF21540 in power down by default, only exiting power down for the radio events, TX/RX.&amp;nbsp; Here the nRF21540 is being kept on by default, and momentarily shut off during the transmission.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>