element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Forum USB 3.0 support for beagle bone AI.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 27 replies
  • Answers 11 answers
  • Subscribers 104 subscribers
  • Views 4735 views
  • Users 0 members are here
  • beagleboard_ai
Related

USB 3.0 support for beagle bone AI.

prathamesh12
prathamesh12 over 5 years ago

I want to use basler ace camera (acA1300-200um) with beagle bone AI board. It requires usb 3.0 host controller. As BB AI board provides only usb 2.0 , camera isn't working. Is there any way we can add usb 3.0 support to board? Like an external module with 3.0 support which can be further connected to AI board via UART....

  • Sign in to reply
  • Cancel

Top Replies

  • cstanton
    cstanton over 5 years ago in reply to prathamesh12 +3 verified
    The answer is simply hidden. sudo /opt/scripts/boot/bbai_usb_host.sh This executes: echo "host" > /sys/kernel/debug/48890000.usb/mode Which puts the USB-C 3.0 hub on the BeagleBone AI into 'USB Host Mode…
  • gdstew
    gdstew over 5 years ago +2 suggested
    The USB C connector used to power the AI is also connected to a USB 3 data interface on the SoC. The problem I've seen is that none of the power supplies for the AI make these signals available to use…
  • cstanton
    cstanton over 5 years ago in reply to gdstew +2 suggested
    Maybe a USB-C USB hub would work? If it allows backpowering. I may be able to test this.
  • gdstew
    0 gdstew over 5 years ago

    The USB C connector used to power the AI is also connected to a USB 3 data interface on the SoC. The problem I've seen is that none of the power supplies

    for the AI make these signals available to use. You could possibly use a USB 3 breakout board to get to the USB 3 data signals on the power cable and make

    a USB 3 cable with the data and power connections for the camera. Using a breakout board may cause signal integrity problems with the high speed USB 3

    data interface especially if the twisted pair data wires are not handled properly (stay twisted right up to the breakout board connection) or if the cable is too

    long. Another possibility is a USB 3 C connector Y cable if they exist. I'm not sure if they do, and a quick google search did not find one. Signal integrity could

    also be a problem with Y cables which may be why I couldn't find one.

     

    The UART interface is way too slow to use for a USB 3 or even a USB 2  full speed interface.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cstanton
    0 cstanton over 5 years ago in reply to gdstew

    Maybe a USB-C USB hub would work? If it allows backpowering. I may be able to test this.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • gdstew
    0 gdstew over 5 years ago in reply to cstanton

    It's definitely worth trying, it would be the easiest way to do it. As you clearly already know the hub is not supposed to allow back powering

    but at least in the USB 2 hub world it was fairly common. USB 3 power can be a lot more complicated so I would be surprised if anything

    other than a cheap hub would allow it. Unfortunately I do not have a USB 3 hub so I can not test it,  I am very interested in your results if

    you are able to.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • prathamesh12
    0 prathamesh12 over 5 years ago in reply to cstanton

    Please let me know if it works. I am thinking of a powered USB hub in case back-powering is the issue.  

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • cstanton
    0 cstanton over 5 years ago in reply to prathamesh12

    gdstew , prathamesh12 ,

     

    This is one the hubs I own which allows it to be powered as well:

    https://www.aliexpress.com/item/32949231039.html?spm=a2g0s.9042311.0.0.27424c4dtZH6lx

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 5 years ago

    Hah! You need to supply higher current for the camera... The data can be USB 2.0 at a slower frame rate.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • prathamesh12
    0 prathamesh12 over 5 years ago in reply to clem57

    That would have been an option. But the camera which I am using (basler acA1300-200um) will be detected but can't be used on any other interface than USB 3 according to the manufacturers. It's an industrial grade camera which requires high frame rate.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • prathamesh12
    0 prathamesh12 over 5 years ago in reply to cstanton

    I don't have any hub with me now. But please let me know the results;if you can test it. I can go for similar hub then image.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • prathamesh12
    0 prathamesh12 over 5 years ago

    Hello,

    I have tried with a powered usb 3.0 hub (link). But Beagle-Bone can't detect it. Hub is working fine. I have checked it on my PC with c type connector.

    Now there may be this issue. As gdstew said back-powering is not possible. Kernel suspends usb if there is no enough power supply from host. This autosuspend functionality is default enabled on Debian image provided for BB-AI. It can be disabled but I could only find it out using Grub, which is not available for the kernel I m using.So any other way this can be disabled? Any other issue you guys can think of, other than this??

     

    --Thanks

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • cstanton
    0 cstanton over 5 years ago in reply to prathamesh12

    Disabling auto suspend should be possible. The kernels are available online.

    I still need to find my beaglebone AI, it's in a box...

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube