1. Technical Field
The disclosure relates to test technology and, more particularly, to a serial voltage identification (SVID) data test system and a test method adapted for the SVID data test system.
2. Description of Related Art
The SVID bus protocol is utilized to monitor power supply of a circuit board. When testing SVID data, an oscillograph displays waveforms of the SVID signals, however, three waveforms represent one bit of the SVID signals and the SVID signals include nine bits, therefore, a user needs to look at and interpret very complex waveforms to determine characteristics of the power supply of the circuit board.
Therefore, what is needed is a SVID data test system to overcome the described shortcoming.
The display device 3 includes a processor 30, a memory 31, a serial interface 32, and a screen 33. The processor 30 controls the display device 3 to work. The memory 31 stores data. The display device 3 is electrically connected to the test device 2 via the serial interface 32. The screen 33 displays information. The display device 3 and the test device 2 establish a two-way communication connection.
As shown in
The receiving module 100 receives the SVID signals generated from the circuit board 1 via the SVID interface 21. The analyzing module 110 analyzes the SVID signals to obtain nine bit real signals in accordance with the SVID protocol. In the embodiment, the analyzing module 110 is a complex programmable logic device (CPLD), such as an EPM570T100C5N chip.
The parallel encoding module 120 performs parallel encoding on the nine bit real signals to obtain nine bit parallel signals. The converting module 130 converts the nine bit parallel signals to nine bit serial signals. In the embodiment, the serial signal is a universal serial bus (USB) signal and is binary, and both the serial interfaces 22, 32 are USB interfaces. The converting module 130 is a single-chip microcomputer. The serial transmitting module 140 transmits the nine bit serial signals to the serial interface 22 in sequence. The display control module 150 transmits the nine bit serial signals and sends a display command to the processor 30 of the display device 3. The parsing module 160 parses the nine bit serial signals to obtain a packet in hexadecimal and controls the screen 33 to display the packet in response to the display command, thus, a user can determine the characteristics of the power supply of the circuit board 1 according to the packet displayed on the display device 3.
The nine bit serial signals includes a four bit address, a four bit command, and a one bit ACK. The four bit address is located from 0000-1111, the four bit command is located from 0000-1111, and the one bit ACK is “0” or “1”. For example, when the four bit address is “0000”, the SVID interface 21 is pointed to a device “A”; when the four bit address is “1111”, the SVID interface 21 is pointed to a device “B”. When the four bit command is “0001”, a command of reading a voltage of the device “A” is sent; when the four bit command is “0010”, a command of writing a voltage of the device “B” is sent. When the bit ACK is “0”, the device “A” or “B” has received the command and generates a feedback. When the bit ACK is “1”, the device “A” or “B” has not received a command and there was no response.
As shown in
In step S320, the parallel encoding module 120 performs parallel encoding on the nine bit real signals to obtain nine bit parallel signals. In step S330, the converting module 130 converts the nine bit parallel signals to nine bit serial signals.
In step S340, the serial transmitting module 140 transmits the nine bit serial signals to the serial interface 22 in sequence. In step S350, the display control module 150 transmits the nine bit serial signals and sends a display command to the display device 3 to display the nine bit serial signals.
In step S360, the parsing module 160 parses the nine bit serial signals to obtain a packet in hexadecimal and controls the screen 33 to display the packet in response to the display command. Therefore, when the test device 2 is connected to a tested device, the display device 3 displays a packet which reflects the characteristics of the power supply of the tested device; when the test device 2 is connected to a number of tested devices, the display device 3 displays a packet list which reflects the characteristics of the power supply of the number of tested devices, thus the user can quickly determine the characteristics of the power supply of a tested device from the packet.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2013100359950 | Jan 2013 | CN | national |