This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/AM5746: "Clear Feature request" in "USB Bulk Device Class Driver"

Guru 10235 points
Part Number: AM5746

Tool/software: TI-RTOS

Hello, TI Experts,

 

Our customer sent us questions about "USB Bulk Device Class Driver" in PROCESSOR-SDK-RTOS-AM57X.

 

Question:

- Could you tell us how to recognize "Clear Feature request" in "USB Bulk Device Class Driver"?

- What is Receive Channel Events from "Clear Feature request" from Device side?

- Are there any recommended way to use call-back function such as "tUSBDBulkDevice:pfnRxCallback、pfnTxCallback"?

 

Best regards,

  • Hi,

    What is P-SDK RTOS version you referred to? And clear feature request is inside the USB driver pipe write and read functions, can you explain the background of this question?

    The callback is in the interrupt context and the example showed the usage.

    Regards, Eric
  • Hi,

    Thank you very much for your kindness.

    I really appreciate your help.

    I will send the answer to the customer including your question.

    Best regards,

  • Hi,

    Thank you very much for your kindness.
    I really appreciate your help.

    They sent us their using PDK version like below;
    - pdk_am57xx_1_0_11
    - pdk_am335x_1_0_12
    (At that time, they don't send us the back-ground, sorry.)

    And they sent us additional questions.

    Question:
    1: How to know "Standard Device Request" (such as Clear Feature) from user application?
    - They found related description such as "USB_BREQUEST_CLEAR_FEATURE" in pdk.
    - But they don't found any source code or example by using "USB_BREQUEST_CLEAR_FEATURE".
    2: How to know "Resume" and "Suspend"?
    - They found related description such as "pfnSuspendHandler,pfnResumeHandler" in usblib.h.
    - But they don't found any source code or example by using "pfnSuspendHandler,pfnResumeHandler".

    Best regards,
  • Hi,

    I created the new thread to focus on this topic.
    So, I'd like to close this thread.

    Best regards,