<?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>ESB event handler not called</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21136/esb-event-handler-not-called</link><description>Hi all, I&amp;#39;m using SDK 13 and after turning on the HF clock, calling the following code. When I queue a TX packet, there are no errors from any of the nrf_esb_...() calls, yet the event handler is never called. I&amp;#39;ve changed NRF_ESB_MAX_PAYLOAD_LENGTH to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Apr 2017 09:51:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21136/esb-event-handler-not-called" /><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82710?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 09:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4fc0874-6976-47b6-a866-591995e7d877</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;I&amp;#39;m going to go right back to the demo programs which work, and start adding my code to it piece by piece and see where it starts to fall over. Thanks for having a look at this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82709?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 09:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ce6365c-7a82-476f-872c-cdd362c95538</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;It&amp;#39;s esb_ptx. It&amp;#39;s odd that the program works and transmits, but if I set a breakpoint in EVENTS_END there it doesn&amp;#39;t fire. Radio_IRQHandler is called with EVENTS_READY. I&amp;#39;m using Eclipse and GCC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82708?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 09:17:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5049c4c3-3cca-4dae-8037-58f03949b542</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I just tested what you describe here, changing NRF_ESB_MAX_PAYLOAD_LENGTH to 128, and it works without any problems.&lt;/p&gt;
&lt;p&gt;Which example do you test? esb_ptx or esb_low_power_ptx?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82707?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 08:20:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f957b69a-6e6d-4524-a89d-719bb67ce76f</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;Hi Kristin, I&amp;#39;ve just tried setting a breakpoint in the EVENTS_END section using the esb_ptx demo program and it&amp;#39;s not called then either, although it is transmitting as I can pick it up with another board.&lt;/p&gt;
&lt;p&gt;Is there something else I should be doing? I&amp;#39;m using a nRF52-DK board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82704?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 15:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d2459bd-0490-4d0f-9b77-225f1d0b4271</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried running in NRF_ESB_TXMODE_MANUAL_START mode, and it doesn&amp;#39;t call the Radio_IRQHandler function at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82706?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 12:49:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a434c1da-35b0-4088-acb1-14d2ef420ff5</guid><dc:creator>Steve H</dc:creator><description>&lt;p&gt;It&amp;#39;s calling Radio_IRQHandler and entering&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if (NRF_RADIO-&amp;gt;EVENTS_READY &amp;amp;&amp;amp; (NRF_RADIO-&amp;gt;INTENSET &amp;amp; RADIO_INTENSET_READY_Msk))
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;but it&amp;#39;s not calling it with EVENTS_END set.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure where to go from here. The setup looks the same to me as in the esb_ptx example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ESB event handler not called</title><link>https://devzone.nordicsemi.com/thread/82705?ContentTypeID=1</link><pubDate>Wed, 05 Apr 2017 12:26:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cfe114c-b9ff-4d97-aff3-e93985f37ad7</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;To check if the packet is being transmitted, could you set a breakpoint in  EVNTS_END in the Radio_IRQHandler and run the chip in debug mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>