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

USB MSC BULK using more endpoints.

Hi.

I am using nRF52840 as a USB mass storage device with SD card. I came across the docs stating that the total number of BULK endpoints available are 14 (7 IN, 7 OUT).

I am just starting out with the MSC and was wondering whether I can get higher transfer speed(current transfer rate:355KB/s) between the SD card and PC by using more bulk endpoints.

The example usbd_msc example has the following in the main.c @ line 203. Can this be modified to include more endpoints?

/**
 * @brief Endpoint list passed to @ref APP_USBD_MSC_GLOBAL_DEF
 */
#define ENDPOINT_LIST() APP_USBD_MSC_ENDPOINT_LIST(1, 1)

/**
 * @brief Mass storage class work buffer size
 */
#define MSC_WORKBUFFER_SIZE (1024)

Related