Display device and microcontroller included therein

By using high-frequency clock sampling technology in the microcontroller, the communication delay and power consumption problems between the microcontroller and the source readout circuit in the display device are solved, achieving efficient data recovery and power saving.

CN113392056BActive Publication Date: 2026-11-24SILICON WORKS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110260286.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-03-12
Filing Date
2021-03-10
Publication Date
2026-11-24
Estimated Expiration
2041-03-10

AI Technical Summary

Technical Problem

In existing display devices, data communication between the microcontroller and the source readout circuit is delayed due to clock synchronization, resulting in limited communication speed and increased power consumption, especially in the case of multiple slave devices, where the circuit size and power consumption increase significantly.

Method used

High-frequency clock sampling technology is used to generate a sampling clock with a frequency higher than the master clock in the microcontroller, identify the start timing of data and recover data at specific sampling points, avoid sending clocks from the device, and reduce circuit size and power consumption.

Benefits of technology

It achieves accurate recovery of touch sensing data without increasing circuit size and power consumption, improving communication efficiency and reducing latency and power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113392056B_ABST
    Figure CN113392056B_ABST
Patent Text Reader

Abstract

This invention provides a display device and a microcontroller included therein. Data communication between the microcontroller and the source readout circuitry is disclosed, wherein a clock circuit for the slave device is not required, and the size of the slave circuitry can be reduced, as can the amount of power consumed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to techniques related to touch sensing data communication between a microcontroller and a source readout circuit. Background Technology

[0002] Large amounts of data can be sent or received between internal circuits within the display device. This data may include: image data, which includes information related to the image to be displayed on the panel; control data, which controls the internal circuitry used to display the image; and touch sensing data, which is information related to whether an external object is touching or near the panel. Therefore, rules for sending or receiving data are desirable. For example, the rules may include information indicating whether the communication scheme corresponds to a synchronous or asynchronous scheme, and if the communication scheme corresponds to a synchronous scheme, information related to the order of data transmission or reception may be included.

[0003] Typically, data communication between internal circuits in a display device can be based on a Serial Peripheral Interface (SPI) or an Internal Integrated Circuit (I2C). With either SPI or I2C, if a delay corresponding to at least one clock cycle occurs during communication between the master and slave devices, the master device may be unable to read the received data. Here, the slave device may include a source readout circuit (ROIC) that transmits touch-sensing data, and the master device may include a microcontroller (MCU) that receives the touch-sensing data. Due to concerns about latency, it is difficult to speed up communication in SPI or I2C schemes. To address this drawback, the slave device can send data along with a clock signal to the master device.

[0004] To transmit a clock signal, the slave device needs to include circuitry for generating the clock. If the slave device includes clock circuitry, its circuitry size increases. In SPI or I2C schemes, a single master device communicates with multiple slave devices. If each of the multiple slave devices includes clock circuitry, the overall system size may increase.

[0005] In addition, clock circuits consume power. Therefore, the amount of power consumed may increase as the number of clock circuits included increases.

[0006] Therefore, embodiments of the present invention provide an improved data communication method for a display device that reduces the size of the circuit and the amount of power consumed. Summary of the Invention

[0007] In this context, one aspect of the present invention is to provide a technique that enables a master device to accurately recover data even when the slave device sends data without sending a clock.

[0008] Another aspect of the present invention is to provide a technique that uses a high-frequency clock to sample data, enabling the master device to accurately recover the data.

[0009] Another aspect of the present invention is to provide a technique that adds pre-agreed pattern data to data sent from a device and identifies the start timing of the data to be sampled.

[0010] According to one aspect of the present invention, a microcontroller is included in a display device, the microcontroller comprising: a transmitting circuit configured to transmit first data and a first clock synchronized with the first data; a receiving circuit configured to receive second data generated according to a clock having the same frequency as the first clock; a clock generating circuit configured to generate a second clock having a frequency higher than the first clock; and a data recovery circuit configured to determine a plurality of sampling points in the second clock, sample the second data at one of the plurality of sampling points, and recover the second data.

[0011] In the microcontroller, the second data may include data sampled according to the second clock and pattern data indicating the start of the data, and the data recovery circuit identifies the pattern data, recognizes the data, and samples the data.

[0012] In the microcontroller, the clock generation circuit can generate the second clock as a frequency that is greater than the frequency of the first clock and is N times the frequency of the first clock, where N is a natural number greater than or equal to 3.

[0013] In the microcontroller, the pattern data can be received via the receiving circuit after a read command related to the second data is provided.

[0014] In the microcontroller, the mode data may include a signal having a first level and a second level different from the first level.

[0015] In the microcontroller, the transmitting circuit can transmit the first clock during the segment of transmitting the first data and the segment of receiving the second data.

[0016] In the microcontroller, the plurality of sampling points can correspond to the rising edge or falling edge of the second clock, respectively.

[0017] In the microcontroller, the second data may include touch sensing data related to the touch or proximity of an external object to the display device.

[0018] In the microcontroller, the second data may be received from a readout circuit included in the display device.

[0019] In the microcontroller, the second clock may have a set segment and a hold segment before and after multiple sampling points, and the data recovery circuit may generate valid sampled data if the set segment and the hold segment are within a segment corresponding to a symbol of the second data.

[0020] According to one aspect of the present invention, a display device is provided, comprising: a microcontroller configured to transmit first data and a first clock synchronized with the first data; and a readout circuit configured to generate second data according to a clock having the same frequency as the first clock, and to transmit the second data to the microcontroller, wherein the microcontroller is configured to generate a second clock having a frequency higher than the first clock, determine a plurality of sampling points in the second clock, sample the second data at one of the plurality of sampling points, and recover the second data.

[0021] In the device, the microcontroller can generate the second clock with at least N sampling points, where N is a natural number greater than or equal to 3.

[0022] In the device, a time delay may occur in the signal line between the microcontroller and the readout circuit.

[0023] In the device, the readout circuit can generate the second data by synchronizing with the first clock.

[0024] In the device, the second data may include touch sensing data related to the touch or proximity of an external object to the display device, and the microcontroller may sample the touch sensing data at the sampling point.

[0025] According to the present invention as described above, the clock is not used for data transmission from the slave device to the master device, thus reducing the size of the slave circuit and the amount of power consumed. Attached Figure Description

[0026] Figure 1 This is a diagram illustrating the configuration of a display device according to an embodiment.

[0027] Figure 2 This is a diagram illustrating the connections between a microcontroller, source readout circuitry, and panel according to the prior art; Figure 3 This is a diagram illustrating the connections between the microcontroller, the source readout circuit, and the panel according to an embodiment; Figure 4 This is a diagram illustrating a first example of communication between a microcontroller and a source readout circuit according to an embodiment; Figure 5 This is a diagram illustrating a second example of communication between a microcontroller and a source readout circuit according to an embodiment; Figure 6 This is a diagram illustrating the waveforms of clock and data transmitted or received between the microcontroller and the source readout circuit according to an embodiment; Figure 7 This is a diagram illustrating the processing of delayed data sampling by a microcontroller according to an embodiment; Figure 8 This is a diagram showing the effective sampling points according to an embodiment; Figure 9 This is a diagram illustrating the process of determining sampling points according to an embodiment; and Figure 10 This is a diagram illustrating the configuration of a microcontroller according to an embodiment. Detailed Implementation

[0028] Figure 1 This is a diagram illustrating the configuration of a display device according to an embodiment; Reference Figure 1 The display device 100 may include a panel 110, a source readout circuit (source readout IC (SRIC)) 120, a gate drive circuit (gate drive IC (GDIC)) 130, a timing controller (TCON) 140, and a microcontroller (MCU) 150.

[0029] In panel 110, multiple data lines (DL) and multiple gate lines (GL) can be arranged, and multiple pixels can be arranged. A pixel may include multiple subpixels (SP). Here, a subpixel can be red (R), green (G), blue (B), white (W), etc. A single pixel may include RGB subpixels (SP), RGBG subpixels (SP), RGBW subpixels (SP), etc. In the following text, for ease of description, it is shown that a single pixel includes RGB subpixels (SP).

[0030] The source readout circuit 120, the gate drive circuit 130, and the timing controller 140 may be means for generating signals to display images in the panel 110.

[0031] The gate drive circuit 130 can supply a gate drive signal with an on or off voltage to the gate line (GL). If the gate drive signal with an on voltage is supplied to the sub-pixel (SP), the sub-pixel (SP) is connected to the data line (DL). If the gate drive signal with an off voltage is supplied to the sub-pixel (SP), the connection between the sub-pixel (SP) and the data line (DL) is disconnected.

[0032] The source readout circuit 120 may include a source driver (source driver IC (SDIC)). The source driver can supply a data voltage to the sub-pixel (SP) via a data line (DL). The data voltage (Vdata) supplied to the data line (DL) can be supplied to the sub-pixel (SP) according to the gate drive signal.

[0033] Additionally, the source readout circuit 120 may include a readout circuit (readout IC (ROIC)). The readout circuit may be included in the source readout circuit 120 together with the source driver. The readout circuit can drive the touch electrode (TE) adjacent to the sub-pixel (SP) and can sense touch input. The source readout circuit 120 can drive the touch electrode (TE) via the touch line (TL) and can receive analog signals from the touch electrode (TE).

