XMOS's Device Control is used to configure and control an XMOS device from a host over USB, SPI, I2C or xSCOPE. We are making a USB microphone array, so USB is used here.
A host running Windows, Linux or macOS can access the device using libusb.
For Windows, the usb device requires a driver. Fortunately, there is a handy tool called Zadig which can help us install a driver for the device.
We can use libusb's python library pyusb to access the device. Here is a snippet:
XMOS's Device Control is used to configure and control an XMOS device from a host over USB, SPI, I2C or xSCOPE. We are making a USB microphone array, so USB is used here.
A host running Windows, Linux or macOS can access the device using libusb. For Windows, the usb device requires a driver. Fortunately, there is a handy tool called Zadig which can help us install a driver for the device.
We can use libusb's python library pyusb to access the device. Here is a snippet: