cancel
Showing results for 
Search instead for 
Did you mean: 

Sending large amount of data with USB

MAndr.233
Associate III

I'm currently facing a big problem. I've an MCU (STM32L4) connected to an SD card (SDIO) which stores tons of data (5Gb) from a microphone (ST MEMS). I need to send this data as fast as possible from SD card to my PC. With a serial port this is to slow, since the max baud rate of my MCU is 115kb/s.

How can I solve this? I'm thinking about using an FTDI module but for what I'm reading the speed is always limited by MCU baud rate. Best Regards

11 REPLIES 11

You did not tell us exactly which STM32 you use, but generally, on 'L4, there's only Full Speed USB.

JW

There are example programs in the CubeMX repository. Here are a few of them:

https://github.com/STMicroelectronics/STM32CubeL4/tree/master/Projects/32L496GDISCOVERY/Applications/USB_Device

JW makes a good points below about USB speed limitations.

If you feel a post has answered your question, please click "Accept as Solution".