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.

ULPI-PHY initialisation and to read-write data packets

Other Parts Discussed in Thread: DM3730

hey,

we are working on enabling ethernet communication on beagleboard which uses DM3730. we have learnt that we should initialize USB Stack in the first step..

how to initialize in ULPI-PHY mode Using HS USB2.... what are the registers to be used to initialize??

how to send Data after initialization?? Is it possible to send the Data in polled mode??

  • Anup,

    Please refer linux EHCI driver implementation at,

    http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=blob;f=drivers/usb/host/ehci-omap.c;h=07db0d80d8f6a4b186d3de6638cb3affc2c4812f;hb=adcd067326836777c049e3cb32a5b7d9d401fc31

    The related files are drivers/usb/host/ehci-omap.c  // arch/arm/mach-omap2/usb-ehci.c

    Ajay

  • Ajay,

    Thanks for the drivers.

    I have a more specific question.Using DM3730 We want to communicate to USB 3320(transceiver) which is present on the same board (Beagle board-xM).

    which mode should we use- ULPI_PHY mode or the ULPI_TLL  mode?

    regards.

  • You should be using ULPI PHY mode. TLL mode is only used in transceiver less connections

    Ajay

  • To send data/commands to  a  PHY (USB3320) from DM 3730(on Beagleboard) is it possible only through  sending Packets?

    If so how to generate packets?

    kindly help.

    regards,

    Anup.

  • Anup,

    Please refer the TRM for DM37x and go through the USB host chapter. You would see INSNREG05 register.

    Refer below linux driver for more details, [look inside omap_ehci_soft_phy_reset]

    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/usb/host/ehci-omap.c;h=55a57c23dd0feac7a07ce10ff5208900564d696d;hb=ca56a95eedcc95f8fea7b49c87565cd961d74fe2

    Ajay

  • hi,

    I am working on a TI4430 based platform. I want to enable ULPI in the kernel (3.4.34) code. Which files are required to modify and what changes are required?

    I am not seeing any ulpi init call also anywhere.

    Thanks,

    Puneet