2017-12-31 01:30 AM
I'm using STM32F405.Now I need to communicate with PC and controller using USB i.e when I connect the USb to my PC and controller ,when I sends data from the MY PC, the USB understands the those characters and send in to micro controller. how to do it??
I don't want to add any serial to usb converter,there will be direct communication between
PC<->USB<->STM32F4
Thank you.
2017-12-31 05:04 AM
Asked the same question three times, don't do that.
The chip supports USB directly, you must write VCP, MSC, HID, etc code on STM32F4
2017-12-31 09:12 PM
Thank you.
Its my apology.Due to transmission error i post 3 times.
2018-01-01 05:31 AM
I guessed that would be the reason.
The forum is currently - and has been for a number of weeks - seriously broken!
Anyhow, it's always worth including a note if you're repeating a post because you're not sure if the previous attempt worked.
2018-01-01 05:35 AM
I dunno if links to other threads will work, but:
2018-01-01 05:36 AM
Ha ha - no:
An unexpected error has occurred<rolls-eyes>
2018-01-01 08:55 PM
Hello,
In cubemx i did following settings
USB_OTG_FS set to : Device_Only
USB_DEVICE set to :Communication device class(Virtual Port Com).
Is it right settings to communicate with pc by USB?
I just want to communicate with PC by using USB Standard Protocol (like UART).
Which API is useful for Transmit and receive?
Thank you.
2018-01-01 10:53 PM
After installing the virtual com port driver till i faced this issue.
Driver not installed properly.
2018-01-02 04:35 AM
pls reply.
2018-01-02 06:41 AM
Try navigating to C:\Program Files (x86)\STMicroelectronics\Software\Virtual comport driver\Win8
and double click on dpinst_amd64.exe (for 64bit windows) or dpinst_x86.exe (for 32 bit windows), then try again.