US20010020857A1 - Device for the regeneration of a clock signal - Google Patents

Device for the regeneration of a clock signal Download PDF

Info

Publication number
US20010020857A1
US20010020857A1 US09/771,364 US77136401A US2001020857A1 US 20010020857 A1 US20010020857 A1 US 20010020857A1 US 77136401 A US77136401 A US 77136401A US 2001020857 A1 US2001020857 A1 US 2001020857A1
Authority
US
United States
Prior art keywords
pulse
clock signal
phase
regeneration
acquisition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US09/771,364
Other versions
US6362671B2 (en
Inventor
Alexandre Malherbe
Fabrice Marinet
Alain Pomet
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
STMicroelectronics SA
Original Assignee
STMicroelectronics SA
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by STMicroelectronics SA filed Critical STMicroelectronics SA
Assigned to STMICROELECTRONICS, S.A. reassignment STMICROELECTRONICS, S.A. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: MALHERBE, ALEXANDRE, MARINET, FABRICE, POMET, ALAIN
Publication of US20010020857A1 publication Critical patent/US20010020857A1/en
Application granted granted Critical
Publication of US6362671B2 publication Critical patent/US6362671B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4247Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus
    • G06F13/426Bus transfer protocol, e.g. handshake; Synchronisation on a daisy chain bus using an embedded synchronisation, e.g. Firewire bus, Fibre Channel bus, SSA bus

Definitions

  • the present invention relates to the field of electronics, and, more particularly, to a device for the regeneration of a clock signal.
  • the device may be used for exchanging data via a universal serial bus (USB).
  • USB universal serial bus
  • USB universal serial bus
  • the USB clock signal is not transmitted on the bus. Only some synchronization bits are sent at the beginning of transmission so that the devices connected to this bus can get synchronized for sending or receiving data on this bus.
  • the integrated circuits usually and quite conventionally comprise a circuit for the generation of a synchronous clock signal based on a phase-locked loop and a quartz crystal.
  • the invention is concerned with a system comprising smart-card type portable carriers.
  • Portable carriers of this kind cannot incorporate a prior art synchronized clock signal generation circuit because it is not possible to integrate either the quartz or the phase-locked loop therein, as these elements take up a great deal of space.
  • the invention therefore relates to a device for the regeneration of the clock signal of the bus from a few external synchronization pulses, e.g., from at least two of them.
  • the regeneration of a USB clock signal must have high precision.
  • the precision must be to within about 1%.
  • a ring oscillator is used to measure the clock signal period of the bus.
  • This ring oscillator gives n phases of a clock signal.
  • the invention uses one phase among these n phases as a reference clock signal applied to a counter. This is done to count the number of entire reference clock signal periods between two pulses of the bus. The state of the n phases is read to obtain the current phase whose leading edge coincides with the second pulse of the bus.
  • a device for the regeneration of the clock signal of the bus thus comprises an acquisition stage and a regeneration stage, each comprising a ring oscillator and counting means.
  • the acquisition stage is used to measure the number of entire reference clock periods between two successive pulses of the serial bus and the current phase of the reference clock signal on the second pulse.
  • the regeneration stage uses the measurements of the acquisition stage to generate a pulse at output by a ring oscillator and identical counting means.
  • the invention therefore relates to a device for the regeneration of the clock signal of an external serial bus in an integrated circuit, comprising a stage for the acquisition of the period of the clock signal of the bus comprising a ring oscillator, counting means and means for the reading of a current phase.
  • the ring oscillator provides at an output n phases of a clock signal.
  • a phase is applied as a reference clock signal to the counting means to count the number of entire reference clock signal periods between a first pulse and a second pulse of the bus.
  • the means for the reading of the current phase is activated by the second pulse.
  • the current phase corresponds to the measurement of the phase delay between the reference clock signal and this second pulse.
  • the regeneration device furthermore comprises a regeneration stage comprising a ring oscillator and counting means identical to those of the acquisition stage for reproducing the number of pulses counted and the current acquisition phase, and to control a pulse generator giving a regenerated clock signal at an output.
  • FIG. 1 shows a signal received by an integrated circuit via an external serial bus for which it is sought to regenerate the clock signal internally according to the present invention
  • FIG. 2 shows a general block diagram of a device for the regeneration of a synchronized clock signal according to an embodiment of the present invention
  • FIG. 3 is a detailed diagram of the oscillators with the storage and phase selection circuits according to the present invention.
  • FIG. 4 is a detailed description of the principle of acquisition of the current phase in the oscillator of the acquisition stage according to the present invention.
  • FIG. 5 is a timing diagram of the different signals of the diagram of FIG. 2 in an example of sequencing according to the present invention.
  • the present invention is more particularly described within the framework of an application to an integrated circuit carrying out transactions with other integrated circuits by a USB serial bus, but its use is not limited to this application.
  • This bus in practice takes the form of two differential lines connected in each integrated circuit to a sender and a receiver.
  • FIG. 1 shows an exemplary start of a transaction on a USB type serial bus, with a transitional phase and the beginning of the transaction.
  • the example shows six synchronization pulses IS 1 to IS 6 and then a sequence of logic data elements DATA transmitted by the integrated circuit which has initiated the transaction.
  • the integrated circuits start a transaction initializing procedure.
  • the integrated circuit must get ready to receive the synchronization bits, typically six bits for a USB bus, for the internal regeneration of the USB clock signal by which it will be able to receive and/or send data elements.
  • the regeneration device uses two ring oscillators.
  • the initializing phase following the phase of detection of a beginning of a transaction comprises especially the putting into operation of these oscillators.
  • the regeneration device according to the invention is ready. According to the invention, it can measure the clock signal of the bus from the first two synchronization bits received from the USB bus. The other pulses that are then received are used to update the measurements and resynchronize the device.
  • FIG. 2 An integrated circuit comprising a regeneration circuit according to the invention is shown in FIG. 2.
  • a signal referenced CK 6 is obtained.
  • the synchronization pulses IS 1 to IS 6 are received, and then a sequence of 0s and 1s corresponding to the data is transmitted at the frequency of the USB clock signal.
  • This signal CK 6 is applied to the input of the regeneration device 2 according to the invention.
  • This device provides at an output a regenerated clock signal CKGEN that is applied to a data output stage 3 on the serial bus USB.
  • the regeneration device 2 comprises an acquisition stage A and a regeneration stage R working in parallel.
  • the regeneration stage uses at each new regeneration cycle the data given by the acquisition stage.
  • the acquisition stage A comprises a ring oscillator RO 1 , and means 10 of acquisition and storage of the current phase ⁇ a of the reference clock signal given by the ring oscillator.
  • the acquisition stage further comprises counting means 11 , means for the storage of the number Na of the periods of the reference clock signal, and means 12 for the sequencing of the acquisition stage.
  • this acquisition stage A is initialized at each signal CK 6 pulse received from the serial bus. More precisely, in the example shown, after the detection of a start of transaction, the first synchronization pulse IS 1 on CK 6 causes the activation of an initialization signal Init of an acquisition cycle.
  • This signal Init is applied as an initialization signal Start 1 of the ring oscillator R 1 and the counting means 11 .
  • the ring oscillator is synchronized with the signal CK 6 pulse. This provides for the counting, in the counting means 11 , of the number of entire clock reference periods following this first signal CK 6 pulse.
  • the sequencing means activate a latch control signal which activates the acquisition and storage of the current phase ⁇ a in the oscillator RO 1 and of the number Na of pulses counted between the two pulses of CK 6 .
  • This latch control signal then launches the initializing of the ring oscillator and the counting means for a new acquisition cycle.
  • FIG. 2 shows that the latch control signal is applied as an initialization signal Start 1 through a gate 13 .
  • the initialization signal Start 1 is activated with a small delay on the latch signal. This delay is equal to the time taken for carrying out the acquisition and storage of the data elements ⁇ a and Na.
  • pulses of CK 6 are received at variable time intervals greater than a clock signal period of the bus as a function of the sequence of the data transmitted. In this case, the data elements acquired between two of these pulses are not right.
  • This limit-crossing signal referenced Time-out in FIG. 2, could also be sent by a watchdog type circuit reset at each initialization of the acquisition step.
  • the sequencing means 12 of the acquisition stage are obtained in practice by state machines to appropriately generate the Init and latch control signals as a function of the signal CK 6 and the signal Time-out.
  • the Init and latch signals are each applied as an initialization signal Start 1 by an OR type logic gate 14 .
  • the counting means 11 may include two counters 110 and 111 .
  • the first counter 110 counts a predetermined fixed number Nf. When this count is achieved, it activates the counting in the second counter 111 .
  • the data element Na corresponding to the measurement is then that of the second counter and is used to initialize a corresponding counter in the regeneration stage. This data element Na is stored in a register 11 a upon the activation of the latch command applied to the counter 111 .
  • the regeneration stage includes a ring oscillator RO 2 , and means 20 for reading the phase ⁇ a memorized in the acquisition stage and for the selection of the corresponding phase ⁇ r in the oscillator RO 2 .
  • the regeneration stage further includes means 21 for counting the number Na given by the acquisition stage and means 22 for initializing each new regeneration cycle.
  • the ring oscillator RO 2 is structurally identical to that of the acquisition phase. At output, it gives a reference clock signal CKR 2 used to regenerate the clock signal of the bus.
  • the counting means 21 receive this reference clock signal CKR 2 to count the number Na given by the acquisition stage R. When this count is reached, it activates an end-of-count signal END at output, which is applied as an enabling signal Val_ ⁇ for the selection of the current phase ⁇ r of the reference clock signal CK 2 . The appearance of the pulse on this phase then activates a pulse generator IGEN which gives the regenerated clock signal CKGEN at an output.
  • the sequencing means 22 of the regeneration stage have the function of resetting the oscillator RO 2 and the counting means 21 at each new regeneration cycle.
  • the first regeneration cycle is activated by the appearance of the first pulse IS 1 of CK 6 .
  • the following cycles are, for example, activated by each of the pulses of the regenerated clock signal CKGEN.
  • a new reading of the data elements ⁇ a and Na given by the acquisition stage is launched so that, at each regeneration cycle, the most recent data elements are used.
  • the counting means are identical in both stages, so that the clock signal of the bus can be regenerated with precision.
  • the counting means 11 of the acquisition stage be formed by two counters 110 and 111
  • the counting means 21 of the regeneration stage are also formed by two counters.
  • the first counter 210 is identical to that of the acquisition stage to count a fixed number Nf of reference clock pulses.
  • the second counter 211 is identical to that of the acquisition stage to count the variable number Na. In the example, this second counter 211 is used as a countdown unit. It is activated by the first counter 210 when it has reached its count Nf.
  • the regeneration device is based on the identity of the circuits used, firstly, for the acquisition and, secondly, for the regeneration, these circuits being used in the acquisition stage to measure the data elements ⁇ a and Na, these same circuits being used in the restitution stage for the restitution at output of the signal corresponding to these measurements.
  • FIG. 3 gives a detailed view of the ring oscillators of the acquisition and regeneration stages with the means 10 of acquisition and storage and the current phase ⁇ a reading and selecting means 20 .
  • the ring oscillator RO 1 has ten D-type, series-connected latches B 0 to B 9 .
  • the output Q 9 of the last latch give the reference clock signal CKR 1 and is looped to the input of the first latch B 0 .
  • the nine first latches B 0 to B 8 are such that their Q output is applied to the input of the next latch.
  • the tenth latch B 9 is such that its output nq is applied as an output signal and at input of the latch B 0 .
  • these ten latches are structurally identical so that they impose exactly the same delay between the input d and their output q (B 0 to B 8 ) or nq (B 9 ). This is obtained in practice in a well-known manner by reversing the transfer control signals in the “nq” latch with respect to the “q” latches.
  • the signal Start 1 for initializing an acquisition cycle is applied to force the starting conditions of the ring oscillator RO 1 .
  • it is applied to an input Preset for presetting the first three latches B 0 to B 2 and to an input Clear for clearing the other latches.
  • the signal latch for its part is applied to the latches B 0 to B 9 of the oscillator to stop them for the period of time taken for the storage, in the other latches B 0 _ 1 to B 9 _ 1 , of the state of their inputs D 0 to D 9 .
  • These latches B 0 _ 1 to B 9 _ 1 of the acquisition and storage means 10 of the current phase ⁇ a are of the D latch circuit type with edge activation. In the example, the passage from 0 to 1 of the latch signal activates the storage, in these flip-flops, of the input applied to them.
  • the output of these latches B 0 _ 1 to B 9 _ 1 is applied to the inputs E 0 to E 9 of a circuit DEC capable of giving, at output, an information element on phase measurement.
  • This is namely information determining a latch input, among the ten latch inputs of the ring oscillator, corresponding to the current phase ⁇ a of the clock signal of the reference CKR 1 at the time of reception of a pulse of CK 6 .
  • the principle of acquisition of the current phase is illustrated in FIG. 4.
  • the phase ⁇ 0 is taken as the reference phase to be used as a reference clock signal CKR 1 applied to the counting means.
  • CKR 1 reference clock signal
  • n phases of the oscillator are phase-shifted with respect to each other by the delay ut of the latch, which is the same in each latch. If the ring oscillator is sized so that this delay ut is equal to 1 nanosecond, ten phases signals with a period of 10 ns are obtained, phase-shifted from each other by 1 ns.
  • the first acquisition cycle is activated by the reception of the first pulse IS 1 of CK 6 .
  • the principle of acquisition according to the invention includes synchronizing the phase ⁇ 0 used as the reference clock signal CKR 1 on this pulse IS 1 . This is obtained by setting the initialization (Start 1 ) of the oscillator RO 1 and the counting means 11 upon reception of the pulse IS 1 . It has been seen that, at output, a leading pulse edge is obtained on ⁇ 0 . Starting from this leading edge, the counting means will start counting a number of entire periods of CKR 1 .
  • the signal latch is activated and stops the oscillator and the counting means.
  • the number Na of pulses counted is loaded into a storage register along with the state of the inputs of the latches B 0 to B 9 , making it possible to deduce the phase delay between the last pulse of the reference pulse ⁇ 0 and the pulse IS 2 of CK 6 .
  • This delay corresponds to the identification of the current phase, namely the phase with which the pulse of CK 6 corresponds to a leading edge. This is what is called the measurement of the current phase.
  • the regeneration stage is to select this phase to reproduce the time interval to be allowed to elapse after the counting of the number Na of pulses before regenerating the pulse CKGEN.
  • the ring oscillator RO 2 of the regeneration stage has to be strictly identical to the ring oscillator RO 1 of the acquisition stage.
  • the oscillator RO 2 in the example has ten D type latches B 0 _r to B 9 _r, in series.
  • the output Q 9 of the last latch gives the reference clock signal CKR 2 and is applied to the input of the first latch B 0 _r (FIG. 3).
  • the signal Start 2 is applied to these latches to force precisely the same initialization conditions (Preset, Clear) as in the ring oscillator RO 1 .
  • the phase selection information Sel_ ⁇ is such that only one bit is at 1 for the selection of only one latch input of the ring oscillator RO 2 as the phase output ⁇ r. All the other bits are at zero.
  • the controlled gate circuit 20 _b comprises one gate per latch of the oscillator RO 2 , i.e., in the example, there are ten controlled gates P 0 , . . . , P 9 . Each of these gates is connected between the input of the associated latch and the phase output ⁇ r. This phase output ⁇ r is applied to the pulse generation circuit IGEN when the end-of-count signal END of the means 21 is activated.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • General Engineering & Computer Science (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

A device for the regeneration of a clock signal from an external serial bus includes a ring oscillator and counter. The ring oscillator provides n phases of a clock signal. Of these n phases, one phase is used as a reference and is applied to the counter. It is thus possible to count the number of entire reference clock signal periods between a first pulse and a second pulse received from the bus. In reading the state of the phases in the oscillator upon reception of the second pulse, a determination is made for a current phase corresponding to the phase delay between the reference clock signal and the second pulse of the bus. By using a regeneration device that also includes a ring oscillator and a counter, it is possible to regenerate the clock signal of the bus with high precision.

Description

    FIELD OF THE INVENTION
  • The present invention relates to the field of electronics, and, more particularly, to a device for the regeneration of a clock signal. The device may be used for exchanging data via a universal serial bus (USB). [0001]
  • BACKGROUND OF THE INVENTION
  • According to a USB (user serial bus), the USB clock signal is not transmitted on the bus. Only some synchronization bits are sent at the beginning of transmission so that the devices connected to this bus can get synchronized for sending or receiving data on this bus. [0002]
  • In systems using a data transmission protocol of this kind, the integrated circuits usually and quite conventionally comprise a circuit for the generation of a synchronous clock signal based on a phase-locked loop and a quartz crystal. [0003]
  • SUMMARY OF THE INVENTION
  • The invention is concerned with a system comprising smart-card type portable carriers. Portable carriers of this kind cannot incorporate a prior art synchronized clock signal generation circuit because it is not possible to integrate either the quartz or the phase-locked loop therein, as these elements take up a great deal of space. The invention therefore relates to a device for the regeneration of the clock signal of the bus from a few external synchronization pulses, e.g., from at least two of them. [0004]
  • In the example of a USB serial bus, the regeneration of a USB clock signal must have high precision. The precision must be to within about 1%. According to the invention, to measure the clock signal period of the bus, a ring oscillator is used. This ring oscillator gives n phases of a clock signal. The invention uses one phase among these n phases as a reference clock signal applied to a counter. This is done to count the number of entire reference clock signal periods between two pulses of the bus. The state of the n phases is read to obtain the current phase whose leading edge coincides with the second pulse of the bus. [0005]
  • This corresponds to the measurement of the delay between the reference clock signal and the second pulse of the bus. Through these two measurements, it is possible to regenerate the clock signal of the bus by the application of these two measurements to a regeneration stage comprising a ring oscillator and counting means identical to those used for the acquisition. [0006]
  • A device for the regeneration of the clock signal of the bus according to the invention thus comprises an acquisition stage and a regeneration stage, each comprising a ring oscillator and counting means. The acquisition stage is used to measure the number of entire reference clock periods between two successive pulses of the serial bus and the current phase of the reference clock signal on the second pulse. The regeneration stage uses the measurements of the acquisition stage to generate a pulse at output by a ring oscillator and identical counting means. [0007]
  • The invention therefore relates to a device for the regeneration of the clock signal of an external serial bus in an integrated circuit, comprising a stage for the acquisition of the period of the clock signal of the bus comprising a ring oscillator, counting means and means for the reading of a current phase. The ring oscillator provides at an output n phases of a clock signal. [0008]
  • A phase is applied as a reference clock signal to the counting means to count the number of entire reference clock signal periods between a first pulse and a second pulse of the bus. The means for the reading of the current phase is activated by the second pulse. The current phase corresponds to the measurement of the phase delay between the reference clock signal and this second pulse. [0009]
  • The regeneration device furthermore comprises a regeneration stage comprising a ring oscillator and counting means identical to those of the acquisition stage for reproducing the number of pulses counted and the current acquisition phase, and to control a pulse generator giving a regenerated clock signal at an output. [0010]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Other features and advantages of the invention are described in detail in the following description given by way of a non-restrictive indication and with reference to the appended drawings, of which: [0011]
  • FIG. 1 shows a signal received by an integrated circuit via an external serial bus for which it is sought to regenerate the clock signal internally according to the present invention; [0012]
  • FIG. 2 shows a general block diagram of a device for the regeneration of a synchronized clock signal according to an embodiment of the present invention; [0013]
  • FIG. 3 is a detailed diagram of the oscillators with the storage and phase selection circuits according to the present invention; [0014]
  • FIG. 4 is a detailed description of the principle of acquisition of the current phase in the oscillator of the acquisition stage according to the present invention; and [0015]
  • FIG. 5 is a timing diagram of the different signals of the diagram of FIG. 2 in an example of sequencing according to the present invention.[0016]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • The present invention is more particularly described within the framework of an application to an integrated circuit carrying out transactions with other integrated circuits by a USB serial bus, but its use is not limited to this application. This bus in practice takes the form of two differential lines connected in each integrated circuit to a sender and a receiver. [0017]
  • According to the protocol associated with such a bus, when a transaction is initiated, there is a first transitional phase during which the voltage of one of the differential lines rises while the voltage in the other line remains at zero. Then the transaction starts. According to the USB protocol, synchronization bits are first sent by the system manager of the bus which has received a transaction request. Then, the circuit initiating the transaction sends its data. [0018]
  • FIG. 1 shows an exemplary start of a transaction on a USB type serial bus, with a transitional phase and the beginning of the transaction. The example shows six synchronization pulses IS[0019] 1 to IS6 and then a sequence of logic data elements DATA transmitted by the integrated circuit which has initiated the transaction.
  • As soon as the receiver of an integrated circuit concerned by the transaction detects a difference in voltage between the differential lines d+ and d− of the bus, the integrated circuits start a transaction initializing procedure. The integrated circuit must get ready to receive the synchronization bits, typically six bits for a USB bus, for the internal regeneration of the USB clock signal by which it will be able to receive and/or send data elements. [0020]
  • According to the invention, the regeneration device uses two ring oscillators. Thus, the initializing phase following the phase of detection of a beginning of a transaction comprises especially the putting into operation of these oscillators. When this initialization phase is ended, the regeneration device according to the invention is ready. According to the invention, it can measure the clock signal of the bus from the first two synchronization bits received from the USB bus. The other pulses that are then received are used to update the measurements and resynchronize the device. [0021]
  • An integrated circuit comprising a regeneration circuit according to the invention is shown in FIG. 2. In the integrated circuit CI, after reshaping in an [0022] input circuit 1 of the signals received from the differential lines d+ and d− of the USB bus, a signal referenced CK6 is obtained. On this signal, therefore, the synchronization pulses IS1 to IS6 are received, and then a sequence of 0s and 1s corresponding to the data is transmitted at the frequency of the USB clock signal. This signal CK6 is applied to the input of the regeneration device 2 according to the invention. This device provides at an output a regenerated clock signal CKGEN that is applied to a data output stage 3 on the serial bus USB.
  • The [0023] regeneration device 2 according to the invention comprises an acquisition stage A and a regeneration stage R working in parallel. The regeneration stage uses at each new regeneration cycle the data given by the acquisition stage.
  • The acquisition stage A comprises a ring oscillator RO[0024] 1, and means 10 of acquisition and storage of the current phase Φa of the reference clock signal given by the ring oscillator. The acquisition stage further comprises counting means 11, means for the storage of the number Na of the periods of the reference clock signal, and means 12 for the sequencing of the acquisition stage.
  • If we refer to the exemplary sequencing operation shown in the timing diagram of FIG. 5, this acquisition stage A is initialized at each signal CK[0025] 6 pulse received from the serial bus. More precisely, in the example shown, after the detection of a start of transaction, the first synchronization pulse IS1 on CK6 causes the activation of an initialization signal Init of an acquisition cycle.
  • This signal Init is applied as an initialization signal Start[0026] 1 of the ring oscillator R1 and the counting means 11. Thus, the ring oscillator is synchronized with the signal CK6 pulse. This provides for the counting, in the counting means 11, of the number of entire clock reference periods following this first signal CK6 pulse.
  • When the second synchronization pulse IS[0027] 2 is received, the sequencing means activate a latch control signal which activates the acquisition and storage of the current phase Φa in the oscillator RO1 and of the number Na of pulses counted between the two pulses of CK6. This latch control signal then launches the initializing of the ring oscillator and the counting means for a new acquisition cycle. FIG. 2 shows that the latch control signal is applied as an initialization signal Start1 through a gate 13. Thus, the initialization signal Start1 is activated with a small delay on the latch signal. This delay is equal to the time taken for carrying out the acquisition and storage of the data elements Φa and Na.
  • When the synchronization pulses of CK[0028] 6 have all been received, pulses of CK6 are received at variable time intervals greater than a clock signal period of the bus as a function of the sequence of the data transmitted. In this case, the data elements acquired between two of these pulses are not right. Thus, in the invention, it is planned to activate the acquisition and data storage means Φa and Na only if the two CK6 pulses that sandwich the acquisition cycle correspond to a clock period.
  • This can be done simply, for example by appropriately sizing the counting means at a maximum predetermined number so that, when this limit is reached, the counting means activate a signal indicating the crossing of this limit. This limit-crossing signal, referenced Time-out in FIG. 2, could also be sent by a watchdog type circuit reset at each initialization of the acquisition step. [0029]
  • The sequencing means [0030] 12 of the acquisition stage are obtained in practice by state machines to appropriately generate the Init and latch control signals as a function of the signal CK6 and the signal Time-out. In the example, the Init and latch signals are each applied as an initialization signal Start1 by an OR type logic gate 14.
  • In practice, the counting means [0031] 11 may include two counters 110 and 111. The first counter 110 counts a predetermined fixed number Nf. When this count is achieved, it activates the counting in the second counter 111. The data element Na corresponding to the measurement is then that of the second counter and is used to initialize a corresponding counter in the regeneration stage. This data element Na is stored in a register 11 a upon the activation of the latch command applied to the counter 111.
  • The regeneration stage includes a ring oscillator RO[0032] 2, and means 20 for reading the phase Φa memorized in the acquisition stage and for the selection of the corresponding phase Φr in the oscillator RO2. The regeneration stage further includes means 21 for counting the number Na given by the acquisition stage and means 22 for initializing each new regeneration cycle. The ring oscillator RO2 is structurally identical to that of the acquisition phase. At output, it gives a reference clock signal CKR2 used to regenerate the clock signal of the bus.
  • The counting means [0033] 21 receive this reference clock signal CKR2 to count the number Na given by the acquisition stage R. When this count is reached, it activates an end-of-count signal END at output, which is applied as an enabling signal Val_Φ for the selection of the current phase Φr of the reference clock signal CK2. The appearance of the pulse on this phase then activates a pulse generator IGEN which gives the regenerated clock signal CKGEN at an output.
  • The sequencing means [0034] 22 of the regeneration stage have the function of resetting the oscillator RO2 and the counting means 21 at each new regeneration cycle. The first regeneration cycle is activated by the appearance of the first pulse IS1 of CK6.
  • The following cycles are, for example, activated by each of the pulses of the regenerated clock signal CKGEN. In a more complicated sequencing, it would be possible to take account of the pulses of this regenerated clock signal CKGEN by default or else the pulses of CK[0035] 6 when these pulses are received. In any case, at each new regeneration cycle, a new reading of the data elements Φa and Na given by the acquisition stage is launched so that, at each regeneration cycle, the most recent data elements are used.
  • It has been seen here above that the counting means are identical in both stages, so that the clock signal of the bus can be regenerated with precision. Should the counting means [0036] 11 of the acquisition stage be formed by two counters 110 and 111, the counting means 21 of the regeneration stage are also formed by two counters. The first counter 210 is identical to that of the acquisition stage to count a fixed number Nf of reference clock pulses. The second counter 211 is identical to that of the acquisition stage to count the variable number Na. In the example, this second counter 211 is used as a countdown unit. It is activated by the first counter 210 when it has reached its count Nf.
  • It will clearly be understood that the regeneration device according to the invention is based on the identity of the circuits used, firstly, for the acquisition and, secondly, for the regeneration, these circuits being used in the acquisition stage to measure the data elements Φa and Na, these same circuits being used in the restitution stage for the restitution at output of the signal corresponding to these measurements. [0037]
  • FIG. 3 gives a detailed view of the ring oscillators of the acquisition and regeneration stages with the [0038] means 10 of acquisition and storage and the current phase Φa reading and selecting means 20. In the example the ring oscillator RO1 has ten D-type, series-connected latches B0 to B9. The output Q9 of the last latch give the reference clock signal CKR1 and is looped to the input of the first latch B0.
  • In the example, the nine first latches B[0039] 0 to B8 are such that their Q output is applied to the input of the next latch. The tenth latch B9 is such that its output nq is applied as an output signal and at input of the latch B0. However, these ten latches are structurally identical so that they impose exactly the same delay between the input d and their output q (B0 to B8) or nq (B9). This is obtained in practice in a well-known manner by reversing the transfer control signals in the “nq” latch with respect to the “q” latches.
  • The signal Start[0040] 1 for initializing an acquisition cycle is applied to force the starting conditions of the ring oscillator RO1. In the example, it is applied to an input Preset for presetting the first three latches B0 to B2 and to an input Clear for clearing the other latches.
  • The signal latch for its part is applied to the latches B[0041] 0 to B9 of the oscillator to stop them for the period of time taken for the storage, in the other latches B0_1 to B9_1, of the state of their inputs D0 to D9. These latches B0_1 to B9_1 of the acquisition and storage means 10 of the current phase Φa are of the D latch circuit type with edge activation. In the example, the passage from 0 to 1 of the latch signal activates the storage, in these flip-flops, of the input applied to them. The output of these latches B0_1 to B9_1 is applied to the inputs E0 to E9 of a circuit DEC capable of giving, at output, an information element on phase measurement. This is namely information determining a latch input, among the ten latch inputs of the ring oscillator, corresponding to the current phase Φa of the clock signal of the reference CKR1 at the time of reception of a pulse of CK6.
  • The principle of acquisition of the current phase is illustrated in FIG. 4. The ring oscillator gives n phases of a clock signal, one per latch input. In the example, n=10. We therefore have the phases Φ[0042] 0 to Φ9. In the example, the phase Φ0 is taken as the reference phase to be used as a reference clock signal CKR1 applied to the counting means. Thus, in the example, when the ring oscillator and the counting means are initialized, at output, there is obtained the leading edge of a pulse on the phase Φ0. From which the counting means can count a number of entire periods of the reference clock signal.
  • The n phases of the oscillator are phase-shifted with respect to each other by the delay ut of the latch, which is the same in each latch. If the ring oscillator is sized so that this delay ut is equal to 1 nanosecond, ten phases signals with a period of 10 ns are obtained, phase-shifted from each other by 1 ns. [0043]
  • Referring to FIGS. 4 and 5, the first acquisition cycle is activated by the reception of the first pulse IS[0044] 1 of CK6. The principle of acquisition according to the invention includes synchronizing the phase Φ0 used as the reference clock signal CKR1 on this pulse IS1. This is obtained by setting the initialization (Start1) of the oscillator RO1 and the counting means 11 upon reception of the pulse IS1. It has been seen that, at output, a leading pulse edge is obtained on Φ0. Starting from this leading edge, the counting means will start counting a number of entire periods of CKR1.
  • When the second pulse IS[0045] 2 is received, the signal latch is activated and stops the oscillator and the counting means. The number Na of pulses counted is loaded into a storage register along with the state of the inputs of the latches B0 to B9, making it possible to deduce the phase delay between the last pulse of the reference pulse Φ0 and the pulse IS2 of CK6.
  • This delay corresponds to the measurement, in the time unit ut, of the time interval T between the last pulse of CKR[0046] 10 and the pulse IS2 of CK6, namely in the example a measurement of this time unit to within 1 nanosecond. This delay corresponds to the identification of the current phase, namely the phase with which the pulse of CK6 corresponds to a leading edge. This is what is called the measurement of the current phase.
  • What has to be done then, in the regeneration stage, is to select this phase to reproduce the time interval to be allowed to elapse after the counting of the number Na of pulses before regenerating the pulse CKGEN. For this purpose, the ring oscillator RO[0047] 2 of the regeneration stage has to be strictly identical to the ring oscillator RO1 of the acquisition stage.
  • The oscillator RO[0048] 2 in the example has ten D type latches B0_r to B9_r, in series. The output Q9 of the last latch gives the reference clock signal CKR2 and is applied to the input of the first latch B0_r (FIG. 3). The signal Start2 is applied to these latches to force precisely the same initialization conditions (Preset, Clear) as in the ring oscillator RO1.
  • The read means [0049] 20 of the phase to be selected in the ring oscillator RO2 comprises a logic circuit 20_a to transmit the phase selection information Sel_Φ=[Sel_Φ0, Sel_Φ1, . . . , Sel_Φ9] on a circuit 20_b of controlled gates. This transmission is done upon activation of the signal Start2. The phase selection information Sel_Φ is such that only one bit is at 1 for the selection of only one latch input of the ring oscillator RO2 as the phase output Φr. All the other bits are at zero.
  • The controlled gate circuit [0050] 20_b comprises one gate per latch of the oscillator RO2, i.e., in the example, there are ten controlled gates P0, . . . , P9. Each of these gates is connected between the input of the associated latch and the phase output Φr. This phase output Φr is applied to the pulse generation circuit IGEN when the end-of-count signal END of the means 21 is activated.
  • With a device according to the invention, it is possible, in practice, to regenerate the clock of the bus and to do so with high precision. This device is more particularly applicable in the integrated circuits of smart-card type portable carriers, but also can be used more generally. [0051]

Claims (15)

That which is claimed is:
1. A device for the regeneration of the clock signal of an external serial bus in an integrated circuit, comprising a stage for the acquisition of the period of the clock signal of the bus comprising a ring oscillator, counting means and means for the reading of a current phase, said ring oscillator giving, at output, n phases of a clock signal, a phase being applied as a reference clock signal to said counting means to count the number of entire reference clock signal periods between a first pulse and a second pulse of the bus, said means for the reading of the current phase being activated by the second pulse, said current phase corresponding to the measurement of the phase delay between the reference clock signal and this second pulse, the regeneration device furthermore comprising a regeneration stage comprising a ring oscillator and counting means identical to those of the acquisition stage, to reproduce the number of pulses counted and the current acquisition phase, and control a pulse generator giving a regenerated clock signal at output.
2. A device according to
claim 1
, wherein the acquisition stage comprises means of re-initializing the ring oscillator and counting means to synchronize the acquisition cycle on each pulse of the serial bus.
3. A device according to
claim 2
, wherein said re-initializing means activate a first control signal on reception of the first pulse, which activates the re-initialization and wherein they activate the second control signal to store the current phase and the number of pulses and then activate the re-initialization.
4. A device according to
claim 2
or
3
, wherein the regeneration stage comprises re-initialization means to re-initialize the ring oscillator and the counting means upon reception of a pulse from the serial bus or of the regenerated clock signal.
5. A device according to
claim 4
, wherein the regeneration stage comprises re-initializing means to re-initialize the ring oscillator and the counting means upon reception of the first pulse of the serial bus, and of each regenerated clock signal pulse.
6. A device according to one of the
claims 4
to
5
, wherein the current phase and the number of pulses given by the acquisition stage are read by the regeneration stage at each re-initialization.
7. A device according to any of the above claims, wherein the regeneration stage comprises means of selection of the current phase, comprising a phase-controlled gate of the ring oscillator, to select one phase among the n phases, corresponding to the current phase.
8. A device according to any of the above claims, wherein the counting means of the acquisition and regeneration stages comprise two counters, a first counter to count a fixed number of reference clock strokes, a second counter to count a variable number.
9. A device according to
claim 8
, wherein the second counter of the regeneration stage is used as a countdown unit, the passage to zero of the counter activating a control signal applied as an enabling signal for the selection of the current phase in the oscillator (RO2).
10. A device according to any of the above claims, wherein the acquisition stage is re-initialized at the expiry of a time period after the reception of each pulse of the serial bus, if no other pulse of the serial bus has followed in this time period.
11. A device according to
claim 10
, wherein this time period is given by the counting means of the acquisition stage, after the counting of a predetermined maximum number.
12. A device according to
claim 10
, wherein this time period is given by a watchdog reset at each new pulse of the serial bus.
13. A device according to any of the above claims, wherein the serial bus is a USB type bus.
14. An integrated circuit comprising a device according to any of the above claims.
15. A smart-card type carrier support comprising an integrated circuit according to
claim 14
.
US09/771,364 2000-01-27 2001-01-26 Device for the regeneration of a clock signal Expired - Lifetime US6362671B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
FR0001061 2000-01-27
FR0001061A FR2804521B1 (en) 2000-01-27 2000-01-27 DEVICE FOR REGENERATING A CLOCK

Publications (2)

Publication Number Publication Date
US20010020857A1 true US20010020857A1 (en) 2001-09-13
US6362671B2 US6362671B2 (en) 2002-03-26

Family

ID=8846381

Family Applications (1)

Application Number Title Priority Date Filing Date
US09/771,364 Expired - Lifetime US6362671B2 (en) 2000-01-27 2001-01-26 Device for the regeneration of a clock signal

Country Status (4)

Country Link
US (1) US6362671B2 (en)
EP (1) EP1120714B1 (en)
DE (1) DE60128608T2 (en)
FR (1) FR2804521B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060023824A1 (en) * 2002-12-23 2006-02-02 Infineon Technologies Ag Method and device for extracting a clock frequency underlying a data stream
EP1646150A1 (en) 2002-12-23 2006-04-12 Infineon Technologies AG Method and device for extracting a clock pulse frequency underlying a data flow
US20110093736A1 (en) * 2009-10-16 2011-04-21 Elan Microelectronics Corporation Method and circuit for trimming an internal oscillator of a usb device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2803925B1 (en) * 2000-01-18 2002-03-15 St Microelectronics Sa DEVICE FOR REGENERATING A CLOCK FROM AT LEAST TWO SYNCHRONIZATION BITS
US7120813B2 (en) * 2003-01-28 2006-10-10 Robert Antoine Leydier Method and apparatus for clock synthesis using universal serial bus downstream received signals

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3127517B2 (en) * 1991-10-04 2001-01-29 株式会社デンソー Pulse generating apparatus and pulse generating method
JPH0831847B2 (en) * 1991-10-09 1996-03-27 株式会社ネットワークサプライ Digital signal relay transmission device
JP3578839B2 (en) * 1995-07-18 2004-10-20 三菱電機株式会社 Digital receiver
US6100765A (en) * 1998-01-09 2000-08-08 Micron Technology, Inc. Digital clock recovery loop
US6233205B1 (en) * 1996-09-17 2001-05-15 Xilinx, Inc. Built-in self test method for measuring clock to out delays
US5889436A (en) * 1996-11-01 1999-03-30 National Semiconductor Corporation Phase locked loop fractional pulse swallowing frequency synthesizer
US5920211A (en) * 1997-03-27 1999-07-06 Lsi Logic Corporation Fully digital clock synthesizer
US5970110A (en) * 1998-01-09 1999-10-19 Neomagic Corp. Precise, low-jitter fractional divider using counter of rotating clock phases

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060023824A1 (en) * 2002-12-23 2006-02-02 Infineon Technologies Ag Method and device for extracting a clock frequency underlying a data stream
EP1646150A1 (en) 2002-12-23 2006-04-12 Infineon Technologies AG Method and device for extracting a clock pulse frequency underlying a data flow
US7453958B2 (en) 2002-12-23 2008-11-18 Infineon Technologies Ag Method and device for extracting a clock frequency underlying a data stream
US20110093736A1 (en) * 2009-10-16 2011-04-21 Elan Microelectronics Corporation Method and circuit for trimming an internal oscillator of a usb device
US8595543B2 (en) * 2009-10-16 2013-11-26 Elan Microelectronics Corporation Method and circuit for trimming an internal oscillator of a USB device according to a counting number between a first and second clock count value

Also Published As

Publication number Publication date
FR2804521B1 (en) 2002-04-05
EP1120714B1 (en) 2007-05-30
DE60128608D1 (en) 2007-07-12
US6362671B2 (en) 2002-03-26
EP1120714A1 (en) 2001-08-01
DE60128608T2 (en) 2008-01-31
FR2804521A1 (en) 2001-08-03

Similar Documents

Publication Publication Date Title
US5359630A (en) Method and apparatus for realignment of synchronous data
US10129012B2 (en) Tuning circuitry and operations for non-source-synchronous systems
US4449119A (en) Self-clocking serial decoder
US6771726B2 (en) Device for the regeneration of a clock signal from at least two synchronization bits
US4054747A (en) Data buffer
JP3173457B2 (en) Data communication device
JPH02253464A (en) Programmable data transfer timing
CN100547933C (en) Be used for the synchronous system and method for clock signal
US6362671B2 (en) Device for the regeneration of a clock signal
EP1946475B1 (en) Data interface and method of seeking synchronization
US7408958B2 (en) Device for transmitting asynchronous data having clock deviation control
JP2948245B2 (en) Transmission / reception synchronization device for communication network station
JPH11509658A (en) Extended chip select reset device and method
EP1188108B1 (en) Two clock domain pulse to pulse synchronizer
US4809303A (en) Dynamic speed shifter for fiber optic work station
US5148450A (en) Digital phase-locked loop
JP3408486B2 (en) Synchronous circuit between devices
US6825705B2 (en) Clock signal generation circuit and audio data processing apparatus
US7359468B2 (en) Apparatus for synchronizing clock and data between two domains having unknown but coherent phase
JP3185207B2 (en) Data processing system
JPH04145566A (en) Serial transferring circuit
JPH08139711A (en) Receiver circuit for asynchronous data
JPH0656997B2 (en) Erasable buffer circuit
JP2001077800A (en) Serial transmission transmission/reception circuit
JP2594670B2 (en) Elastic store circuit

Legal Events

Date Code Title Description
AS Assignment

Owner name: STMICROELECTRONICS, S.A., FRANCE

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MALHERBE, ALEXANDRE;MARINET, FABRICE;POMET, ALAIN;REEL/FRAME:011758/0136

Effective date: 20010223

STCF Information on status: patent grant

Free format text: PATENTED CASE

CC Certificate of correction
FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 8

FPAY Fee payment

Year of fee payment: 12