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

collecting data in EPOUT0 nRF52840 USB

To the kind attention of Nordic,

I'm studying the code in SDK 15.2 examples/peripheral/usbd/pca10056/blank/ses.
May please I ask more infos about the comment you put in the code:
/* NOTE: No EPOUT0 data transfers are used.
* The code is here as a pattern how to support such a transfer. */

My question is:
when working with the mentioned project I can get the usbd_setup_SetFeature routine run
when the SetFeature Report transaction is going on, but it seems the only info about data
that I can retrieve is their length.
Where is the actual data that operating system has been sending towards the nRF52840 device during
the SetFeature Report transition?

Do I need to enable this feature doing some configuration that it is not done in
the mentioned project (for example, I'd say to associate a memory buffer for collecting data
meant for enpoint 0 out?)

May I please have any guide line about that?
I'm doing a porting from nRF24 to nRF52840, and the SetFeature Report mechanism had been
adopted in order to send runtime configuration data from the host PC to the dongle device.

Hope my question is clear, feel free to ask me to add any other informations that you need
to reply the best. Thank you for your work and your kindness

Related