Usb Tx succes event missed in Nordic's SDK stack

Vlad230596 gravatar image

asked 2017-06-19 16:23:56 +0200

updated 2017-06-20 10:27:28 +0200

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's SDK.

We have used USB stack from latest SDK. But event "Tx success" is missed sometimes. In host side the last packet present.

What can You tell about this problem? Is this will be present in serial chips?

edit retag flag offensive close delete report spam

Comments

Could you explain a bit more? How are you testing this? How can we reproduce it here?

Petter Myhre ( 2017-06-20 14:15:08 +0200 )editconvert to answer

On controller:

  1. start usb tx transaction

  2. in onUsbTxSuccessEvent start usb tx transaction

On host:

  1. readUsbPacket

  2. onUsbRxEvent readUsbPacket

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.

Vlad Mokhnachov ( 2017-06-21 15:03:33 +0200 )editconvert to answer