[0034] Depending on the embodiment, the source readout circuit 120 may be connected to the bonding pads of the panel 110 in a tape-on-board (TAB) or chip-on-glass (COG) manner, or it may be directly disposed on the panel 110, or it may be integrated with the panel 110. Alternatively, the source readout circuit 120 may be implemented in a chip-on-film (COF) manner.

[0035] The timing controller 140 can supply control signals to the gate drive circuit 130 and the source readout circuit 120. For example, the timing controller 140 can send a gate drive signal (GCS) enabling scanning to the gate drive circuit 130. The timing controller 140 can output image data (RGB) to the source readout circuit 120. In addition, the timing controller 140 can send a data control signal (DCS) to control the source readout circuit 120 to supply data voltage to each sub-pixel (SP). In addition, the timing controller 140 can send a touch control signal (TCS) to control the source readout circuit 120 to drive each touch electrode (TE) to sense touch input.

[0036] The microcontroller 150 can transmit or receive data with the readout circuitry of the source readout circuitry 120. The data may include touch sensing data (DAT_TS), and DAT_TS may include information related to whether an external object is touching or near the touch electrode (TE). Touch or proximity can be determined by changes in the capacitance of the touch electrode.

[0037] The microcontroller 150 can also send or receive a clock (CLK) for sending or receiving data with the readout circuitry. According to an embodiment, the readout circuitry (which is a slave device) may not send a clock (CLK), and only the microcontroller 150 (which is a master device) may use the clock (CLK) to send data.

[0038] Figure 2 This is a diagram illustrating the connections between a microcontroller, source readout circuitry, and panel according to the prior art.

[0039] Reference Figure 2 Traditionally, the microcontroller 15 in the display device 10 is connected to multiple source readout circuits 12 and can receive and send data.

[0040] The microcontroller 15 and the multiple source readout circuits 12 can communicate using either a Serial Peripheral Interface (SPI) scheme or an Internal Integrated Circuit (I2C) scheme. In SPI or I2C, the communicating parties can be used as master and slave devices. Specifically, the microcontroller 15 can be used as the master device, and the multiple source readout circuits 12 can be used as slave devices.

[0041] The first communication line (LN1) and the second communication line (LN2) can be a differential signal line comprising two signal lines, or a single signal line used as an open drain.

[0042] Microcontroller 15 can send a master clock (CLKm) to multiple source readout circuits 12 via a first communication line (LN1). The master clock (CLKm) can be understood as a clock generated within microcontroller 150. The master clock (CLKm) can be synchronized with master data (MDAT), and master data (MDAT) can be sent according to the master clock (CLKm). Multiple source readout circuits 12 can send slave clocks (CLK) to microcontroller 15 via the first communication line (LN1). The slave clock (CLK) can be understood as a clock generated within the source readout circuits 12. The slave clock (CLK) can be synchronized with slave data (SDAT), and SDAT can be sent according to the slave clock (CLK).

[0043] The microcontroller 15 can transmit master data (MDAT) to multiple source readout circuits 12 via the second communication line (LN2). Master data (MDAT) can be data transmitted from the microcontroller 15, acting as the master device, to the source readout circuits 12. Additionally, the multiple source readout circuits 12 can transmit slave data (SDAT) to the microcontroller 15 via the second communication line (LN2). Here, slave data (SDAT) can be synchronized with the slave clock (CLK) of the first communication line (LN1). Slave data (SDAT) can be data transmitted from the multiple source readout circuits 12, acting as slave devices, to the microcontroller 15.

[0044] As described above, the following scheme may require circuitry to generate clocks in the slave device, in which clocks such as the master clock (CLKm) and slave clock (CLKs) are synchronized with data such as master data (MDAT) and slave data (SDAT) in bidirectional communication. If there are multiple slave devices, and each slave device has its own clocking circuitry, the overall circuit size may increase due to the clocking circuitry.

[0045] Multiple source readout circuits 12 can be connected to the panel 11. Each source readout circuit 12 can be assigned to a regularly divided area of ​​the panel 11, can be connected to the sub-pixels (SP) present in the assigned area via a data line (DL), and can be connected to the touch electrode (TE) via a touch line (TL).

[0046] Figure 3 This is a diagram illustrating the connections between the microcontroller, source readout circuitry, and panel according to an embodiment.

[0047] Reference Figure 3 According to the embodiment, the display device 100 may not include a clock sent to the microcontroller 150 by a plurality of source readout circuits 120 as slave devices. The slave device may not generate a clock separately to be sent to the master device.

[0048] Microcontroller 150 can send a clock (CLK) to multiple source readout circuits 120 via a first communication line (LN1). The clock (CLK) can be generated in microcontroller 150. The clock (CLK) can be synchronized with master data (MDAT), and master data (MDAT) can be sent according to the clock (CLK). However, source readout circuits 120 can send no clock to microcontroller 150 without using the first communication line (LN1).

