Display driving method and device, display module and electronic equipment
By outputting test signals through the test port of the bridge chip, the host is triggered to read touch data, which solves the problem of insufficient GPIO interface of the bridge chip and realizes the full functionality and reliable operation of the touch display product.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-26
- Publication Date
- 2026-03-27
AI Technical Summary
The limited number of GPIO interfaces on the bridge chip prevents some functions of touch display products from being implemented.
The test signal is output to the control circuit through the test port of the bridge chip, which triggers the host to output the first interrupt signal to read the touch data. The image processing results are transmitted through the MIPI interface, saving GPIO ports to realize other functions.
It effectively alleviates the problem of the limited number of GPIO interfaces in the bridge chip, and improves the operational reliability and functional implementation of touch display products.
Smart Images

Figure CN114741000B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of touch display, and in particular, to a display driving method and device, a display module and an electronic device. BACKGROUND
[0002] With the rapid development of science and technology, touch display products are used more and more widely in daily production and life. The commonly used communication protocols of touch display products are IIC (inter-integrated Circuit) protocol and SPI (Serial Peripheral Interface) protocol. When the data transmission protocol of the host and the data transmission protocol of the driver chip (Driver IC) are different, a bridge chip (Bridge IC) is needed to communicate with the host and the driver chip respectively, to process the display data sent by the host and send it to the driver chip, and to forward the related signals of the driver chip to the host.
[0003] The bridge chip is usually designed as a GPIO (General Purpose Input Output) interface when designed. Each GPIO interface can be defined as any protocol signal according to the needs to meet the operation requirements of the touch display product. However, the number of GPIO interfaces of the bridge chip is limited, and it is easy to cause the shortage of GPIO interfaces, resulting in the failure to realize part of the functions of the touch display product. SUMMARY
[0004] Therefore, it is necessary to propose a display driving method, device, display module and electronic device to solve the problem that the number of GPIO interfaces of the bridge chip is limited, resulting in the failure to realize part of the functions of the traditional touch display product.
[0005] A display driving method applied to a bridge chip, comprising: acquiring a display state of a display module; if the display state is a screen wake-up state, detecting whether a touch signal sent by a driver chip is received; if the touch signal is received, outputting a test signal to a control circuit through a test port of the bridge chip, so that the control circuit outputs a first interrupt signal to a host according to the test signal; and the first interrupt signal is used to trigger the host to read touch data.
[0006] The display driving method has the following advantages. When the display module is in the screen wake-up state, the detection of whether the touch signal sent by the driving chip is received is performed. If the touch signal is received, the bridge chip can output a test signal to the control circuit through a test pin of the bridge chip. Under the action of the test signal, the control circuit finally outputs a first interrupt signal to the host to trigger the host to read touch data, so that the touch function in the screen wake-up state is realized. The host performs image processing according to the touch signal, and then sends the image processing result to the bridge chip through a MIPI (Mobile Industry Processor Interface). The bridge chip transmits the image processing result to the driving chip through the MIPI, so that the display touch function is realized. Through the above scheme, the transmission of the first interrupt signal between the bridge chip and the host can be realized through the test pin of the bridge chip, so that one GPIO port of the bridge chip can be saved. The GPIO port can be used to realize other functions of the touch display product, so that the problem that some functions cannot be realized due to the limited number of GPIO interfaces of the bridge chip is effectively solved.
[0007] In some embodiments, after the step of acquiring the display state of the display module, the method further includes: if the display state is the screen-off state, detecting whether a touch action signal sent by the driving chip is received; and if the touch action signal is received, sending a universal asynchronous receiver-transmitter signal to the host through a general-purpose input / output port of the bridge chip. The universal asynchronous receiver-transmitter signal is used to trigger the host to perform a wake-up action.
[0008] In some embodiments, after the step of detecting whether the touch signal sent by the driving chip is received, the method further includes: if the touch signal is not received, maintaining the current screen wake-up state; and / or, after the step of detecting whether the touch action signal sent by the driving chip is received, the method further includes: if the touch action signal is not received, maintaining the current screen-off state.
[0009] In some embodiments, the step of detecting whether the touch signal sent by the driving chip is received includes: acquiring a second interrupt signal from the driving chip; determining whether the second interrupt signal is in a valid state; and if the second interrupt signal is in the valid state, it indicates that the touch signal is received.
[0010] In some embodiments, when the touch signal is received, the step of outputting a test signal to the control circuit through the test port of the bridge chip further includes: reading touch data from the driving chip through communication with the driving chip.
[0011] In some embodiments, the step of acquiring the display state of the display module comprises: acquiring a reset signal output by the host; determining whether the reset signal is at a high level; if the reset signal is at the high level, the display state of the display module is a screen wake-up state, and if the reset signal is at a low level, the display state of the display module is a screen-off state.
[0012] A display driving device applied to a bridge chip, comprising: a display state acquisition module, configured to acquire a display state of a display module; a wake-up touch detection module, configured to, if the display state is a screen wake-up state, detect whether a touch signal sent by a driving chip is received; and an interrupt sending module, configured to, if the touch signal is received, output a test signal to a control circuit through a test port of the bridge chip, so that the control circuit outputs a first interrupt signal to a host according to the test signal; the first interrupt signal is used to trigger the host to read touch data.
[0013] A display module, comprising a bridge chip, a driving chip, a control circuit, a flash memory and a host, the driving chip, the flash memory and the host are connected to the bridge chip respectively, the host is connected to the control circuit, the control circuit is connected to the bridge chip, and the bridge chip is configured to perform display control according to the display driving method.
[0014] In some embodiments, the control circuit comprises a resistor and a switching device, a control end of the switching device is connected to a reset port of the host, a first end of the switching device is connected to a test port of the bridge chip, a second end of the switching device is connected to a first end of the resistor and an interrupt port of the host, and a second end of the resistor is connected to a power supply.
[0015] An electronic device comprising the display module. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort.
[0017] Figure 1 A display driving method flowchart in some embodiments of the present application;
[0018] Figure 2 A display driving method flowchart in some embodiments of the present application;
[0019] Figure 3A flowchart of a display driving method in some embodiments of the present application is shown in FIG. 1.
[0020] Figure 4 A flowchart of a touch signal detection method in some embodiments of the present application is shown in FIG. 2.
[0021] Figure 5 A flowchart of a display driving method in some embodiments of the present application is shown in FIG. 3.
[0022] Figure 6 A structure diagram of a display module in some embodiments of the present application is shown in FIG. 4.
[0023] Figure 7 A structure diagram of a display driving device in some embodiments of the present application is shown in FIG. 5.
[0024] Figure 8 A structure diagram of a display driving device in some embodiments of the present application is shown in FIG. 6.
[0025] Figure 9 A structure diagram of a control circuit in some embodiments of the present application is shown in FIG. 7. DETAILED DESCRIPTION
[0026] In order to facilitate the understanding of the present application, the present application will be described more fully below with reference to the accompanying drawings. The preferred embodiments of the present application are shown in the drawings. However, the present application can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present application more thorough and comprehensive.
[0027] Please refer to Figure 1 A display driving method applied to a bridge chip, comprising steps 102, 104 and 106.
[0028] Step 102: obtaining a display state of a display module.
[0029] Specifically, the display module is a device that displays text and / or patterns on a display screen according to user demand and can generate a touch signal for display control according to user touch. The display state is the lighting state of the display screen corresponding to the display module. If the display screen is lit, it is considered that the display state of the display module is a screen wake-up state. If the display screen is not lit, it is considered that the display state of the display module is an off-screen state. The bridge chip is a device used to realize communication protocol conversion between a driving chip and a host and image data processing. It can transmit image data with the host through MIPI and transmit image data with the driving chip through MIPI. The display driving method provided by the present application can detect the lighting state of the display screen according to the received signal state quantity during the operation of the display module, so as to obtain the corresponding display state.
[0030] It should be pointed out that the specific structure of the display module is not unique, as long as the communication protocol between the host and the driving chip is inconsistent, the bridge chip needs to be used for related signal forwarding, and the display module of this type can alleviate the problem that part of the function cannot be realized due to too few GPIO ports of the bridge chip.
[0031] For example, in a more detailed embodiment, the display module includes a bridge chip, a driving chip, a control circuit, a flash memory and a host, the driving chip, the flash memory and the host are connected to the bridge chip respectively, the host is connected to the control circuit, and the control circuit is connected to the bridge chip. In the scheme of this embodiment, the driving chip communicates with the bridge chip directly through IIC communication protocol, the flash memory which cracks the touch protocol needs to communicate with the driving chip through SPI communication protocol, and the bridge chip communicates with the host through SPI communication protocol. Through the transfer of the bridge chip, the communication between the driving chip and the host, and the communication between the flash memory and the driving chip can be realized.
[0032] Step 104, if the display state is the screen wake-up state, whether the touch signal sent by the driving chip is received is detected.
[0033] Specifically, the bridge chip analyzes the received signal state quantity to obtain that the display screen is in the lighting state, that is, when the display module is in the screen wake-up state, whether the touch signal is received is detected in real time. In the scheme of this embodiment, the driving chip has display driving and touch sensing functions, which can control the display screen to perform display operation through display data from the host, and can also perform sensing operation when the user performs touch action on the display screen. The touch signal is generated by the user's touch operation on the display screen, specifically, when the user performs touch action on the display screen, the driving chip detects the signal generated after the action, which can be transmitted to the bridge chip by the driving chip and received by the bridge chip.
[0034] Step 106, if the touch signal is received, a test signal is output to the control circuit through the test port of the bridge chip, so that the control circuit outputs a first interrupt signal to the host according to the test signal.
[0035] Specifically, the first interrupt signal is used to trigger the host to read the touch data. If the bridge chip receives the touch signal, it means that the user has a display requirement at this time, and the display requirement can be switching, modifying, editing, etc. of the display content, which is not limited herein. In this state, the bridge chip will start to act, change the internal register configuration through its internal processor, and finally output a test signal at its test port. Under the action of the test signal, the control circuit starts to act, and finally the control circuit outputs the first interrupt signal through the port connected with the host (i.e. the terminal port of the host). Under the action of the first interrupt signal, the host communicates with the bridge chip, reads the touch data from the bridge chip, and then realizes the display driving operation corresponding to the touch data.
[0036] The specific type of touch data is not unique. For example, in a more detailed embodiment, the touch data can be touch coordinate information, etc. According to different touch coordinate information, different display driving operations can be configured, for example, switching, modifying or editing, etc. of the display content of the display screen can be configured.
[0037] It should be pointed out that the specific type of test signal is not unique. In a more detailed embodiment, the test signal is specifically a low-level signal. Under the pull-down action of the test signal, the level signal output to the host by the control circuit is pulled down, a falling edge is generated, the signal output to the host by the control circuit changes from high level to low level, and it is considered that the control circuit outputs the first interrupt signal to the host at this time. That is, in the scheme of this embodiment, the first interrupt signal is essentially a signal of the falling edge effective type.
[0038] It can be understood that in other embodiments, the first interrupt signal can also be configured as a signal of the rising edge effective type, and the corresponding test signal is a high-level signal. Under the pull-up action of the test signal, the signal output to the host by the control circuit changes from low to high, which will not be described herein.
[0039] The display driving method, when the display module operates in the screen wake-up state, detects whether the touch signal sent by the driving chip is received, if the touch signal is received, the bridge chip can output a test signal to the control circuit through a test pin of the bridge chip, under the action of the test signal, the control circuit finally outputs a first interrupt signal to the host computer to trigger the host computer to read touch data, and the touch function in the screen wake-up state is realized. The host computer processes the image according to the touch signal, and then sends the image processing result to the bridge chip through MIPI, and the bridge chip transmits the image processing result to the driving chip through MIPI, and the display touch function is realized. Through the above scheme, the sending of the first interrupt signal between the bridge chip and the host computer can be realized through the test pin of the bridge chip, so that a GPIO port of the bridge chip can be saved, and the GPIO port can be used to realize other functions of the touch display product, thereby effectively alleviating the problem that some functions cannot be realized due to the limited number of GPIO interfaces of the bridge chip.
[0040] Referring to Figure 2 In some embodiments, after step 102, the method further includes steps 202 and 204.
[0041] Step 202, if the display state is the screen-off state, detecting whether a touch action signal sent by the driving chip is received. Step 204, if the touch action signal is received, sending a universal asynchronous receive-transmit signal to the host computer through a general-purpose input-output port of the bridge chip.
[0042] Specifically, the universal asynchronous receive-transmit signal is used to trigger the host computer to perform a wake-up action. The touch action signal is similar to the touch signal, and both are generated by the user's touch operation on the display screen. Specifically, when the user performs a touch action on the display screen, the driving chip detects the signal generated by this action, and the signal can be transmitted to the bridge chip by the driving chip and received by the bridge chip.
[0043] The touch action signal and the display touch action signal also have some differences. For example, in a more detailed embodiment, when the display state is the screen-off state, the user's action of tapping any position of the display screen can generate a touch action signal. The touch signal is a signal generated by the user touching a specified touch key function area of the display screen in the screen wake-up state.
[0044] When the bridge chip analyzes the display state, the display screen may also not be lit, at which time it is considered that the display module is in the screen-off state. In this state, the display screen cannot realize the display function, and if the user has a display requirement, the display screen must be first woken up. In this process, the bridge chip detects whether the user touches the display screen, that is, whether the touch action signal is received.
[0045] Similarly, the detection operation can be analyzed by the bridge chip according to the received state signal sent by the driving chip. When the user touches the display screen, the signal state received by the bridge chip will change. If this change is detected, it is considered that the touch action signal is received.
[0046] When the bridge chip detects the touch action signal, it can send a general asynchronous receiving and transmitting signal to the host through its own GPIO port. Under the action of this signal, the host starts to perform the wake-up related operation, and switches the display screen from the sleep state to the screen wake-up state.
[0047] The above-mentioned embodiment scheme realizes the sending of the first interrupt signal through the test pin of the bridge chip, thereby saving a GPIO port for the bridge chip. The saved GPIO port can further realize the sending of the general asynchronous receiving and transmitting signal in the sleep state, thereby triggering the host to perform the wake-up action. Through this scheme, one GPIO pin is saved for the sending of the general asynchronous receiving and transmitting signal, ensures the normal use of the general asynchronous receiving and transmitting signal transmission function of the display module, and effectively improves the operation reliability of the display module.
[0048] Please refer to Figure 3 In some embodiments, after the step of detecting whether the touch signal sent by the driving chip is received, step 302 is further included.
[0049] And / or, after the step of detecting whether the touch action signal sent by the driving chip is received, step 304 is further included.
[0050] Step 302: If the touch signal is not received, the current screen wake-up state is maintained.
[0051] Step 304: If the touch action signal is not received, the current sleep state is maintained.
[0052] Specifically, whether in the sleep state or in the screen wake-up state, if the bridge chip does not detect the touch action of the user on the display screen, that is, the state quantity signal related to the touch action received by the bridge chip does not change, at this time the display module will not perform the remaining actions, and only needs to maintain the current state. If the current state is the screen wake-up state, the wake-up state is maintained, and the display of images and / or text is continued; if the current state is the sleep state, the sleep state is maintained. Through this scheme, when the user does not have a touch action on the display screen, the display screen maintains the current display state and runs, ensuring that the user can perform the corresponding action in time when touching, and having strong operation reliability.
[0053] Please refer to Figure 4In some embodiments, the step of detecting whether the touch signal sent by the driving chip is received comprises steps 402 and 404.
[0054] Step 402: obtaining a second interrupt signal from the driving chip; and step 404: judging whether the second interrupt signal is in a valid state.
[0055] Specifically, if the second interrupt signal is in the valid state, it indicates that the touch signal is received. The specific form of the second interrupt signal being in the valid state is not unique, and it can be rising edge valid or falling edge valid, which can be set differently according to requirements. For ease of understanding, the second interrupt signal can be set to be falling edge valid. Correspondingly, the communication between the driving chip and the bridge chip is performed. In the absence of touch, the pin for transmitting the second interrupt signal between the driving chip and the bridge chip sends a high-level signal to the bridge chip in real time. When there is touch, the transmission signal of the pin will change from a high-level signal to a low-level signal, generating a falling edge. The bridge chip detects the falling edge, and considers that the second interrupt signal is in the valid state at this time, which corresponds to that the bridge chip receives the touch signal.
[0056] Further, in some embodiments, when the touch signal is received, the step of outputting a test signal to the control circuit through the test port of the bridge chip further comprises: reading touch data from the driving chip through communication with the driving chip.
[0057] Specifically, in order to ensure that the host can ultimately read the touch data from the bridge chip in the SPI communication protocol when the user touches the display screen in the screen wake-up state, the bridge chip first needs to obtain the corresponding touch data from the driving chip. Correspondingly, when the touch data is read, the bridge chip needs to receive the touch signal and consider that the user has a touch operation on the display screen, and then further execute the reading of the touch data.
[0058] The above describes that the bridge chip considers that the touch signal is received when the second interrupt signal received by the bridge chip is in the falling edge valid state. When the user touches the display screen, the driving chip detects this action and changes the second interrupt signal output to the bridge chip from a high level to a low level, generating a falling edge. The bridge chip detects the falling edge and will read the related touch data from the driving chip through the IIC protocol. The touch data includes but is not limited to touch point coordinate information. Then the bridge chip will further output the corresponding test signal to the control circuit by changing the register, and implement the sending operation of the first interrupt signal, so as to make the host read the touch data from the bridge chip.
[0059] Please refer to Figure 5 In some embodiments, step 102 comprises steps 502 and 504.
[0060] Step 502, obtaining a reset signal output by the host; step 504, judging whether the reset signal is high level.
[0061] Specifically, if the reset signal is high level, the display state of the display module is screen wake-up state, and if the reset signal is low level, the display state of the display module is screen-off state. In the actual running process of the display module, the data packets sent by the host are different in the screen wake-up state and the screen-off state, and the bridge chip returns different data to the host by receiving different data packets, thereby realizing the screen-on or screen-off function. When the display screen is in the screen wake-up state, the reset signal given by the host is in the high level state, and the display screen can perform normal display; when the display screen is in the screen-off state, the reset signal given by the host is a low level signal, and the display screen cannot perform display at this time.
[0062] In the scheme of this embodiment, the reset port of the bridge chip is connected with the reset port of the host, and at the same time, the reset port of the host is also connected with the reset port of the driving chip. In the running process, the bridge chip receives the reset signal from the host and judges the state thereof, and if it is a high level signal, it is considered that the display screen is on; if it is a low level signal, it is considered that the display screen is off.
[0063] In order to facilitate understanding of the technical scheme of the present application, the present application will be explained and described in detail below. Please refer to Figure 6 , wherein GPIO 0-GPIO 10 are general input and output ports of the bridge chip, TEST is a test port of the bridge chip, and RESET is a reset port of the bridge chip. The flash memory for cracking the touch protocol needs to communicate with the bridge chip through SPI and is connected to the GPIO7, GPIO8, GPIO9 and GPIO10 ports of the bridge chip. The bridge chip (GPIO 0, GPIO1, GPIO2 and GPIO3 ports) communicates with the host through 4 signal lines (TP CS, TP MOSI, TP MISO, and UART) of the SPI protocol, and the bridge chip (GPIO4, GPIO5 and GPIO6 ports) communicates with the driving chip through 3 signal lines (TP SCL, TP SDA and LCD_INT) of the IIC protocol. Further, the test port of the bridge chip is also connected to the interrupt port of the host and the reset port of the host through the control circuit.
[0064] In actual operation, the bridge chip first analyzes whether the display screen is lit according to the received reset signal (RESET). If the RESET is high, it is considered that the display module is in a screen wake-up state. At this time, the bridge chip receives the LCD_INT (second interrupt signal) signal in real time and judges whether the LCD_INT has a transition from high to low. If the transition from high to low occurs, it is considered that the second interrupt signal is in an effective state, indicating that the bridge chip receives a touch signal. The bridge chip will read the touch data through the TPSCL and TP SDA two data lines. Then the processor of the bridge chip changes the register configuration, so that the test pin outputs a low-level signal to the control circuit. Under the pull-down action of the signal, the TP INT signal output to the host by the control circuit is pulled down from high to low, generating a falling edge (i.e. the first interrupt signal). Since the signal is a falling edge effective, it will make the host trigger to perform a touch data reading operation, so as to obtain the touch data sent by the display driving chip in the form of SPI communication. Then the host will perform image processing according to the touch signal and return a data packet related to the image processing result to the bridge chip through MIPI. The bridge chip further forwards it to the driving chip through MIPI. The driving chip returns the corresponding data packet after receiving it, realizing the display touch function.
[0065] If the RESET is low, it is considered that the display module is in a screen-off state. At this time, the signal output to the host by the control circuit part will be continuously pulled up and cannot generate an effective falling edge, i.e. there is no first interrupt signal sent. Similarly, the bridge chip receives the LCD_INT (second interrupt signal) signal in real time and judges whether the LCD_INT has a transition from high to low. If the transition from high to low occurs, it is considered that the second interrupt signal is in an effective state, indicating that the bridge chip receives a touch action signal. In this state, the bridge chip will directly send a universal asynchronous receive-transmit signal (UART) to the host through the GPIO3 port, specifically sending 6 byte data to the host. After the host receives the correct instruction, it sends a related data packet to the driving chip through SPI. The driving chip returns the corresponding data packet after receiving it, completing the interaction. At this time, the screen is turned on, realizing the wake-up action.
[0066] Please refer to Figure 7 A display driving device applied to a bridge chip, comprising a display state acquisition module 702, a wake-up touch detection module 704 and an interrupt sending module 706.
[0067] The display state acquisition module 702 is configured to acquire a display state of the display module; the wake-up touch detection module 704 is configured to, if the display state is a screen wake-up state, detect whether a touch signal sent by the driving chip is received; and the interrupt sending module 706 is configured to, if the touch signal is received, output a test signal to the control circuit through a test port of the bridge chip, so that the control circuit outputs a first interrupt signal to the host according to the test signal.
[0068] Please refer to Figure 8 In some embodiments, after the display state acquisition module 702, the apparatus further includes a screen-off touch detection module 802 and a wake-up control module 804.
[0069] The screen-off touch detection module 802 is configured to, if the display state is a screen-off state, detect whether a touch action signal sent by the driving chip is received. The wake-up control module 804 is configured to, if the touch action signal is received, send a universal asynchronous receiver-transmitter signal to the host through a general-purpose input / output port of the bridge chip.
[0070] In some embodiments, the wake-up touch detection module 704 is further configured to, if the touch signal is not received, maintain the current screen wake-up state; and the screen-off touch detection module 802 is further configured to, if the touch action signal is not received, maintain the current screen-off state.
[0071] In some embodiments, the wake-up touch detection module 704 is further configured to acquire a second interrupt signal from the driving chip; and determine whether the second interrupt signal is in a valid state. If the second interrupt signal is in the valid state, it indicates that the touch signal is received
[0072] In some embodiments, the wake-up touch detection module 704 is further configured to read touch data from the driving chip by communicating with the driving chip.
[0073] In some embodiments, the display state acquisition module 702 is further configured to acquire a reset signal output by the host; and determine whether the reset signal is in a high level. If the reset signal is in the high level, the display state of the display module is the screen wake-up state; and if the reset signal is in a low level, the display state of the display module is the screen-off state.
[0074] For specific limitations of the display driving apparatus, please refer to the limitations of the display driving method in the foregoing, which will not be repeated here. Each module in the display driving apparatus described above can be realized by software, hardware, and a combination thereof, in whole or in part. Each module described above can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a memory in a computer device in software form, so as to be called and executed by a processor to perform operations corresponding to each module.
[0075] The display driving device directly sets the control circuit with the host and the bridge chip, when the display module operates in the screen wake-up state, detects whether the touch signal sent by the driving chip is received, if the touch signal is received, the bridge chip can output a test signal to the control circuit through the test pin of the bridge chip, under the action of the test signal, the control circuit finally outputs a first interrupt signal to the host to trigger the host to read the touch data, and realizes the touch function in the screen wake-up state. The host processes the image according to the touch signal, and then sends the image processing result to the bridge chip through MIPI (Mobile Industry Processor Interface), and the bridge chip transmits the image processing result to the driving chip through MIPI, and realizes the function of displaying and touching. Through the above scheme, the sending of the first interrupt signal between the bridge chip and the host can be realized through the test pin of the bridge chip, so that a GPIO port of the bridge chip can be saved, which can be used to realize other functions of the touch display product, thereby effectively solving the problem that part of the functions cannot be realized due to the limited number of GPIO interfaces of the bridge chip.
[0076] Please refer to Figure 6 A display module, comprising a bridge chip 602, a driving chip 603, a control circuit 605, a flash memory 604 and a host 601, the driving chip 603, the flash memory 604 and the host 601 are connected with the bridge chip 602 respectively, the host 601 is connected with the control circuit 605, the control circuit 605 is connected with the bridge chip 602, and the bridge chip 602 is used for display control according to the display driving method.
[0077] Specifically, the driving chip 603 communicates with the bridge chip 602 directly through IIC communication protocol, the flash memory 604 which cracks the touch protocol needs to communicate with the driving chip 603 through SPI communication protocol, and the bridge chip 602 communicates with the host 601 through SPI communication protocol, and through the relay of the bridge chip 602, the communication between the driving chip 603 and the host 601, and the communication between the flash memory 604 and the driving chip 603 can be realized.
[0078] The bridge chip 602 analyzes the received signal state quantity, obtains that the display screen is in the lighting state, that is, when the display module is in the screen wake-up state, whether the touch signal is received will be detected in real time. The touch signal is generated by the user's touch operation on the display screen, and is finally transmitted to the bridge chip 602 and received by the bridge chip 602.
[0079] If the bridge chip 602 receives the touch signal, it means that the user has a display requirement at this time, which can be switching, modifying, editing, etc. of the display content, which is not limited here. In this state, the bridge chip 602 will start to act, change the internal register configuration through its internal processor, and finally output the test signal at its test port. Under the action of the test signal, the control circuit 605 starts to act, and finally the part connected to the host 601 of the control circuit 605 outputs the first interrupt signal. Under the action of the first interrupt signal, the host 601 communicates with the bridge chip 602, reads the touch data from the bridge chip 602, and then realizes the touch display operation corresponding to the touch data to meet the user's display requirement for the display screen.
[0080] When the bridge chip 602 analyzes the display state, the display screen may also not be lit, which is considered to be in a screen-off state at this time. In this state, the display screen cannot realize the display function, and if the user has a display requirement, the display screen must be woken up first. In this process, the bridge chip 602 detects whether the user touches the display screen, that is, whether the touch action signal is received.
[0081] When the bridge chip 602 detects the touch action signal, it can send a universal asynchronous receive-transmit signal to the host 601 through its own GPIO port. Under the action of this signal, the host 601 starts to perform the wake-up related operation and switches the display screen from the screen-off state to the screen wake-up state.
[0082] It should be noted that in other examples, the display module also includes a display screen, and the specific type of the display screen is not unique and can be an LCD (Liquid Crystal Display) display screen, an LED (Light-Emitting Diode) display screen, or an OLED (Organic Light-Emitting Diode) display screen, etc. All of them can realize display control by using the scheme of the present application.
[0083] The scheme of the above embodiment realizes the sending of the first interrupt signal through the test pin of the bridge chip 602, thereby saving a GPIO port for the bridge chip 602. The saved GPIO port can further realize the sending of the universal asynchronous receive-transmit signal in the screen-off state, thereby triggering the host 601 to perform the wake-up action. Through this scheme, one GPIO pin can be saved for the sending of the universal asynchronous receive-transmit signal, ensuring the normal use of the universal asynchronous receive-transmit signal transmission function of the display module, and effectively improving the operation reliability of the display module.
[0084] Please refer to Figure 9In some embodiments, the control circuit 605 includes a resistor R1 and a switching device Q1. The control terminal of the switching device Q1 is connected to the reset port of the host 601, the first terminal of the switching device Q1 is connected to the test port of the bridge chip 602, the second terminal of the switching device Q1 is connected to the first terminal of the resistor R1 and the interrupt port of the host 601, and the second terminal of the resistor R1 is connected to the power supply.
[0085] Specifically, GPIO 0-GPIO 10 are the general purpose input / output ports of bridge chip 602, TEST is the test port of bridge chip 602, and RESET is the reset port of bridge chip 602. The flash memory 604, used to crack the touch protocol, needs to communicate with bridge chip 602 via SPI, connecting to GPIO7, GPIO8, GPIO9, and GPIO10 ports of bridge chip 602. Bridge chip 602 (GPIO 0, GPIO1, GPIO2, and GPIO3 ports) communicates with host chip 601 via four SPI protocol signal lines (TP CS, TP MOSI, TPPMISO, and UART). Bridge chip 602 (GPIO4, GPIO5, and GPIO6 ports) communicates with driver chip 603 via three IIC protocol signal lines (TP SCL, TP SDA, and LCD_INT). The test port of bridge chip 602 is also connected to the interrupt port and reset port of host chip 601 via control circuit 605.
[0086] During actual operation, the bridge chip 602 first analyzes whether the display screen is lit based on the received reset signal (RESET). If RESET is high, the display module is considered to be in a screen wake-up state. At this time, the bridge chip 602 receives the LCD_INT (second interrupt signal) signal in real time and determines whether LCD_INT has transitioned from high to low. If a high-to-low transition occurs, the second interrupt signal is considered to be valid, indicating that the bridge chip 602 has received a touch signal. The bridge chip 602 will then read the touch data through the TP SCL and TP SDA data lines. Afterwards, the processor of the bridge chip 602 changes the register configuration, causing its test pin to output a low-level signal to the control circuit 605. Since the screen is in a wake-up state, the reset signal output by the reset pin of the host 601 is high, which turns on the switching device Q1. Under the pull-down effect of the test signal, the TP_INT signal output by the control circuit 605 to the host 601 is pulled down from high level to low level, generating a falling edge (i.e., the first interrupt signal). Since this signal is valid on the falling edge, it will cause the host 601 to trigger the execution of touch data reading operation, thereby obtaining the touch data sent by the display driver chip via IIC communication from the bridge chip 602 via SPI communication.
[0087] If the RESET is low, it is considered that the display module is in the screen-off state. At this time, the reset signal is low, the switching device Q1 is disconnected, and under the action of the power flowing into the resistor R1, the TP INT signal output from the control circuit 605 to the host 601 is pulled high, and no effective falling edge can be generated, that is, no first interrupt signal is sent. Similarly, the bridge chip 602 receives the LCD INT (second interrupt signal) signal in real time, and judges whether the LCD INT has a transition from high level to low level. If the transition from high level to low level occurs, it is considered that the second interrupt signal is in an effective state, indicating that the bridge chip 602 receives the touch action signal. In this state, the bridge chip 602 will directly send a universal asynchronous receiver-transmitter (UART) signal to the host 601 through the GPIO3 port, so that the host 601 performs a wake-up action, thereby lighting the display screen.
[0088] An electronic device comprising the display module.
[0089] Specifically, the structure of the display module is as shown in the above embodiments and the accompanying drawings. The driving chip 603 communicates with the bridge chip 602 directly through the IIC communication protocol, the flash memory 604 that cracks the touch protocol needs to communicate with the driving chip 603 through the SPI communication protocol, and the bridge chip 602 communicates with the host 601 through the SPI communication protocol. Through the relay of the bridge chip 602, the communication between the driving chip 603 and the host 601, and the communication between the flash memory 604 and the driving chip 603 can be realized.
[0090] The bridge chip 602 analyzes the received signal state quantity and obtains that the display screen is in a lighting state, that is, when the display module is in a screen wake-up state, it will detect whether a touch signal is received in real time. The touch signal is generated by the user's touch operation on the display screen and is finally transmitted to the bridge chip 602 and received by the bridge chip 602.
[0091] If the bridge chip 602 receives the touch signal, it means that the user has a display requirement at this time, which can be specifically switching, modifying, editing, etc. of the display content, which is not limited herein. In this state, the bridge chip 602 will start to act, change the internal register configuration through its internal processor, and finally output a test signal at its test port. Under the action of the test signal, the control circuit 605 starts to act, and finally the part of the control circuit 605 connected to the host 601 outputs the first interrupt signal. Under the action of the first interrupt signal, the host 601 communicates with the bridge chip 602, reads the touch data from the bridge chip 602, and then realizes the touch display operation corresponding to the touch data, so as to meet the user's display requirement for the display screen.
[0092] When the bridge chip 602 analyzes the display state, the display screen may also not be lit, and in this case, it is considered that the display module is in a screen-off state. In this state, the display screen cannot realize the display function, and if the user has a display requirement, the display screen must be woken up first. In this process, the bridge chip 602 detects whether the user touches the display screen, that is, whether a touch action signal is received.
[0093] When the bridge chip 602 detects the touch action signal, it can send a universal asynchronous receiver-transmitter signal to the host 601 through its own GPIO port. Under the action of this signal, the host 601 starts to perform the wake-up operation and switches the display screen from the screen-off state to the screen wake-up state.
[0094] The above-mentioned embodiment sends the first interrupt signal through the test pin of the bridge chip 602, thereby saving a GPIO port for the bridge chip 602. The saved GPIO port can further send a universal asynchronous receiver-transmitter signal in the screen-off state, thereby triggering the host 601 to perform the wake-up operation. Through this scheme, one GPIO pin is saved for sending a universal asynchronous receiver-transmitter signal, the universal asynchronous receiver-transmitter signal transmission function of the display module is ensured to be normally used, and the running reliability of the electronic device is effectively improved.
[0095] The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described, but as long as the combinations of the technical features do not exist, they should be considered as the scope of the present application.
[0096] The above-mentioned embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the patent scope of the application. It should be pointed out that for ordinary skilled persons in the art, some modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the patent protection scope of the present application should be subject to the appended claims.
Claims
1. A display driving method, characterized by, The application is applied to a bridge chip, comprising: In the display module running process, the display state of the display module is acquired; If the display state is a screen wake-up state, whether a touch signal sent by the drive chip is received is detected; If the touch signal is received, a test signal is output to the control circuit through the test port of the bridge chip, so that the control circuit outputs a first interrupt signal to the host computer according to the test signal; the first interrupt signal is used to trigger the host computer to read touch data.
2. The display driving method according to claim 1, wherein After the step of acquiring the display state of the display module, the following steps are further included: If the display state is an off-screen state, whether a touch action signal sent by the drive chip is received is detected; If the touch action signal is received, a universal asynchronous receive-transmit signal is sent to the host computer through the general-purpose input and output port of the bridge chip; the universal asynchronous receive-transmit signal is used to trigger the host computer to perform a wake-up action.
3. The display driving method according to claim 2, wherein After the step of detecting whether the touch signal sent by the drive chip is received, the following steps are further included: If the touch signal is not received, the current screen wake-up state is maintained; And / or, after the step of detecting whether the touch action signal sent by the drive chip is received, the following steps are further included: If the touch action signal is not received, the current off-screen state is maintained.
4. The display driving method according to claim 1, wherein The step of detecting whether the touch signal sent by the drive chip is received includes: A second interrupt signal is acquired from the drive chip; It is judged whether the second interrupt signal is in a valid state; if the second interrupt signal is in the valid state, it indicates that the touch signal is received.
5. The display driving method according to claim 1, wherein When the touch signal is received, the step of outputting the test signal to the control circuit through the test port of the bridge chip further includes: Touch data is read from the drive chip by communicating with the drive chip.
6. The display driving method according to any one of claims 1 to 5, wherein The step of acquiring the display state of the display module includes: A reset signal output by the host computer is acquired; It is judged whether the reset signal is in a high level; if the reset signal is in the high level, the display state of the display module is a screen wake-up state; if the reset signal is in a low level, the display state of the display module is an off-screen state.
7. A display driving device, characterized by comprising: The application is applied to a bridge chip, comprising: A display state acquisition module is used to acquire the display state of the display module in the display module running process; A wake-up touch detection module is used to detect whether a touch signal sent by the drive chip is received if the display state is a screen wake-up state; An interrupt sending module is used to output a test signal to the control circuit through the test port of the bridge chip if the touch signal is received, so that the control circuit outputs a first interrupt signal to the host computer according to the test signal; the first interrupt signal is used to trigger the host computer to read touch data.
8. A display module, characterized by The bridge chip, the drive chip, the control circuit, the flash memory and the host computer are connected, the drive chip, the flash memory and the host computer are connected with the bridge chip, the host computer is connected with the control circuit, the control circuit is connected with the bridge chip, and the bridge chip is used for display control according to the display driving method in any one of claims 1-6.
9. The display module of claim 8, wherein, The control circuit comprises a resistor and a switching device, a control end of the switching device is connected with a reset port of the host computer, a first end of the switching device is connected with a test port of the bridge chip, a second end of the switching device is connected with a first end of the resistor and an interrupt port of the host computer, and a second end of the resistor is connected with a power supply.
10. An electronic device, comprising: The display module comprises the display module according to any one of claims 8-9.
Citation Information
Patent Citations
Mobile terminal and mobile terminal startup method
CN104270505A
Embedded testing-based PXIe rear panel
CN202975121U