USB Chain Connections
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have two questions related with the USB connections on a pcb:
1- Is it possible to connect D+ line between 2 devices and 1 host? something like SPI fashion where MISO and MOSI lines are shared between all slaves? Or like I2C where every node listens to the bus and replies only when the given address is called? The same with the D-.
2- I'm designing an embedded application with 2 devices, one of the is a USB-device and the other one is a USB-OTG. When the communication is between them, I believe there is no problem, the OTG behaves as a host and the second one as a device.
However, my question comes when I need to connect them (both as devices) to an external PC, is it possible to share the signal lines to the external PC, so I will have 3 devices connected on the line: uC USB-device, USB-OTG programmed as device and the PC USB-host.
usb
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
1
down vote
favorite
I have two questions related with the USB connections on a pcb:
1- Is it possible to connect D+ line between 2 devices and 1 host? something like SPI fashion where MISO and MOSI lines are shared between all slaves? Or like I2C where every node listens to the bus and replies only when the given address is called? The same with the D-.
2- I'm designing an embedded application with 2 devices, one of the is a USB-device and the other one is a USB-OTG. When the communication is between them, I believe there is no problem, the OTG behaves as a host and the second one as a device.
However, my question comes when I need to connect them (both as devices) to an external PC, is it possible to share the signal lines to the external PC, so I will have 3 devices connected on the line: uC USB-device, USB-OTG programmed as device and the PC USB-host.
usb
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have two questions related with the USB connections on a pcb:
1- Is it possible to connect D+ line between 2 devices and 1 host? something like SPI fashion where MISO and MOSI lines are shared between all slaves? Or like I2C where every node listens to the bus and replies only when the given address is called? The same with the D-.
2- I'm designing an embedded application with 2 devices, one of the is a USB-device and the other one is a USB-OTG. When the communication is between them, I believe there is no problem, the OTG behaves as a host and the second one as a device.
However, my question comes when I need to connect them (both as devices) to an external PC, is it possible to share the signal lines to the external PC, so I will have 3 devices connected on the line: uC USB-device, USB-OTG programmed as device and the PC USB-host.
usb
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have two questions related with the USB connections on a pcb:
1- Is it possible to connect D+ line between 2 devices and 1 host? something like SPI fashion where MISO and MOSI lines are shared between all slaves? Or like I2C where every node listens to the bus and replies only when the given address is called? The same with the D-.
2- I'm designing an embedded application with 2 devices, one of the is a USB-device and the other one is a USB-OTG. When the communication is between them, I believe there is no problem, the OTG behaves as a host and the second one as a device.
However, my question comes when I need to connect them (both as devices) to an external PC, is it possible to share the signal lines to the external PC, so I will have 3 devices connected on the line: uC USB-device, USB-OTG programmed as device and the PC USB-host.
usb
usb
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 2 hours ago
masm
61
61
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
masm is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
4
down vote
No, it's not possible to do this for a whole load of reasons ranging from hardware termination and identification resistors on the D+/D- lines to protocol issues that could identify and handle multiple devices on a single port. Despite the misleading use of the word "Bus" in the name, USB is only capable of connecting a single host port to a single device port. Either of these ports may be an OTG port, but an additional pin in the cable/connector will take care of switching one end into host mode and one into device mode as required.
The only way to connect multiple devices to a single host port is to use a USB Hub.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
No, it's not possible to do this for a whole load of reasons ranging from hardware termination and identification resistors on the D+/D- lines to protocol issues that could identify and handle multiple devices on a single port. Despite the misleading use of the word "Bus" in the name, USB is only capable of connecting a single host port to a single device port. Either of these ports may be an OTG port, but an additional pin in the cable/connector will take care of switching one end into host mode and one into device mode as required.
The only way to connect multiple devices to a single host port is to use a USB Hub.
add a comment |Â
up vote
4
down vote
No, it's not possible to do this for a whole load of reasons ranging from hardware termination and identification resistors on the D+/D- lines to protocol issues that could identify and handle multiple devices on a single port. Despite the misleading use of the word "Bus" in the name, USB is only capable of connecting a single host port to a single device port. Either of these ports may be an OTG port, but an additional pin in the cable/connector will take care of switching one end into host mode and one into device mode as required.
The only way to connect multiple devices to a single host port is to use a USB Hub.
add a comment |Â
up vote
4
down vote
up vote
4
down vote
No, it's not possible to do this for a whole load of reasons ranging from hardware termination and identification resistors on the D+/D- lines to protocol issues that could identify and handle multiple devices on a single port. Despite the misleading use of the word "Bus" in the name, USB is only capable of connecting a single host port to a single device port. Either of these ports may be an OTG port, but an additional pin in the cable/connector will take care of switching one end into host mode and one into device mode as required.
The only way to connect multiple devices to a single host port is to use a USB Hub.
No, it's not possible to do this for a whole load of reasons ranging from hardware termination and identification resistors on the D+/D- lines to protocol issues that could identify and handle multiple devices on a single port. Despite the misleading use of the word "Bus" in the name, USB is only capable of connecting a single host port to a single device port. Either of these ports may be an OTG port, but an additional pin in the cable/connector will take care of switching one end into host mode and one into device mode as required.
The only way to connect multiple devices to a single host port is to use a USB Hub.
answered 57 mins ago


Finbarr
3,306723
3,306723
add a comment |Â
add a comment |Â
masm is a new contributor. Be nice, and check out our Code of Conduct.
masm is a new contributor. Be nice, and check out our Code of Conduct.
masm is a new contributor. Be nice, and check out our Code of Conduct.
masm is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f398967%2fusb-chain-connections%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password