Dedicated lane USB3 card

Post Reply
blazini36
Posts: 10
Joined: Sun Apr 21, 2019 3:50 pm
languages_spoken: english
ODROIDs: N2, XU4, HC2
Has thanked: 0
Been thanked: 3 times
Contact:

Dedicated lane USB3 card

Post by blazini36 »

I run a couple of USB3 machine vision cameras currently on a Odroid H2. There tends to be issues with the cameras running at the same time on the same USB3 controller and they become unreliable. From previous experience doing this with mini-itx based PCs with multiple USB3 controllers having each camera on it's own controller tends to work alot better. It's not really a bandwidth issue as 2 cameras don't really saturate, it could be Linux kernel/driver issues.

Today I was thinking of picking up one of these cards https://www.amazon.com/gp/product/B015C ... 0DER&psc=1 which has 4 USB3 ports, each with it's own controller chip on a PCIe 2 lane. Trying to keep the H2's footprint small a PCIe card causes some form factor issues with a M.2 to PCIE riser, so I was thinking of designing my own sort of riser PCB that would locate the PCIE card better. Looking at the card, it has a PLX chip onboard, I recalled the netcard I have on another H2 does not. I recall that bios flash added on board bifurcation support. Now I'm thinking since the PLX chip isn't necessary (right?) I might be capable of designing a board with dedicated USB3 controllers that just plugs into the M.2 slot like the netcard.

Couple of questions.....Does this sound feasible and is there any hardware recomendations, like USB3 chips or USB3 schematics that I can adapt to help get started. Maybe Odroid can chime in?

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Dedicated lane USB3 card

Post by odroid »

We have no experience of designing such PCIe-to-USB 3.0 bridge card.
But, I believe the PLX chip is not necessary as your analysis.

blazini36
Posts: 10
Joined: Sun Apr 21, 2019 3:50 pm
languages_spoken: english
ODROIDs: N2, XU4, HC2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Dedicated lane USB3 card

Post by blazini36 »

I'm working on it now. The TUSB7320 seems to be the only PCIE gen 2 -> USB3 controller readily available and with documentation even though it's obsolete.

I have a question about the M.2 setup used in the netcard. Per the documentation I can find, on the M.2 standard, pins 1,21,69, and 75 are the config pins to tell the host which mode to set the M.2 Slot to. If all these pins are pulled to ground it is configured to SATA SSD rather than PCIEx4. The netcard schematic shows all of these pins pulled down to ground, is my info incorrect or am I missing something? I would think for straight PCIE they should be floating or pulled up.

Also, how much current is available at the 4pin HDD connector, 12v and 5v?

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Dedicated lane USB3 card

Post by odroid »

H2+ M.2 slot doesn't support any SATA interface.
It supports PCIe mode only. https://dn.odroid.com/ODROID-H2/schematics/

About the 4-Pin HDD power port:
12Volt rail : 3.5Amp
5Volt rail : 2Amp

blazini36
Posts: 10
Joined: Sun Apr 21, 2019 3:50 pm
languages_spoken: english
ODROIDs: N2, XU4, HC2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Dedicated lane USB3 card

Post by blazini36 »

First attempt


Image

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Dedicated lane USB3 card

Post by odroid »

Looks great.

blazini36
Posts: 10
Joined: Sun Apr 21, 2019 3:50 pm
languages_spoken: english
ODROIDs: N2, XU4, HC2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Dedicated lane USB3 card

Post by blazini36 »

Waiting on chips sux...
20210908_105842_small.jpg
20210908_105842_small.jpg (537.26 KiB) Viewed 75 times
These users thanked the author blazini36 for the post (total 2):
odroid (Thu Sep 09, 2021 10:46 am) • domih (Sun Sep 12, 2021 10:44 am)

User avatar
mad_ady
Posts: 9689
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 609 times
Been thanked: 721 times
Contact:

Re: Dedicated lane USB3 card

Post by mad_ady »

At least it fits

blazini36
Posts: 10
Joined: Sun Apr 21, 2019 3:50 pm
languages_spoken: english
ODROIDs: N2, XU4, HC2
Has thanked: 0
Been thanked: 3 times
Contact:

Re: Dedicated lane USB3 card

Post by blazini36 »

mad_ady wrote:
Thu Sep 09, 2021 1:28 pm
At least it fits Image
Yeah but I cheated with that......Odroid was kind enough to post dxf's of the netcard which made it super simple to import into my EDA software.....I just modified it a bit.

The chip shortage is definitely a real thing, USB3 controller chips are basically non-existant right now, I had to order some through some back channels, and it's taking a bit longer than I'd like.
These users thanked the author blazini36 for the post:
domih (Sun Sep 12, 2021 10:44 am)

Post Reply

Return to “Hardware and peripherals”

Who is online

Users browsing this forum: No registered users and 0 guests