>Hi
>
>I have a project where I need to host a CDC on an STM32F
microcontroller.
>The usarts are in use hence the need for the CDC.
>
>I have found library code from STs cube which configures the USB to host
a
>CDC. The problem I have is making my application talk to the device.
>Obviously when a USB to serial adapter is connected to a windows PC a
COMx
>interface is created which can then be connected to by an application.
>What I'm not clear on is how I would make the firmware in my STM32 talk
to
>the CDC so that serial data can be passed to a connected serial device.
>
>Can someone give me some hints on how to connect to the CDC device
>please?
>
>Thanks
>
>Andrew
>---------------------------------------
>Posted through http://www.EmbeddedRelated.com
Hi
I have a project where I need to host a CDC on an STM32F microcontroller.
The usarts are in use hence the need for the CDC.
I have found library code from STs cube which configures the USB to host a
CDC. The problem I have is making my application talk to the device.
Obviously when a USB to serial adapter is connected to a windows PC a COMx
interface is created which can then be connected to by an application.
What I'm not clear on is how I would make the firmware in my STM32 talk to
the CDC so that serial data can be passed to a connected serial device.
Can someone give me some hints on how to connect to the CDC device
please?
Thanks
Andrew
---------------------------------------
Posted through http://www.EmbeddedRelated.com