cancel
Showing results for 
Search instead for 
Did you mean: 

Problem identification USB CDC Device

vlr
Associate II
Posted on October 13, 2015 at 15:15

Hi, I'm using STM32f407 for a USB project. I use CDC class (STM32_USB_Device_Library) for implementing USB device on my OLIMEX EVAL board.

When I connect my board to PC, it appear as VCP, as shown in the figure attached (1).

It's correct?

My

usbd_desc.c

and

usbd_cdc.c

  are attached. Are correct?

I don't have implemented

usbd_cdc_interface.c,

it's a problem for the configuration of device?

Thanks for your help.

#cdc #vcp #device #stm32f407 #usb
2 REPLIES 2
Amel NASRI
ST Employee
Posted on October 15, 2015 at 18:07

Hi ragazzi.valerio,

For STM32F4, the USB library to be used is STM32_USB-Host-Device_Lib_V2.1.0 (http://www.st.com/web/en/catalog/tools/PF257882).

I suggest you use the example STM32_USB-Host-Device_Lib_V2.1.0\Project\USB_Device_Examples\VCP.

-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.

vlr
Associate II
Posted on October 16, 2015 at 11:25

Thanks

for

your answer

Mayala,

but

in that example

the

communication

is via

uart

,

but

I want

to communicate

exclusively

via USB

.

There is something wrong

in my

reasoning

?

Thank you :)