[0049] The microcontroller 150 can send master data (MDAT) to multiple source readout circuits 120 via the second communication line (LN2). The multiple source readout circuits 120 can send slave data (SDAT) to the microcontroller 150 via the second communication line (LN2). Here, only slave data (SDAT) can be sent, without sending the clock.

[0050] As mentioned above, if a clock is not used in the communication from the slave device to the master device in bidirectional communication, then the slave device may not need circuitry for generating the clock. Therefore, when no clock circuitry is used, the size of the slave circuitry can be reduced compared to the size of the clock circuitry.

[0051] Figure 4 This is a diagram illustrating a first example of communication between a microcontroller and a source readout circuit according to an embodiment.

[0052] Reference Figure 4 The microcontroller 150 and the source readout circuits 120 can communicate using an I2C scheme. In I2C communication, the microcontroller 150 can act as a master device, and multiple source readout circuits 120 can act as slave devices. Figure 4 In this circuit, communication between the microcontroller 150 and the source readout circuit 120 can be performed using the I2C scheme.

[0053] The first communication line (LN1) and the second communication line (LN2) can connect the microcontroller 150 to multiple source readout circuits 120. The first communication line (LN1) and the second communication line (LN2) can be configured to share a bus.

[0054] Microcontroller 150 can send a clock (CLK) to source readout circuit 120 via the SCL terminal. Microcontroller 150 can send master data (MDAT) to source readout circuit 120 via the SDA terminal. Conversely, source readout circuit 120 can send slave data (SDAT) to microcontroller 150 via the SDA terminal.

[0055] Figure 5 This is a diagram illustrating a second example of communication between a microcontroller and a source readout circuit according to an embodiment.

[0056] Reference Figure 5 The microcontroller 150 and the source readout circuit 120 can communicate according to the SPI scheme. In SPI communication, the microcontroller 150 can be used as a master device, and multiple source readout circuits 120 can be used as slave devices.

[0057] The microcontroller 150 can send a clock (CLK) signal to the source readout circuit 120 via the CLK_P terminal. Additionally, the microcontroller 150 can send master data (MDAT) to the source readout circuit 120 via the MOSI terminal. The source readout circuit 120 can send slave data (SDAT) to the microcontroller 150 via the MISO terminal. Furthermore, the microcontroller 150 can send a select signal (SEL) to the source readout circuit 120 via the SS1 to SS3 terminals, and can select one of the multiple source readout circuits 120 for data transmission or reception.

[0058] Here, the communication lines used for transmitting clock (CLK), master data (MDAT), and slave data (SDAT) can be configured as a shared bus.

[0059] Figure 6 This is a diagram illustrating the waveforms of clock and data transmitted or received between the microcontroller and the source readout circuit according to an embodiment.

[0060] Reference Figure 6 The microcontroller, acting as the master device, and the source readout circuit, acting as the slave device, can communicate synchronously using a clock (CLK).

[0061] The microcontroller can generate a clock (CLK) and master data (MDAT). The clock (CLK) can be generated based on a signal produced by an internal oscillator (not shown). The microcontroller can send the master data (MDAT) to the source readout circuitry based on the clock (CLK). For example, the master data (MDAT) can be synchronized on the rising edge of the clock (CLK) as it changes from low to high. The source readout circuitry can read the value of the master data (MDAT) at the rising edge of the clock (CLK). Alternatively, the master data (MDAT) can be synchronized on the falling edge of the clock (CLK) as it changes from high to low. The source readout circuitry can read the value of the master data (MDAT) at the falling edge of the clock (CLK).

[0062] The source readout circuit can receive a delayed clock (CLK) and delayed master data (MDAT). Here, the clock (CLK) and master data (MDAT) can be sent from the master device to the destination slave device at the same timing via the same path, so the delay time of the clock (CLK) and the delay time of the master data (MDAT) can be the same. In the figure, the delay time can be represented as Td.

[0063] Source readout circuitry can generate slave data (SDAT). Traditionally, source readout circuitry can send slave data (SDAT) to the microcontroller based on the clock (CLK) used by the microcontroller to send master data (MDAT). For example, slave data (SDAT) can be synchronized on the rising or falling edge of the clock (CLK) generated by the microcontroller and can be sent to the microcontroller.

[0064] Similar to the source readout circuitry, the microcontroller can also receive delayed slave data (SDAT). Here, the source readout circuitry can synchronize the slave data (SDATA) with the clock (CLK) generated by the microcontroller and can send only the slave data (SDAT) to the microcontroller without sending the clock. The slave data (SDAT) can be delayed again by a delay time Td compared to the master data (MDAT), based on the clock (CLK). That is, the delay of the slave data (SDAT) can be a time interval corresponding to the first time (Td) required when the microcontroller sends the master data (MDATA) to the source readout circuitry, and the second time (Td) required when the source readout circuitry sends the slave data (SDAT) to the microcontroller. Therefore, the delay time of the slave data (SDAT) can be 2Td (Td + Td = 2Td).

