Synchronization of multiple transmit/receive devices

Abstract: CODECs and various other types of communication devices requiring timing information to enable them to transmit and receive digital information at the proper time. In the case of multiple CODECs (e.g., 101 ... 104) on a single integrated circuit, this has typically required devoting terminals to provide separate transmit and receive frame synchronization pulses (e.g., FST₀ ... FST₃; FSR₀ ... FSR₃) for each CODEC. Alternatively, a microprocessor interface may be included so that internal registers can be loaded with transmit and receive timing information. However, that approach limits timing flexibility. In the present invention, a "frame synchronization separation pulse" (FSEP) is provided to an integrated circuit (e.g., 301) to obtain the separation in time between transmit and receive synchronization pulses. In this manner, the number of integrated circuit terminals required for synchronization may be reduced.

Description: Background of the Invention Field of the Invention The present invention relates to a technique for communicating information by means of synchronized transmit and receive devices. Description of the Prior Art Various types of integrated circuits require timing information to enable them to transmit and receive digital information at the proper time. For example, an audio CODEC ( CO der DEC oder) used in telephone systems converts an analog signal from a microphone in a telephone set to a digital signal for transmission over a network, and conversely converts a digital signal from the network to an analog signal that drives an earphone or speaker in the telephone set. Video CODECs that perform comparable functions for video interface devices and digital video networks are also coming into use, along with various types of shared audio-video devices and networks. In most cases, the networks provide synchronous communications to and from the CODECs, so that a defined relationship in time exists between the transmitted digital signals from the devices on the network, and similarly for the received digital signals. Furthermore, a defined time relationship usually exists between the digital signals transmitted from, and received by, a given CODEC. However, it is also usually necessary to be able to change the desired time relationships, as when adding new terminal equipment to the network, or even from one telephone call to the next, as for providing network switching of the calls or for optimum utilization of the time slots available for transmission. EP-A-0 496 589 and EP-A-0 353 737 disclose synchronization apparatuses. A typical multi-CODEC system is illustrated in Fig. 1. The CODECs 101, 102, 103 and 104 transmit digital signals over a common output line 105, and receive digital signals over a common input line 106. Each CODEC is assigned a time slot for transmission, and a time slot for reception, over the common lines. The transmit frame synchronization pulses, designated FST, provide the CODECs with timing information for transmitting their digitized information. For example, when synchronization pulse FST is received by a given CODEC, that CODEC then sends out a word of digitized information (not shown) to the line 105. In the case of a typical audio CODEC, this is often an 8-bit word, representing 2 13 signal levels (i.e., 13 bits) that are compressed into the 8 bits. Similarly, when a receive frame synchronization pulse FSR is received by a CODEC, that CODEC is activated to accept a word of digitized information from the line 106. In this manner, each CODEC is instructed what portion (i.e., time slot) of a given frame of data to utilize for transmission and reception. The transmit signal TX on output line 105, and the input signal RX on line 106, may be communicated over separate conductors to the network if desired. Alternatively, they may be combined on a single bidirectional conductor, in which case both transmit frames and receive frames are communicated over the same conductor. In a typical system, a total of 32 (or alternatively 64) time slots are available in a given "frame" of data, as illustrated in Fig. 2. A typical telephone channel is sampled at a rate of 8 kHz, thereby providing a new sample word every 125 microseconds. Therefore, the frame is 125 microseconds in duration. As indicated above, a receive synchronization pulse (FSR) is used to determine which of the 32 receive time slots in a receive frame provides data to a given CODEC. Similarly, a transmit synchronization pulse (FST) is used to determine which of the 32 transmit time slots in a transmit frame is used for transmitting data from a given CODEC. For example, considering that the synchronization pulses are shown as they travel toward the CODEC (i.e., right to left) in Fig. 1, it can be seen that synchronization pulses FST 0 and FSR 0 cause CODEC 101 to first transmit a word of information, and thereafter receive a word of information. This is due to the delay ΔT between FST 0 and FSR 0 . This is also the case for CODEC 102, except that its synchronization pulses (FST 1 , FSR 1 ) occur earlier in time than those for CODEC 101. On the other hand, CODEC 103 is instructed to transmit a word by synchronization pulse FST 2 , and to receive a word by synchronization pulse FSR 2 , at a later time than CODEC 101. The CODEC 104 is instructed to transmit and receive by synchronization pulses FST 3 and FSR 3 still later in time. Various time relationships between the transmit and receive synchronization pulses are possible. Since the group of four CODECs shown in Fig. 1 communicate over a common transmit conductor (105) and receive conductor (106), the time delay ΔT is typically the same for each CODEC. However, the time delay ΔT may differ from one system design to the next. In fact, ΔT may differ from one group of CODECs to another, even on the same system, depending on which "backplane" they communicate with. Furthermore, it is not in general necessary for the transmit synchronization pulses (FST) to arrive before the receive synchronization pulses (FSR); rather, the reverse could be the case, depending on system design. In fact, the synchronization pulses could arrive simultaneously in some designs (e.g., ΔT = 0), so that the CODECs simultaneously transmitted and received digital signals over the lines 105, 106. Therefore, it is desirable for the CODECs to be able to work with a wide range of ΔT values. Providing the synchronization pulses to the CODECs is usually accomplished through dedicated terminals on the integrated circuit containing the CODEC. That is, a first terminal is dedicated to the receive synchronization pulse (FSR), whereas a second terminal is dedicated to the transmit synchronization pulse (FST). However, a trend in integrated circuit design is to include more functionality on a given integrated circuit chip. Therefore, multiple CODECs may be included on a single chip in some cases. This may lead to a problem in packaging the chip, since additional package terminals are required. It is therefore desirable to be able to supply the synchronization pulses to the various CODECs on the chip using a minimum number of terminals. In one design, registers are included on the chip that are loaded with the transmit and receive timing information. These registers may be loaded through a single package terminal. However, the size of the integrated circuit undesirably increases to accommodate the registers. Furthermore, the use of registers may limit flexibility of use in many cases, since appropriate circuitry must be provided for interfacing the registers to a control circuit, such as a microprocessor for example. Summary of the Invention In accordance with the present invention there is provided an integrated circuit according to claim 1, a communication system according to claim 6, or a method according to claim 12. We have invented a technique for providing synchronization of multiple transmit/receive devices. A time slot offset pulse provides a desired separation in time between the transmit and receive time slots. An illustrative embodiment is given for multiple CODECs on a single integrated circuit, wherein the number of package terminals may be reduced. Brief Description of the Drawings Fig. 1 shows a typical prior-art arrangement for the synchronization of multiple CODECs. Fig. 2 shows a typical frame of data having multiple time slots. Fig. 3 shows an illustrative embodiment of the invention. Fig. 4 shows a timing diagram with frame time slots and illustrative pulses. Fig. 5 shows an illustrative implementation of the synchronizing unit. Detailed Description The following detailed description relates to a technique for synchronizing multiple transmit/receive devices. Referring to Fig. 3, an illustrative embodiment of the invention for multiple CODECs on a single integrated circuit (301) is shown, with others being possible. The CODECs (302, 303, 304, 305) each receive and transmit an analog signal, illustratively to telephone units. For example, telephone 313 communicates over twisted wire pair 312 to a subscriber line interface circuit 311 (or alternatively a transformer) of a type known in the art, and then over conductor pair 307 to the CODEC 302. Other telephone units (not shown) similarly communicate with the other CODECs. The CODECs may be of any suitable type known in the art. In a typical case, the CODECs perform analog-to-digital conversion using the successive-approximation technique known in the art, and perform digital-to-analog conversion using a resistor ladder technique known in the art, with various alternate techniques being possible. The analog signals transmitted over lines 307 ... 310 are converted by CODECs 302 ... 305, respectively, to digital signals TX 0 ... TX 3 , respectively, and sent to synchronizing unit 306. The synchronizing unit combines the digital signals by assigning them to the appropriate time slots, shown in simplified pulse form on transmit line 316, for transmission from the integrated circuit 301 to external devices (not shown). These transmit time slots are defined by the corresponding transmit frame synchronization pulses (FST 0 ... FST 3 ) provided to the integrated circuit 301 over the lines 317 ... 320, respectively, from an external source (not shown). The transmit synchronization pulses are distributed by the synchronizing unit 306 to the individual CODECs 302 ... 305, respectively. Conversely, the receive line 315 provides a received digital signal (RX) to the synchronizing unit 306 from an external source (not shown). The synchronizing unit directs the digital signals from the receive time slots to the corresponding CODECs over the receive lines RX 0 ... RX 3 . In practice, the receive lines RX 0 ... RX 3 are typically electrically connected together, with the individual CODECs picking off the appropriate receive time slots defined by the receive synchronization pulses FSR 0 ... FSR 3 , which are provided by the frame synchronizing unit 306. In the inventive technique, a "frame synchronization separation pulse" (FSEP) separates the receive and transmit pulses in time. (For convenience of explanation, the illustrative signals are shown with their corresponding conductor lines in Fig. 3). In the illustrative embodiment of Fig. 3, FSEP is provided from an external source (not shown) to the synchronizing unit 306 by means of line 314. The FSEP has a width (i.e., duration) that determines this time separation. The receive synchronization pulses (FSR 0 ... FSR 3 ) are then generated by the synchronizing unit 306, with each receive synchronization pulse being delayed in time by an amount approximately equal to the duration of FSEP from the corresponding transmit synchronization pulse. This may conveniently be accomplished by counting the duration of FSEP by means of a counter (not shown) that is clocked by the system clock signal MCLK on line 321. The duration of FSEP is then used for the purpose of sending the receive synchronization pulses (FSR 0 ... FSR 3 ) to each of the CODECs 302 ... 305, respectively, at a defined delay from the corresponding transmit synchronization pulses (FST 0 ... FST 3 ). The resulting receive time slots are shown in simplified pulse form on RX line 315, being delayed from the corresponding TX time slots by approximately the duration of FSEP. For example, referring to Fig. 4, a frame of data comprising 32 time slots (0 to 31) is shown, along with the master clock signal MCLK that generates the time slots. (The initial clock pulse in each time slot is shown with exaggerated height, for clarity of illustration.) The duration of the FSEP is determined by counting the number of MCLK clock pulses that occur during the time that FSEP is high. The delay, in clock periods, of the receive synchronization pulses (FSR) from the corresponding transmit synchronization pulses (FST) is this count minus one in the illustrative case. Therefore, the receive synchronization pulses occur 39 clock periods (40 - 1) later than the corresponding transmit synchronization pulses. In the illustrative case, if the FSEP is one clock period or less, the synchronizing unit 306 makes the transmit and receive synchronization pulses coincident. Note that the "one" is subtracted from the count in the illustrative case to readily provide for the case of coincident transmit (FST) and receive (FSR) synchronization pulses; i.e., ΔT = 0. That is, if FSEP is equal to one MCLK clock pulse (or less), then a given CODEC transmits and receives digital signals simultaneously. However, other modifications to the count of FSEP are possible when determining the delay. The frame synchronizing unit 306 may generate the receive synchronization pulses (FSR 0 ... FSR 3 ) from the FSEP by a variety of techniques. A presently preferred embodiment for determining the duration of FSEP is shown in Fig. 5. The FSEP is applied to pulse generator 500, which generates a first (head) pulse on the rising edge of FSEP, and applies this head pulse to the reset input of the 9-bit counter 502. The pulse generator 500 also generates a second (tail) pulse on the falling edge of FSEP, and applies this tail pulse to the reset input of the 9-bit counter 501. These head and tail pulses are relatively short compared to the length of FSEP. The counters 501 and 502 continually count the clock signal MCLK, and provide the count over 9-conductor busses 507 and 508, respectively. Note that since these counters are reset at the beginning and end of the FSEP, the difference in the count of these counters (i.e., the count in counter 502 minus the count in counter 501) provides the duration of FSEP, as measured in MCLK clock pulses. The pulse generators 503 ... 506 generate relatively short head pulses on the rising edge of each of the transmit synchronization pulses (FST 0 ... FST 3 ), and supply these head pulses to the latches 509 ... 512, respectively. A given transmit synchronization pulse (e.g., FST 0 ) causes a given head pulse to be supplied from a given pulse generator (e.g., 503) to the "load" input of the corresponding latch (e.g., 509), thereby causing the count from the counter 502 to be loaded into that latch (509) through the "data" input. This count is then compared by a comparator (e.g., 513) with the count from the counter 501. When these counts are equal, the comparator sends out the receive synchronization signal (e.g., FSR 0 ). This signal then allows the corresponding CODEC (e.g., 302 in Fig. 3) to receive a time slot of information from the receive line RX. While this circuit implementation of the synchronizing unit is convenient for layout on integrated circuits, numerous other techniques for generating the receive synchronization pulses from the transmit synchronization pulse in accordance with the duration of FSEP are possible. It can thus be seen that in the illustrative case, four receive synchronization pulses are generated from the FSEP. Hence, the invention saves 3 integrated circuit terminals, allowing four CODECs to fit a standard 28 pin package, for example. While the above illustrative embodiment has generated the receive synchronization pulses from the transmit synchronization pulses using FSEP, it is apparent that the opposite could be the case. That is, the receive synchronization pulses could be supplied to the synchronizing unit 306 from an external source, and the transmit synchronization pulses for each of the CODECs could be generated therefrom by means of the FSEP. Although the above embodiment has been given in terms of CODECs that interface with telephones, other types of device interfaces are possible. For example, various other types of transducers may advantageously interface with digital-to-analog and analog-to-digital converters, as can various video devices. Furthermore, the input signals to multiple communication devices on a given integrated circuit may already be in digital form, and therefore no conversion between analog and digital signals may be required. The present invention may then be implemented with a synchronizing unit (e.g., 306) on an integrated circuit that provides the synchronization pulses to such devices. The advantages noted above with respect to reduced integrated circuit terminal count may still be obtained in that case. Furthermore, various time-slot interchange applications exit in the digital art, including, for example, asynchronous transfer mode (ATM) switches and integrated services digital network (ISDN) applications, which may advantageously use the inventive technique.

