Hello i've this article about USB (https://www.smxrtos.com/articles/usb_art/waysusb.htm) in smxrtos website, however there is a case that isn't listed there.
I need my embedded system to be host when connected to another embedded system and slave when connected to a pc.
Do you have any tips on how to do it? Thank you very much.
i have a beaglebone and i've read that beaglebone has
Single USB 2.0 type A host port
Dual USB hub on USB 2.0 type mini-A OTG device port
On-board USB-to-serial/JTAG over one shared USB device port
Storage-over-USB or Ethernet-over-USB on other USB device port
For making embedded system like this, you first need to decide the processor and OS which you will run on this. And ofcourse you should have USB OTG port on this. Implementation of that what you want is depend on which RTOS you are using. If you share with OS you are using and which board then we can do something on this.