The present invention discloses an asynchronous serial communication system and method. The asynchronous serial communication system may include a semiconductor device having two terminals and configured to receive a voltage required for an operation from data transmitted through one terminal; and a controller configured to perform asynchronous serial communication with the semiconductor device with two terminals. The asynchronous serial communication system may perform asynchronous serial communication between the semiconductor device and the controller in order to write or read data through the one terminal.
|
4. A semiconductor device comprising:
an input buffer configured to receive a pulse signal from a controller through an i/O line in response to a transition time point of a signal transmitted from outside, the pulse signal swinging between preset first and second voltages, compare the pulse signal to a preset comparison voltage, and provide a signal corresponding to a comparison result between the pulse signal and the comparison voltage;
a pulse generation circuit configured to output a pulse having a transition time point synchronized with an output of the input buffer; and
a toggle flip-flop configured to recover the output data to have the same phase as the transmitted signal using the pulse.
6. An asynchronous serial communication system comprising:
a controller having an i/O voltage regulator for controlling an i/O line to retain an i/O voltage, and configured to perform any one of pull up or pull down operations for the i/O line, stop the pull-up or pull-down operation to generate a first constant pulse when a pull-up signal or pull-down signal reaches a predetermined first reference voltage, float the i/O line while the first constant pulse is enabled, and sense data when the data are transferred to the floated i/O line; and
a semiconductor device configured to generate a second constant pulse when the pull-up signal or the pull-down signal of the i/O line reaches the second reference voltage, and output read data through the i/O line while the second constant pulse is enabled.
2. An asynchronous serial communication system comprising:
a controller configured to control pull-up and pull-down operations for an i/O line, and output a pulse signal to the i/O line, the pulse signal swinging between an i/O voltage and a reference voltage for controlling the pull-up and pull-down operations and corresponding to a transition time point of a signal transmitted from outside; and
a semiconductor device configured to perform charging of an internal power source and data input using the pulse signal,
wherein the semiconductor device comprises, for the data input:
an input buffer configured to compare the pulse signal to a preset comparison voltage and provide a signal corresponding to a comparison result between the pulse signal and the comparison voltage;
a pulse generation circuit configured to output a pulse having a transition time point synchronized with the output of the input buffer; and
a toggle flip-flop configured to recover the output data to have the same phase as the transmitted signal using the pulse.
1. An asynchronous serial communication system comprising:
a controller configured to control pull-up and pull-down operations for an i/O line, and output a pulse signal to the i/O line, the pulse signal swinging between an i/O voltage and a reference voltage for controlling the pull-up and pull-down operations and corresponding to a transition time point of a signal transmitted from outside; and
a semiconductor device configured to perform charging of an internal power source and data input using the pulse signal,
wherein the controller comprises:
a pulse generator configured to generate a pulse corresponding to the transition time point of the transmitted signal when the transmitted signal is inputted;
an i/O voltage regulator configured to control the i/O line to retain the i/O voltage; and
a control unit configured to control the i/O line to retain the i/O voltage, perform of any one of pull-up or pull-down operations for the i/O line at the transition time point of the transmitted signal when the transmitted signal is inputted, and stop the pull-up or pull-down operations when the voltage of the i/O line reaches a preset reference voltage, and
wherein the voltage level of the i/O line returns to the i/O voltage after the pull-up or pull-down operation is stopped, and the pulse signal swinging between the i/O voltage and the reference voltage is outputted to the i/O line in response to the transmitted signal.
3. The asynchronous serial communication system of
5. The semiconductor device of
7. The asynchronous serial communication system of
a first switch turned on at a point of time that the first constant pulse is enabled, and sampling the data of the i/O line;
a second switch turned on at a point of time that the first constant pulse is disabled, and sampling the data of the i/O line; and
a double sampling difference amplifier configured to output a comparison result between the voltages sampled by the first and second switches as the read data.
8. The asynchronous serial communication system of
an input buffer configured to detect whether the pull-down voltage or pull-up voltage for the i/O line has reached the second reference voltage;
a pulse generation circuit configured to generate the second constant pulse having an enable period with a constant width, when the pull-down voltage or pull-up voltage for the i/O line reaches the second reference voltage; and
a switch configured to output the read data through the i/O line while the second constant pulse is enabled.
9. The asynchronous serial communication system of
10. The asynchronous serial communication system of
|
The present disclosure relates to asynchronous serial communication, and more particularly, to a semiconductor device for asynchronous serial communication, and an asynchronous serial communication method and system for performing asynchronous serial communication to write and read data.
Semiconductor devices can be fabricated through various semiconductor technologies, depending on the uses thereof.
For example, a semiconductor device such as a semiconductor memory or system integrated circuit is fabricated through a semiconductor technology capable of satisfying high performance and high degree of integration. In this case, the fabrication cost of the semiconductor device is inevitably high.
On the other hand, there are also semiconductor devices which can be fabricated at a low cost. Examples of the semiconductor devices which can be fabricated at a low cost may include a security chip, a medical sensor for single use, an environmental sensor, a small precise sensor for industrial use and the like. The above-described semiconductor technologies may be exemplified as disclosed in U.S. Pat. Nos. 5,398,326 and 6,108,751.
The semiconductor devices related to the sensor field, such as a medical sensor for single use and a security chip, do not require high performance, have low power consumption and small size, and require a simple interface with an external system.
The semiconductor device utilized as a sensor should have price competitiveness. Furthermore, the semiconductor device utilized as a sensor should be able to have a simple structure, and guarantee a favorable data transmission speed while having various utilizations.
Various embodiments are directed to a semiconductor device with two terminals of which one terminal is shared for data communication and power source.
Also, various embodiments are directed to a semiconductor device having a rectification function for acquiring a supply voltage from data.
Further, various embodiments are directed to a technique capable of writing and reading data through one pin using an asynchronous serial communication method.
Further, various embodiments are directed to a technique capable of enabling a semiconductor device with two pins to generate a reference clock for asynchronous serial communication and to write data provided from an external controller using the reference clock, and a technique for minimizing an energy loss and the sizes of internal circuits in order to transmit data information generated therein to the external controller.
Further, various embodiments are directed to a controller capable of transferring data using a short period pulse in order to raise the efficiency of a rectification function using input data, a semiconductor device capable of stably recovering data transferred through a short period pulse, and an asynchronous serial communication technology capable of preventing an error during a data transfer process.
Further, various embodiments are directed to a technique for performing asynchronous serial communication, and determining read and write modes according to code information contained in data.
Further, various embodiments are directed to a technique for generating a timing for determining a high or low state of data inputted through an asynchronous serial communication method in a write mode, recognizing the baud rate of the input data.
Further, various embodiments are directed to a technique for generating a clock signal corresponding to a same baud rate when a series of data transmitted from outside contains a code indicating a read mode, sensing internal data from an internal data forming unit using the generated clock signal, the internal data forming unit indicating an element array including at least one of a sensor element and memory element which are implemented with a CMOS circuit, performing data communication with an external controller by transferring the sensed data to an output buffer, and returning to a write mode after all the data are transferred to the external controller at read mode.
Further, various embodiments are directed to a technique for generating an output of a semiconductor device with two terminals in synchronization with a reference pulse signal transmitted from an external controller in a read mode, such that the output of the semiconductor device with two terminals can be sensed and determined by the external controller.
Further, various embodiments are directed to a technique for alternately performing an operation of transmitting data from a data forming unit to an output buffer and an operation of transmitting data from the output buffer to the outside, in order to reduce the size of the output buffer required by a semiconductor device with two terminals when the semiconductor device outputs data.
Further, various embodiments are directed to a technique for sharing one terminal selected between two terminals of a semiconductor device for data communication and power source, depending on a mode.
In one embodiment, a semiconductor device may include: first and second terminals on a substrate; a rectification circuit including a diode and a first capacitor; and a CMOS component. Any one of the first and second terminals may be connected to a contact for data I/O of the CMOS component, and simultaneously connected to the rectification circuit, the semiconductor device may be operated by power stored in the first capacitor, and the data I/O may use a pulse signal synchronized with a data transition time point in order to increase power supply efficiency.
In the semiconductor device, an element array including at least one of a sensor element and memory element which are implemented with the CMOS component may be formed on a sensing surface of the substrate, and the semiconductor device may further include a circuit for processing the data for the element array.
In another embodiment, a semiconductor device may include an input buffer configured to recognize a pulse signal synchronized with a transition point of an actual signal provided from outside through one I/O line; a pulse signal recovery circuit configured to recover the recognized pulse signal to the actual signal; a command decoder configured to recognize the recovered signal as data; an address providing unit configured to provide write addresses in response to a write mode according to control of the command decoder; and an element array including at least one of a sensor element and memory element for writing the data according to the addresses.
In another embodiment, a semiconductor device may include an input buffer configured to recognize a pulse signal provided from outside through one I/O line; a pulse signal recovery circuit configured to recover the recognized pulse signal to an actual signal; a command decoder configured to recognize a read mode code of the recovered signal and provide a read command; an address providing unit configured to provide read addresses in response to a read mode; an element array configured to provide the data in response to the read command and the designated addresses; an analog-digital converter (ADC) configured to convert an analog signal outputted from the element array into a digital signal; a first-in first-out (FIFO) memory configured to sequentially store and output predetermined sizes of data outputted from the ADC; and an output buffer configured to output the data of the FIFO memory through the I/O line.
In another embodiment, a controller may include: a voltage regulator configured to generate a stable voltage required for an operation of a semiconductor device with two terminals; a command decoder configured to provide data corresponding to a signal transmitted from outside; a baud rate generator configured to generate a capture timing of data provided from the semiconductor device with two terminals; a pulse signal generator configured to provide a pulse signal for loading the data of the command decoder to one I/O line according to the capture timing; an output buffer configured to output the pulse signal of the pulse signal generator to the semiconductor device through the one I/O line, using the voltage of the voltage regulator; an input buffer configured to receive a signal from the semiconductor device through the one I/O line; and a converter configured to convert the signal of the input buffer into a data format recognizable by an external device.
In another embodiment, an asynchronous serial communication method may include: generating an oscillation signal by recognizing a pulse width of one bit among the first bit and a plurality of data bits following the first bit, which are transmitted through an asynchronous serial communication method, using a ring oscillater; generating a capture signal based on a transition point of the oscillation signal; and capturing the data bit using any one of rising and falling edges of the capture signal.
In another embodiment, an asynchronous serial communication system may include: a controller having a first output buffer and first input buffer which share one I/O line; and a semiconductor device having a second output buffer and second input buffer which share the one I/O line, and including a capacitor for storing power and a diode for transferring data of the I/O line to the capacitor. When the controller writes the data to the semiconductor device, the first output buffer may be retained in an on state, and the second output buffer may be retained in an off state. The data may be transferred to the capacitor through the diode while being transferred to the second input buffer. When the controller reads the data from the semiconductor device, the first output buffer may be turned off while the second output buffer is retained in the on state.
In another embodiment, an asynchronous serial communication system may include: a controller configured to control pull-up and pull-down operations for an I/O line, and output a pulse signal to the I/O line, the pulse signal swinging between an I/O voltage for controlling the pull-up operation and a reference voltage for controlling the pull-down operation and corresponding to a transition time point of a signal transmitted from outside; and a semiconductor device configured to perform charging of an internal power source and write modes using the signal of the I/O line which is pulsed.
In another embodiment, a controller may include: a pulse generator configured to generate a pulse corresponding to a transition point of a transmitted signal when the transmitted signal is inputted; a voltage regulator configured to maintain a pull-up operation such that an I/O line retains a preset I/O voltage or more; and a pull-down controller configured to pull down the I/O line in response to a pulse signal of the pulse generator, and stop the pull-down operation when the voltage of the I/O line reaches a preset reference voltage. The voltage level of the I/O line may be restored by the pull-up operation after the pull-down operation is stopped, and the pulse signal which is swung by the pull-up and pull-down operations may be outputted to the I/O line in response to the transmitted signal.
In another embodiment, a semiconductor device may include: an input buffer configured to receive a pulse signal from a controller through an I/O line in response to a transition point of a signal transmitted from outside, the pulse signal swinging between first and second voltages, compare the pulse signal to a preset comparison voltage, and provide a signal corresponding to a comparison result between the pulse signal and the comparison voltage; a pulse generation circuit configured to output a pulse having a transition point synchronized with an output of the input buffer; and a toggle flip-flop configured to recover the data to have the same phase as the transmitted signal using the pulse.
In another embodiment, a controller may include: an I/O voltage regulator configured to maintain a pull-up operation such that an I/O line to retain an I/O voltage or more; a pull-down controller configured to pull down the I/O line in response to a read command, and stop the pull-down operation when a pull-down signal of the I/O line reaches a preset reference voltage; a pulse generation circuit configured to generate a pulse having a constant enable period and constant width when the pull-down signal of the I/O line reaches the reference voltage; and a first transistor configured to float the I/O line by disconnecting the I/O line from the I/O voltage regulator while the pulse with constant width is enabled. When data are transferred to the floated I/O line, the controller may sense and output the data.
In another embodiment, an asynchronous serial communication system may include: a controller configured to control pull-up and pull-down operations for an I/O line, output a pulse signal to the I/O line, the pulse signal swinging between an I/O voltage for controlling the pull-up operation and a first reference voltage for controlling the pull-down operation and corresponding to a transition point of a signal transmitted from outside or a read command, pull down the I/O line in response to the read command, generate a first constant width pulse and stop the pull-down operation when a pull-down signal of the I/O line reaches the first reference voltage, float the I/O line while the first constant width pulse is enabled, and sense and output data when the data are transferred to the floated I/O line; and a semiconductor device configured to perform power charging and write modes using the pulse signal, generate a second constant width pulse in response to the read command when the pull-down signal of the I/O line reaches a second reference voltage, and output read data through the I/O line while the second constant width pulse is enabled.
In another embodiment, an asynchronous serial communication system may include: a controller configured to control pull-up and pull-down operations for an I/O line, output a pulse signal to the I/O line, the pulse signal swinging between a reference voltage for controlling the pull-up operation and an I/O voltage for controlling the pull-down operation and corresponding to a transition point of a signal transmitted from outside or a read command, pull up the I/O line in response to the read command, generate a first constant width pulse and stop the pull-up operation when a pull-up signal of the I/O line reaches the first reference voltage, float the I/O line while the first constant width pulse is enabled, and sense and output data when the data are transferred to the floated I/O line; and a semiconductor device configured to perform power charging and write modes using the pulse signal, generate a second constant width pulse in response to the read command when the pull-up signal of the I/O line reaches the second reference voltage, and output read data through the I/O line while the second constant width pulse is enabled.
In another embodiment, a controller may include: a first mode switch turned on in response to a first switching mode; and a second mode switch turned on in response to a second switching mode. The controller may control pull-up and pull-down operations for an I/O line in response to the turn-on of the first mode switch, output a first pulse signal to the I/O line, the first pulse signal swinging between a first I/O voltage for controlling the pull-up operation and a pull-down reference voltage for controlling the pull-down operation and corresponding to a transition point of a first signal transmitted from outside or a read command, pull down the I/O line in response to the read command, generate a constant width pulse when a pull-down signal of the I/O line reaches the pull-down reference voltage, float the I/O line while the constant width pulse is enabled, and sense and output data when the data are transferred to the floated I/O line. Furthermore, the controller may control the pull-up and pull-down operations for the I/O line in response to the turn-on of second mode switch, output a second pulse signal to the I/O line, the second pulse signal swinging between a pull-up reference voltage for controlling the pull-up operation and a second I/O voltage for controlling the pull-down operation and corresponding to a transition point of a second signal transmitted from outside or a read command, pull up the I/O line in response to the read command, generate the constant pulse when a pull-up signal of the I/O line reaches the pull-up reference voltage, float the I/O line while the constant width pulse is enabled, and sense and output data when the data are transferred to the floated I/O line.
In another embodiment, an oscillator which generates an oscillation signal for recognizing data transmitted through an asynchronous serial communication method may include: a NOR gate configured to transfer an input signal as a delayed signal, the input signal being enabled at the same time as the start of one bit among the first bit and a plurality of data bits following the first bit, which are transmitted through the asynchronous serial communication method; and a plurality of delay circuits connected in series. Each of the delay circuits may include: a delay line and first transfer switch configured to transfer the delayed signal in a forward direction along a forward line; a second transfer switch configured to return the delayed signal in a backward direction along a backward line; and a pass-through switch configured to transfer the delayed signal from the forward line to the backward line; and a latch having a set state decided in response to a signal corresponding to a pulse width of the first bit and the delayed signal, and control the first and second transfer switches and the pass-through switch using outputs corresponding to the set state. The delayed signal may be transferred in the forward direction through the delay lines and the first transfer switches of the one or more delay circuits after the start time point of the first bit, and transferred to the backward line through the pass-through switch of the specific delay circuit at the end time point of the first bit. The delayed signal transferred to the backward line may be returned to the NOR gate through the second transfer switches of the delay circuits, and an oscillation signal may be generated when the NOR gate inverts the signal which is returned through the backward line.
According to the embodiments of the present invention, the semiconductor device may have two terminals of which one terminal is shared for data communication and power source. Therefore, the semiconductor device can perform asynchronous serial communication. In other words, the semiconductor device can write and read data using the shared terminal.
The semiconductor device may have a rectification function for acquiring a supply voltage from data.
Moreover, since the semiconductor device with two terminals can generate the reference clock for asynchronous serial communication, the semiconductor device can write data using the reference clock.
Furthermore, since the energy loss and the sizes of the internal circuits can be minimized, data information generated by the semiconductor device can be stably transferred to the external controller.
The controller can transfer data using a short period pulse, and the semiconductor device can recover the transferred data using the short period pulse, which makes it possible to raise the efficiency of the rectification function using data while realizing the asynchronous serial communication technology capable of removing an error of the data transfer process.
Depending on code information contained in data, the asynchronous serial communication system can determine the read mode and the write mode.
The asynchronous serial communication system can generate timing for determining a high or low state of data inputted through the asynchronous serial communication method in the write mode, using the baud rate of the input data.
Therefore, when the data contains a code indicating the read mode, the semiconductor device with two terminals may generate a clock signal corresponding to the baud rate, receive data from the internal data formation unit using the clock signal, and return to the write mode after receiving the data. The internal data formation unit may indicate the element array including one or more of the sensor element and memory element which are implemented with the CMOS circuit.
Furthermore, the asynchronous serial communication system can generate an output of the semiconductor device in synchronization with the reference pulse signal transferred from the external controller in the read mode, and the external controller can sense and determine the output of the semiconductor device.
When the semiconductor device outputs data, the asynchronous serial communication system can alternately perform the operation of transmitting data from the data providing unit to the output buffer and the operation of transmitting data from the output buffer to the outside. Therefore, the size of the output buffer required for the semiconductor device can be reduced.
Furthermore, since one terminal which is selected between two terminals of the semiconductor device depending on the mode is shared for data communication and power source, the semiconductor device can be utilized flexibly in various purposes.
Hereafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings. The terms used in the present specification and claims are not limited to typical dictionary definitions, but must be interpreted as meanings and concepts which coincide with the technical idea of the present invention.
Embodiments described in the present specification and configurations illustrated in the drawings are preferred embodiments of the present invention, and do not represent the entire technical idea of the present invention. Thus, various equivalents and modifications capable of replacing the embodiments and configurations may be provided at the point of time that the present application is filed.
The present invention discloses a semiconductor device with two terminals. The semiconductor device according to the embodiment of the present invention may indicate all types of chips fabricated by a semiconductor technology which can be implemented at a low cost, such as a security chip, a medical sensor for single use, an environmental sensor and a small precise sensor for industry.
Referring to
The semiconductor device 10 may include a substrate 18 between the front side on which the first terminal 12 and the sensing surface 14 are formed and the back side on which the second terminal 16 is formed, and the substrate 18 may be formed by p-type semiconductor. The substrate 18 has the sensing surface 14 and various circuits for processing the data generated by reading operation or writing operation on the sensing surface 14, the sensing surface 14 and the various circuits being formed on the semiconductor substrate.
In the present embodiment, the semiconductor device 10 has a structure in which the first and second terminals 12 and 16 are formed on different sides of the substrate 18. However, the present embodiment is not limited thereto, but the first and second terminals 12 and 16 may be formed on the same side of the substrate 18, and the sensing surface 14 may be solely formed on one surface of the substrate 18.
When the first and second terminals 12 and 16 are formed on different sides of the substrate 18, all CMOS components within the semiconductor device have a structure illustrated in
The substrate 18 has a deep N-well formed therein, and an N-well and P-well are formed in the deep N-well. Each of the N-well and P-well includes a p+ junction and n+ junction for forming a source and drain and a pattern P_gate or N_gate for forming a gate. All CMOS components within an actual semiconductor device are formed using the N-well and P-well formed in the deep N-well, and
A P-well may be formed in a region isolated from the deep N-well of the substrate 18, and have a p+ junction connected to an input/output (I/O) circuit. The P-well serves to widen a contact surface with the P-substrate. Therefore, although only the p+ junction is formed without the P-well, the p+ junction can be connected to the I/O circuit.
When the first and second terminals 12 and 16 are formed on different sides of the substrate 18, the CMOS component may be formed by the above-described deep N-well structure, and have a terminal for receiving a ground voltage VSS and a terminal for receiving a data I/O voltage VIO.
In the CMOS component of
Between the operating voltage node VDD corresponding to the internal supply voltage and a ground voltage node VSS corresponding to the first terminal, a capacitor is present. The capacitor may be used to perform a rectification function.
In
In the CMOS component according to one embodiment of the present invention, a contact for applying the ground voltage VSS forms the first terminal, and the other contact and another contact are commonly connected to form the second terminal. The other contact is for data I/O and the another contact is for the internal supply voltage VDD through a rectification circuit having a PN diode and capacitor.
The CMOS component has a two-terminal structure for the supply voltages VB and VF, like a resistor or diode which is a two-terminal element. Therefore, an operation of providing a pull-down signal to the VB terminal connected to the contact for data I/O and an operation of providing a pull-up signal to the VF terminal for receiving the ground voltage may be considered as the same operation from the viewpoint of the CMOS component. Therefore, the CMOS component according to the embodiment of the present invention may have two kinds of methods for applying an external signal to cause the same operation.
The semiconductor device according to the embodiment of the present invention, which includes the CMOS component having the above-described configuration, may have two terminals of which one terminal is shared for data communication and power source.
Furthermore, the semiconductor device may have a rectification function for acquiring a supply voltage from data input.
The semiconductor device having the structures of
The semiconductor device 10 of
The diode D and the capacitor Cps constitute a rectification circuit. Furthermore, the PMOS transistor M, the comparator 24 and the capacitor Cp constitute a regulator, and the rectification circuit and the regulator controls charging using data input.
The data are rectified by the diode D and the capacitor Cps and then transferred to the capacitor Cp through the PMOS transistor M, and the capacitor Cp is charged by the potential of the rectified data. The regulator controls the PMOS transistor M to transfer the data for charging to the capacitor Cp through an operation of the comparator 24 to compare the charging level of the capacitor Cp to a preset reference voltage Vint_ref.
In addition to the above-described configuration, an output of the rectification circuit constituted by the diode D and the capacitor Cps may be directly used without the regulator, when an accurate regulator output is not necessary.
As described above, the capacitors Cp and Cps may be used for power source, and charged with an output of the diode D.
Furthermore, the data transferred through the second supply voltage VB may be inputted to the I/O circuit 20 in a write mode. When the semiconductor device 10 is in a read mode, however, data provided from the I/O circuit 20 may be outputted through the second terminal for applying the second supply voltage VB.
The I/O circuit 20 includes an I/O buffer for data I/O, and the I/O buffer will be described in detail later.
The CMOS circuit 22 performs an operation of writing input data or reading output data, and is interfaced with the I/O circuit 20 in order to write or read data.
The CMOS circuit 22 can secure an electrical characteristic of a sensing target through the sensing surface 14. The CMOS circuit 22 may be expressed as an element array including at least one of sensor elements or memory elements which are implemented with CMOS components.
The sensor element and the memory element indicate the minimum sensor unit and the minimum memory unit, respectively, which use the CMOS component. When sensor elements constitute an array, the array may be referred to as a sensor array, and when memory elements constitute an array, the array may be referred to as a memory array. The element array may be expressed as any one of the sensor array and the memory array.
The serial communication method sequentially transmits a plurality of data through one line. The asynchronous serial communication method which does not use external clock signals separates data into n binary data bits, and transmits one data bit at a time through a communication line. Therefore, the receiver side should recover the data by combining the bits received through the communication line. At this time, a start bit and stop bit may be used in order to identify the range of one data.
The transmitter side transmits data bits after transmitting the start bit. The data may include seven or eight data bits in one data range.
When the semiconductor device is configured to have two pins as in the present embodiment, the baud rates of the transmitter side and the receiver side need to be matched with each other. The baud rate indicates the transmission speed of the data bits. A typical universal asynchronous receiver & transmitter (UART) technology is an asynchronous serial communication technology in which high and low voltages are set in the range of 0 to 5V.
In the present embodiment, the semiconductor device is configured to have two terminals, and one terminal of the two terminals is shared for data communication and power source. The shared terminal of the semiconductor device is used to secure power while being used for data I/O.
That is, data inputted through the shared terminal of the semiconductor device may be used as a supply voltage through rectification and charging by a capacitor, when the data are passed through a PN junction diode or MOS diode. However, only a high period of the input data is used for charging. Therefore, the high period of the input data needs to be set to a larger size than the low period of the input data, in order to increase the efficiency of the rectification circuit.
Therefore, the asynchronous serial communication system according to the present embodiment uses a pulse transmission method which generates a pulse with a short low period at a data transition time that input data transitions from low to high or from high to low while the data I/O signal VIO is retained at a high level in a most of time. When the pulsed data I/O signal VIO are loaded and transmitted to a semiconductor device, the semiconductor device recovers the pulse signal into the actual data input signal through a toggle flip-flop.
According to the pulse transmission method, although the potential of the data is varied according to a change of the data value, the supply voltage can be stably retained by the rectification function.
The asynchronous serial communication system according to the present embodiment uses semiconductor devices each having only two terminals, and performs a communication method that provides commands to the plurality of semiconductor devices using one controller (write operation) and sequentially receives data outputted from the semiconductor devices through one communication line (read operation).
The semiconductor device with two terminals VF and VB according to the present embodiment may have a configuration in which the ground voltage VSS is fixed to the VF terminal and pulse data having a short low period is applied to the VB terminal, or have a configuration in which the operating voltage VDD is fixed to the VB terminal and pulse data having a short high period with the opposite polarity is applied to the VF terminal, in order to perform the same operation.
Therefore, the system according to the present embodiment employs the asynchronous serial communication technique for performing communication through one communication line and the pulse transmission technique for converting data into power by efficiently rectifying the data. Furthermore, the system according to the present embodiment employs a technique for checking and using a baud rate such that a semiconductor device corresponding to the receiver side can distinguish data which are changed on a time basis.
The asynchronous serial communication system according to the embodiment of the present invention, which employs the above-described techniques, is illustrated in
The semiconductor device 10 includes an input buffer 30, a pulse signal recovery circuit 32 and a command decoder 34, in order to receive data. The semiconductor device 10 includes a FIFO (First In First Out) memory 42 for storing data to output according to a predefined protocol and an output buffer 40.
The semiconductor device 10 may further include a clock generator 36 for internally generating a fixed frequency clock to match a baud rate with that of the external controller 100 and a circuit for deciding the capture timing of serial data by arbitrarily measuring the edge of the start bit.
When the sensor array 52 is constituted by CMOS components with two terminals, the semiconductor device 10 needs to set a mode for determining a write or read operation. The sensor array 52 of
The semiconductor device 10 is initialized to the default state in which the semiconductor device 10 is set in the write mode.
During the write mode for programming an internal operation, the semiconductor device 10 recognizes a pulse signal through the input buffer 30, recovers the recognized pulse signal into an actual signal through the pulse signal recovery circuit 32, and recognizes the recovered signal as data using the command decoder 34.
The semiconductor device 10 recognizes the write command through the command decoder 34. In response to the write command, an address providing unit 50 provides a write address, and data corresponding to the write address are provided to the sensor array 52.
Therefore, the data recognized by the command decoder 34 are written to the sensor array 52 at the address provided by the address providing unit 50.
The pulse signal recovery circuit 32 recovers a signal according to the clock signal provided by the clock generator 36. As described later with reference to
The semiconductor device 10 starts a read operation in response to a read mode code which is one of command codes.
When the read mode code and the clock signal are inputted from the controller 100, the semiconductor device 10 outputs data of the designated address of the sensor array 52.
At this time, the command decoder 34 recognizes the read mode code recovered by the pulse signal recovery circuit 32 and provides a read command, and the address providing unit 50 provides a read address in response to the read mode.
In order to sequentially synchronize a plurality of data corresponding to the address provided by the address providing unit 50, the clock signal of the clock generator 36 is used. After outputting all of a predefined length of data, the semiconductor device 10 automatically returns to the write mode, and waits for an input of the next command.
When one I/O line is shared by the plurality of semiconductor devices 10, a unique code allocated to each of the semiconductor devices 10 may be contained in the read mode code. In this case, only the semiconductor device 10 corresponding to the unique code for identifying the semiconductor device 10 may perform a read operation.
When the read operation is started, an analog signal outputted from the sensor array 52 in the semiconductor device 10 is converted into a digital signal through an analog digital converter (ADC) 54, and the digital signal is transferred to the I/O line through the output buffer 40 via the FIFO memory 42.
The controller 100 receives the data transferred through the I/O line according to a predefined protocol.
The semiconductor device 10 uses the FIFO memory 42 to output data at a size defined by the predefined protocol. The FIFO memory 42 repeats an operation of sequentially storing and outputting data at the defined size, until all the data are outputted.
The controller 100 generates a signal to transmit through one I/O line according to a protocol through which the semiconductor device 10 with two pins can receive the signal, and receives the signal transmitted through the one I/O line according to the predefined protocol by the semiconductor device 10 with two terminals. The controller 100 is interfaced with the signal converter 116 in order to receive a transmit signal Tx and a clock signal CLK and transmit a receive signal Rx.
For this operation, the controller 100 may include a voltage regulator 102, a command decoder 104 and a baud rate generator 106. The voltage regulator 102 generates a stable voltage required for an operation of the semiconductor device 10 with two terminals, the command decoder 104 receives a transmit signal Tx and provides a command (data), and the baud rate generator 106 generates a capture timing of data provided to interface with the semiconductor device 10 with two terminals.
The controller 100 may further include a pulse signal generator 108 for providing a pulse signal to one I/O line, an output buffer 112 for outputting the signal, and an input buffer 110 for receiving a signal inputted from the I/O line without an error.
The signal inputted to the controller 100 from the semiconductor device 10 has a relatively low level.
Therefore, the controller 100 requires a sensor with an amplifier to receive a low-level signal, and a logic circuit for adding a start bit or stop bit according to a transmission protocol (for example, UART), before transmitting a signal sensed by the sensor to an external device such as a personal computer (PC).
The controller 100 may include a converter 114 in order to transmit data to an external device such as a PC, and the converter 114 may include the sensor with the amplifier and the logic circuit for changing a sensed signal according to the transmission protocol.
As described above, the controller 100 according to the embodiment of
The baud rate generator 106 and the converter 114 which are included in the controller 100 may be installed as additional components outside the controller 100.
Hereafter, an asynchronous serial communication method using two terminals, which is performed in the system according to the present embodiment, will be described with reference to the accompanying drawings.
Data may be composed of seven or eight bits. However,
The data retains a high level in a standby state.
When a delay circuit having a fixed delay value is used, the data may be sequentially recognized at timings with delay values of 1.5, 2.5, etc, for example, after the start timing of the start bit which transitions from a high level to a low level.
The delay circuits may be applied to match the timings at which data are recognized, and the delay value D of 1 may correspond to one cycle of the start bit. Therefore, the timing at which data are recognized when the delay value is 1.5 corresponds to a timing at which time has elapsed by one and half cycle of the start bit from the start timing of the start bit, and the timing at which data are recognized when the delay value is 2.5 corresponds to a timing at which time has elapsed by two and half cycles of the start bit from the start timing of the start bit.
However, when the delay circuit is used to recognize data, a transmitter chip should know the fixed delay value of a receiver chip, and a baud rate corresponding to the delay value should be set in the transmitter chip. Furthermore, the delay value of the delay circuit may be varied depending on a condition such as a temperature or a process condition of fabricating a chip. Thus, when the delay circuit is used to recognize data transmitted through the asynchronous serial communication method, a problem may occur.
In order to overcome the problem, the semiconductor device 10 according to the present embodiment may include a circuit for measuring a low period in which the start bit of a signal transmitted from the controller 100 is enabled, generate a variable baud delay using the circuit, and sequentially recognize data using the baud delay.
The semiconductor device 10 according to the present embodiment may recognize data using a ring oscillator as illustrated in
The ring oscillator includes a plurality of DUCs 70 connected in series, and maintains or stops delaying the delay signal transferred between the DUCs 70 according to an output of the latch 74, in order to measure the low period of the start bit. When the transfer of the delay signal between the DUCs 70 is stopped at the end time point of the start bit, the ring oscillator returns the delay signal from the corresponding DUC 70 to the NOR gate 72.
Referring to
The DUC 70 includes a forward line for transferring a delay signal in the forward direction and a backward line for transferring a delay signal in the backward direction.
The DUC 70 includes a pass-through switch ST for selectively connecting the forward line and the backward line, a transfer switch SF installed on the forward line to transfer the delay signal in the forward direction, and a transfer switch SB installed on the backward line to transfer the delay signal in the backward direction.
The DUC 70 includes a delay line installed on the forward line so as to delay the delay signal. The DUC 70 may further include a precharge switch SC for precharging the forward line between the transfer switch SF and the DUC 70 at the next stage, and the precharge switch SC may precharge the forward line when the transfer switch SF is turned off.
Each of the pass-through switch ST and the transfer switches SF and SB may include a transfer gate in which an NMOS transistor and a PMOS transistor are coupled in parallel. The pass-through switch ST receives a negative output QB of the latch 74 through the gate of the NMOS transistor, and receives a positive output Q of the latch 74 through the gate of the PMOS transistor. Each of the transfer switches SF and SB receives the positive output Q of the latch 74 through the gate of the NMOS transistor, and receives the negative output QB of the latch 74 through the gate of the PMOS transistor. The precharge switch SC may include an NMOS transistor to receive the negative output QB of the latch 74 through the gate thereof.
The DUC 70 includes the latch 74 for providing a switching signal to decide the switching states of the respective switches SF, SB and SC. The latch 74 may include an SR flip-flop.
The DUC 70 further includes an AND gate 75 configured to receive the delay signal transferred through the forward line and a signal of which the start bit is inversed (hereafter, referred to as a reverse start bit/START), and an output of the AND gate 75 is provided as a set signal SET to the latch 74.
The latch 74 decides the states of the positive output Q and the negative output QB depending on the states of the set signal SET and the reset signal RESET.
The positive output Q and the negative output QB of the latch 74 correspond to switching signals. The latch 74 outputs the positive output Q at a low level and outputs the negative output QB at a high level, when the reset signal RESET is enabled to a high level and the set signal SET is disabled to a low level. On the other hand, the latch 74 outputs the positive output Q at a high level and outputs the negative output QB at a low level, when the reset signal RESET is disabled to a low level and the set signal SET is enabled to a high level.
In the initial state, the DUC 70 is reset, and the reset of the DUC 70 opens the pass-through switch ST, and closes the transfer switches SF and SB.
When the reverse start bit transitions from low to high at the start time point of the start bit, the enable signal EN also transitions from high to low. At this time, the reset signal RESET is disabled.
When the enable signal EN transitions to a low level, the NOR gate 72 outputs a high-level delay signal to the first DUC 70 because inputs thereof are set to a low level.
When the reset of the DUCs 70 is released after the start bit is started, the latches 74 of the respective DUCs 70 are sequentially set in response to the delay signals which are sequentially transferred, and output the positive output Q at a high level. According to the set state of the latch 74, the pass-through switch ST is closed, and the transfer switches SF and SB are opened.
Through the sequential operations of the DUCs 70, the delay signal is transferred in the forward direction during an enable period in which the reverse start bit is retained at a high level, and transferred through the DUCs 70 until the start bit transitions from low to high.
The latch 74 of the DUC 70 corresponding to the point of time at which the start bit transitions from low to high or the reverse start bit transitions from high to low outputs the positive output Q at a low level, because the set signal SET is at a low level.
That is, the pass-through switch ST of the DUC 70 corresponding to the point of time at which the start bit is ended is opened, and the transfer switches SF and SB of the DUC 70 are closed. Therefore, the delay signal is not transferred in the forward direction any more, but transferred to the backward line from the forward line through the pass-through switch ST and returned through the backward line.
The ring oscillator transfers the delay signal in the forward direction through the forward lines of a plurality of DUCs 70 in series from the start time point to the end time point of the start bit, and returns the delay signal to the NOR gate 72 through the backward lines of a plurality of DUCs 70 in series at the end time point of the start bit.
Ideally, it is assumed that no delay time is applied to a path through which a delay signal is returned. When it is assumed that a delay time at a point of time at which the delay line of the DUC 70 transitions from low to high (rising point) is equal to a delay time at a point of time at which the delay line of the DUC 70 transitions from high to low (falling point), the ring oscillator can generate an oscillation signal having a cycle corresponding to two times the pulse width of the start bit.
However, the path through which the delay signal is returned inevitably has a delay time. Therefore, an increase in cycle of the oscillation signal, which is caused by a delay of the pass-through switch ST and a minute delay of the backward line, needs to be compensated for in order to accurately set the cycle of the oscillation signal. For this operation, the delay line may be configured in such a manner that the delay time of the falling point is longer than the delay time of the rising point.
That is, the delay line of the DUC may have a high-to-low delay shorter than a low-to-high delay for the delay signal, in order to compensate for the delay of the pass-through switch ST and the delay through the backward line.
As such, clock duty control needs to be performed in such a manner that the sum of delays of the forward line and the backward line corresponds to a delay deciding the cycle of one oscillation signal.
The delay line may be designed to include two or more stages of driving circuits each having a CMOS component in which a PMOS transistor and NMOS transistor are combined. If necessary, a capacitor may be additionally installed at an output terminal of the driving circuit at each stage.
The cycle of the oscillation signal is decided by the number of driving circuit stages and resistance values present in the respective stages. Therefore, the cycle of the oscillation signal may be adjusted by varying the resistance values. On the other hand, when a resistor using an NMOS transistor or PMOS transistor is used, the cycle of the oscillation signal may be decided by adjusting a gate bias voltage applied to each stage. Therefore, the clock duty control may also be performed by adjusting the resistance values.
The cycle of an oscillation signal generated through the start bit of
When the controller 100 is configured to generate the capture signal through the signal processing process illustrated in
However, when the capture signal is generated through the signal processing process illustrated in
In the present embodiment, the controller 100 may be configured to reduce the start bit in half and transfer the reduced start bit to the semiconductor device 10, as illustrated in
In this case, the cycle of the oscillation signal generated by the ring oscillator becomes equal to the baud size of the start bit. When the oscillation signal is generated as illustrated in
When the oscillation signal is generated as illustrated in
However, in order to generate the oscillation signal as illustrated in
In order to decide a timing at which data are captured, the controller 100 for performing the signal processing process of
The embodiment of the present invention discloses a method for enabling an operation of the semiconductor device 10 with two terminals, while one of the two terminals is efficiently shared for data and power.
The semiconductor device 10 with two terminals may use a rectification circuit having a diode and capacitor as illustrated in
When the controller 100 writes data to the semiconductor device 10 as illustrated in
The signal outputted from the controller 100 is transferred to an input buffer 30 of the semiconductor device 10. Simultaneously, a high-level signal is provided as power for the operating voltage VDD through a diode D. The operating voltage VDD may be provided as the capacitor Cp is charged with a high-level voltage of the signal outputted from the controller 100.
On the other hand, when the controller 100 reads data from the semiconductor device 10 as illustrated in
However, when the controller 100 writes data to the semiconductor device 10, the amount of charge stored in the capacitor Cp of the semiconductor device 10 may be not enough to retain the operating voltage VDD, in the case where the data are retained at a low level or the low period is lengthened by a low-frequency operation.
Furthermore, when the controller 100 reads data from the semiconductor device 10, the signal outputted from the semiconductor device 10 is based on the amount of charge stored in the capacitor Cp. Therefore, when the operation period is increased or the I/O line has a large load during the tri-state I/O control, the ability to drive data from the semiconductor device 10 to the controller 100 may be degraded. In other words, there may be difficulties in transferring data from the semiconductor device 10 to the controller 100.
Furthermore, when the controller 100 reads data from the semiconductor device 10, the controller 100 may transmit the reference signal for synchronization to the semiconductor device 10, the output buffer of the controller 100 may be turned off to receive data of the semiconductor device 10, and the semiconductor device 10 may receive the reference signal and transmit data. In this case, when this process requires a long time, the period in which power is not supplied to the semiconductor device 10 may be increased to make it difficult to retain the operating voltage VDD.
In order to solve the above-described problems, the system according to the embodiment of the present invention may always retain the potential of the I/O line at a high level in most of the time, and generate a pulse signal with a narrow width and small level change at a data transition time point, in order to perform communication. According to the above-described embodiment, the controller 100 and the semiconductor device 10 may be configured to have a protocol for stably retaining the operating voltage VDD and recovering a pulse signal with a narrow width and small level change to data.
Furthermore, during a read operation requiring synchronization, the controller 100 and the semiconductor device 10 may measure the voltage level of a pulse signal at the same time, in order to reduce a time delay caused by the synchronization.
The above-described configurations can be implemented by the following embodiments.
In
The controller 100 keeps pulling up the I/O line to retain the I/O line voltage larger than an I/O regulation voltage IOref, and pulls down the I/O line at a transition time point of a transmitted signal Tx when the transmitted signal Tx is inputted. The pull-down operation is stopped when the voltage (pull-down signal) of the I/O line reaches a preset reference voltage Vref. The voltage level of the I/O line is returned by the pull-up operation after the pull-down operation is stopped, and in this way, the controller 100 outputs a pulse signal to the I/O line, the pulse signal being swung by the pull-up and pull-down operations in response to the transmitted signal Tx.
More specifically, the controller 100 includes a pulse generator 120, an I/O voltage regulator 126 and a pull-down control unit. The pulse generator 120 is configured to generate a pulse corresponding to a transition time point of the transmitted signal Tx when the transmitted signal Tx is inputted, the I/O voltage regulator 126 is configured to pull up the I/O line to retain the I/O line voltage larger than the I/O regulation voltage IOref, and the pull-down control unit is configured to pull down the I/O line in response to a high-level signal of the pulse generator 120, and stop the pull-down operation when the voltage (pull-down signal) of the I/O line reaches the preset reference voltage Vref.
After the pull-down operation is stopped, the voltage level of the I/O line is returned by the pull-up operation, and in this way, the pulse signal which is swung by the pull-up and pull-down operations in response to the transmitted signal Tx is outputted to the I/O line.
The pull-down control unit may include a transistor Mn, an AND gate 122 and a comparator 124. The transistor Mn pulls down the I/O line, the AND gate 122 turns on the transistor Mn to perform a pull-down operation when a high-level signal is inputted from the pulse generator 120, and the comparator 124 controls the AND gate 122 to stop the pull-down operation when the voltage of the I/O line reaches the preset reference voltage Vref through the pull-down operation.
The semiconductor device 10 performs a power charging and write mode using the pulse signal.
For the write mode, the semiconductor device 10 may include an input buffer 30, a pulse generation circuit 130, and a toggle flip-flop 134. The input buffer 30 compares the pulse signal to a preset comparison voltage (VDD, for example) and provides a signal corresponding to a comparison result between the pulse signal and the comparison voltage, the pulse generation circuit 130 outputs a pulse having a transition time point synchronized with the output of the input buffer 30, and the toggle flip-flop 134 recovers data having the same phase as the transmitted signal Tx using the pulse of the pulse generation circuit 130.
For the power charging, the semiconductor device 10 may include a diode D and a capacitor Cp. The diode D has first and second pins and receives a signal containing a pulse signal through the I/O line connected to one pin of the first and second pins, and the capacitor Cp is charged with the signal transferred by the diode D and generates the operating voltage VDD.
According to the above-described configuration, when the transmitted signal Tx is inputted as an UART signal from an external device, the controller 100 detects a high-to-low or low-to-high transition point of the transmitted signal Tx, and generates a pulse.
The pulse generation in response to the transmitted signal Tx may be performed by the pulse generator 120. The pulse generator 120 may generate the pulse by performing an XOR operation on the transmitted signal Tx and a signal obtained by delaying the transmitted signal Tx by a preset time.
When the pulse generated by the pulse generator 120 is provided to the AND gate 122 and a high-level signal is inputted from the pulse generator 120, the AND gate 122 turns on the NMOS transistor Mn, and the I/O line is pulled down by the turn-on of the transistor Mn.
The pull-down of the I/O line is maintained until the voltage level of the I/O line reaches the reference voltage Vref applied to the comparator 124.
When the voltage level of the I/O line or the pull-down signal reaches the reference voltage Vref applied to the comparator 124, the pull-down of the I/O line is stopped, and the voltage level of the I/O line is returned to the original high level by the operation of the I/O voltage regulator 126 as soon as the pull-down is stopped. The I/O voltage regulator 126 performs a regulation operation such that the voltage level of the I/O line is retained at the preset I/O regulation voltage IOref or more.
The controller 100 repeatedly performs the above-described operation at each transition point of the transmitted signal Tx. As a result, the controller 100 may output a triangle wave pulse signal in response to the transmitted signal Tx, the triangle wave pulse signal swinging between the reference voltages IOref and Vref. At this time, the reference voltage Vref may be set to a level between the I/O regulation voltage IOref and the ground voltage, and the set value may be selected according to a designer's intention.
The semiconductor device 10 with two pins receives a signal containing the triangle wave pulse signal through the I/O line, and generates the operating voltage VDD through a rectification operation of the diode D and the capacitor Cp. At this time, the signal of the I/O line always retains a high level except for a short period in which a triangle wave is present. Thus, the semiconductor device 10 can stably retain the operating voltage VDD, and generate a high-quality operating voltage VDD from which glitch noise is filtered, depending on the capacity of the capacitor.
On the other hand, the signal transferred to the semiconductor device 10 through the I/O line is provided to the comparator-type input buffer 30.
The input buffer 30 compares a comparison voltage and the signal of the I/O line, and provides a signal corresponding to a comparison result between the comparison voltage and the signal of the I/O line to the pulse generation circuit 130, the comparison voltage indicating a reference voltage corresponding to a level at which the triangle wave pulse can be recognized (VDD, for example).
The pulse generation circuit 130 provides a pulse having a transition point synchronized with the output of the input buffer 30 to the AND gate 132, in response to the output of the input buffer 30.
In the write mode, the AND gate 132 can transfer the pulse of the pulse generation circuit 130 to the toggle flip-flop 134, and the toggle flip-flop 134 can recover data having the same phase as the signal Tx transmitted to the controller 100.
When an unexpected glitch signal is generated on the communication path while the communication using a pulse is performed as illustrated in
In order to prevent the above-described error, the present invention may be embodied as illustrated in
For the above-described error prevention operation, the semiconductor device 10 according to the embodiment of
The clock counter 136 performs a count operation using a clock signal generated therein, and counts until the preset maximum number of bits. When a pulse Data Pulse is inputted from the AND gate 132 during the counting operation, the clock counter 136 is reset. Furthermore, when the counting operation for the preset maximum number of bits is completed, the clock counter 136 provides a high-level signal corresponding to the counter output to the AND gate 138.
When the clock counter 136 counts the preset maximum number of bits in the power-up state, the AND gate 138 resets the toggle flip-flop 134.
In
Referring to
When a read command is contained in a signal Tx transmitted from outside, the controller 100 and the semiconductor device 10 perform a read operation, and the controller 100 activates a predetermined number of read clocks Rclk.
The I/O line may be pulled down at a point of time that a read clock Rclk is changed to a high level by the controller 100. The pull-down of the I/O line may be controlled depending on an output of the comparator 124. When the voltage level of the I/O line reaches the reference voltage Vref, the output of the comparator 124 may be inverted. Thus, the pull-down operation for the I/O line is stopped.
Simultaneously, the pulse generation circuit 140 receiving the output of the comparator 124 generates a pulse with a constant width. The constant-width pulse outputted from the pulse generation circuit 140 turns off a PMOS transistor M2. The turn-off of the PMOS transistor M2 indicates that the I/O voltage regulator 126 and the I/O line are isolated from each other. As a result, the I/O line is set in a floating state that only a termination resistor R is present.
When the semiconductor device 10 outputs data to the I/O line while the I/O line is floated as described above, the voltage of the I/O line can be changed. The voltage change of the I/O line can be sensed by a double sampling difference amplifier 150 of the controller 100. When the pulse provided from the pulse generation circuit 140 is ended, the double sampling difference amplifier 150 latches the sensed signal.
The double sampling difference amplifier 150 samples voltages in capacitors at the positive terminal (+) and negative terminal (−) thereof through sequential switching operations of switches SW1 and SW2, respectively, the voltages corresponding to the time points that the pulse provided from the pulse generation circuit 140 is started and ended. The double sampling difference amplifier 150 outputs a comparison result between the sampled voltages as read data Dout.
The termination resistor R may be calibrated to a value suitable for sensing data outputted from the semiconductor device 10, and noise introduction through the I/O line can be reduced by the calibration of the termination resistor R. That is, the resistance value of the termination resistor R may be decreased when the output of sampling difference of the controller 100 tends to be high, and increased when the output of sampling difference of the controller 100 tends to be low. In this way, the sampled values can be adjusted to achieve the balance.
On the other hand, when the I/O line is pulled down and floated at a point of time at which the read clock Rclk is changed to a high level by the controller 100, the pulse generation circuit 130 of the semiconductor device 10 outputs a constant-width pulse according to a changed output of the input buffer 30.
At this time, the input buffer 30 may be configured to decide the output using the same reference voltage Vref as that applied to the comparator 124 of the controller 100. Based on a point of time at which the output level of the input buffer 30 changes from high to low, the pulse generation circuit 130 outputs a pulse retaining a high level for a predetermined time.
The I/O switch is turned on while the pulse of the pulse generation circuit 130 is retained at a high level after the read mode is enabled by an output of the AND gate 133. That is, data outputted through the output buffer 40 may be transferred to the controller 100 during this period.
Furthermore, a flip-flop 43 installed at the last stage of the FIFO memory 42 is shifted in synchronization with a point of time that the pulse of the pulse generation circuit 130 transitions to a low level, and data outputted from the final stage of the FIFO memory 42 by the shifting of the flip-flop 43 are transferred to the controller 100 through the output buffer 40 and the I/O switch.
In the above-described configuration, each of the pulse generation circuits 130 and 140 installed in the controller 100 and the semiconductor device 10 may include a delay unit 142, an AND gate 144, an SR flip-flop 146 and a constant delay 148.
The delay unit 142 delays an input signal by a preset value. The AND gate 144 generates a pulse by performing an AND operation on an output of the delay unit 142 and a signal obtained by inverting an input of the pulse generation circuit 130 or 140. The SR flip-flop 146 receives the pulse of the AND gate 144 as the set signal, and receives a signal of the constant delay 148 as the reset signal. The SR flip-flop 146 is triggered by the set signal, and outputs a pulse having a delay time decided by the constant delay 148. The constant delay 148 provides a signal for resetting the SR flip-flop 146 in response to a change in output of the SR flip-flop 146, and controls the SR flip-flop 146 to output a constant-width pulse.
In the above-described configuration, the delay unit 142 may have a delay value set to the minimum value, such that the AND gate 144 can output a pulse having the minimum width which can be recognized by the SR flip-flop 146.
As described above, the semiconductor device 10 controls the pulse generation circuit 130 to generate a pulse with a predetermined width as soon as the I/O line reaches the reference voltage Vref, and turns on the I/O switch to output data stored in the FIFO memory 42 to the I/O line during a high period of the pulse outputted from the pulse generation circuit 130.
At this time, the semiconductor device 10 and the controller 100 generate the constant-width pulse using the same reference voltage Vref. Therefore, when the delay of the I/O line is ignored, the semiconductor device 10 and the controller 100 can generate the constant-width pulse almost at the same time. This indicates that the synchronization for tri-state I/O control is achieved. Therefore, the present embodiment can prevent an additional delay for synchronization, and increase the baud rate of the data.
Furthermore, since a pulse with a small swing and short time span is transmitted through the I/O line, the power consumption can be reduced.
The pulse generation circuits 130 and 140 can prevent a generation of two or more pulse signals for one level transition due to glitch noise, using the minimum delay of the delay unit 142. The pulses outputted from the pulse generation circuits 130 and 140 of the controller 100 and the semiconductor device 10 may preferably have the same width. However, in the condition that the delay of the I/O line should be considered, the pulse width of the pulse generation circuit 140 of the controller 100 may be increased to meet the condition.
In the present embodiment, a transmitted signal Tx, a read clock Rclk and a mode signal W/R which have a protocol illustrated in
Referring to
The mode signal W/R may have a waveform that retains a high level by default in the write mode, changes to a low level in the read mode, and returns to the write mode after the read mode is ended.
The read clock Rclk may have a waveform in which periods for accessing sensors and periods for data output conversion are separately formed in response to the read mode. When data are outputted from the semiconductor device through this method, data formed in the semiconductor device can be directly outputted, which makes it possible to reduce the needed size of the output buffer memory. Furthermore, it is possible to prevent an introduction of I/O noise of data conversion in the sensing process which is sensitive to noise.
Therefore, an output of the AND gate 122 is changed in response to a pulse corresponding to the transmitted signal Tx or the read clock Rclk transferred through the OR gate 121.
The semiconductor device 10 with two terminals may provide two different operation methods depending on a voltage characteristic. This is related to the voltage decision method and the structural shape of the two-terminal CMOS component. That is, a voltage applied to the two-terminal CMOS component is decided by a potential difference between the two terminals. Therefore, when the VF terminal of the two terminals is fixed to the ground voltage VSS and a pull-down pulse is applied to the VB terminal or when the VB terminal is fixed to an external voltage and a pull-up signal is applied to the VF terminal, the operations at these conditions may be considered as the same operation from the viewpoint of the semiconductor device 10.
When the read clock Rclk or the transmitted signal Tx corresponding to an UART signal is inputted to the controller 100 from an external device, an output of the NAND gate 122a is changed in response to a pulse corresponding to the transmitted signal Tx or the read clock Rclk transferred through the OR gate 121a.
More specifically, the controller 100 senses a high-to-low or low-to-high transition of the transmitted signal Tx or the read clock Rclk, using a NAND gate 122a. The NAND gate 122a generates a pulse for pulling up the I/O line in response to a transition point of the transmitted signal Tx or the read clock Rclk, and a PMOS transistor Mp pulls up the I/O line in response to the output of the NAND gate 122a.
When the voltage (pull-up signal) of the I/O line is raised to more than “5V-Vref” by the pull-up operation, the output of the comparator 124a changes from a high level to a low level, and the pull-up operation is stopped by the output of the NAND gate 122a corresponding to the comparator output change. The I/O line has a voltage regulator 126a installed thereon, and the voltage regulator 126a returns the voltage level of the I/O line to “5V-I/O regulation voltage IOref” after the pull-up operation is stopped. Therefore, the controller 100 of
In
The write and read operations of the controller 100 in
In other words, the semiconductor device 10 according to the embodiment of
The mode of
In
When the controller 100 is configured as illustrated in
For reference,
As illustrated in
The controller 100 senses the change of the I/O line as data through the double sampling difference amplifier 150 or 150a during a read operation, and generates a received signal Rx by adding a start bit and stop bit to the data.
According to the above-described configuration, the semiconductor device with two terminals using the two-terminal CMOS component can be implemented, and one terminal of the two terminals of the semiconductor device may be shared for data communication and power source. Therefore, the semiconductor device can perform asynchronous serial communication. That is, the semiconductor device can write and read data using the shared terminal.
The semiconductor device may have a rectification function for acquiring a supply voltage from the data.
Furthermore, since the semiconductor device with two terminals generates the reference clock for asynchronous serial communication, the semiconductor device can write data using the reference clock.
Moreover, since the energy loss and the sizes of the internal circuits can be minimized, data information generated from the semiconductor device can be stably transferred to the external controller.
Furthermore, since the controller can transfer data using a short period pulse and the semiconductor device can recover the transferred data using the short period pulse, it is possible to not only increase the efficiency of the rectification function using data, but also implement the asynchronous serial communication technology capable of removing an error during the data transfer process.
Depending on code information contained in data, the system according to the present embodiment can determine the read mode and the write mode.
The system according to the present embodiment can generate a timing for determining a high or low state of data inputted through the asynchronous serial method in the write mode, using the baud rate of the inputted data.
Therefore, when the data contains a code indicating the read mode, the semiconductor device with two terminals may generate a clock signal corresponding to the baud rate, receive data from the internal data formation unit using the clock signal, and return to the write mode after receiving the data. The internal data formation unit may indicate the element array including one or more of the sensor element and memory element which are implemented with the CMOS component.
Furthermore, the system according to the present embodiment can generate an output of the internal data formation unit in synchronization with the reference pulse signal transferred from the external controller in the read mode, and load the output to the I/O terminal with one line such that the external controller can sense and determine the output.
When the internal data formation unit outputs data, the system according to the present embodiment can alternately perform the operation of transmitting data from the CMOS circuit to the output buffer and the operation of transmitting data from the output buffer to the outside. Therefore, the size of the output buffer required for the semiconductor device can be reduced.
Furthermore, since one terminal which is selected between two terminals of the semiconductor device depending on the mode is shared for data communication and power source, the semiconductor device can be utilized flexibly in various purposes.
While various embodiments have been described above, it will be understood to those skilled in the art that the embodiments described are by way of example only. Accordingly, the disclosure described herein should not be limited based on the described embodiments.
Patent | Priority | Assignee | Title |
Patent | Priority | Assignee | Title |
5398326, | May 15 1989 | Maxim Integrated Products, Inc | Method for data communication |
6108751, | May 15 1989 | Maxim Integrated Products, Inc | Single wire data communication method |
20100262733, | |||
20160155678, | |||
20170255250, | |||
20170287535, | |||
JP2000091902, | |||
JP2003050776, | |||
JP2009278603, | |||
JP2011124683, | |||
KR101492861, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Aug 19 2016 | Duality Inc. | (assignment on the face of the patent) | / | |||
Jan 23 2018 | AHN, JIN HONG | DUALITY INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 045076 | /0282 |
Date | Maintenance Fee Events |
Mar 01 2018 | BIG: Entity status set to Undiscounted (note the period is included in the code). |
Mar 08 2018 | SMAL: Entity status set to Small. |
Apr 26 2024 | M2551: Payment of Maintenance Fee, 4th Yr, Small Entity. |
Date | Maintenance Schedule |
Oct 27 2023 | 4 years fee payment window open |
Apr 27 2024 | 6 months grace period start (w surcharge) |
Oct 27 2024 | patent expiry (for year 4) |
Oct 27 2026 | 2 years to revive unintentionally abandoned end. (for year 4) |
Oct 27 2027 | 8 years fee payment window open |
Apr 27 2028 | 6 months grace period start (w surcharge) |
Oct 27 2028 | patent expiry (for year 8) |
Oct 27 2030 | 2 years to revive unintentionally abandoned end. (for year 8) |
Oct 27 2031 | 12 years fee payment window open |
Apr 27 2032 | 6 months grace period start (w surcharge) |
Oct 27 2032 | patent expiry (for year 12) |
Oct 27 2034 | 2 years to revive unintentionally abandoned end. (for year 12) |