[0065] Based on a clock-based (CLK) comparison between master data (MDAT) and slave data (SDAT), the master data (MDAT) can be synchronized with the clock (CLK) and can have the same delay, so the source readout circuit may have no problem reading the master data (MDAT). However, when compared with the clock (CLK), the slave data (SDAT) is delayed by 2Td, so the microcontroller may have problems reading the slave data (SDAT). For example, the source readout circuit can sample all the first to fourth transmit bits (TXD1 to TXD4) on the four rising edges of the clock (CLK). However, even if the microcontroller needs to sample the first to fourth receive bits (RXD1 to RXD4), the microcontroller can sample only the first to second receive bits (RXD1 to RXD2), or only the first to third receive bits (RXD1 to RXD3).

[0066] Therefore, if the microcontroller acting as the master device and the source readout circuit acting as the slave device synchronize the slave data (SDAT) with the clock (CLK), the microcontroller may not be able to sample the delayed slave data (SDAT) correctly and may not be able to read the slave data (SDAT) properly.

[0067] Figure 7 This is a diagram illustrating the processing of delayed data by a microcontroller according to an embodiment.

[0068] Reference Figure 7 The microcontroller can send first data and a first clock associated with the first data, and can receive second data generated according to a clock with the same frequency as the first clock. A source readout circuit can generate the second data and send it to the microcontroller. The microcontroller can generate a second clock from the first clock by increasing the frequency of the first clock to have multiple sampling points. The microcontroller can determine the multiple sampling points in the second clock and can sample the second data at one of the multiple sampling points to recover the second data. The microcontroller can periodically sample the second data at that one sampling point to recover the second data and can generate sampled data identical to the second data.

[0069] Here, the first data can correspond to Master Data (MDAT), and the second data can correspond to Slave Data (SDAT). The second data may include touch sensing data related to the touch or proximity of an external object to the display device. The microcontroller can sample the touch sensing data at a sampling point and can read the data.

[0070] The second data can be recovered by sampling it at one of multiple sampling points and generating a single sample data. This single sample data can include the same value as the second data, i.e., the slave data (SDAT). Since multiple sample data are identical to the slave data (SDAT), the microcontroller can sequentially read multiple sample data and ultimately read the slave data (SDAT).

[0071] Specifically, if delayed slave data (SDAT) is sent to the microcontroller, the microcontroller can sample the slave data (SDAT).

[0072] Data sent via SDAT can be delayed for a predetermined period of time (e.g., 2Td) and can be sent to a microcontroller acting as the master device.

[0073] The microcontroller can sample and read the slave data (SDAT). To determine the sampling timing of the slave data (SDAT), the microcontroller can use a different clock.

[0074] A microcontroller can generate another clock by increasing the frequency of the clock generated for transmitting master data, and this other clock can be used as a sampling clock. The sampling clock provides sampling points for sampling slave data (SDAT). The microcontroller can generate another clock by increasing its frequency. This other clock can have multiple sampling points, such as rising or falling edges, and the microcontroller can sample the slave data (SDAT) at one of these sampling points. For example, the microcontroller can generate another clock with at least N sampling points (N is a natural number greater than or equal to 2). Once a sampling point is determined for one piece of slave data (SDAT), the microcontroller can use that sampling point to sample another piece of slave data (SDAT).

[0075] Here, it doesn't matter whether the sampling point is a rising edge or a falling edge. Rising and falling edges can be included together in multiple sampling points. In the following description, for ease of explanation, we will use the rising edge as an example.

[0076] For example, in the diagram, the microcontroller can generate another clock at a higher frequency based on the clock generated for transmitting the main data. The microcontroller can generate another clock by increasing the frequency of the clock, such as a sampling clock (CLK'), so that multiple sampling points exist within the first received symbol (RXD1) of the data (SDAT). The sampling clock (CLK') can have three sampling points ①, ②, and ③ within the first received symbol (RXD1).

[0077] Here, the microcontroller may not use all the sampling clocks (CLK'), but may use one of them for sampling. CASE1 through CASE3 represent the sampling clocks (CLK') to show that one of the multiple sampling points within a high-frequency clock is indeed used to effectively sample the first received symbol (RXD1).

[0078] The microcontroller can determine one of multiple sampling points and can sample the Slave Data (SDAT) based on the determined sampling point.

