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.

TUSB1210: ULPI implementation

Part Number: TUSB1210

Hi TI,

I want to implement ULPI protocol,

in USB2.0 spec. said we have 4 type data packet consist of Token, Data, Handshake and  start of paket.

in ULPI spec. didn't hint about data packets. and just hint to PID then D1, D2, ...

do I should  send  same 4 type Data packets ? or PID is enogh?

Thanks.

  • Hello Roya,

    I would recommend you to refer to ULPI specification rev 1.1, specifically to section 3.8
    As you can see there, you could use the "TX CMD" and "RX CMD" ULPI command bytes along with an specific PID value to be able to transmit or receive an specific packet (which is identified by the PID value as defined by the USB 2.0 specification at section 8.3.1)

    Regards,
    Jorge
  • Hi Jorge,

    OK thank you.

    I have another question about TUSB1210,

    what is exact meaning of Host, peripheral , OTG device? can you explain me with an example for each of these 3 modes?

    in my project,  I have an FPGA custom board that drives TUSB1210.

    **when I connect my board to PC, in fact my board is in witch of these 3 modes? 

    And

    **when I connect a usb-flash memory to my board, in fact my board is in witch of these 3 modes?

    Thanks.

  • Hello Roya,

    My apologies for the delay in this response.

    If connecting your implementation to a USB Host Controller, it would need to take a peripheral role. But if you connect your implementation to a device, it would need to take the Host role.
    On the other hand, an OTG device has the capability to negotiate between a host and a peripheral role.

    I would recommend you to take a look a the OTG specification for additional details.

    Regards,
    Jorge
  • Hi
    Thanks a lot,

    OK, so :

    **when I connect my board to PC, in fact my board is Peripheral

    And

    **when I connect a usb-flash memory to my board, in fact my board is Host.

    Thank you TI,
    Roya