Circuit device, circuit device determination method, and electronic apparatus
A circuit device includes a control circuit configured to instruct, when a detection circuit detects that an amplitude level of a packet exceeds a disconnecting detection level, a packet output circuit to lower an amplitude level of a part or all of packets, and after the instruction, to determine that, when the detection circuit detects that an amplitude level of a packet again exceeds the disconnecting detection level, a USB device connected to a bus is disconnected.
1. A circuit device comprising:
a packet output circuit configured to transmit a packet to a bus according to a USB standard in a manner capable of changing an amplitude level of the packet;
a detection circuit configured to detect whether an amplitude level of a packet transmitted to the bus exceeds a discoupling detection level; and
a control circuit configured to instruct, when the detection circuit detects that the amplitude level of the packet exceeds the discoupling detection level, the packet output circuit to lower an amplitude level of a part or all of packets, and after the instruction, to determine that, when the detection circuit detects that an amplitude level of a packet again exceeds the disconnecting detection level, a USB device connected to the bus is disconnected.
2. The circuit device according to claim 1 , wherein
D_th< 2 VL,
D_th being the disconnecting detection level, and
VL being the amplitude level of the packet output from the packet output circuit according to the instruction.
3. The circuit device according to claim 2 , wherein
DL <0.8 VH,
VH being the amplitude level of the packet output from the packet output circuit before the instruction.
4. The circuit device according to claim 1 , wherein
the control circuit determines that the USB device is not disconnected from the bus when the detection circuit detects that, after the instruction, the amplitude level of the packet does not exceed the disconnecting detection level.
5. The circuit device according to claim 1 , wherein
the packet output circuit transmits a packet supplied to a bus different from the bus to the bus.
6. An electronic apparatus comprising:
the circuit device according to claim 1 ; and
a central processing unit connected to the bus.