Display touch driving chip and electrostatic processing method thereof
By setting the reset process and issuing register instructions periodically in the display touch driver chip, the ESD soft damage problem of the display touch driver chip is solved, and comprehensive ESD protection for the touch module and the display module is achieved.
Patent Information
- Application Number
- CN202411797595.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-07
AI Technical Summary
The prior art is difficult to effectively solve the problem of ESD soft damage in the display touch driver chip, especially when soft damage occurs on the touch terminal, which leads to stuck and unable to touch, or the display terminal cannot recover ESD soft damage.
By setting the first reset process and the second reset process, respectively, the touch drive and the main processor are controlled, and resetting the touch control module and the display touch drive chip is realized. Touch firmware can periodically issue instructions to display status registers to repair electrostatic soft damage.
The ESD soft damage problem of displaying touch driver chips is solved to the maximum extent, ensuring that the touch module and display module can be reset in time when the static soft damage occurs, and avoiding any abnormalities that are stuck and cannot be recovered.
Smart Images

Figure CN119576157A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of driver chips, and in particular to a display touch driver chip and an electrostatic treatment method thereof. Background Art
[0002] In actual use, various ESD (Electro Static Discharge) soft damages often occur in touch and display driver integration (TDDI) chips. ESD soft damage refers to potential failures caused by electrostatic discharge. Compared with permanent abnormalities such as hard damage, ESD soft damage is an abnormality that can be recovered by resetting and initializing and then powering on.
[0003] At present, the solution to most display ESD soft damage problems (recoverable display anomalies) is that the display terminal periodically reads the display status register to detect the register status, or detects the synchronization signal (TE) status of the display chip. When an abnormal status is found, the main processor will stop refreshing the image and send a sleep command to put the chip into sleep mode. After powering on again to drive the chip for initialization, the image is refreshed again to restore to the normal display state. However, when the internal register of the display terminal is rewritten or mistyped by static electricity, the above method cannot solve the ESD problem, which will cause problems such as black screen, white screen or flowery screen.
[0004] There is a lack of ESD soft damage solutions for display touch driver chips, especially soft damage solutions for touch terminals (recoverable touch anomalies). The mainstream solution is to use the above-mentioned display ESD soft damage solutions on the display terminal. The touch terminal detects the status of the touch status register through the touch firmware (TP FW). When an error in the touch status register is found, the touch firmware resets the touch module.
[0005] It can be seen that the soft damage solutions for the touch end and the display end are relatively independent, and the ESD problems that can be solved are very limited. It cannot solve the ESD soft damage of the display touch driver chip to the greatest extent. In severe cases, there will be no problem on the display end, but ESD soft damage problems will occur on the touch end, causing the touch end to be stuck and unable to touch. Occasionally, although the touch end is normal, the abnormality of the display end cannot be solved, resulting in frequent problems such as black screen, white screen or flowery screen. Summary of the invention
[0006] The purpose of the present invention is to provide a display touch driver chip and an electrostatic treatment method thereof, so as to solve the problem in the prior art that when there is no problem on the display end but ESD soft damage occurs on the touch end, the touch end will be stuck and cannot be touched and cannot be reset; and to solve the problem of ESD soft damage that cannot be recovered, such as black screen, white screen or flowery screen, when the display end has an ESD display register instruction that cannot be responded to; thereby solving the ESD soft damage of the display touch driver chip to the greatest extent.
[0007] In order to achieve the above objectives, the present invention is implemented by the following technical solutions:
[0008] A method for electrostatic treatment of a display touch driver chip, wherein the method performs electrostatic treatment according to the following first method, second method, or both methods are nested.
[0009] First method:
[0010] Setting a first reset process, wherein the first reset process is controlled by the touch control driver to determine whether to start the touch control module;
[0011] Setting a second reset process, wherein the second reset process is controlled by the main processor to determine whether to start to reset the display touch control driver chip;
[0012] When the first reset process can be started normally, the touch module is reset through the first reset process to repair the electrostatic soft damage; when the instruction received by the touch driver is not sufficient to start the first reset process normally to reset the touch module, the touch module is reset with the help of the second reset process to repair the electrostatic soft damage;
[0013] Second method:
[0014] The touch control firmware can not only complete its own detection and trigger the reset of the touch control module to repair the electrostatic soft damage, but also periodically issue instructions for the display status register that is prone to problems to repair the electrostatic soft damage.
[0015] Optionally, the first method specifically includes: setting the unsuccessful handshake between the touch firmware and the touch driver as a condition for triggering the reset of the touch module, and setting an abnormal flag bit for the unsuccessful handshake, judging the abnormal flag bit in real time by the main processor to detect whether the touch module cannot reset itself, and once it is detected that the touch module cannot reset itself, resetting the touch module by resetting the display touch driver chip;
[0016] Or, the second method specifically includes: utilizing the mutually accessible characteristic of the SOC core instruction sets of the display touch driver chip, setting the touch firmware to periodically send instructions of the display status register that is prone to problems to repair electrostatic soft damage.
[0017] Optionally, the first method comprises the following steps:
[0018] S0: normal operation;
[0019] S1: During the first frame detection period, the touch control firmware detects and determines whether the touch control module is abnormal. If it is not abnormal, it enters step S0 and starts the processing cycle of the next detection period. If it is abnormal, it enters step S2;
[0020] S2: The touch driver resets the touch module;
[0021] S3: The main processor determines whether the touch module is successfully reset. If it is successfully reset, it enters step S0 to start the processing cycle of the next detection period. If it is not successfully reset, it enters step S4;
[0022] S4: the main processor resets the display touch driver chip, and then enters step S0 to start the processing cycle of the next detection period;
[0023] And / or, the second method comprises the following steps:
[0024] S0′: normal operation;
[0025] S1′: During the second detection period, the touch control firmware detects and determines whether the touch control module is abnormal. If not, it proceeds to step S0′ to start the processing cycle of the next detection period. If it is abnormal, it proceeds to step S2′;
[0026] S2′: the touch control driver resets the touch control module, and then enters step S0′ to start the processing cycle of the next detection period;
[0027] Wherein, the second method further performs the following step S1″ while performing steps S1′ and S2′, and the step S1″ and step S0′ are cyclic:
[0028] S1″: The touch control firmware periodically issues instructions to the display status register in the display driver that are prone to problems through the SOC core instruction set.
[0029] Optionally, step S1 in the first method specifically includes the following steps:
[0030] S10: Start judging;
[0031] S11: The touch control firmware sends a command to the touch control driver;
[0032] S12: The main processor determines whether the touch driver receives the instruction. If the instruction is received, the process goes to step S13′; otherwise, the process goes to step S13;
[0033] S13: the touch control firmware determines that the touch control module is abnormal, and performs +1 on the abnormal flag, and enters the step S10 loop again; S13′: the touch control firmware determines that the touch control module is not abnormal, and clears the abnormal flag, and enters the step S10 loop again.
[0034] Optionally, step S3 in the first method specifically includes the following steps:
[0035] S30: start judging;
[0036] S31: The touch control firmware reports an abnormal flag;
[0037] S32: The main processor determines whether the value of the abnormal flag is greater than a preset threshold, if yes, it goes to step S33, otherwise it goes to step S33′;
[0038] S33: the main processor determines that the touch control module is abnormal; S33′: the main processor determines that the touch control module is not abnormal.
[0039] Optionally, the preset threshold is greater than or equal to 2.
[0040] Optionally, step S4 in the first method specifically includes the following steps:
[0041] S40: Start;
[0042] S41: The touch control driver sends a command of the display status register to induce a reset of the display touch control driver chip;
[0043] S42: The main processor resets the display touch driver chip and clears the abnormal flag bit.
[0044] Optionally, step S41 of the first method further includes the following steps:
[0045] The touch driver changes the current value of the display status register of the display driver to make it different from the preset value of the display status register, so that when the main processor reads the status register of the display driver through the MIPI interface, it determines that the read value is different from the system preset value, thereby inducing the main processor to reset the display touch driver chip; or,
[0046] The display module stops sending the display synchronization pulse signal, so that the GPIO port of the main processor cannot detect the display synchronization pulse signal, thereby inducing the main processor to reset the display touch driving chip.
[0047] Optionally, step S1′ of the second method specifically includes the following steps:
[0048] S10′: start judging;
[0049] S11′: The touch control firmware detects whether the instruction of the touch control status register is wrong. If it is wrong, it goes to step S12′; if it is correct, it goes to step S12″;
[0050] S12′: the touch module is abnormal; S12″: the touch module is not abnormal.
[0051] Optionally, step S11′ of the second method further includes the following steps:
[0052] The touch control firmware periodically detects the current value of the touch control state register of the touch control driver, and determines whether the instruction of the touch control state register is wrong by determining whether the current value is equal to the preset value of the touch control state register.
[0053] Optionally, the touch control drive resetting touch control module specifically includes:
[0054] The first reset process is called to reset the touch control module, and the display touch control driver chip is made to reload the touch control firmware.
[0055] Optionally, the instructions of the display status register that are prone to problems include one or more of instructions of the display status register for display color and instructions of the display status register for screen status.
[0056] Optionally, the display touch control driver chip is applied to a terminal, the terminal includes the main processor, and the display touch control driver chip includes a display module, the touch control module, and the touch control firmware.
[0057] A display touch control driving chip uses the electrostatic treatment method described above.
[0058] Compared with the prior art, the present invention has the following advantages:
[0059] The solution provided by the present invention first adds the touch firmware to detect the touch driver of the main processor. The touch firmware interacts with the touch driver to detect the abnormality of the touch driver. By reporting the abnormal flag, the main processor can be informed of the status of the touch module in a timely manner. Once it is found that the touch module cannot recover by itself, the main processor directly induces the reset process of the whole chip to perform the system recovery of the whole chip to reset the touch module. In addition, while the original touch firmware detects the status of the touch module itself, the register instruction set of the display touch driver chip can be called mutually, and the touch firmware can also issue the register instructions of the display part. By periodically issuing them, the ESD soft injury type abnormalities of the display module can also be solved. After the above two points are applied in combination, the touch module and the display module can cooperate with each other to carry out comprehensive ESD protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for the description. Obviously, the drawings described below are an embodiment of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work:
[0061] Figure 1 A structural diagram of a terminal including a display touch driver chip;
[0062] Figure 2 A flowchart of the process of handling ESD soft damage problems of display modules in existing terminals;
[0063] Figure 3 A schematic diagram of initializing the entire display touch driver chip;
[0064] Figure 4 The flowchart is a process of handling ESD soft damage problems of touch modules in existing terminals;
[0065] Figure 5a A flow chart of a first method of the static electricity treatment method for a display touch control driver chip provided by the first embodiment of the present invention;
[0066] Figure 5b for Figure 5a Specific flow chart of step S1 in FIG.
[0067] Figure 5c for Figure 5a Specific flow chart of step S3;
[0068] Figure 5d for Figure 5a Specific flow chart of step S4;
[0069] Figure 5e for Figure 5a A detailed overview of the steps in the
[0070] Figure 6a A flow chart of a second method of the electrostatic treatment method for a display touch control driver chip provided in the second embodiment of the present invention;
[0071] Figure 6b for Figure 6a Specific flow chart of step S1′;
[0072] Figure 7 This is a flow chart showing a combination of the first method and the second method of the static electricity treatment method for a touch control driving chip provided in the third embodiment of the present invention. DETAILED DESCRIPTION
[0073] The scheme proposed by the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. According to the following description, the advantages and features of the present invention will be clearer. It should be noted that the accompanying drawings are in a very simplified form and use non-precise proportions, which are only used to conveniently and clearly assist in explaining the purpose of the implementation method of the present invention. In order to make the purposes, features and advantages of the present invention more obvious and easy to understand, please refer to the accompanying drawings. It should be noted that the structures, proportions, sizes, etc. illustrated in the accompanying drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions for the implementation of the present invention, so they have no technical substantive significance. Any structural modification, change in proportional relationship or adjustment of size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope of the technical content disclosed by the present invention.
[0074] like Figure 1 As shown in the figure, it is a structural block diagram of a terminal using a display touch driver chip TDDI. The terminal 100 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The terminal 100 includes a display touch driver chip 110 and a main processor 120. The display touch driver chip 110 includes a display module 111, a touch module 112 and a touch firmware 113. The touch firmware 113 refers to Firmware firmware, which is a program for the touch module 112 to run. The main processor 120 includes a display driver 121 and a touch driver 122, which are respectively used to drive the display module 111 and the touch module 112 to run.
[0075] Figure 2The flowchart is a processing flow of the ESD soft damage problem of the display module 111 in the existing terminal 100. Specifically, after the MIPI (Mobile Industry Processor Interface) interface of the display module 111 sends the Nth frame image, during the VFP (Vertical Front Porch) of the Nth frame, the main processor 120 reads the display status register of the display driver 121 in the MIPI low-speed state, for example, at a frequency of once every 2 seconds, or the GPIO port of the main processor 120 detects the synchronous pulse signal TE (the synchronous pulse signal TE can be set to output once per frame or per line, generally set to output per frame) sent by the display module 111, and detects the rising or falling edge of the signal, for example, at a frequency of once every 2 seconds. The main processor 120 further determines whether the read value of the display status register is the same as the system preset value, or determines whether the synchronous pulse signal TE is detected. If yes, it means that the display module 111 has not suffered ESD soft damage at present, so the MIPI interface can continue to execute the VS (Vertical Sync Active, frame synchronization), VBP (Vertical BackPorch, frame back porch) of the Nth frame and send the N+1th frame image. If the result of the judgment is no, taking the Nth frame as an example, the main processor 120 stops refreshing the image after VBP. Since the processor needs reaction time, the actual stopping of refreshing the image will be completed after N+X frames (the length of the X frame depends on the main processor 120, generally 1-200ms). At this time, the MIPI high-speed state is switched to the low-speed state, and the entire display touch driver chip 110 is reset. After the reset is completed, the MIPI interface continues to send the N+X+1th frame image, thereby continuing the subsequent image display process, and cyclic detection is performed during this process to achieve the processing of ESD soft damage problems.
[0076] The reset of the entire display touch driver chip 110 includes the following steps: the main processor 120 sends a display touch driver chip sleep instruction, and powers off the display touch driver chip 110, and after the display touch driver chip 110 is powered on again, sends a display touch driver chip initialization instruction to initialize the entire display touch driver chip 110. Figure 3As shown, the initialization of the entire display touch driver chip 110 includes the initialization of the display module 111 and the initialization of the touch module 112. The initialization of the display module 111 includes the internal power reference setting, the power supply setting of the display panel, the timing setting of the display panel, the effect setting of the display panel, the display interface timing matching setting, etc. The initialization of the touch module 112 includes the touch driver performing a soft / hard reset on the TDDI chip, loading the touch firmware through the touch driver, the touch firmware interacting with the touch driver and reporting touch events, the touch driver re-issuing the touch module initialization instruction, and the ESD processing flow of the touch module re-working, etc.
[0077] Figure 4 The present invention is a flowchart for handling the ESD soft damage problem of the touch module 112 in the existing terminal 100, specifically: the touch firmware 113 periodically detects the current value of the touch status register of the touch driver 121. If the current value is not equal to the preset value of the touch status register (i.e., the touch status register is wrong), the display touch driver chip 110 reloads the touch firmware 113, thereby resetting the touch module 112.
[0078] As can be seen from the above description, in the prior art, the detection of ESD soft damage parts of the display module 111 and the touch module 112 are independent of each other, and the solution used is also a discrete device solution. When there is no problem with the display module 111, the main processor 120 will not perform such Figure 2 and Figure 3 The entire display touch driver chip 110 is reset as shown. If the touch module 112 has a problem that cannot be recovered by itself, it will be stuck and unable to touch. Or, if the display module 111 has an abnormality other than the display status register detection, it cannot be performed as shown. Figure 2 and Figure 3 The reset of the entire display touch driver chip 110 shown in the figure leads to display problems such as black screen, white screen or distorted screen, etc. Ultimately, various problems such as ESD soft damage of the display module 111 and the touch module 112 occur frequently, such as touch stuck and display abnormality, which seriously affect the user experience.
[0079] Based on this, an embodiment of the present invention provides a method for handling static electricity of a display touch driver chip. The method performs static electricity handling according to the following first method, second method, or both methods are nested.
[0080] The first method includes: setting a first reset process, the first reset process is controlled by the touch driver 121 to start or not to reset the touch module 112; setting a second reset process, the second reset process is controlled by the main processor 120 to start or not to reset the display touch driver chip 110; when the first reset process can be started normally, the touch module 112 is reset through the first reset process to repair the electrostatic soft damage; when the instruction received by the touch driver 121 is not enough to start the first reset process normally to reset the touch module 112, the touch module 112 is reset with the help of the second reset process to repair the electrostatic soft damage. Specifically, the unsuccessful handshake between the touch firmware 113 and the touch driver 121 is set as a condition to trigger the reset of the touch module 112, and an abnormal flag is set for the unsuccessful handshake, and the abnormal flag is judged in real time by the main processor 120 to detect whether the touch module 112 cannot reset itself. Once it is detected that the touch module 112 cannot reset itself, the reset of the touch module 112 is completed by resetting the display touch driver chip 110.
[0081] This method combines the first reset process with the second reset process. When the touch driver 121 cannot complete the reset of the touch module 112, the main processor 120 resets the entire display touch driver chip 110 through the second reset process, thereby resetting the touch module 112, thereby solving the problem that the existing display module 111 has no problem, but the touch module 112 is stuck and cannot be touched and cannot be reset.
[0082] The second method includes: setting the touch firmware 113 to complete its own detection and trigger the reset of the touch module 112 to repair the electrostatic soft damage, and also periodically sending instructions of the display status register that is prone to problems to repair the electrostatic soft damage. Specifically, by utilizing the feature that the SOC (System On Chip) core instruction set of the display touch driver chip 110 can access each other, setting the touch firmware 113 to periodically send instructions of the display status register that is prone to problems to repair the electrostatic soft damage.
[0083] The method sets the touch firmware 113 to detect not only its own status, but also the display status register anomalies that the current display terminal cannot detect, thereby solving the ESD soft damage problem that cannot be recovered, such as black screen, white screen or flowery screen, when the display terminal has an ESD display register instruction that cannot be responded to.
[0084] In one embodiment, by nesting the above two methods, the ESD soft damage of the display touch driver chip 110 can be solved to the greatest extent.
[0085] Specifically, Figure 5aFIG. 1 is a specific embodiment of the first method of implementing the present invention alone. The first method comprises the following steps:
[0086] S0: normal operation;
[0087] S1: During the first detection period, the touch control firmware 113 detects and determines whether the touch control module 112 is abnormal. If not, the process proceeds to step S0 to start the processing cycle of the next detection period. If abnormal, the process proceeds to step S2;
[0088] S2: The touch control driver 121 resets the touch control module 112;
[0089] S3: The main processor 120 determines whether the touch module 112 is successfully reset. If it is successfully reset, it enters step S0 to start the processing cycle of the next detection period. If it is not successfully reset, it enters step S4;
[0090] S4: the main processor 120 resets the display touch driving chip 110, and then enters step S0 to start the processing cycle of the next detection period.
[0091] That is, on the one hand, the touch control firmware 121 detects and determines in real time whether the touch control module 112 is abnormal. If it is abnormal, the touch control driver 121 resets the touch control module 112 through the first reset process, and causes the display touch control driver chip 110 to reload the touch control firmware 113. On the other hand, the main processor 120 also determines in real time whether the touch control module 112 is successfully reset. If it is not successfully reset, the main processor 120 resets the entire display touch control driver chip 110 through the second reset process, thereby resetting the touch control module 112.
[0092] like Figure 5b As shown, step S1 specifically includes the following steps:
[0093] S10: Start judging;
[0094] S11: The touch firmware 113 sends an instruction to the touch driver 121;
[0095] S12: The main processor 120 determines whether the touch driver 121 receives the instruction. If the instruction is received, the process goes to step S13′; otherwise, the process goes to step S13;
[0096] S13: the touch control firmware 113 determines that the touch control module 112 is abnormal, and performs +1 on the abnormal flag, and enters the step S10 loop again; S13′: the touch control firmware 113 determines that the touch control module 112 is not abnormal, and clears the abnormal flag, and enters the step S10 loop again.
[0097] Specifically, the touch firmware 113 sends instructions to the touch driver 121 in the main processor 120 with a first preset time as a period to perform handshake (for example, once per second). The main processor 120 determines in real time whether the touch driver 121 has received the instruction sent by the touch firmware 113. If the instruction is not received, it means that the touch module 112 has an abnormality. At this time, the abnormal flag bit is executed +1, and step S2 needs to be executed at the same time, and the touch driver 121 resets the touch module 112. If the instruction is received, it means that the touch module 112 has no abnormality or the touch driver 121 can recover the abnormality of the touch module 112, then the abnormal flag bit is cleared to facilitate the touch firmware 113 to continue to monitor whether the touch module 112 has an abnormality that cannot be recovered by itself.
[0098] like Figure 5c As shown, step S3 specifically includes the following steps:
[0099] S30: start judging;
[0100] S31: the touch control firmware 113 reports an abnormal flag;
[0101] S32: The main processor 120 determines whether the value of the abnormal flag is greater than a preset threshold, if yes, it goes to step S33, otherwise it goes to step S33′;
[0102] S33: the main processor 120 determines that the touch control module 112 is abnormal; S33′: the main processor 120 determines that the touch control module 112 is not abnormal.
[0103] Specifically, the touch control firmware 113 reports the abnormal flag to the main processor 120 in real time, and the main processor 120 determines in real time whether the value of the abnormal flag is greater than the preset threshold. If so, it means that the touch control module 112 itself is abnormal and cannot be recovered, and subsequent processing is required to reset the touch control module 112. If not, it is considered that the touch control module 112 is not abnormal. Optionally, the preset threshold is greater than or equal to 2. A more preferred preset threshold is 2, which can avoid the feeling of touch jamming while avoiding the high power consumption or display unsmoothness caused by the frequent resetting of the touch control driver chip 110 as a whole.
[0104] like Figure 5d As shown, step S4 specifically includes the following steps:
[0105] S40: Start;
[0106] S41: the touch driver 121 sends a command of the display status register to induce a reset of the display touch driver chip 110;
[0107] S42: the main processor 120 resets the display touch control driver chip 110 and clears the abnormal flag bit.
[0108] Specifically, the touch driver 121 sends relevant instructions to induce the main processor 120 to reset the entire display touch driver chip 110, including the following two ways: 1. The touch driver 121 changes the current value of the display status register of the display driver 111 to make it different from the preset value of the display status register, so that the main processor 120 determines that the read value is different from the system preset value when reading the status register of the display driver 122 through the MIPI interface, thereby inducing the main processor 120 to reset the display touch driver chip 110; 2. The display module 111 stops sending the display synchronization pulse signal, so that the GPIO port of the main processor 120 cannot detect the display synchronization pulse signal, thereby inducing the main processor 120 to reset the display touch driver chip 110. In other words, the touch driver 121 sends the display status register instruction to induce the main processor 120 to detect that the display module 111 is abnormal, and then triggers the main processor 120 to start the second reset process to fully restore the entire display touch driver chip 110, thereby solving the problem that the touch module 112 itself cannot be restored.
[0109] Furthermore, after the main processor 120 resets the display touch control driver chip 110 , the abnormal flag is cleared to zero, so that the touch control firmware 113 continues to monitor whether the touch control module 112 has an abnormality that cannot be recovered by itself after the touch control module 112 is reset.
[0110] Relative attachment Figure 2 The first method of the present invention is an example of a prior art ESD soft damage treatment method. The steps are as follows: Figure 5e As shown, by adding the touch firmware 113 to detect the touch driver 121 of the main processor 120, the touch firmware 113 interacts with the touch driver 121 successfully or not to detect the abnormality of the touch driver 121. By reporting the abnormal flag, the main processor 120 can be informed of the status of the touch module 112 in time. Once it is found that the touch module 112 cannot recover by itself, the main processor 120 directly induces the reset process of the whole chip to perform the system recovery of the whole chip to reset the touch module 112.
[0111] In this embodiment, the touch driver 121 in the main processor 120 can timely monitor the touch module 112 for anomalies that cannot be resolved by self-reset recovery through handshake status judgment with the touch firmware 113 and value judgment of the abnormal flag bit, and can directly call the ESD cycle process of the display module 111 by issuing a display status register instruction to execute the reset recovery mechanism of the entire system, thereby ensuring that the display touch driver chip 110 will not have unresolvable touch-related soft damage problems.
[0112] like Figure 6aFIG. 2 is a specific embodiment of the second method of the present invention. The second method comprises the following steps:
[0113] S0′: normal operation;
[0114] S1′: During the second detection period, the touch firmware 113 detects and determines whether the touch module 112 is abnormal. If it is not abnormal, it enters step S0′ to start the processing cycle of the next detection period. If it is abnormal, it enters step S2′; wherein, the second detection period in the second method and the first detection period in the first method can be synchronized or different.
[0115] S2′: the touch control driver 121 resets the touch control module 112, and then enters step S0′ to start the processing cycle of the N+1th frame data;
[0116] Wherein, the second method further performs the following step S1″ while performing steps S1′ and S2′, and the step S1″ and step S0′ are cyclic:
[0117] S1″: the touch control firmware 113 periodically sends instructions for display status registers in the display driver 122 that are prone to problems through the SOC core instruction set.
[0118] That is, on the one hand, the touch firmware 113 periodically detects whether the touch module 112 is abnormal. If it is abnormal, the first reset process is called to reset the touch module 112, and the display touch driver chip 110 is made to reload the touch firmware 113. On the other hand, the touch firmware 113 periodically sends instructions for the display status registers that are prone to problems in the display driver 122 to avoid abnormalities in these display status registers that are prone to problems, resulting in unrecoverable ESD soft damage problems such as black screen, white screen or flowery screen on the display end, thereby solving the ESD soft damage problems that cannot be handled by the display end through the touch end. The instructions for the display status registers that are prone to problems include one or more of the instructions for the display status registers that display color and the instructions for the display status registers that display screen status, and can also be other instructions for the display status registers that are prone to problems obtained through experience.
[0119] Specifically, Figure 6b As shown, step S1′ specifically includes the following steps:
[0120] S10′: start judging;
[0121] S11′: the touch control firmware 113 detects whether the instruction of the touch control status register is wrong. If it is wrong, it goes to step S12′; if it is right, it goes to step S12″;
[0122] S12′: the touch control module 112 is abnormal; S12″: the touch control module 112 is not abnormal.
[0123] Among them, in step S11′, the touch firmware 113 detects whether the instruction of the touch status register is wrong, which specifically includes: the touch firmware 113 periodically detects the current value of the touch status register of the touch driver 121, and determines whether the instruction of the touch status register is wrong by determining whether the current value is equal to the preset value of the touch status register.
[0124] like Figure 7 As shown, it is a specific embodiment of nested implementation of the first method and the second method of the present invention, which is Figure 5a The specific steps of the first method shown and Figure 6a The combination of the specific steps of the second method shown can be specifically referred to the above description, which will not be repeated here. This embodiment combines the first method with the second method to achieve display and touch joint assistance, thereby solving common electrostatic soft damage problems such as touch terminal stuck and display terminal abnormality to the greatest extent.
[0125] An embodiment of the present invention further provides a display touch control driving core, and the display touch control driving core applies the electrostatic treatment method of the display touch control driving chip described in any of the above embodiments.
[0126] In summary, the solution provided by the present invention first adds the touch firmware to detect the touch driver of the main processor. The touch firmware interacts with the touch driver to detect the abnormality of the touch driver. By reporting the abnormal flag, the main processor can be informed of the status of the touch module in a timely manner. Once it is found that the touch module cannot recover by itself, the main processor directly calls the reset process of the whole chip to perform system recovery of the whole chip. In addition, while the original touch firmware detects the status of the touch module itself, the register instruction set of the display touch driver chip can be called by each other. The touch firmware can also issue the register instructions of the display part. By periodically issuing them, the ESD soft injury type abnormalities of the display module can also be solved. After the above two points are applied in combination, the touch module and the display module can cooperate with each other to carry out comprehensive ESD protection.
[0127] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0128] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.
Claims
1. A method for treating static electricity of a display touch driver chip, characterized in that: The method is performed according to the following first method, the second method, or both methods are nested to perform electrostatic treatment, First method: Setting a first reset process, wherein the first reset process is controlled by the touch control driver to determine whether to start the touch control module; Setting a second reset process, wherein the second reset process is controlled by the main processor to determine whether to start to reset the display touch control driver chip; When the first reset process can be started normally, the touch control module is reset through the first reset process to repair the electrostatic soft damage; When the instruction received by the touch control driver is insufficient to normally start the first reset process to reset the touch control module, the touch control module is reset by means of the second reset process to repair the electrostatic soft damage; Second method: The touch control firmware can not only complete its own detection and trigger the reset of the touch control module to repair the electrostatic soft damage, but also periodically issue instructions for the display status register that is prone to problems to repair the electrostatic soft damage.
2. The static electricity treatment method for a display touch driver chip according to claim 1, characterized in that: The first method specifically includes: setting the unsuccessful handshake between the touch firmware and the touch driver as a condition for triggering the reset of the touch module, and setting an abnormal flag bit for the unsuccessful handshake, judging the abnormal flag bit in real time by the main processor to detect whether the touch module cannot reset itself, and once it is detected that the touch module cannot reset itself, resetting the touch module by resetting the display touch driver chip; Or, the second method specifically includes: utilizing the mutually accessible characteristic of the SOC core instruction sets of the display touch driver chip, setting the touch firmware to periodically send instructions of the display status register that is prone to problems to repair electrostatic soft damage.
3. The static electricity treatment method for a display touch driver chip according to claim 1 or 2, characterized in that: The first method comprises the following steps: S0: normal operation; S1: During the first detection period, the touch control firmware detects and determines whether the touch control module is abnormal. If not, it goes to step S0 to start the processing cycle of the next detection period. If it is abnormal, it goes to step S2; S2: The touch driver resets the touch module; S3: The main processor determines whether the touch module is successfully reset. If it is successfully reset, it enters step S0 to start the processing cycle of the next detection period. If it is not successfully reset, it enters step S4; S4: the main processor resets the display touch driver chip, and then enters step S0 to start the processing cycle of the next detection period; And / or, the second method comprises the following steps: S0′: normal operation; S1′: During the second detection period, the touch control firmware detects and determines whether the touch control module is abnormal. If not, it proceeds to step S0′ to start the processing cycle of the next detection period. If it is abnormal, it proceeds to step S2′; S2′: the touch control driver resets the touch control module, and then enters step S0′ to start the processing cycle of the next detection period; Wherein, the second method further performs the following step S1″ while performing steps S1′ and S2′, and the step S1″ and step S0′ are cyclic: S1″: The touch firmware periodically issues instructions to the display status register in the display driver that are prone to problems through the SOC core instruction set.
4. The static electricity treatment method for a display touch driver chip according to claim 3, characterized in that: Step S1 in the first method specifically includes the following steps: S10: start judging; S11: The touch control firmware sends a command to the touch control driver; S12: The main processor determines whether the touch driver receives the instruction. If the instruction is received, the process goes to step S13′; otherwise, the process goes to step S13; S13: the touch control firmware determines that the touch control module is abnormal, and performs +1 on the abnormal flag, and enters the step S10 loop again; S13′: the touch control firmware determines that the touch control module is not abnormal, and clears the abnormal flag, and enters the step S10 loop again.
5. The static electricity treatment method for a display touch driver chip according to claim 3, characterized in that: Step S3 in the first method specifically includes the following steps: S30: start judging; S31: The touch control firmware reports an abnormal flag; S32: The main processor determines whether the value of the abnormal flag is greater than a preset threshold, if yes, it goes to step S33, otherwise it goes to step S33′; S33: the main processor determines that the touch control module is abnormal; S33′: the main processor determines that the touch control module is not abnormal.
6. The static electricity treatment method for a display touch driver chip according to claim 5, characterized in that: The preset threshold is greater than or equal to 2.
7. The static electricity treatment method for a display touch control driver chip according to any one of claims 3 to 6, characterized in that: Step S4 in the first method specifically includes the following steps: S40: Start; S41: The touch control driver sends a command of the display status register to induce a reset of the display touch control driver chip; S42: The main processor resets the display touch driver chip and clears the abnormal flag bit.
8. The static electricity treatment method for a display touch driver chip according to claim 7, characterized in that: Step S41 of the first method specifically further includes the following steps: The touch driver changes the current value of the display status register of the display driver to make it different from the preset value of the display status register, so that when the main processor reads the status register of the display driver through the MIPI interface, it determines that the read value is different from the system preset value, thereby inducing the main processor to reset the display touch driver chip; or, The display module stops sending the display synchronization pulse signal, so that the GPIO port of the main processor cannot detect the display synchronization pulse signal, thereby inducing the main processor to reset the display touch driving chip.
9. The static electricity treatment method for a display touch control driver chip according to claim 3, characterized in that: The step S1′ of the second method specifically comprises the following steps: S10′: start judging; S11′: The touch control firmware detects whether the instruction of the touch control status register is wrong. If it is wrong, it goes to step S12′; if it is correct, it goes to step S12″; S12′: the touch module is abnormal; S12″: the touch module is not abnormal.
10. The static electricity treatment method for a display touch control driver chip according to claim 9, characterized in that: The step S11′ of the second method specifically further includes the following steps: The touch control firmware periodically detects the current value of the touch control state register of the touch control driver, and determines whether the instruction of the touch control state register is wrong by determining whether the current value is equal to the preset value of the touch control state register.
11. The static electricity treatment method for a display touch control driver chip according to claim 3, characterized in that: The touch control drive reset touch control module specifically includes: The first reset process is called to reset the touch control module, and the display touch control driver chip is made to reload the touch control firmware.
12. The static electricity treatment method for a display touch control driver chip according to claim 1, characterized in that: The instructions of the display status register that are prone to problems include one or more of instructions of the display status register for displaying color and instructions of the display status register for displaying screen status.
13. The static electricity treatment method for a display touch control driver chip according to claim 1, characterized in that: The display touch control driving chip is applied to a terminal, the terminal includes the main processor, and the display touch control driving chip includes a display module, the touch control module, and the touch control firmware.
14. A display touch control driver chip, characterized in that: The method according to any one of claims 1 to 13 is used.