Voting resources, early voting, and poll worker information - VOTE. ... Adafruit is open and shipping.
0

STM32F405- recommended USB data rate?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

STM32F405- recommended USB data rate?

by ramsh on Sat Aug 15, 2020 4:34 am

Hi,

I have STM32F405 (Adafruit CircuitPython 5.3.1 on 2020-07-13; Feather STM32F405 Express with STM32F405RG) that is connected to an RPI via USB-C to USB-A cable, I send data from the Feather to the PI by printing data to the serial, my question is from the PI side what is the recommended data rate to use:

ser = serial.Serial('/dev/ttyACM0', ??????, 8, 'N', 1, timeout=1)

Many thanks in advance!
Ram

ramsh
 
Posts: 114
Joined: Fri Apr 29, 2016 5:17 am

Re: STM32F405- recommended USB data rate?

by tannewt on Sun Aug 16, 2020 11:29 pm

Hi Ram, I usually use 115200. It doesn't actually matter though because USB will go as fast as it can. The data rate is only used if you actually transmit over UART at the other end.

tannewt
 
Posts: 1789
Joined: Thu Oct 06, 2016 8:48 pm

Re: STM32F405- recommended USB data rate?

by ramsh on Mon Aug 17, 2020 6:09 am

very well, thanks much!

ramsh
 
Posts: 114
Joined: Fri Apr 29, 2016 5:17 am

Please be positive and constructive with your questions and comments.