Claims: An integrated circuit (301) comprising multiple communication devices (302, ... 305) each adapted to transmit and to receive digital signals during time slots defined by receive and transmit synchronization pulses; characterized in that said integrated circuit further comprises: first inputs for receiving a given type of said receive and transmit synchronization pulses (FST 0 ,... FST 3 ) that define a given type of time slots, and providing said given type of synchronization pulses to the given type of synchronization inputs of said communication devices; a second input for receiving a frame separation synchronization pulse (FSEP) having a given duration; and a synchronization unit (306) coupled to said first inputs and said second input for generating, based on said given type of said receive and transmit synchronization pulses and said frame separation synchronization pulse, the other type of said receive and transmit synchronization pulses (FSR 0 ,... FSR 3 ) that define the other type of time slots, and for providing said other type of synchronization pulses to the other type of synchronization inputs of said communication devices; wherein the synchronization unit is adapted to generate the other type of said receive and transmit synchronization pulses by delaying the received synchronization pulses by an amount approximately equal to the duration of the frame separation synchronization pulse. The integrated circuit of claim 1, wherein said communication devices are CODECs. The integrated circuit of claim 1, wherein said synchronization unit comprises means for receiving a system clock signal and for counting the duration of said frame separation synchronization pulse. The integrated circuit of claim 1, wherein the given type of synchronization pulses that are received by said first inputs are transmit synchronization pulses, and the other type of pulses that are generated by said synchronization unit are receive synchronization pulses. The integrated circuit of claim 1, wherein the given type of synchronization pulses that are received by said first inputs are receive synchronization pulses, and the other type of pulses that are generated by said synchronization unit are transmit synchronization pulses. A communication system including an integrated circuit (301) comprising multiple communication devices (302,... 305) each adapted to transmit and to receive digital signals during time slots defined by receive and transmit synchronization pulses; characterized in that said integrated circuit further comprises: first inputs for receiving a given type of said receive and transmit synchronization pulses (FST 0 ,... FST 3 ) that define a given type of time slots, and providing said given type of synchronization pulses to the given type of synchronization inputs of said communication devices; a second input for receiving a frame separation synchronization pulse (FSEP) having a given duration; and a synchronization unit (306) coupled to said first inputs and said second input for generating, based on said given type of said receive and transmit synchronization pulses and said frame separation synchronization pulse, the other type of said receive and transmit synchronization pulses (FSR 0 ,... FSR 3 ) that define the other type of time slots, and for providing said other type of synchronization pulses to the other type of synchronization inputs of said communication devices; wherein said communication system further comprises means for providing said frame separation synchronization pulse; and wherein the synchronization unit is adapted to generate the other type of said receive and transmit synchronization pulses by delaying the received synchronization pulses by an amount approximately equal to the duration of the frame separation synchronization pulse. The communication system of claim 6, wherein said communication devices are CODECs. The communication system of claim 6, wherein said synchronization unit comprises means for receiving a system clock signal and for counting the duration of said frame separation synchronization pulse. The communication system of claim 6 further comprising means for providing said system clock signal. The communication system of claim 6, wherein the given type of synchronization pulses that are received by said first inputs are transmit synchronization pulses, and the other type of pulses that are generated by said synchronization unit are receive synchronization pulses. The communication system of claim 6, wherein the given type of synchronization pulses that are received by said first inputs are receive synchronization pulses, and the other type of pulses that are generated by said synchronization unit are transmit synchronization pulses. A method for communicating digital signals over a communication channel to and from multiple communication devices (302,... 305) located on a given integrated circuit (301), by steps comprising providing receive and transmit synchronization pulses to each of said devices; characterized in that said providing is accomplished by: providing to first inputs of said integrated circuit a given type of said receive and transmit synchronization pulses (FST 0 ,... FST 3 ), and coupling said first inputs to the given type of synchronization inputs of said communication devices; providing to a second input of said integrated circuit a frame separation synchronization pulse (FSEP) having a given duration, and coupling said first inputs and said second inputs to a synchronization unit (306) on said integrated circuit; and generating by said synchronization unit, based on said given type of said receive and transmit synchronization pulses and said frame separation synchronization pulse, the other type of said receive and transmit synchronization pulses (FSR 0 ,... FSR 3 ), and coupling said other type of pulses to the other type of synchronization inputs of said devices; wherein the other type of said receive and transmit synchronization pulses are generated by delaying the received synchronization pulses by an amount approximately equal to the duration of the frame separation synchronization pulse. The method of claim 12, wherein said communication devices are CODECs. The method of claim 12, wherein said synchronization unit comprises means for receiving a system clock signal and for counting the duration of said frame separation synchronization pulse. The method of claim 12, wherein the given type of synchronization pulses that are received by said first inputs are transmit synchronization pulses, and the other type of pulses that are generated by said synchronization unit are receive synchronization pulses. The method of claim 12 wherein the given type of synchronization pulses that are received by said first inputs are receive synchronization pulses, and the other type of pulses that are generated by said synchronization unit are transmit synchronization pulses.

Inventors: EVERT BENJAMIN HAYES, VAIDEN ROBERT HENRY, ZIMANY EDWARD JOSEPH JR, EVERT, BENJAMIN HAYES, VAIDEN, ROBERT HENRY, ZIMANY, EDWARD JOSEPH, JR.
Applicants: AT & T CORP, AT&T CORP.
Application year: 1994
Main classification: H04J3
IPC codes: H04J3, H04L7, H03L7