<?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>Softdevice Assertion with active timeslot API: Infinite retransmission of received package</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27533/softdevice-assertion-with-active-timeslot-api-infinite-retransmission-of-received-package</link><description>I&amp;#39;m currently working on an application using the timeslot API to be able to use the radio while it is idle. It is based on the nrf_esb shockburst implementation from SDK13, but somewhat modified. It is mostly running as a primary receiver (PRX). 
 Now</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Nov 2017 15:10:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27533/softdevice-assertion-with-active-timeslot-api-infinite-retransmission-of-received-package" /><item><title>RE: Softdevice Assertion with active timeslot API: Infinite retransmission of received package</title><link>https://devzone.nordicsemi.com/thread/108728?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 15:10:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24b9bd42-a382-4c81-b482-d1c32d42065b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@m.wagner: You can of course do that, but we utilize the SHORT so that the timing would be better and less work for the CPU.&lt;/p&gt;
&lt;p&gt;Usually in an assertion, we will try to reset the chip. If you want to stay in the assert handler, I would suggest you can think of disabling the radio in the assert handler ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Assertion with active timeslot API: Infinite retransmission of received package</title><link>https://devzone.nordicsemi.com/thread/108729?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 10:43:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7643114b-67ad-4a86-a7f4-bd158cec9aa4</guid><dc:creator>m.wagner</dc:creator><description>&lt;p&gt;@HungBui Thanks. I&amp;#39;m pretty sure the SHORTS-Register-setting is the actual reason it happens, as I use ESB with ACK and the DISABLED_TXEN bit is set in the SHORTS register. The SHORTS-register would actually get reconfigured in the interrupt-routine but the routine probably won&amp;#39;t get called when the softdevice asserts, so the RADIO transmits infinitely...&lt;/p&gt;
&lt;p&gt;I just tested this again and realised that the issue actually exists in the unpatched version of nrf_esb, too. So it is reproducible using the example you uplodaed in the &lt;a href="https://devzone.nordicsemi.com/question/85668/nrf52-multiprotocol-with-timeslot-esb/?answer=92614#post-id-92614"&gt;post I linked to&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It looks like it would make sense to have TXEN only be called from the interrupt routine instead of having it in the SHORTS register?&lt;/p&gt;
&lt;p&gt;EDIT: I just did that and it seems to work fine so far.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice Assertion with active timeslot API: Infinite retransmission of received package</title><link>https://devzone.nordicsemi.com/thread/108727?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 10:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e94a7f5d-ee3c-48b7-852c-2df9613f5638</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It could be difficult to tell what happens exactly when assertion occurs. Especially, there is a requirement that the application have to stop all peripherals before the timeslot finishes.&lt;/p&gt;
&lt;p&gt;Which state the softdevice was when you halt the CPU ? it&amp;#39;s advertising or in a connection ? Do you use any ACK in your ESB application ?&lt;/p&gt;
&lt;p&gt;Could you check the SHORT and PPI that connect to the RADIO ? I suspect these automation channel actually cause the infinite transmitting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>