<?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>Usb Tx succes event missed in Nordic&amp;#39;s SDK stack</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22907/usb-tx-succes-event-missed-in-nordic-s-sdk-stack</link><description>Hi, Nordic!
I have used NRF52840 and SDK 13.0.0.
From Errata: 
 
 3.18 [104] USBD: EPDATA event is not always generated 
 
 
 Workaround 
 
 
 Use the USB stack provided in Nordic&amp;#39;s SDK. 
 
 We have used USB stack from latest SDK. But event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 17 Jul 2017 12:00:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22907/usb-tx-succes-event-missed-in-nordic-s-sdk-stack" /><item><title>RE: Usb Tx succes event missed in Nordic's SDK stack</title><link>https://devzone.nordicsemi.com/thread/90102?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2017 12:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d435bf5f-02d9-49f6-9044-faa2552c484a</guid><dc:creator>Radoslaw Koppel</dc:creator><description>&lt;p&gt;I have tested the program with the newest netlist (internal pre production). After the transmission from the device was started I was able to send 50 MB of data without hang, while in the sampled chip it hangs during sending 300 KB.&lt;/p&gt;
&lt;p&gt;I believe it was proven that the problem would not be present in final production production chip. I would leave internal task for that problem but it would have low priority and would be solved if there would be time for that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usb Tx succes event missed in Nordic's SDK stack</title><link>https://devzone.nordicsemi.com/thread/90100?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 13:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fe52b30-3c02-4ed1-bd7b-51c3d4ee039c</guid><dc:creator>Radoslaw Koppel</dc:creator><description>&lt;p&gt;I have to admit I am not sure if we did test such scenario where tx and rx transfers are processed simultaneously. I would investigate it further but good information is that anyway there would not be such problem in the final chip.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usb Tx succes event missed in Nordic's SDK stack</title><link>https://devzone.nordicsemi.com/thread/90101?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 08:13:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6248d764-14ed-4f05-9f6e-9b6fb8a40c95</guid><dc:creator>Vlad Mokhnachov</dc:creator><description>&lt;p&gt;My defines:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define NRF_DRV_USBD_PROTO1_FIX 1
#define NRF_DRV_USBD_PROTO1_FIX_DEBUG 0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Debug defenition only makes log information.
If I have made only transfers from NRF to Host, it works up to 30 minutes.
If I add simultaneous tx and rx transfers, it works maximum few minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usb Tx succes event missed in Nordic's SDK stack</title><link>https://devzone.nordicsemi.com/thread/90097?ContentTypeID=1</link><pubDate>Fri, 23 Jun 2017 07:22:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6b16e56-6805-4e5b-8ac6-963c675a72bf</guid><dc:creator>Radoslaw Koppel</dc:creator><description>&lt;p&gt;Pan 104 would be corrected in the final product (actually it is corrected in the current netlist). It is really a lot of tricks inside the library to restore missed events and it was made to make it usable. During the tests we was doing rather huge amount of transfers and did not detect the situation that anything is lost (transfers up to 64 MB). Did you not disable the NRF_DRV_USBD_PROTO1_FIX_DEBUG definition from nrf_drv_usbd.c somehow?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usb Tx succes event missed in Nordic's SDK stack</title><link>https://devzone.nordicsemi.com/thread/90098?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 13:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a572ed0-9c7b-4f48-b84a-5dee4d7c8376</guid><dc:creator>Vlad Mokhnachov</dc:creator><description>&lt;p&gt;On controller:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;start usb tx transaction&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;in onUsbTxSuccessEvent start usb tx transaction&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;On host:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;readUsbPacket&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;onUsbRxEvent readUsbPacket&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Packets after some time are not transmitted.
For example, I have made 1000 tx request and I have only 999 txSuccessEvents.
If at this time make tx and rx transaction, working time decrease less then 1 minute.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Usb Tx succes event missed in Nordic's SDK stack</title><link>https://devzone.nordicsemi.com/thread/90099?ContentTypeID=1</link><pubDate>Tue, 20 Jun 2017 12:15:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2337b698-65b8-4e07-af95-b3d1ebb7a1e7</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Could you explain a bit more? How are you testing this? How can we reproduce it here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>