Skip to main content
tatsuo
Associate
July 2, 2019
Question

Who know USB transfer spped STM32L4?

  • July 2, 2019
  • 3 replies
  • 825 views

I am designing a data logger with STM32L4.

I want to transfer the data stored in STM32L4 to a Windows 10 PC by USB CDC.

USB full speed transfer is 12Mbps and transfer overhead at CDC overhead, so I think STM32L4 can be about 4 to 6Mbps.

Who is know transfer speed can be?

This topic has been closed for replies.

3 replies

After Forever
Senior III
July 2, 2019

I think your estimations are accurate; I remember approaching about 800KB/s speeds using STM32F407's USB FS CDC, which is a bit higher than your estimated 6Mbps.

tatsuo
tatsuoAuthor
Associate
July 3, 2019

thank you for your comment.

tatsuo
tatsuoAuthor
Associate
July 4, 2019

hi After Forever and everyone

I want your suggestion.

I connected a laptop (Windows 10) and STM32L4 (60 MHz) with a USB cable.

90 Kbytes of data were sent from the PC to the STM32L4 internal RAM using the USB FS CDC.

The transfer time was 7 seconds.

It is about 103 kbps.

I think it's slow, is it like this?

STM32F7 has faster clock than STM32L4 CPU.

Do you think that the clock speed is fast and the communication speed is fast?