Question
STM32F4 multiple USB devices?
Posted on October 09, 2013 at 21:15
Hi!
I would like to use the USB interface of the STM32F4 in device mode such that it appears on the bus as two separate devices (a virtual COM port and a vendor-specific device) using ST's USB implementation (http://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/PF257882). I was able to use the VCP example provided by ST, and could also create a vendor-specific interface, but I don't know how to combine both into a single program. I looked at the dual-core example, but as far as I understand, this only works if one device uses the full-speed core and the other device the high-speed core. I also tried to create a single USB configuration with two interface descriptors (one for the VCP, the second for the vendor-specific interface), but this wasn't successful either. Can anybody please explain how such a multi-device setup can be implemented with the STM32F4? Thanks and kind regards, Markus #stm32f4-usb-multiple-devices