Teledyne LeCroy Conquest User Manual - Users Manual User Manual

Page 158

Advertising
background image

OTG Exerciser (Optional)

148

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

Figure 110 Inserting a Setup Transaction

Note: To enable HNP in the exerciser program, you must incorporate program lines

as shown in Figure 110. The exerciser code example shown in Figure 110
specifies the DUT SetFeature(b_hnp_enable) and sets up a role switch (HNP
Event). After the HNP is executed by both, the OTG Exerciser and the DUT,
the DUT becomes the host and the exerciser becomes the peripheral.
Additional exerciser code inserted after the lines shown is executed when the
OTG Exerciser switches back to being a host. The SetFeature(b_hnp_enable)
request is defined in a Data Block to use as data for the Setup Transaction.

Both Bus Idle and HNP cause the bus to suspend. However, for HNP, if the
OTG exerciser detects a disconnect from the B-Device DUT, it automatically
disconnects, regardless if the SetFeature(b_hnp_enable) is in the program or
not.

Avoid using Hubs

It is not recommended to use Hub(s) between the DUT and the OTG
Exerciser. To perform more extensive testing of DUT functionality, you can use
the Host Exerciser

Set_Feature

HNP Event

Advertising