cancel
Showing results for 
Search instead for 
Did you mean: 

Use STM32F401RE USB at 3-5 MBps speed with MBED os please suggest the class and source code.

CParm
Associate

Hi STM32,

I'm using STM32F401RE for communication with PC and want to send packet at 3-5 MBps speed.

I have to use MBED OS for deveopment kindly support for this also on my board 3x cryastal is not mounted only 2x so also want to conform my controller is running at 84Mhz or not.

Please help me on this.

Thanks & best regards.

2 REPLIES 2

The NUCLEO-F401RE does not have a USB connection directly to the target micro.

You'd need to add a high-speed PHY to get these types of speeds.

The F401 is provided with an 8 MHz clock from the F103 part performing the ST-LINK function.

If you want to test internal clocks, route to PA8 (MCO) and scope, or print out SystemCoreClock, etc.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
CParm
Associate

Hi Clive,

Thanks for reply there was typo "3-5 Mbps" is the speed. SystemCoreClock show 84000000 value.

Which class can be used for "3-5 Mbps" usb speed. I wired out Pin PA_11 and PA_12 for USB connection and run HID example on F401RE, CDC crash after 8-10sec.

Thanks & Best regards

Chinkit