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.

Setting TUSB1211 to device mode?

Other Parts Discussed in Thread: TUSB1211

We noticed even when we set TUSB1211 to device mode, default mode is host mode, we cannot see the USB host/device handshaking happening. But if we use a OTG cable to connect the board to device side, it worked fine.  Just wondering if there is anything we need to be aware of to be able to set the board or TUSB1211 to device mode.

thanks,

  • Hello TI Lady,

    Please provide the schematic of your design.

    Regards,

    Gerardo

  • Here are some additional questions:
    1. How do you turn on PSW pin in 1211? Setting bit 5 or 6 or both in OTG_CTRL register (offset 0xA) did not do anything.
    2. How do you turn on 1.5K pullup for FS mode and 45ohm series termination for HS mode? What do you need to program in addition to TERMSELECT bit in FUNC_CTRL register (offset 0x4)?
    3. Is there chirp logic built in? How is it enabled?

    I sent the schematic.
    thank you
  • TI Lady said:
    Here are some additional questions:
    1. How do you turn on PSW pin in 1211? Setting bit 5 or 6 or both in OTG_CTRL register (offset 0xA) did not do anything.
    2. How do you turn on 1.5K pullup for FS mode and 45ohm series termination for HS mode? What do you need to program in addition to TERMSELECT bit in FUNC_CTRL register (offset 0x4)?
    3. Is there chirp logic built in? How is it enabled?

    I sent the schematic.
    thank you

    I'm not privy to your schematic, but without this and waveforms I can't help with (1).

    For (2), I feel you need to read the ULPI specification that can normally be found here:

      www.ulpi.org/documents.html

    Look for ULPI_v1_1.pdf For some reason the site is currently down!

    For some background and a few missing details I would also recommend a look at utmi_plus1_0.pdf

  • Hello TI Lady,

    First a couple of recommendations:
    REFCLK must be 1.8v square wave only
    CHRG_POL: Input. Tie to GND to make CHRG_DET pin active low if unused

    Finally, if you are implementing this system to work in OTG mode, the ID pin is the signal that automatically determines the role of the TUSB1211. But if you wish to have a tusb1211 working only as device, please follow the recommendations below:

    ID: Input. Leave floating if unused or TUSB121x is Device mode only
    In device mode the U9 is not needed.

    Regards,
    Gerardo