Test circuit, method and apparatus
A technology for testing circuits and test modes, applied to measuring devices, measuring electricity, measuring electrical variables, etc., can solve problems such as difficulties in engineering test modes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0023] figure 1 It is the test circuit provided by the first embodiment of the present invention, through which the performance test of the terminal equipment can be completed. Such as figure 1 As shown, the test circuit includes: a terminal device 11 with a USB interface 111 and a control unit 112 , and a USB interface wire 12 . The control unit 112 may specifically be an MCU (Micro Control Unit).
[0024] Each pin of the USB interface wire 12 is correspondingly connected with each pin of the USB interface 111 of the terminal device 11; a resistor 13 is connected between the ID pin and the GND pin of the USB interface wire 12; The control unit 112 is connected to each pin of the USB interface 111 of the terminal device 11 , and the ID pin of the USB interface 111 of the terminal device 11 is connected to a power supply. Wherein, the terminal device may be an electronic product without keyboard input, such as a smart camera, a smart speaker, etc., which is not specifically ...
no. 2 example
[0032] figure 2 It is a schematic flow chart of a test method provided in the second embodiment of the present invention, such as figure 2 As shown, it specifically includes the following steps:
[0033] Step 21, the control unit detects the voltage value of the ID pin of the USB interface of the terminal device, and executes step 22.
[0034] For example, according to figure 1 In the shown test circuit, the ID pin of the USB interface 111 of the terminal device 11 is connected with the ID pin of the USB interface wire 12, and a resistor is connected between the ID pin and the GND pin of the USB interface wire 12, so The voltage value of the ID pin of the USB interface of the terminal device is the voltage value generated by the resistor, and the ID pin of the USB interface 111 of the terminal device 11 is connected to the power supply, for example, the voltage value of the power supply is Vcc, wherein, the voltage value of the ID pin of the USB interface of the terminal ...
no. 3 example
[0048] image 3 It is a schematic flow chart of a test method provided by the third embodiment of the present invention, such as image 3 As shown, it specifically includes the following steps:
[0049] Step 31, the control unit detects the voltage value of the ID pin of the USB interface of the terminal device, and executes step 32.
[0050] Step 32, the control unit determines whether the detected voltage value is greater than 0 and less than Vcc.
[0051] For example, Vcc=3.3V, if the control unit determines that the detected voltage value is greater than 0 and less than 3.3V, perform step 33 , otherwise, perform step 36 .
[0052] Step 33, the control unit determines to enter the test mode, and executes step 34.
[0053] Step 34 , the control unit determines the test mode corresponding to the currently detected voltage value according to the preset correspondence between the voltage value and the test mode, and performs step 35 .
[0054] For example, the correspondenc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


