XMOS module_usbhost High Speed support

Sub forums for various specialist XMOS applications. e.g. USB audio, motor control and robotics.
zoran4afc
Junior Member
Posts: 4
Joined: Wed Jul 12, 2017 3:44 pm

XMOS module_usbhost High Speed support

Postby zoran4afc » Tue Dec 04, 2018 8:37 am

XMOS Support suggested that I should ask the following question for the XCore Engineers here, on the forum.

In my current project I need to implement USB host with the UAC1 and
UAC2 generic drivers on the xCore 216 (working on audio_xk_216_mc
board).
In the USB Audio MFI Software I found the module "module_usbhost" with
the libUsbHostLLD_x200.a library inside.
I don't actually need the MFI functionality, I just need the "USB 2.0
High Speed" Host library.

I am not sure that libUsbHostLLD_x200.a supports "USB 2.0 High Speed",
because the UAC2 devices I connect to the board's USB port would use
only the "Full Speed".
I suspect that "High Speed" support is either disabled or not
implemented in the libUsbHostLLD_x200.a library.
Analysing the USB communication with an oscilloscope I found that the
XMOS USB host is ignoring "Device K Chirp" and the communication
resumes at the "Full Speed".
Please instruct me how to activate the "High Speed" support for the
libUsbHostLLD_x200.a library.
If that's not possible, can you make the source of that, or other
relevant library, available for me to try to implement the "High
Speed"? I have no problem programming in the XCore assembler.

Best regards
Zoran
User avatar
mon2
XCore Legend
Posts: 1298
Joined: Thu Jun 10, 2010 11:43 am
Contact:

Postby mon2 » Tue Dec 04, 2018 5:05 pm

Review this page:

https://www.xmos.com/developer/publishe ... 9.a&page=3

and see the parameter named desiredSpeed

These comments are for creating a high speed USB device with the XMOS CPU. You should also be able to apply one of the USB HS device function IPs for quick testing with a HS capable PC port.

2018-12-04_10-58-40.png
(34.45 KiB) Not downloaded yet
2018-12-04_10-58-40.png
(34.45 KiB) Not downloaded yet
zoran4afc
Junior Member
Posts: 4
Joined: Wed Jul 12, 2017 3:44 pm

Postby zoran4afc » Wed Dec 05, 2018 1:44 pm

Hello mon2,

thank you for quick reply.
The thing is, I need the host XMOS library with HS support, not the device library.
"module_usbhost" with the library libUsbHostLLD_x200.a is the host library, but it supports, apparently, only FS.
That module is a part of the "USB-Audio-Host-Software---MFi_2.0.3.zip" project.

Who is online

Users browsing this forum: No registered users and 17 guests