Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sipeed Tang primer 20k : usb host test failed. #558

Open
hai4john opened this issue Jan 10, 2024 · 5 comments
Open

Sipeed Tang primer 20k : usb host test failed. #558

hai4john opened this issue Jan 10, 2024 · 5 comments

Comments

@hai4john
Copy link

I had Sipeed Tang primer 20k with dock, USB host on hardware, but test filed.
I saw the source code at targets/sipeed_tang_primer_20k.py,found no usb host support。

@hai4john
Copy link
Author

After looking at the code for the USB part in the liteX core, I found that only the 'Differential Pair mode' USB OHCI was implemented, and the '8-bit parallel mode' was not implemented.

@enjoy-digital
Copy link
Member

Hello @hai4john,

for now we indeed only support USB OHCI, it would be possible to support ULPI but support hasn't been done yet.

@hai4john
Copy link
Author

hai4john commented Jan 15, 2024

You may not clearly distinguish between USB controller and PHY (physical layer interface). The current code seems to implement controller + phy, not a separate controller. Only when the controller is implemented separately can the interface with phy be selected.

@enjoy-digital
Copy link
Member

The current supported solution is indeed full integrated and only USB 1.1 compliant . I just meant that that Tang primer 20k dock has a ULPI chip and we don't currently have built-in solution for it.

@hai4john
Copy link
Author

@enjoy-digital, I understand what you mean. Thank you very much for your reply. I look forward to the implementation of USB host on Tang primer 20k dock.

The current supported solution is indeed full integrated and only USB 1.1 compliant . I just meant that that Tang primer 20k dock has a ULPI chip and we don't currently have built-in solution for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants