USB Host and Device Operation

The qs-scope application can operate either as a USB host or as a device with the mode being selected from the Setup control group.

USB Device

In USB device mode, the qs-scope application configures the EK board to allow connection to a USB host. A packet-based, application-specific protocol is defined to allow communication with an application on the host system. The LMScope Windows application implements this protocol and uses it to remotely control the qs-scope application and receive waveform data from it for display on the host system.

By default, the qs-scope application configures the USB controller for device-mode operation.

USB Host

In USB host mode, the qs-scope application acts as a host system supporting USB Mass Storage Class (MSC) devices. This allows MSC-compliant USB storage such as flash sticks to be connected to the board and accessed from the application.
In this mode, the EK board is responsible for providing power to the attached USB device assuming that the device is not self-powered. To support host operation, the board must be powered either by an external 5V DC power supply or via the "Debug USB" port connected to a PC.