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

Data transfer via USB

I need transfer data to/from NRF52840. 

I see I can do it by using function nrfx_usbd_ep_transfer - but don't see any examples. 

I want to make bulk endpoint and be capable to transfer up to 3 frames per time Slot.

  • Hi Alexander

    I would not recommend calling the nrfx_usbd_ep_transfer(..) function directly. In the examples it is handled implicitly by higher level USB modules such as app_usbd_cdc_acm.c or app_usbd_msc.c. 

    Do you need to use a particular USB class?

    How much data do you need to send in each frame, and by timeslot do you mean the 1ms USB timeslot?

    Best regards
    Torbjørn

Related