Can a Micropendous3 in host mode speak to FTDI USB-serial converter ?

24 views
Skip to first unread message

Andrea Montefusco

unread,
Jul 5, 2012, 1:45:21 AM7/5/12
to microp...@googlegroups.com
Hi all,

I have a Micropendous3 and I am wondering if it is feasible to use it in order to control an USB
device that implements a serial.
Inside this the device there is a 'standard' FTDI chip, if I link to my Linux PC I can see it as
/dev/USB0.

The overall project would require to create (with Micropendous3) a sort of converter between an old
style RS-232 appliance (to interfaced via the AVR USART and proper level converters) and another
one, more recent, that exports an USB.

Could you point me to the relevant part of the LUFA code (if any) or just to an example ?
Many thanks in advance

*am*

---------------------------------------------------------
Andrea Montefusco iw0hdv http://www.montefusco.com
tel: +393356992791 fax: +390623318709
---------------------------------------------------------

Opendous Inc.

unread,
Jul 5, 2012, 4:37:33 PM7/5/12
to Micropendous
Hi,

Yes, it is possible to host generic USB UART dongles using an
AT90USB???7-based board.

You would need to load the Micropendous3 with VirtualSerialHost
firmware. Connecting a USB UART dongle will allow you to pass data to
it over the USB AVR UART. One caveat is that the USB UART dongle must
be a standard CDC dongle. The LUFA firmware will not work with the
FT2232 for example since it enumerates as a compound device with two
CDC devices attached.
http://code.google.com/p/lufa-lib/source/browse/trunk/Demos/Host/ClassDriver/VirtualSerialHost/VirtualSerialHost.txt

If you also have a second USB AVR device, you can load it with
USBtoSerial firmware and connect it to the Micropendous3 (TX=RX,
RX=TX, GND=GND) to communicate with the hosted USB UART dongle through
the Micropendous3's UART.
http://code.google.com/p/lufa-lib/source/browse/trunk/Projects/USBtoSerial

On Jul 5, 1:45 am, Andrea Montefusco <andrea.montefu...@gmail.com>
wrote:

Andrea Montefusco

unread,
Jul 5, 2012, 5:42:18 PM7/5/12
to microp...@googlegroups.com
On 07/05/2012 10:37 PM, Opendous Inc. wrote:
> Hi,
>
> Yes, it is possible to host generic USB UART dongles using an
> AT90USB???7-based board.
>
> You would need to load the Micropendous3 with VirtualSerialHost
> firmware. Connecting a USB UART dongle will allow you to pass data to
> it over the USB AVR UART. One caveat is that the USB UART dongle must
> be a standard CDC dongle. The LUFA firmware will not work with the
> FT2232 for example since it enumerates as a compound device with two
> CDC devices attached.

Many thanks for answering,
alas the appliance that I would like to interface has the FTDI 232RL inside, and browsing on
Internet, it seems to me that it doesn't implement CDC at all.
Linux is able to show it as a standard serial port only because a specific driver is already
compiled in the recent kernels.
Reply all
Reply to author
Forward
0 new messages