3228 views|8 replies

31

Posts

0

Resources
The OP
 

About USB2.0 plug-in and switch [Copy link]

Can I use a high-speed analog switch such as TS3USB31 to switch DM/DP?

According to the 3.0 protocol, the complete insertion/removal process needs to detect the VBus timing, and if only the data line is cut, it will definitely not meet the requirements. However, the early USB1.0/1.1 seems to only cut the data line.

So I'm curious, if the data cable between the host and the device is disconnected, how will the Windows system react? Will it eject the device with a normal ding-dong sound, or will it pop up a bubble to indicate that there is a problem with the device? If the data cable is reconnected, will it detect the insertion of the device with a normal ding-dong sound, or will it remain in the faulty state?

Oh, let me tell you the background: there is an awkward requirement, which requires that the photoelectric touch device (USB2.0 HID, actually it is probably a 1.0/1.1 device) be "unplugged" from the PC under certain conditions; and then "plugged" again under certain conditions.

Latest reply

There should be no problem. You can find a USB2.0 bus switch chip datasheet and look at typical applications. The termination resistors required by USB should be integrated in the chip. The host should be able to detect whether DP and DM are connected. Disconnecting the data line and then plugging it in will change the state of the host's USB data line. The host thinks that a device has come in and will follow the standard USB process.   Details Published on 2020-12-17 15:29
 
 

1370

Posts

2

Resources
2
 

Vbus can work without any connection. The device can be powered by itself without this power supply.

Comments

No, no, no, I am not a USB device. I want to control the connection between the touch screen USB interface and the PC... Party A said that your device should make this LCD touch screen only display but not touch under xxx conditions, and then touch under xxx conditions... The PC is not mine, the LCD  Details Published on 2020-12-17 08:41
 
 
 

9702

Posts

24

Resources
3
 

Isn't it a device designed by yourself? Why not implement the plug-in and pull-out function through software?

Comments

It was not designed by me, but I just needed a switch to control the touch function of the computer's external touch screen. Party A's ideas are always cruel...  Details Published on 2020-12-17 08:36
 
 
 

31

Posts

0

Resources
4
 
littleshrimp posted on 2020-12-16 19:56 Isn't it a device designed by yourself? Why not implement the plug-in and pull-out function through software?

It is not designed by myself, but I need an additional switch to control the touch function of the computer's external touch screen.

Party A’s thoughts are always cruel and cruel…

Comments

Find a USB device, disconnect the data cable, and put a double-pole single-throw switch in the middle to try  Details Published on 2020-12-17 11:01
 
 
 

31

Posts

0

Resources
5
 
cruelfox posted on 2020-12-16 17:51 Vbus can work without any connection. The device is powered by itself without this power supply.

No, no, no, I am not a USB device. I want to control the connection between the touch screen USB port and the PC...

Party A said that your device should have this LCD touch screen only display without touch under xxx circumstances, and then touch under xxx circumstances...

The PC is not mine, the LCD touch screen is not mine, but Party A thinks I should get involved in this mess...

 
 
 

9702

Posts

24

Resources
6
 
Ejack1979 posted on 2020-12-17 08:36 It is not designed by myself, but I need an additional switch to control the touch function of the touch screen of the computer. Party A's ideas are always cruel...

Find a USB device, disconnect the data cable, and put a double-pole single-throw switch in the middle to try

Personal signature虾扯蛋,蛋扯虾,虾扯蛋扯虾
 
 
 

2145

Posts

8

Resources
7
 

I remember there is a two-choice bus switch, which should be possible.

Comments

Yes, I am planning to use a USB bus switch, but I doubt whether it can be realized by only switching the data line.  Details Published on 2020-12-17 15:16
Personal signature坐而言不如起而行
 
 
 

31

Posts

0

Resources
8
 
wsmysyn posted on 2020-12-17 15:03 I remember there is a two-choice bus switch, which should be possible,

Yes, I am planning to use a USB bus switch, but I doubt whether it can be realized by only switching the data line.

Comments

It should be fine. You can find a USB2.0 bus switch chip datasheet and look at typical applications. The termination resistors required by USB should be integrated in the chip. The host should be able to detect whether DP and DM are connected. Disconnecting the data line and then plugging it in will change the state of the host's USB data line.  Details Published on 2020-12-17 15:29
 
 
 

2145

Posts

8

Resources
9
 
Ejack1979 posted on 2020-12-17 15:16 Yes, I am planning to use a USB bus switch, but I doubt whether it can be realized by only switching on and off the data line.

There should be no problem. You can find a USB2.0 bus switch chip datasheet and look at typical applications. The termination resistors required by USB should be integrated in the chip. The host should be able to detect whether DP and DM are connected. Disconnecting the data line and then plugging it in will change the state of the host's USB data line. The host thinks that a device has come in and will follow the standard USB process.

Personal signature坐而言不如起而行
 
 
 

Guess Your Favourite
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list