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

Fastest way to dump data over USB

Hi,

I have a project where I am wirelessly streaming 16bit mic data at fs=50,000. I'm receiving that data on another nRF52840 dev board. I've ensured that the data doesn't get dropped over the BLE using 2Mbps.

Now my problem is that I'd like to stream that data to my computer over USB. I've set up USB CDC, and am just dumping the packets using the NRF_LOG_RAW_HEXDUMP_INFO macro. Unfortunately, I'm only able to stream about 7.5KB before I start to drop logs. Am I misunderstanding the throughput limitations of USB? I think I'm missing something fundamental here. 

What would be the most efficient way to stream data from an nRF52840 dev board to another machine? I need to support up to 1.6Mbps.

.

Parents Reply Children
No Data
Related