beautypg.com

Define otg device configuration, Create exerciser program – Teledyne LeCroy Conquest User Manual - Users Manual User Manual

Page 162

background image

OTG Exerciser (Optional)

152

Define OTG Device Configuration

Programming the OTG device is performed in the dialogs of the Device
Structure and Class Request\Other Descriptors tabs. The procedural steps for
programming is identical to that described for Device Emulation starting on
page 130.

Differences from Device Emulation

The OTG DRD Setup dialog opens with a default hierarchy as shown in
Figure 109. You can add configurations to total 3. Each configuration by
default opens with one interface. You can add interfaces to total 2 per
configuration. Each interface by default opens with one Alternative Setting
with one endpoint. You can add Alternative Settings to total 3 for each
interface, but no more than 3 total for the Device. A Device is limited to a total
of 4 endpoints. You can enter descriptor values at each level of the hierarchy.
In addition to support for most standard requests defined for OTG, the Device
can be configured to respond with up to four arbitrary standard request data
descriptors and up to seven String Descriptor strings and to acknowledge up
to eight class requests.

Create Exerciser Program

To program the OTG Exerciser, select the Program Exerciser Tab.
Programming the OTG Exerciser is identical to programming the Host
Exerciser as described starting on page 67. The following differences apply:

Not all of the commands available for the Host Exerciser are available for
the OTG Exerciser. Commands not applicable to OTG are grayed out.

The OTG Exerciser speed is set in the Device Structure Dialog (See
Figure 109).

The OTG Exerciser loop counter is set in the Exerciser Program dialog.

Note: This step is not necessary if you choose to operate the OTG Exerciser as an

SRP capable peripheral only.

Note: You do not need to set an HNP event to perform HNP. This is done

automatically when the OTG Exerciser is conditioned for HNP by the

A-Device. After completing the exerciser program as a host, the
OTG Exerciser automatically returns control back to the A-Device.