Code for UART-to-USB Conversion with XS1

Technical questions regarding the XTC tools and programming with XMOS.
klausix
New User
Posts: 3
Joined: Mon Jul 09, 2012 8:55 pm

Code for UART-to-USB Conversion with XS1

Post by klausix »

Hi all!
I'm using an XS1-L01 in my application which also shall act as a UART-to-USB converter.
So when I connect it to my host it shall appear as a virtual COM interface.
But so far I couldnt find any source who implements this functionality on the XMOS.
Any hints where to look for...?

Thanks a lot!

B.r.
Klaus!


User avatar
rp181
Respected Member
Posts: 395
Joined: Tue May 18, 2010 12:25 am

Post by rp181 »

With XMOS, you would need to write your own driver to provide a VCOM port. instead, you can use a USB-UART converted, like a ftdi/SiLabs chip, that has drivers included.
User avatar
Ross
XCore Expert
Posts: 968
Joined: Thu Dec 10, 2009 9:20 pm
Location: Bristol, UK

Post by Ross »

Have you seen the examples here? https://github.com/xcore/sc_usb