[0079] For example, as shown in CASE1 to CASE3, the microcontroller can generate a maximum sampling clock (CLK') as a clock with increased frequency. CASE1 to CASE3 can be understood as numbered instances of sampling clocks (CLK'). By taking into account the phase difference, the microcontroller can generate three types of sampling clocks (CLK') represented as CASE1 to CASE3, as shown in the figure. The microcontroller can determine a second sampling point ②, which is different from the first sampling point ① and the third sampling point ③, as the sampling point. According to CASE1, synchronization is performed such that the first sampling point ① is close to the start of the first received symbol (RXD1), so the first sampling clock (CLK' of CASE1) may not be able to effectively sample the first received symbol (RXD1) at the first sampling point ①. That is, the value of the first received symbol (RXD1) and the sampled value may be different from each other. If the value of the first received symbol (RXD1) is 0 or 1, the sampled value may be 1 or 0. According to CASE2, synchronization is performed such that the third sampling point ③ is close to the end of the first received symbol (RXD1), therefore the third sampling clock (CLK' of CASE3) may not be able to effectively sample the first received symbol (RXD1) at the third sampling point ③. That is, the value of the first received symbol (RXD1) and the sampled value may be different from each other. If the value of the first received symbol (RXD1) is 0 or 1, the sampled value may be 1 or 0. However, according to CASE3, synchronization is performed such that, unlike the ambiguous positioning, the first sampling points ① to the third sampling point ③ are located within the first received symbol (RXD1) with a wide margin, thus the first received symbol (RXD1) can be effectively sampled at all sampling points. Therefore, regardless of the sampling clock (CLK') used by the microcontroller in CASE1 to CASE3, sampling is valid at the second sampling point ②, so the microcontroller can use one of CASE1 to CASE3 to sample the first received symbol (RXD1) at the second sampling point ②.

[0080] The microcontroller can treat sampled data obtained by sampling the slave data (SDAT) as slave data (SDAT). If the microcontroller effectively samples the slave data (SDAT), the sampled data can be identical to the slave data (SDAT). The microcontroller can read the slave data by reading the sampled data. As described above, the process of generating and reading the sampled data can be understood as the recovery of the slave data (SDAT).

[0081] Figure 8 This is a diagram showing the effective sampling points according to an embodiment.

