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

Does Zephyr support USB host mode ? #25442

Closed
icephyr opened this issue May 19, 2020 · 7 comments
Closed

Does Zephyr support USB host mode ? #25442

icephyr opened this issue May 19, 2020 · 7 comments

Comments

@icephyr
Copy link

icephyr commented May 19, 2020

Hi Everyone,

Now I am developing the NXP MIMXRT 1050 EVK board with zephyr system and everything goes well till now. But I notice that in the development guide page of MIMXRT EVK, it describes that " Only USB device function is supported in Zephyr at the moment.", But the USB on the EVK should work in host mode, according to our design and requirements. So I wonder if the USB Host mode has been supported in the lastest version of Zephyr ? Or I have to use other embedded system instead of Zephyr ?
By the way, the zephyr version I am using is V1.14.0

@jfischer-no
Copy link
Collaborator

So I wonder if the USB Host mode has been supported in the lastest version of Zephyr ?

Still not supported.

Or I have to use other embedded system instead of Zephyr ?

certainly not, except Linux based OS.

closing in favour of #12386

@icephyr
Copy link
Author

icephyr commented May 19, 2020

So I wonder if the USB Host mode has been supported in the lastest version of Zephyr ?

Still not supported.

Or I have to use other embedded system instead of Zephyr ?

certainly not, except Linux based OS.

closing in favour of #12386

Thanks for your reply. So only Linux based OS supports USB host mode ?
What about freertos or rt-thread, etc.

@icephyr
Copy link
Author

icephyr commented May 20, 2020

Hi Guys, I'd like to add some information about my project for your futher analysis.

Now I am working to develope a board with MIMXRT 1050, it collects data from sensor and send the data to the server with LTE dongle module. The MIMXRT is connected with LTE module by USB. So the MIMXRT should be in host mode while the LTE in device mode, in my understanding. Since " Only USB device function is supported in Zephyr at the moment.", I think MIMXRT running zephyr cannot meet my requirements, so do I have to change another embedded system like freeRTOS, or some ways can help to implement the requirements with zephyr ?

Since I'm new to USB developement, hope I didn't misunderstand the documents. Thanks.

@carlescufi
Copy link
Member

Now I am working to develope a board with MIMXRT 1050, it collects data from sensor and send the data to the server with LTE dongle module. The MIMXRT is connected with LTE module by USB. So the MIMXRT should be in host mode while the LTE in device mode, in my understanding. Since " Only USB device function is supported in Zephyr at the moment.", I think MIMXRT running zephyr cannot meet my requirements, so do I have to change another embedded system like freeRTOS, or some ways can help to implement the requirements with zephyr ?

Your assumption is correct. Zephyr is currently not capable of acting as a USB Host and therefore you will not be able to achieve what you want at the present time with Zephyr. However, there will be more than just having USB Host support to achieve what you want.
cc @MaureenHelm

@jfischer-no
Copy link
Collaborator

The host stack alone will probably not fulfill the requirements for your project. AFAIK Zephyr supports at least one LTE modem connected over UART.

@icephyr
Copy link
Author

icephyr commented May 21, 2020

Thank you guys, well noted.

@kaushalmp
Copy link

Hi Any updates on the availability of USB xHCI host driver? Please point me to any other host stack that supports xHCI and more number of classes.

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

No branches or pull requests

4 participants