USB I2C HID device?

Technical questions regarding the xTIMEcomposer, xSOFTip Explorer and Programming with XMOS.
T-5
Member
Posts: 13
Joined: Wed Jun 26, 2019 3:59 pm

USB I2C HID device?

Postby T-5 » Tue Apr 13, 2021 7:14 pm

Hi,

Sorry if this topic has already been discussed but i was not able to find anything, partly due to the fact that "usb i2c hid" all are words that will not produce any search results in this forum.

I have a XUF512 (Exact designation: XS2-UnA-512-FB236) running with UAC2 (12 channel i2s out, 6 channel i2s in).

What I'd like to add is a USB HID device with functionality similar to the CP2112 (https://www.silabs.com/interface/usb-br ... ice.cp2112) that allows the XMOS chip to act as an USB to I2C bridge.

Has this done before, are there any examples around?

Thanks in advance and best regards,
Jürgen
User avatar
mon2
XCore Legend
Posts: 1889
Joined: Thu Jun 10, 2010 11:43 am

Postby mon2 » Sun Apr 18, 2021 2:26 pm

You can study the following appnote on HID use and review the I2C example inside this document:

https://www.xmos.ai/download/AN00182:-U ... .2rc1).pdf
Precisely
Newbie
Posts: 1
Joined: Fri Nov 03, 2017 6:39 pm

Postby Precisely » Wed May 12, 2021 7:26 pm

Jürgen,

Have you made any progress with this, either finding existing example code or modifying existing sample code to make it work?

I'm looking to do the same thing (USB HID <==> I2C), although I need it to run alongside UAC2 (6 channel I2S in, 2 channel I2S out) and a virtual serial port (both of which I already have working simultaneously on the same device).

Thanks,

Ben

Who is online

Users browsing this forum: No registered users and 6 guests