[0082] Reference Figure 8A predetermined condition can be required for the sampling clock (CLK') to sample the slave data (SDAT). This condition can be that a predetermined segment of the sampling clock (CLK') overlaps with a data segment of the slave data (SDAT). The data segment can be the area including the touch-sensing data sent by the source readout circuitry and can be understood as a bit segment (Tb). Alternatively, the condition can mean that a predetermined pulse segment of the sampling clock (CLK') needs to overlap the entire bit segment (Tb) of the slave data. This predetermined segment can be defined as the valid segment used by the microcontroller to identify the slave data (SDAT). The bit value of the bit segment (Tb) can be correctly sampled only if the valid segment is within the bit segment (Tb). If the valid segment extends beyond the bit segment (Tb), errors may occur when sampling the bit value of the bit segment (Tb).

[0083] The microcontroller can generate a clock such that the sampling clock (CLK') has a valid segment. The valid segment can be a time range and can include a set segment (Ts) and a hold segment (Th). In order for the microcontroller to sample at a sampling point (e.g., at the rising edge), adjacent set segments (Ts) and hold segments (Th) need to fall within a bit segment (Tb) based on the sampling point.

[0084] The set segment (Ts) and hold segment (Th) can be segments where the level of the sampling clock (CLK') changes and the changed level stabilizes, and can be valid segments for acquiring correct sampled data. The set segment (Ts) can be the minimum time required to stabilize the slave data (SDAT) before the rising edge of the sampling clock (CLK'). The hold segment (Th) can be the minimum time required to stabilize the slave data (SDAT) after the rising edge of the sampling clock (CLK'). Additionally, the set segment (Ts) and hold segment (Th) can be the minimum time required to stabilize the slave data (SDAT) before and after the falling edge. The set segment (Ts) and hold segment (Th) can be valid segments required for correct sampling at either the rising or falling edge.

[0085] If the valid segment (set segment (Ts) and hold segment (Th)) exceeds the data segment of the slave data (SDAT), the microcontroller may generate data different from the data included in that data segment as multiple sampled data. If the valid segment (set segment (Ts) and hold segment (Th)) falls within the data segment of the slave data (SDAT), the microcontroller may generate the same data as the data included in the data segment as sampled data.

[0086] For example, based on a sampling clock (CLK') with a phase as shown in CASE1, the microcontroller might generate incorrect sampled data at the first sampling point ①. This is because the set segment (Ts) exceeds the range of the bit segment (Tb). At the second sampling point ② and the third sampling point ③, the valid segments are within the bit segment (Tb), and thus the microcontroller can generate valid sampled data.

[0087] However, with a sampling clock (CLK') having the phase shown in CASE2, the microcontroller can generate valid sampled data at the first sampling point ①. This is because the set segment (Ts) and hold segment (Th) fall within the bit segment (Tb). At the second sampling point ② and the third sampling point ③, the valid segments fall within the bit segment (Tb), thus the microcontroller can generate valid sampled data. With a sampling clock (CLK') having the phase shown in CASE3, the microcontroller can generate valid sampled data at the first sampling point ① and the second sampling point ②. This is because the set segment (Ts) and hold segment (Th) fall within the bit segment (Tb). However, if at the third sampling point ③, the valid segment exceeds the range of the bit segment (Tb), the microcontroller may generate sampled data with errors.

[0088] As described above, the microcontroller may not determine sampling points existing at the boundaries of the received symbols (RXD1 and RXD2) as valid sampling points. That is, the microcontroller may determine sampling points existing within a continuous segment (or bit segment) of a received symbol, rather than at its boundaries, as valid sampling points. In the figure, the microcontroller may determine a second sampling point ②, which is completely different from the first sampling point ① and the third sampling point ③, as a valid sampling point.

[0089] Figure 9 This is a diagram illustrating the process of determining sampling points according to an embodiment.

[0090] Reference Figure 9 The microcontroller can identify data by recognizing pattern data that indicates the state of the data to be sampled, and can sample that data. The microcontroller can identify the pattern data and determine one of multiple sampling points. The microcontroller can then sample data received after the pattern data at that sampling point. Here, the data may include touch sensing data related to the touch or proximity of an external object to the display device.

[0091] For example, the data from the source (SDAT) may include pattern data (DAT_PAT) and receive bits (RXD1 to RXD3). The receive bits (RXD1 to RXD3) may include touch sensing data, which includes information related to touch or proximity to an external object. The pattern data (DAT_PAT) may be located before the receive bits (RXD1 to RXD3) in the data from the source (SDAT), or before the most significant bit (MSB) area.

[0092] The microcontroller can sample the pattern data (DAT_PAT) at various sampling points according to the sampling clock (CLK') and can read the value of the pattern data (DAT_PAT). If the microcontroller reads a predetermined value included in a pattern (DAT_PAT), the microcontroller can identify that the received bits (RXD1 to RXD3) follow the pattern data (DAT_PAT). The microcontroller can determine one of the multiple sampling points of the sampling clock (CLK'). In the figure, the microcontroller can use the second sampling point ② of the first sampling point ①, the second sampling point ②, and the third sampling point ③ to sample the received bits (RXD1 to RXD3).

[0093] At the first sampling point ① and the third sampling point ③, the set and hold segments may extend beyond the various regions of the received bits (RXD1 to RXD3), potentially leading to errors. Therefore, only the second sampling point ② is likely valid. At the second sampling point ②, the value of the sampled data and the value of the mode data (DAT_PAT) can be the same, i.e., 0 or 1. The microcontroller can continuously sample all received bits (RXD1 to RXD3) at the second sampling point ②.

[0094] Pattern data (DAT_PAT) can include signals with a first level (low or high), signals with a second level (low or high) different from the first level, or signals with a combination of the first and second levels. The value of the pattern data (DAT_PAT) can be represented as a first signal level and a second signal level, and such logic signal levels can form a specific pattern. If the microcontroller recognizes this specific pattern, it can identify the data to be sampled that follows. In the figure, the pattern data (DAT_PAT) can include a pattern with the value "000111", and this pattern can be predetermined between the microcontroller and the source readout circuitry.

[0095] The microcontroller can determine the data pattern following the read command as pattern data (DAT_PAT). The source readout circuitry, acting as a slave device, can be pre-configured to send the pattern data (DAT_PAT) following the read command to the microcontroller, acting as the master device, and then immediately send the receive bits (RXD1 to RXD3), such as touch sensing data. In the diagram, Tr can be the time point at which the source readout circuitry receives the read command.

[0096] Figure 10 This is a diagram illustrating the configuration of a microcontroller according to an embodiment.

[0097] Reference Figure 10 The microcontroller 150 may include a receiving circuit 151, a clock generation circuit 152, a data recovery circuit 153, and a transmitting circuit 154.

[0098] The transmitting circuit 154 can send the master data (MDAT) and the clock (CLK) associated with the master data to the source readout circuit. The clock (CLK) can be generated by the clock generation circuit 152 and can be sent to the transmitting circuit 154.

[0099] The receiving circuit 151 can receive slave data (SDAT). The receiving circuit 151 can transmit the slave data (SDAT) to the data recovery circuit 153.

[0100] The clock generation circuit 152 can generate a sampling clock (CLK') with multiple sampling points by increasing the frequency of the clock (CLK).

[0101] For example, clock generation circuit 152 can generate a sampling clock (CLK') with a frequency that is N times greater than the clock (CLK) (N is a natural number greater than or equal to 2). Additionally, clock generation circuit 152 can generate a sampling clock (CLK') with at least N sampling points (N is a natural number greater than or equal to 2). Clock generation circuit 152 can then transmit the sampling clock (CLK') generated from the clock (CLK) to data recovery circuit 153.

[0102] The data recovery circuit 153 can determine a sampling point in the sampling clock (CLK'), sample the slave data (SDAT) at the timing of that sampling point to recover the slave data (SDAT), and generate the same sampled data as the slave data (SDAT).

[0103] The data source (SDAT) may include touch sensing data to be sampled according to a sampling clock (CLK'), and pattern data indicating the start timing of the touch sensing data. The data recovery circuit 153 can read the pattern data and prepare for sampling of the touch sensing data. The data recovery circuit 153 can determine one of a plurality of sampling points of the sampling clock (CLK'). The data recovery circuit 153 can sample the touch sensing data at that sampling point.

[0104] The mode values ​​included in the mode data can be predetermined between the microcontroller and the source readout circuitry.

[0105] Data recovery circuit 153 can generate multiple sampled data by sampling the slave data (SDAT) at each received bit (symbol), and can recover the slave data (SDAT). The recovered slave data (SDAT') may not be the slave data itself received by receiving circuit 151 from the source readout circuit, but can be understood as another data recovered by data recovery circuit 153 from multiple sampled data. The recovered slave data (SDAT') and slave data (SDAT) may have the same value.

[0106] Cross-references to related applications

[0107] This application claims priority to Korean Patent Application No. 10-2020-0030810, filed on March 12, 2020, the entire contents of which are incorporated herein by reference.

Claims

1. A microcontroller included in a display device, the microcontroller comprising: A transmitting circuit configured to transmit first data and a first clock synchronized with the first data; A receiving circuit configured to receive second data generated according to a clock having the same frequency as the first clock; A clock generation circuit is configured to generate a second clock with a frequency higher than that of the first clock. as well as A data recovery circuit is configured to determine a plurality of sampling points in the second clock, determine one of the plurality of sampling points based on the second clock, perform sampling of the second data at the determined sampling point, and recover the second data based on the sampled second data.

2. The microcontroller of claim 1, wherein, The second data includes data sampled according to the second clock and pattern data indicating the start of the data, and The data recovery circuit identifies the data by recognizing the pattern data and samples the data.

3. The microcontroller of claim 1, wherein, The clock generation circuit generates the second clock to have a frequency that is greater than the frequency of the first clock and is N times the frequency of the first clock, where N is a natural number greater than or equal to 3.

4. The microcontroller of claim 2, wherein, After providing a read command for the second data, the pattern data is received via the receiving circuit.

5. The microcontroller according to claim 2, wherein, The mode data includes a signal having a first level and a second level different from the first level.

6. The microcontroller according to claim 1, wherein, The transmitting circuit transmits the first clock in the segment for transmitting the first data and the segment for receiving the second data.

7. The microcontroller according to claim 1, wherein, The plurality of sampling points correspond to the rising edge or falling edge of the second clock, respectively.

8. The microcontroller according to claim 1, wherein, The second data includes touch sensing data related to the touch or proximity of an external object to the display device.

9. The microcontroller according to claim 8, wherein, The second data is received from the readout circuit included in the display device.

10. The microcontroller according to claim 1, wherein, The second clock has a setting section and a holding section before and after each sampling point, and Wherein, if the setting section and the holding section are within a section corresponding to a symbol of the second data, the data recovery circuit generates valid sampled data.

11. A display device comprising: A microcontroller configured to transmit first data and a first clock synchronized with the first data; as well as The readout circuit is configured to generate second data based on a clock having the same frequency as the first clock, and to send the second data to the microcontroller. The microcontroller generates a second clock with a frequency higher than that of the first clock, determines multiple sampling points in the second clock, determines one of the multiple sampling points based on the second clock, performs sampling of the second data at the determined sampling point, and recovers the second data based on the sampled second data.

12. The display device according to claim 11, wherein, The microcontroller generates the second clock with at least N sampling points, where N is a natural number greater than or equal to 3.

13. The display device according to claim 11, wherein, A time delay occurs in the signal line between the microcontroller and the readout circuit.

14. The display device according to claim 11, wherein, The readout circuit generates the second data, which is synchronized with the first clock.

15. The display device according to claim 11, wherein, The second data includes touch sensing data related to the touch or proximity of an external object to the display device, and the microcontroller samples the touch sensing data at a sampling point.

Citation Information

Patent Citations

  • Method and server for providing course information of vessel including coast weather information

    KR1020200030810A

  • Digital processing system, master chip and digital processing method

    CN109977056A