This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Usb Tx succes event missed in Nordic's SDK stack

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?

Update: In attachment a modified example from SDK.

  1. Open serial port in terminal.

  2. Push button 1 for begin tx transfer.

  3. Send some data from host to device.(I have pressed any key in Putty by minute)

  4. When tx transers stopped press again button 1 and look in log.(TxSuccess = TxRequested - 1; in host we can see all TxRequested transfers)

My results:tx missed event

Project:usbd_cdc_acm.7z

Update 2: Rx transfer event can also missed.

Related