Skip to content

Support of several instances of TinyUSB stack (device or host) #3092

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

Open
1 task done
roma-jam opened this issue Apr 22, 2025 · 1 comment
Open
1 task done

Support of several instances of TinyUSB stack (device or host) #3092

roma-jam opened this issue Apr 22, 2025 · 1 comment

Comments

@roma-jam
Copy link
Contributor

Related area

port support

Hardware specification

all hardware with several ports

Is your feature request related to a problem?

Unable to init stack on two ports simultaneously.

Relates to:

Describe the solution you'd like

Possibility to run TinyUSB (device) stack on several peripherals (ports) simultaneously.

In the code that would be like:

tusb_rhport_init_t dev_init = {
  .role = TUSB_ROLE_DEVICE,
  .speed = TUSB_SPEED_AUTO
};

tusb_rhport_init(0, &dev_init);
tusb_rhport_init(1, &dev_init);

I have checked existing issues, dicussion and documentation

  • I confirm I have checked existing issues, dicussion and documentation.
@hathach
Copy link
Owner

hathach commented Apr 29, 2025

I can try to get host stack running on multiple controllers (same usbip) easily. For device, it needs quite a bit of works, and it is kind of neat and not popular feature. I am not sure Icould mannge the time to do it myself, however PR is welcome.

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