2008-09-03 07:21 PM
STM32 USB/RS232
2011-05-17 03:43 AM
I need to integrate an USB/RS232 converter onto an STM32 device.
I have compiled the ''VirtualCom'' demo with IAR tools and loaded it on a IAR-STM32 SK. The Demo works perfectly with a host running XP but not wit a host running Linux. Do someone already used the ''VirtualCom'' demo with a linux host? Regards Cesare2011-05-17 03:43 AM
Dear Cesare,
If I remember well you need to install a driver called ''usb serial gadget'' have a look at :http://www.kernel.org/doc/Documentation/usb/gadget_serial.txt
You need of course to configure the VID and PID of the driver as implemented in the STM32 demonstration. Hope this helps you , Please try it and if you succeed to get it working you can share it in this Forum :) Cheers, STOne-32.2011-05-17 03:43 AM
Hi STOne-32,
thanks a lot for your fast reply. During the night I made some other test and I was able to interface the ''VirtualCom'' demo with linux host using the driver usbser and specifying Vid and Pid regards Cesare