Signal correction for serial interfaces
Signal correction circuitry is described that improves the integrity of data transmitted over a serial data interface without interrupting the communication between the connected devices. The signal correction circuitry includes edge correction circuitry that speeds up the rising and falling edges of the data signal(s). The signal correction circuitry also includes DC compensation circuitry that boosts the level(s) of the data signal(s).
1. A circuit, comprising:
an interface configured for connection in parallel with a differential transmission line, the differential transmission line including a first signal line and a second signal line;
edge correction circuitry configured to detect a signal crossover on the first and second signal lines and, in response to detection of the signal crossover, pull one of the first and second signal lines up to a first voltage reference for a predetermined period of time and pull the other of the first and second signal lines down to a second voltage reference for the predetermined period of time;
level correction circuitry configured to boost a signal level on the one of the first and second signal lines pulled up to the first voltage reference by a predetermined amount after the predetermined period of time and for at least one bit duration; and
enable circuitry configured to enable and disable the edge correction circuitry and the level correction circuitry.
2. The circuit of claim 1 , wherein the differential transmission line is configured to operate according to a serial data transmission protocol, the serial data transmission protocol having a first mode of operation corresponding to a first operating speed and a second mode of operation corresponding to a second operating speed, and wherein the enable circuitry is configured to enable the edge correction circuitry and the level correction circuitry if the differential transmission line is configured for the first mode of operation and to disable the edge correction circuitry and the level correction circuitry if the differential transmission line is configured for the second mode of operation.
3. The circuit of claim 2 , wherein the serial data transmission protocol is the Universal Serial Bus (USB) 2.0 protocol, and wherein the first mode of operation is high speed operation.
4. The circuit of claim 2 , wherein the enable circuitry is configured to detect whether the differential transmission line is operating in the first mode or the second mode, and, if the differential transmission line is operating in the first mode, to generate an enable signal.
5. The circuit of claim 4 , wherein the enable circuitry is configured to detect whether the differential transmission line is operating in the first mode or the second mode with reference to one or more signals associated with training of the differential transmission line or with reference to serial data transmitted over the differential transmission line.
6. The circuit of claim 2 , wherein the interface provides overvoltage protection during the second mode of operation.
7. The circuit of claim 1 , wherein the predetermined period of time is configurable.
8. The circuit of claim 1 , wherein the predetermined amount is configurable.
9. The circuit of claim 1 , wherein the level correction circuitry is configured to boost the signal level on the one of the first and second signal lines pulled up to the first voltage reference until a subsequent signal crossover is detected.
10. A transmission line system, comprising:
a first signal line and a second signal line;
edge correction circuitry configured to detect a signal crossover on the first and second signal lines and, in response to detection of the signal crossover, pull one of the first and second signal lines up to a first voltage reference for a predetermined period of time and pull the other of the first and second signal lines down to a second voltage reference for the predetermined period of time;
level correction circuitry configured to boost a signal level on the one of the first and second signal lines pulled up to the first voltage reference by a predetermined amount after the predetermined period of time and for at least one bit duration; and
enable circuitry configured to enable and disable the edge correction circuitry and the level correction circuitry;
wherein neither the edge correction circuitry nor the level correction circuitry interrupts data transmission on the first and second signal lines.
11. The system of claim 10 , wherein the system is configured to operate according to a serial data transmission protocol, the serial data transmission protocol having a first mode of operation corresponding to a first operating speed and a second mode of operation corresponding to a second operating speed, and wherein the enable circuitry is configured to enable the edge correction circuitry and the level correction circuitry if the system is configured for the first mode of operation and to disable the edge correction circuitry and the level correction circuitry if the system is configured for the second mode of operation.
12. The system of claim 11 , wherein the serial data transmission protocol is the Universal Serial Bus (USB) 2.0 protocol, and wherein the first mode of operation is high speed operation.
13. The system of claim 11 , wherein the enable circuitry is configured to detect whether the system is operating in the first mode or the second mode, and, if the system is operating in the first mode, to generate an enable signal.
14. The system of claim 13 , wherein the enable circuitry is configured to detect whether the system is operating in the first mode or the second mode with reference to one or more signals associated with training of the system or with reference to serial data transmitted over the sy stem.
15. The system of claim 11 , further comprising overvoltage protection circuitry configured to provide overvoltage protection during the second mode of operation.
16. The system of claim 10 , wherein the predetermined period of time is configurable.
17. The system of claim 10 , wherein the predetermined amount is configurable.
18. The system of claim 10 , wherein the level correction circuitry is configured to boost the signal level on the one of the first and second signal lines pulled up to the first voltage reference until a subsequent signal crossover is detected.
19. The system of claim 10 , further comprising at least one additional instance of the edge correction circuitry and at least one additional instance of the level correction circuitry.