cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F302 as USB Virtual Com Port Device.

tinymanta
Associate II
Posted on August 11, 2015 at 13:40

I am trying to use STM32Cube to generate a VCP Usb device framework for the STM32F302CB micro.

It works fine for a STM32F405 chip and a STM32F103 chip.

But on the 302, it just wont enumerate properly?

The only differences I can see are the 302 supports USB Device only, while the others have OTG support.

Has anybody got the STM32F302 working as a usb device using the HAL drivers and STM32Cube?

#stm32f3 #usb #vcp #device
1 REPLY 1
Amel NASRI
ST Employee
Posted on August 13, 2015 at 11:27

Hi evading,

You may start with the example available under STM32Cube_FW_F3_V1.2.0\Projects\STM32303C_EVAL\Applications\USB_Device\CDC_Standalone and port it to your hardware.

This example is already tested with STM32F3 eval board.

You may compare your code and the one implemented in this example as well as your own hardware and STM32303C_EVAL one.

-Mayla-

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.