2x USB 2.0

      For a test project we need two USB 2.0 interfaces. The usage of a USB hub with one USB 2.0 is not possible, because the bandwidth would be too low. There are two USB interfaces on the efusA9 connector, but one is a device port. Is it possible to change the behavior of this port to a host port?

      Post was edited 1 time, last by “HWeber” ().

      Dear Mr. Weber,

      if you want to use two USB 2.0 interfaces without an USB hub, you can use the USB OTG pins for the second USB. The id pin of the USB OTG is on pin 223 so it auto detects if you connect there an device or host. So the USB controller knows if there is an e.g. USB stick connected. If there is an USB stick the id pin goes low and the USB controller set the 5 V supply voltage automatically. So you have to configure the supply output pin in the pinctrl_usbotg settings. You have to add the Pad EIM_D22 which is responsible for the 5 V supply voltage.

      Source Code

      1. pinctrl_usbotg_2: usbotggrp {
      2. fsl,pins = <
      3. MX6QDL_PAD_EIM_D22__USB_OTG_PWR 0x30b0
      4. MX6QDL_PAD_ENET_RX_ER__USB_OTG_ID 0x17059
      5. >;
      6. };


      Best Regards

      Your F&S Support Team
      F&S Elektronik Systeme GmbH
      As this is an international forum, please try to post in English.
      Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.

      Post was edited 1 time, last by “fs-support_PJ” ().

      Hello, in which file can I find pinctrl_usbotg settings for efusA9 with quadcore, to use usb device as host? Is the path/file "/home/developer/Desktop/fsimx6-V3.0/build/linux-4.1.15-fsimx6-V3.0/arch/arm/boot/imx6qdl-dfi-fs700-m60.dtsi" correct? (in F&S Development Maschine Fedora23)
      ​I would be very grateful for a quick guide!
      When using the newest release fsimx6-V3.1, the USB device port is automatically configured as USB OTG. Which means it will automatically be used as Host if the ID pin of the connector (or pin 223 of the efus) is held low (GND).

      Please note that our current Virtual Machine is still based on fsimx6-V3.0, so you may have to download the newest release yourself.

      By the way the device tree is under arch/arm/boot/dts/efusa9q.dts, or efusa9dl.dts for the Solo and DulaLite version of efusA9. These files hold many CONFIG switches that can be set or unset according to your needs. Both files include a file efusa9qdl.dtsi that holds all those parts of the device tree that are common to all efusA9 variants.

      Your F&S Support Team
      F&S Elektronik Systeme GmbH
      As this is an international forum, please try to post in English.
      Da dies ein internationales Forum ist, bitten wir darum, Beiträge möglichst in Englisch zu verfassen.