1. A communications system, comprising:
a first-in, first-out (FIFO) buffer having a plurality of entries for temporarily storing a plurality of data signals received at an input at a predetermined sample rate, and the FIFO buffer having an output for providing the plurality of data signals, the FIFO being in a data transmission path;
a counter coupled to the FIFO buffer; and
a direct memory access control state machine, coupled to the FIFO buffer and to the counter, for detecting when the data transmission path is blocked, and in response, enabling the counter to store a count value corresponding to a number of data samples that are blocked from being received by the FIFO buffer, wherein when data transmission resumes through the data transmission path, the stored count value is used to maintain a sampling time correlation of the plurality of data signals.
2. The communications system of claim 1, wherein the transmission path is for providing the plurality of data signals from an analog front-end of the communications system and the data transmission path blockage corresponds to the FIFO buffer being full.
3. The communications system of claim 1, wherein the transmission path is for providing the plurality of data signals from a data bus of the communications system and the data transmission path blockage corresponds to the FIFO buffer being empty.
4. The communications system of claim 1, wherein the FIFO buffer is a receive FIFO in a DSL (digital subscriber line) modem.
5. The communications system of claim 4, further comprising a coderdecoder circuit having a first input coupled to an analog front-end, a second input coupled to an output of a transmit FIFO buffer, a first output coupled to the input of the receive FIFO buffer, and a second output coupled to the analog front-end, wherein a first sample clock of the coderdecoder circuit is provided to a clock input of the receive FIFO buffer and to the counter, and wherein a second sample clock is provided to a clock input of the transmit FIFO buffer.
6. The communications system of claim 5, further comprising:
an interface circuit having an input coupled to the modem and an output coupled to the data bus; and
a data processor, coupled to the data bus, for processing the plurality of data signals.
7. The communications system of claim 5, further comprising:
a current position register, coupled to the receive FIFO buffer, for storing a current position of a receive FIFO buffer pointer;
an interrupt counter coupled to the receive FIFO buffer;
a buffer start address register, coupled to the receive FIFO buffer, for storing a beginning of the plurality of entries; and
a buffer end address register, coupled to the receive FIFO buffer, for storing an end of the plurality of entries.
8. A method for transmitting data through a data transmission path, comprising the steps of:
providing a plurality of data signals through a first-in, first-out (FIFO) buffer;
detecting that the data transmission path is blocked;
enabling a counter to store a count value corresponding to a number of data samples that are blocked from being received by the FIFO buffer;
receiving an indication that the data transmission path is no longer blocked; and
resuming transmission through the data transmission path starting from a point determined using the stored count value;
wherein the stored count value is used to maintain a sampling time correlation of the plurality of data signals.
9. The method of claim 8, wherein the step of receiving an indication that the data transmission path is no longer blocked comprises receiving a bus grant to a communication bus in response to a direct memory access (DMA) request.
10. The method of claim 8, wherein the step of receiving an indication further comprises adjusting a current position pointer of the FIFO buffer using the stored count value to determine where to resume data transmission in the FIFO buffer.
11. The method of claim 8, wherein the data transmission path includes one of either a dial-up modem, a digital subscriber line (DSL) modem, or a speakerphone.
12. A communications system, comprising:
a communication bus;
a data processor, coupled to the communication bus, for processing data;
a receive first-in, first-out (FIFO) buffer coupled to transmit data from a location external to the communication system to the communication bus;
a transmit FIFO buffer coupled to transmit data from the communication bus to the location external to the communication system;
a direct memory access (DMA) controller, coupled to the communication bus and to the receive and transmit FIFO buffers, comprising:
a receive counter for storing a first count value corresponding to a number of data samples that are blocked from being transmitted by the FIFO buffer to the communication bus when the communication bus is blocked;
a receive FIFO buffer pointer, coupled to the receive counter, for storing a first pointer value that is determined using the first count value, the first pointer value for indicating a starting entry of the receive FIFO buffer when data transmission is resumed;
a transmit counter for storing a second count value corresponding to a number of data samples that are blocked from being transmitted to the FIFO buffer from the communication bus when the communication bus is blocked; and
a transmit FIFO buffer pointer coupled to the transmit counter for storing a second pointer value that is determined using the second count value, the second pointer value for indicating a starting entry of the transmit FIFO buffer when data transmission is resumed.
13. The communications system of claim 12, further comprising:
a coderdecoder circuit coupled to the receive and transmit FIFO buffers; and
an analog front-end circuit, coupled to the coderdecoder circuit and to a transmission media.
14. The communications system of claim 12, wherein the DMA controller further comprises a state machine for monitoring and detecting when the communication bus is blocked and for starting one of the first or second counter.
15. The communications system of claim 12, wherein the receive FIFO buffer, the transmit FIFO buffer, and the DMA controller are part of one of a DSL modem, dial-up modem, or a speakerphone.
16. The communications system of claim 12, wherein data transmission through one of the receive and transmit FIFO buffers is resumed in response to a communication bus grant in response to a DMA request.
17. The communications system of claim 12, further comprising:
a first current position register, coupled to the receive FIFO buffer, for storing a first current position of a receive FIFO buffer pointer;
a first interrupt counter coupled to the receive FIFO buffer;
a first buffer start address register, coupled to the receive FIFO buffer, for storing a beginning of a first plurality of entries; and
a first buffer end address register, coupled to the receive FIFO buffer, for storing an end of the first plurality of entries.
18. The communications system of claim 17, further comprising:
a second current position register, coupled to the transmit FIFO buffer, for storing a second current position of a transmit FIFO buffer pointer;
a second interrupt counter coupled to the transmit FIFO buffer;
a second buffer start address register, coupled to the transmit FIFO buffer, for storing a beginning of a second plurality of entries; and
a second buffer end address register, coupled to the transmit FIFO buffer, for storing an end of the second plurality of entries.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
What is claimed is:
1. A method comprising:
measuring alternating current (AC) and direct current (DC) signal amplitudes on a first transmission line;
determining an equalization setting in response to a ratio of the AC and DC signal amplitudes; and
applying the equalization setting to a driver that drives a second transmission line.
2. The method of claim 1 wherein measuring AC and DC signal amplitudes comprises varying an offset of a variable offset comparator.
3. The method of claim 1 wherein measuring AC and DC signal amplitudes comprises sampling an output of a receiver coupled to the first transmission line.
4. The method of claim 1 wherein determining an equalization setting comprises comparing the ratio to other ratios derived from possible equalization settings.
5. The method of claim 1 wherein applying the equalization setting comprises setting a plurality of driver elements within the driver to drive equalization data.
6. The method of claim 1 further comprising applying the equalization setting to a plurality of drivers that are configured to drive transmission lines with characteristics similar to characteristics of the second transmission line.
7. A method comprising:
measuring alternating current (AC) and direct current (DC) signal amplitudes on a transmission line;
determining an equalization setting in response to a ratio of the AC and DC signal amplitudes; and
transmitting the equalization setting to a driver.
8. The method of claim 7 wherein transmitting comprises sending the equalization setting from a first integrated circuit to a second integrated circuit.
9. The method of claim 8 wherein measuring comprises varying an offset of a variable offset comparator in the first integrated circuit.
10. The method of claim 8 wherein determining an equalization setting comprises comparing the ratio to ratios derived from possible equalization settings.
11. An apparatus comprising a machine accessible medium having instructions stored thereon, wherein the instructions, when accessed, result in a machine performing:
determining a first amplitude of a direct current (DC) signal;
determining a second amplitude of an alternating current (AC) signal; and
determining an equalization setting in response to a ratio of the first and second amplitude.
12. The apparatus of claim 11 wherein determining the first amplitude comprises:
transmitting the DC signal from a driver;
receiving the DC signal at a receiver; and
measuring the first amplitude as an amplitude of the DC signal at the receiver.
13. The apparatus of claim 12 wherein transmitting comprises transmitting a constant sequence of digital values from the driver.
14. The apparatus of claim 13 wherein transmitting a constant sequence of digital values comprises transmitting a series of digital ones.
15. The apparatus of claim 13 wherein measuring the first amplitude comprises varying an offset of a variable offset comparator.
16. The apparatus of claim 12 wherein determining the second amplitude comprises:
transmitting an AC signal from the driver;
receiving the AC signal at the receiver; and
measuring the second amplitude as an amplitude of the AC signal at the receiver.
17. The apparatus of claim 16 wherein transmitting an AC signal comprises transmitting an alternating sequence of digital values from the driver.
18. The apparatus of claim 16 wherein measuring the second amplitude comprises varying an offset of a variable offset comparator.
19. The apparatus of claim 11 wherein determining the equalization setting comprises comparing the ratio to other ratios that correspond to other equalization settings.
20. The apparatus of claim 11 wherein the method further comprises applying the equalization setting to the driver to provide equalization.
21. The apparatus of claim 20 wherein applying the equalization setting comprises:
enabling a plurality of driver elements to drive actual data; and
enabling a second plurality of driver elements to drive equalization data.
22. An apparatus comprising:
a receiver to receive a signal from a transmission line;
an amplitude measuring device to measure a direct current (DC) signal amplitude of the signal, and to measure an alternating current (AC) signal amplitude of the signal; and
an equalization setting calculator to determine an equalization setting using the DC signal amplitude and the AC signal amplitude.
23. The apparatus of claim 22 further including a driver to receive the equalization setting.
24. The apparatus of claim 23 wherein the receiver is in a first integrated circuit and the driver is in a second integrated circuit, the apparatus further comprising a backchannel to communicate the equalization setting from the first integrated circuit to the second integrated circuit.
25. The apparatus of claim 23 wherein the receiver and driver are in a common integrated circuit.
26. The apparatus of claim 25 wherein the receiver and driver are part of a simultaneous bi-directional port circuit.
27. The apparatus of claim 23 wherein the driver includes:
a first plurality of parallel current mode driver segments configured to be responsive to outbound data; and
a second plurality of parallel current mode driver segments configured to be responsive to either the outbound data or equalization data.
28. An electronic system comprising:
a memory device to drive a transmission line;
a receiver to receive a signal from the transmission line;
an amplitude measuring device to measure a direct current (DC) signal amplitude of the signal, and to measure an alternating current (AC) signal amplitude of the signal; and
an equalization setting calculator to determine an equalization setting using the DC signal amplitude and the AC signal amplitude.
29. The electronic system of claim 28 further comprising a driver to be influenced by the equalization setting, the driver including:
a first plurality of parallel current mode driver segments configured to be responsive to outbound data; and
a second plurality of parallel current mode driver segments configured to be responsive to either the outbound data or equalization data.
30. The electronic system of claim 29 wherein the receiver and driver are in a common integrated circuit.