AnsweredAssumed Answered

BF527 USB Test Mode

Question asked by Jimmy32 on May 23, 2012
Latest reply on May 29, 2012 by SrinivasG

Hi,

 

We are using USB host driver, and we want to check data pin impedance,

Oscilloscope officer told us have to send Pattern signal.

 

I'm try below flow, but it seem have no effect

 

adi_dev_Control(pUsbCoreData->pPddHandle,

                        ADI_USB_CMD_SETUP_RESPONSE,

                        (void*)ADI_USB_SETUP_RESPONSE_ACK);

 

// set data end - no data phase for test mode

adi_dev_Control(pUsbCoreData->pPddHandle,

                        ADI_USB_CMD_SETUP_RESPONSE,

                        (void*)ADI_USB_SETUP_RESPONSE_ACK_DATA_END);

 

//issue i/o control with the requested test mode

adi_dev_Control(pUsbCoreData->pPddHandle,

                       ADI_USB_CMD_ENTER_TEST_MODE,

                        (void*)(USB_TMODE_TEST_PACKET<<8));

 

Can you tell me anything about this problem.

Outcomes