cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 USB/RS232

cesareconte
Associate II
Posted on September 04, 2008 at 04:21

STM32 USB/RS232

3 REPLIES 3
cesareconte
Associate II
Posted on May 17, 2011 at 12:43

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

Cesare

16-32micros
Associate III
Posted on May 17, 2011 at 12:43

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.

cesareconte
Associate II
Posted on May 17, 2011 at 12:43

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