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

nRF52840 USB MSD Slow Write Speed

Hi, I have recently acquire a nRF52840 preview development board to prototype a USB MSD. With the example provided in the SDK V13, I tested the write speed and it was far from usable.

I am not sure if it is the problem of the NOR chip onboard but the problem shown to be a very slow write speed with only 177 KB/s, and the write is not consistant as well with the data transfer seemingly freezed half way and resume after quite a while.

I tested it with multiple PCs running Windows 10 but the problem appears to be the same.

Is the problem from the chip or it is inherent to the USB stack included in the SDK?

Thanks.

Parents
  • Last time we was testing the MSC speed of the stack itself it was around 700 KB/s (using dd on EMPTY drive - 512MB of zeros).

    Do not say that 177KBps is unusable for 8MB drive - it can be totally written in less than a minute. This is quite obvious that for bigger drive faster FLASH and background write algorithm should be used. The example here just shows how to use MSC class and we tried to keep it simple.

    When it comes to the "halts" you have described, this may relate to PAN 104 and the library is resuming from "lost event" situation. This would be corrected in the final product.

Reply
  • Last time we was testing the MSC speed of the stack itself it was around 700 KB/s (using dd on EMPTY drive - 512MB of zeros).

    Do not say that 177KBps is unusable for 8MB drive - it can be totally written in less than a minute. This is quite obvious that for bigger drive faster FLASH and background write algorithm should be used. The example here just shows how to use MSC class and we tried to keep it simple.

    When it comes to the "halts" you have described, this may relate to PAN 104 and the library is resuming from "lost event" situation. This would be corrected in the final product.

Children
No Data
Related