2015-10-13 06:15 AM
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? Myusbd_desc.c
andusbd_cdc.c
are attached. Are correct? I don't have implementedusbd_cdc_interface.c,
it's a problem for the configuration of device?
Thanks for your help.
#cdc #vcp #device #stm32f407 #usb2015-10-15 09:07 AM
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.
2015-10-16 02:25 AM
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 :)