0

USB BULK Example of nRF52840 & S140 (v6.0.0-6) & SDK14.1

cheon gravatar image

asked 2017-11-15 06:06:08 +0100

updated 2017-11-15 06:06:36 +0100

Hi,

Are there any examples of SDK examples that work with USB BULK communication?

Which example should I use to make usbd_hid_generic example work with BULK communication?

Context flow may not be smooth using Google Translate. Thank you.

edit retag flag offensive close delete report spam

1 answer

Sort by ยป oldest newest most voted
0
sigurdon gravatar image

answered 2017-11-15 12:51:58 +0100

updated 2017-11-15 12:52:26 +0100

Hi,

The USB Mass Storage Class example uses bulk transfers, so you can take a look at that example if you are interested in bulk transfers. The usbd_hid_generic example does not use bulk transfers, since the HID specification defines that HID class devices should use Interrupt transfers and not bulk transfers.

From page 82 in the Device Class Definition for Human Interface Devices (HID) Specification

A device may have one or more Interrupt pipes. An Interrupt In pipe is used for stream-type data from the device and an optional Interrupt Out pipe may be used for low latency data to the device. Other types of pipes include Bulk and Isochronous. These two types of pipes are not used by HID class devices and are therefore not defined for use within this specification.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer. Do not ask a new question or reply to an answer here.

[hide preview]

User menu

    or sign up

Recent questions

Question Tools

1 follower

Stats

Asked: 2017-11-15 06:06:08 +0100

Seen: 21 times

Last updated: nov. 15