lib_xud: USB device library

FAVOURITE VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
4.0.1 2025-12-10 Adds support for Microsoft OS 2.0 descriptors VIEW HTML VIEW PDF ZIP
View older versions
4.0.0 2025-09-30 Adds support for high-bandwidth Isochronous endpoints (2 transactions per microframe) ZIP ZIP
3.0.1 2025-07-01 ZIP ZIP
3.0.0 2025-06-13 ZIP ZIP
2.4.0 2024-11-07 ZIP ZIP
INFO

Summary

The XMOS USB Device (XUD) library provides a low-level interface to USB. lib_xud is a software defined, industry-standard, USB library that allows you to control an USB bus via xcore ports.

The library provides functionality to act as a USB device only.

Features

  • USB 2.0 Full-speed (12Mbps) and High-speed (480Mbps)

  • Device mode

  • Bulk, control, interrupt and isochronous endpoint types supported

  • A complete worked example of a HID mouse

Known issues

  • SOF tokens are not CRC checked on XS3 based devices (see tests/test_sof_badcrc) (#99)

Development repo

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

  • None

Support

This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support or using GitHub issues.

Scroll to Top