The invention relates to serial data communication, particularly to asynchronous serial data communication.
An essential cost factor in serial data communication systems is the number of pins required for transmitting and receiving clock signals. Another important cost criterion is the clock frequency on the communication connections between devices of a serial data communication system since the clock frequency determines the power consumption of the system.
Serial data communication systems with several devices often use a local clock generator or a high frequency clock signal from which required communication clocks are derived. However, if several different communication clocks for transmitting and receiving of data are required, the high frequency clock signal must have a frequency which is many times the number of the highest communication clock in order to allow to derive different communication clocks. Typically, the frequency must be 20 to 40 times higher than the highest communication clock. For example, for a communication clock of 5 MBaud, a high frequency clock signal with a frequency from 100 to 200 MHz is required. Such high frequencies must be guided over pins which generates a significant amount of power consumption.
It is also possible to provide a single device as a local clock generator for generating different communication clock signals for transmitting and receiving data. The communication clock signals may be guided to data communication devices which use it for serially transmitting and receiving signals from other data communication devices. However, this requires at least three connection lines from the local clock generator to the devices for guiding a transmit clock signal, a receive clock signal, and a control signal for controlling the communication. Therefore, the wiring is complex.
It is an object of the invention to provide a serial data communication system and method which require a less complex wiring than the before discussed solution.
In order to achieve the object defined above, with a serial data communication system according to the invention characteristic features are provided so that a serial data communication system according to the invention can be characterized in the way defined below, that is:
a local clock generation device adapted for generating a clock signal with a duty cycle depending on a control signal, and
a serial data communication control device adapted for generating the control signal depending on the receipt of a serial data signal and for deriving a transmit and receive clock signal from the clock signal received from the local clock generation device.
In order to achieve the object defined above, with a method for serial data communication according to the invention characteristic features are provided so that a serial data communication method according to the invention can be characterized in the way defined below, that is:
a local clock generation device generates a clock signal with a duty cycle depending on a control signal, and
a serial data communication control device generates the control signal depending on the receipt of a serial data signal and derives a transmit and receive clock signal from the clock signal received from the local clock generation device.
The characteristic features according to the invention provide the advantage that only a single clock line between the local clock generation device and the serial data communication controller is required for transmitting the clock signal. Thus, the wiring between these two devices is less complex. Furthermore, no high frequency clock signal must be guided over a pin or a pad in case of an integrated circuit which increases the power consumption of the system since the serial data communication controller may control the generation of the required clock signal by the local clock generation device.
The local clock generation device may be adapted to generate the clock signal with a predefined clock having a first duty cycle if the control signal comprises a first state and having a second duty cycle differing from the first duty cycle if the control signal comprises a second state. For example, the control signal may be a logical signal comprising the two states logical 0 and logical 1 for controlling the clock generation.
For a reliable operation, the serial data communication control device may be adapted to derive the transmit and receive clock signal from the clock signal received from the local clock generation device after the serial data signal was received for a predefined time. The predefined time serves as a filter for filtering interference signals contained in the received data signal. Since interference signals are usually very short, i.e., much shorter than the predefined time, they cannot influence the derivation of the receive and transmit clock signal.
In a preferred embodiment of the invention, the serial data communication control device is adapted to generate a pulse of the receive clock signal triggered by the negative edge of a pulse of the clock signal when the control signal comprises a respective state.
In a preferred embodiment of the invention, the system is adapted to transmit and receive data serially according to the RS232 standard.
According to a further aspect, the invention relates to a local clock generation device for use with a system according to the invention, wherein the local clock generation device comprises an oscillator for generating a local high frequency clock signal, and a clock generation circuit adapted for generating a clock signal from the local high frequency clock signal with a duty cycle depending on a control signal. This device may be implemented for example as a separate device or in an integrated circuit comprising a serial data communication system according to the invention.
According to a yet further aspect, the invention relates to a serial data communication control device for use with a system or device according to the invention, wherein the serial data communication device comprises a transmit and receive clock generation circuit adapted to generate a control signal from a receive data signal for controlling the generation of a clock signal, and data processing circuitry for processing data received from a serial data communication device and data to be transmitted to a serial data communication device.
In a preferred embodiment, the transmit and receive clock generation circuit comprises a control signal generation circuit with a multiplexer, which receives a receive data signal and a constant signal on its input side, and a multiplexer control circuitry comprising a counter and being adapted for switching either of the input signals of the multiplexer to the multiplexer output as the control signal depending on the count of the counter.
The aspects defined above and further aspects of the invention are apparent from the exemplary embodiments to be described hereinafter and are explained with reference to these exemplary embodiments.
The invention will be described in more detail hereinafter with reference to an exemplary embodiment. However, the invention is not limited to this exemplary embodiment.
The local clock generation device 14 may be for example a NFC device having a 13.56 MHz quartz oscillator 26 for generating a local high frequency clock signal 28 which is highly accurate and stable. The local high frequency clock signal 28 is supplied to a clock generation circuit 30 which generates a clock signal CLK 16 with a duty cycle depending on the state of a control signal IDLE 18 received from the serial data communication control device 14. The clock signal CLK 16 is used in the serial data communication control device 14 for deriving a receive clock signal CLK_RX 20 for sampling data contained in a serial data signal received from device C 22. Furthermore, the clock signal CLK 16 is used in the serial data communication control device 14 as a basis for generating a transmit clock signal CLK_TX 21.
The serial data communication control device 14 comprises a transmit and receive clock generation circuit 32 which is designed to generate the control signal IDLE 18 from a receive data signal RX 34 as will be explained later in detail. Furthermore, the transmit and receive clock generation circuit 32 is designed to generate the receive clock signal CLK_RX 20 and the transmit clock signal CLK_TX 21, by deriving both clock signals 20 and 21 from the clock signal CLK 16. Device B 14 also comprises data processing circuitry 36 for processing data received from device C and data to be transmitted to device C 22.
For the serial communication between the device B 14 and C 22, the following declarations must be met by the communicating devices 14 and 22:
a) both devices transmit serial data with the same frequency, i.e., the transmit clock signal CLK_TX of one device must be equal to the receive clock signal CLK_RX of the other device;
b) a serial communication between the devices is initiated by a initialization signal such as a start bit which signals to the receiving device that serial data will be sent from the transmitting device to the receiving device;
c) after the initialization signal, a predefined number of data bits, for example eight or two are sent, and after the predefined number of data bits, a stop bit signals the end of the serial data transmission.
In the diagram of
At time t4, device B 14 receives a signal from device C 22 which may be a start bit of a serial data transmission. On receipt of the signal, the control signal IDLE 18 is switched from logical 1 to logical 0 by the transmit and receive clock generation circuit 32. The clock generation device 12 waits for a certain time period and checks after this time period whether the control signal IDLE 18 is still logical 0 (at time t5). The certain time period corresponds to a bit length required to interpret the received signal as a start bit of a serial data transmission. It should be understood that the certain time period may be longer or shorter than the half of a bit length. However, it should be longer than the time length of typical interference signals contained in the received signal from device C 22, as will be explained later in detail.
After the certain time period, the local clock generation device A 12 interprets the control signal IDLE 18 as a start bit for receiving serial data and generates a negative edge of the clock signal CLK 16 (assuming that the clock signal CLK 16 is at time t5 logical 1). This negative edge triggers the transmit and receive clock generation circuit 32 to generate a sampling pulse of the receive clock signal CLK_RX for sampling the received serial data RX. At the same time, the transmit and receive clock generation circuit 32 starts the counter 42 (see
As long as the counter 42 counts down, the multiplexer control signal 40 switches a logical 0 to the output of the multiplexer 38 so that the control signal IDLE 18 remains logical 0 for the predefined time period of the data bits of a serial transmission. During this time period, the transmit and receive clock generation circuit 32 generates sampling pulses at times t5, t7, t8, and t9 of the receive clock signal CLK_RX. With the sampling pulses, the received serial data is sampled at the times t5, t7, t8, and t9.
At time t9, the count of the counter 42 equals 0 and, thus, the multiplexer 38 switches the received serial data RX on its output so that the control signal IDLE 18 is the received serial data RX. Since the received serial data is logical 1 when no serial data are transmitted according to the RS232 standard, also the control signal IDLE 18 is switched back from a logical 0 to a logical 1. This causes the local clock generation circuit 12 again to generate a clock signal CLK 16 with a duty cycle of about 50%, refer to time t10. Since the control signal IDLE 18 is logical 1, the transmit and receive clock generation circuit 32 again outputs a logical 0 as the receive clock signal CLK_RX 20 as derivation from the clock signal CLK 16.
Between time t11 and t12, the received serial data signal RX comprises interference pulses which also occur in the control signal IDLE 18. However, these interference pulses are shorter than half of a period and, thus, are not interpreted by the devices A 12 and B 14 as start bits of a serial data transmission. At time t13, a negative edge of the control signal IDLE 18 occurs and the control signal IDLE 18 remains logical 0 for the certain time period required to cause the clock generation device 12 to interpret the control signal IDLE 18 as a start bit for receiving serial data and to generate again a negative edge in the clock signal CLK 16 at time t14 (assuming that the clock signal CLK 16 is at time t14 logical 1). This negative edge triggers the transmit and receive clock generation circuit 32 to generate a sampling pulse of the receive clock signal CLK_RX for sampling the received serial data RX. Also at the same time, the transmit and receive clock generation circuit 32 starts the counter 42 (see
According to the invention, device B 14 only consumes power when data are received or sent and data must be processed. Device B 14 processes data, which are transmitted to device C 22 or received from this device, by itself. It is also possible that device B 14 controls device A 12 via more complex signals, such as via a predefined control protocol or even via commands. The commands may be transmitted serially from device B 14 to device A 12 or also in parallel which requires more than a single control connection line.
| Number | Date | Country | Kind |
|---|---|---|---|
| 06100035 | Jan 2006 | EP | regional |
| Filing Document | Filing Date | Country | Kind | 371c Date |
|---|---|---|---|---|
| PCT/IB2006/054845 | 12/14/2006 | WO | 00 | 7/2/2008 |
| Publishing Document | Publishing Date | Country | Kind |
|---|---|---|---|
| WO2007/077501 | 7/12/2007 | WO | A |
| Number | Name | Date | Kind |
|---|---|---|---|
| 3273033 | Rossmeisl | Sep 1966 | A |
| 4292595 | Smith | Sep 1981 | A |
| 4748419 | Somerville | May 1988 | A |
| 5138436 | Koepf | Aug 1992 | A |
| 5187636 | Nakao | Feb 1993 | A |
| 5187637 | Embree | Feb 1993 | A |
| 5321597 | Alacoque | Jun 1994 | A |
| 6271131 | Uhlenbrock et al. | Aug 2001 | B1 |
| 6331999 | Ducaroir et al. | Dec 2001 | B1 |
| 6347395 | Payne et al. | Feb 2002 | B1 |
| 6429735 | Kuo et al. | Aug 2002 | B1 |
| 6507226 | Swonger et al. | Jan 2003 | B2 |
| 6636166 | Sessions et al. | Oct 2003 | B2 |
| 6664859 | Chen et al. | Dec 2003 | B1 |
| 161068 | Zerbe et al. | Aug 2004 | A1 |
| 6809569 | Wang et al. | Oct 2004 | B2 |
| 6839862 | Evoy et al. | Jan 2005 | B2 |
| 6859883 | Svestka et al. | Feb 2005 | B2 |
| 6882046 | Davenport et al. | Apr 2005 | B2 |
| 6920576 | Ehmann | Jul 2005 | B2 |
| 7199617 | Schrom et al. | Apr 2007 | B1 |
| 7302247 | Dupuis | Nov 2007 | B2 |
| 7376212 | Dupuis | May 2008 | B2 |
| 7400173 | Kwang et al. | Jul 2008 | B1 |
| 7411421 | Steinke et al. | Aug 2008 | B1 |
| 7421028 | Dupuis | Sep 2008 | B2 |
| 7447492 | Dupuis | Nov 2008 | B2 |
| 7460604 | Dupuis | Dec 2008 | B2 |
| 7577223 | Alfano et al. | Aug 2009 | B2 |
| 7650130 | Dupuis | Jan 2010 | B2 |
| 7737871 | Leung et al. | Jun 2010 | B2 |
| 7738568 | Alfano et al. | Jun 2010 | B2 |
| 7755400 | Jordanger et al. | Jul 2010 | B2 |
| 7821428 | Leung et al. | Oct 2010 | B2 |
| 7856219 | Dupuis | Dec 2010 | B2 |
| 7902627 | Dong et al. | Mar 2011 | B2 |
| 8049573 | Alfano et al. | Nov 2011 | B2 |
| 8064872 | Dupuis | Nov 2011 | B2 |
| 8169108 | Dupuis et al. | May 2012 | B2 |
| 20010052623 | Kameyama et al. | Dec 2001 | A1 |
| 20020021144 | Morgan et al. | Feb 2002 | A1 |
| 20020184544 | Svestka et al. | Dec 2002 | A1 |
| 20020186058 | Prodanov | Dec 2002 | A1 |
| 20030214346 | Pelliconi | Nov 2003 | A1 |
| 20040076192 | Zerbe et al. | Apr 2004 | A1 |
| 20040159893 | Kitahara | Aug 2004 | A1 |
| 20050127452 | Rippke et al. | Jun 2005 | A1 |
| 20050174156 | Wu et al. | Aug 2005 | A1 |
| 20060138595 | Kiyotoshi | Jun 2006 | A1 |
| 20070075784 | Pettersson et al. | Apr 2007 | A1 |
| 20080174360 | Hsu | Jul 2008 | A1 |
| 20080290444 | Crawley et al. | Nov 2008 | A1 |
| 20090146760 | Reefman et al. | Jun 2009 | A1 |
| 20090213914 | Dong et al. | Aug 2009 | A1 |
| 20090237858 | Steeneken et al. | Sep 2009 | A1 |
| 20100052826 | Callahan et al. | Mar 2010 | A1 |
| 20100118918 | Dupuis | May 2010 | A1 |
| 20100327940 | Eisenstadt et al. | Dec 2010 | A1 |
| 20110006814 | Acar et al. | Jan 2011 | A1 |
| Number | Date | Country |
|---|---|---|
| 1291918 | Dec 2003 | EP |
| 1564884 | Aug 2005 | EP |
| 2204467 | Nov 1988 | GB |
| Number | Date | Country | |
|---|---|---|---|
| 20090010371 A1 | Jan 2009 | US |