Display system, method, storage medium, and electronic device
By introducing an LCD controller, a synchronization timing generator, and an LCD timing generator into the terminal device, driving signals are generated to drive the LCD driver to display image data, solving the problem of CPU resource shortage, improving system performance and reducing costs, while also increasing the LCD refresh rate.
Patent Information
- Application Number
- CN202210203883.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-03
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2042-03-03
AI Technical Summary
In terminal devices, where the number of pins is limited, SPI using 3/4 wires and QSPI mode requires CPU participation in data interaction during data transmission, leading to CPU resource constraints and poor system performance.
By introducing an LCD controller, a synchronous timing generator, and an LCD timing generator, drive signals are generated to drive the LCD driver to display image data, avoiding CPU involvement in data interaction. Timing control is performed using the synchronous timing generator, reducing the use of GRAM.
It saves CPU resources, improves system performance, reduces system costs, and increases the LCD refresh rate without changing the SPI clock frequency.
Smart Images

Figure CN116741112B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of display, in particular, to a display system, method, storage medium and electronic device. BACKGROUND
[0002] With the rapid development of electronic technology, wearable devices such as smart watches and smart bracelets are becoming more and more popular. Since the wearable devices are small in size, the integration requirement for chips is relatively high, and therefore the number of pins that can be provided is very limited.
[0003] In the related art, an LCD (Liquid Crystal Display) configured with a GRAM (Graphics Random Access Memory) is used. Such an LCD can save the number of pins when using a 3 / 4 line, QSPI (Quad SPI, representing a 6-line SPI) mode SPI (Serial Peripheral Interface). However, such an interface needs a CPU (central processing unit) to participate in data interaction in the data transmission process, which causes the CPU resource to be relatively tight, thereby making the performance of the system relatively poor. SUMMARY
[0004] In order to solve the problem that the number of pins of a terminal device is limited, the 3 / 4 line, QSPI mode SPI needs a CPU to participate in data interaction in the data transmission process, which causes the CPU resource to be tight, the present disclosure provides a display system, method, storage medium and electronic device.
[0005] In a first aspect, the present disclosure provides a display system, comprising an LCD controller, a synchronization timing generator, an LCD timing generator and an LCD driver, the LCD controller is connected with the synchronization timing generator, the LCD timing generator and the LCD driver respectively, the synchronization timing generator is connected with the LCD timing generator, and the LCD timing generator is connected with the LCD driver.
[0006] The LCD controller is configured to, in a case where a display request message is received, acquire a pre-stored display command, send the display command to the synchronization timing generator, acquire image data to be displayed according to the display request message, and send the image data to the LCD driver.
[0007] The synchronization timing generator is configured to generate a synchronization timing signal according to the display command, and send the synchronization timing signal to the LCD timing generator.
[0008] the LCD timing generator is configured to generate a driving signal according to the synchronization timing signal and send the driving signal to the LCD driver;
[0009] the LCD driver is configured to display the image data according to the driving signal.
[0010] Optionally, the LCD controller is further configured to, in a case where it is determined that the image data is in a preset image format, acquire target image data corresponding to the image data and send the target image data to the LCD driver.
[0011] the LCD driver is further configured to display the target image data according to the driving signal.
[0012] Optionally, the display system further comprises a data converter, which is connected to the LCD controller.
[0013] the LCD controller is further configured to send the image data to the data converter.
[0014] the data converter is configured to perform format conversion on the image data to obtain the target image data corresponding to the image data and send the target image data to the LCD controller.
[0015] the LCD controller is further configured to send the target image data to the LCD driver.
[0016] Optionally, the LCD controller is further configured to, after acquiring the display command, acquire a preset clock period and send the display command to the synchronization timing generator according to the preset clock period.
[0017] Optionally, the display command comprises a field synchronization command and a line synchronization command, the synchronization timing signal comprises a field synchronization timing signal and a line synchronization timing signal, and the driving signal comprises a field driving signal and a line driving signal.
[0018] the LCD controller is further configured to send the field synchronization command to the synchronization timing generator and send the line synchronization command to the synchronization timing generator according to the preset clock period.
[0019] the synchronization timing generator is further configured to, after receiving the field synchronization command, generate the field synchronization timing signal according to the field synchronization command, send the field synchronization timing signal to the LCD timing generator, and, after receiving the line synchronization command, generate the line synchronization timing signal according to the line synchronization command, and send the line synchronization timing signal to the LCD timing generator.
[0020] The LCD timing generator is further configured to generate the field driving signal according to the field synchronization timing signal after receiving the field synchronization timing signal, send the field driving signal to the LCD driver, generate the row driving signal according to the row synchronization timing signal after receiving the row synchronization timing signal, and send the row driving signal to the LCD driver.
[0021] The LCD driver is further configured to display the image data according to the field driving signal and the row driving signal.
[0022] Optionally, the LCD controller is further configured to obtain row image data of a preset size from the image data after a preset clock period of the row synchronization command is sent to the synchronization timing generator, and send the row image data to the LCD driver.
[0023] Optionally, the display system further comprises a control register connected with the LCD controller.
[0024] The control register is configured to store the display command during initialization of the display system.
[0025] The LCD controller is further configured to obtain the display command from the control register.
[0026] In a second aspect, the present disclosure provides a display method applied to a display system, the display system comprising an LCD controller, a synchronization timing generator, an LCD timing generator, and an LCD driver, the LCD controller being connected with the synchronization timing generator, the LCD timing generator, and the LCD driver respectively, the synchronization timing generator being connected with the LCD timing generator, and the LCD timing generator being connected with the LCD driver; the method comprising:
[0027] In a case where the LCD controller receives a display request message, a previously stored display command is obtained, the display command is sent to the synchronization timing generator, image data to be displayed is obtained according to the display request message, and the image data is sent to the LCD driver;
[0028] The synchronization timing generator generates a synchronization timing signal according to the display command, and sends the synchronization timing signal to the LCD timing generator.
[0029] The LCD timing generator generates a driving signal according to the synchronization timing signal, and sends the driving signal to the LCD driver.
[0030] The LCD driver displays the image data according to the driving signal.
[0031] In a third aspect, the present disclosure provides a computer readable storage medium, having stored thereon a computer program, which when executed by a processor, implements the steps of the method of the second aspect of the present disclosure.
[0032] In a fourth aspect, the present disclosure provides an electronic device comprising the display system of the first aspect of the present disclosure.
[0033] According to the above technical solution, the display system comprises an LCD controller, a synchronous timing generator, an LCD timing generator and an LCD driver, the LCD controller is connected with the synchronous timing generator, the LCD timing generator and the LCD driver respectively, the synchronous timing generator is connected with the LCD timing generator, and the LCD timing generator is connected with the LCD driver; the LCD controller is configured to, in the case of receiving a display request message, acquire a pre-stored display command, send the display command to the synchronous timing generator, acquire image data to be displayed according to the display request message, and send the image data to the LCD driver; the synchronous timing generator is configured to generate a synchronous timing signal according to the display command, and send the synchronous timing signal to the LCD timing generator; the LCD timing generator is configured to generate a driving signal according to the synchronous timing signal, and send the driving signal to the LCD driver; and the LCD driver is configured to display the image data according to the driving signal. That is, the present disclosure can generate a driving signal through the synchronous timing generator and the LCD timing generator to drive the LCD driver to display image data, so that the CPU does not need to participate in data interaction in the whole display process, and CPU resources can be saved, thereby improving the performance of the system.
[0034] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF DRAWINGS
[0035] The accompanying drawings are included to provide a further understanding of the present disclosure and constitute a part of the specification, which together with the following detailed description, serve to explain the present disclosure. In the drawings:
[0036] Figure 1 is a block diagram of a display system according to an exemplary embodiment of the present disclosure;
[0037] Figure 2 is a block diagram of a second display system according to an exemplary embodiment of the present disclosure;
[0038] Figure 3is a block diagram of a third display system according to an exemplary embodiment of the present disclosure;
[0039] Figure 4 is a flow chart of a display method according to an exemplary embodiment of the present disclosure;
[0040] Figure 5 is a flow chart of another display method according to an exemplary embodiment of the present disclosure;
[0041] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
[0042] Legend of Reference Signs
[0043] 100 display system 101 LCD controller
[0044] 102 synchronous timing generator 103 LCD timing generator
[0045] 104 LCD driver 105 data converter
[0046] 106 control register DETAILED DESCRIPTION
[0047] The specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely intended to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.
[0048] First, the application scenario of the present disclosure is described. Most of the existing LCDs are CPU or RGB interfaces, and a large number of pins are required to drive the LCD to refresh data. For terminal devices with small size, a large number of pins will lead to high difficulty in packaging of the chip. In the related art, in order to reduce the number of pins, although a LCD with a GRAM can be used, the LCD uses a 3 / 4 line, QSPI mode SPI. This SPI requires the CPU to participate in data interaction in the data transmission process, which leads to tight CPU resources, and thus the performance of the system is poor.
[0049] In order to solve the above technical problems, the present disclosure provides a display system, method, storage medium and electronic device. A synchronous timing generator and an LCD timing generator are used to generate a driving signal to drive an LCD driver to display image data. In this way, the CPU does not need to participate in data interaction in the entire display process, and CPU resources can be saved, thereby improving the performance of the system.
[0050] The present disclosure is described below in conjunction with specific embodiments.
[0051] Figure 1 is a block diagram of a display system according to an exemplary embodiment of the present disclosure, as shown in Figure 1 The display system 100 can include an LCD controller 101, a synchronization timing generator 102, an LCD timing generator 103, and an LCD driver 104, the LCD controller 101 being connected with the synchronization timing generator 102, the LCD timing generator 103, and the LCD driver 104 respectively, the synchronization timing generator 102 being connected with the LCD timing generator 103, and the LCD timing generator 103 being connected with the LCD driver 104;
[0052] The LCD controller 101 is configured to, in a case where a display request message is received, acquire a display command stored in advance, send the display command to the synchronization timing generator 102, acquire image data to be displayed according to the display request message, and send the image data to the LCD driver 104;
[0053] The synchronization timing generator 102 is configured to generate a synchronization timing signal according to the display command, and send the synchronization timing signal to the LCD timing generator 103;
[0054] The LCD timing generator 103 is configured to generate a driving signal according to the synchronization timing signal, and send the driving signal to the LCD driver 104;
[0055] The LCD driver 104 is configured to display the image data according to the driving signal.
[0056] The display system 100 can be used in a terminal device with small volume and less pins, for example, the terminal device can be an electronic watch, a palm player, etc. The display request message can be used to request to display image data, and a user can trigger the display request message through a touch screen, a key, a voice receiving device, etc. of the terminal device.
[0057] After the LCD controller 101 receives the display request message, the LCD controller 101 can acquire image data to be displayed according to the display request message, determine whether the image data to be displayed is in an image format that can be displayed by the display system 100, in a case where the image data is determined to be in the image format that can be displayed by the display system 100, send the image data to the LCD driver 104, and in a case where the image data is determined not to be in the image format that can be displayed by the display system 100, perform format conversion on the image data.
[0058] In one possible implementation, the LCD controller 101 is further configured to, when determining that the image data is in a preset image format, acquire target image data corresponding to the image data and send the target image data to the LCD driver 104; the LCD driver 104 is further configured to display the target image data according to the driving signal.
[0059] The preset image format can be an image format that the display system 100 cannot display but that the display system 100 can convert. For example, the preset image format can be RGB565, RGB666, RGB888, etc.
[0060] It should be noted that the display system disclosed herein transmits data via an SPI interface.
[0061] Figure 2 This is a block diagram illustrating a second display system according to an exemplary embodiment of the present disclosure, such as... Figure 2 As shown, the display system 100 may further include a data converter 105, which is connected to the LCD controller 101. The LCD controller 101 is further configured to send the image data to the data converter 105. The data converter 105 is configured to perform format conversion on the image data to obtain target image data corresponding to the image data, and send the target image data to the LCD controller 101. The LCD controller 101 is further configured to send the target image data to the LCD driver 104. The data converter 105 may refer to existing format conversion methods to perform the image data format conversion, which will not be elaborated here.
[0062] It should be noted that, considering that DMA (Direct Memory Access) transfer speed is relatively fast, while the processing speed of the display system 100 is relatively slow, a data cache processing module can be added to the display system 100. This data cache processing module can store image data. The LCD controller 101 can obtain image data from the data cache processing module and then send the image data to the data converter 105.
[0063] The LCD controller 101 is also configured to acquire a preset clock cycle after acquiring the display command, and send the display command to the synchronization timing generator 102 according to the preset clock cycle.
[0064] The preset clock period can be obtained through pre-testing. The display command may include a vertical synchronization command and a horizontal synchronization command, the synchronization timing signal may include a vertical synchronization timing signal and a horizontal synchronization timing signal, and the drive signal may include a vertical drive signal and a horizontal drive signal.
[0065] The LCD controller 101 is further configured to send the field synchronization command to the synchronization timing generator 102, and send the row synchronization command to the synchronization timing generator 102 according to the preset clock period;
[0066] The synchronization timing generator 102 is further configured to, after receiving the field synchronization command, generate the field synchronization timing signal according to the field synchronization command, and send the field synchronization timing signal to the LCD timing generator 103; and after receiving the row synchronization command, generate the row synchronization timing signal according to the row synchronization command, and send the row synchronization timing signal to the LCD timing generator 103.
[0067] The LCD timing generator 103 is further configured to, after receiving the field synchronization timing signal, generate the field driving signal according to the field synchronization timing signal, and send the field driving signal to the LCD driver 104; and after receiving the row synchronization timing signal, generate the row driving signal according to the row synchronization timing signal, and send the row driving signal to the LCD driver 104.
[0068] The LCD driver 104 is further configured to display the image data according to the field driving signal and the row driving signal.
[0069] Figure 3 is a block diagram of a third display system according to an exemplary embodiment of the present disclosure, as shown in Figure 3 The display system 100 can further include a control register 106 connected with the LCD controller 101.
[0070] The control register 106 is configured to store the display command during initialization of the display system 100.
[0071] The LCD controller 101 is further configured to obtain the display command from the control register 106.
[0072] The LCD controller 101 is further configured to, after sending the row synchronization command to the synchronization timing generator 102 for a preset clock period, obtain a row image data of a preset size from the image data, and send the row image data to the LCD driver 104.
[0073] For example, after the LCD controller 101 obtains the display command from the control register 106, the preset clock period can be obtained first, and then the command sending step can be executed in a loop until all image data is sent to the LCD driver 104. The command sending step can include: sending the field synchronization command in the display command to the synchronization timing generator 102, sending the row synchronization command to the synchronization timing generator 102 after the preset clock period, sending the row image data to the LCD driver after the preset clock period, and then sending the row synchronization command to the synchronization timing generator 102 again, and timing the preset clock period.
[0074] Through the above display system, the driving signal is generated by the synchronization timing generator and the LCD timing generator to drive the LCD driver to display the image data, so that the CPU does not need to participate in data interaction in the whole display process, and the CPU resource can be saved, thereby improving the performance of the system. At the same time, the synchronization timing generator can control the timing of the LCD to realize the self-refresh timing control, so that the LCD can remove the GRAM, thereby reducing the system cost. Further, by setting the preset clock period, the delay is adjusted to meet the timing requirements of different LCDs, so that the available frame rate can be improved without changing the SPI clock frequency, thereby the refresh rate of the LCD can be greatly improved, and the pin resource is saved, and the performance of the system is further improved.
[0075] Figure 4 is a flow chart of a display method according to an exemplary embodiment of the present disclosure. The method can be applied to a display system, which can include an LCD controller, a synchronization timing generator, an LCD timing generator, and an LCD driver. The LCD controller is connected with the synchronization timing generator, the LCD timing generator, and the LCD driver respectively. The synchronization timing generator is connected with the LCD timing generator. The LCD timing generator is connected with the LCD driver. The display system can be used in a terminal device with small pin demand. For example, the terminal device can be an electronic watch, a palm player, etc. Figure 4 As shown in the figure, the method can include:
[0076] S401, in the case that the LCD controller receives a display request message, obtaining a pre-stored display command, sending the display command to the synchronization timing generator, obtaining image data to be displayed according to the display request message, and sending the image data to the LCD driver.
[0077] The display request message can be used to request to display image data. The user can trigger the display request message through the touch screen, the key, the voice receiving device, etc. of the terminal device.
[0078] S402, the synchronization timing generator generates a synchronization timing signal according to the display command, and sends the synchronization timing signal to the LCD timing generator.
[0079] S403, the LCD timing generator generates a driving signal according to the synchronization timing signal, and sends the driving signal to the LCD driver.
[0080] S404, the LCD driver displays the image data according to the driving signal.
[0081] By using the above method, the driving signal is generated by the synchronization timing generator and the LCD timing generator to drive the LCD driver to display the image data, so that the CPU does not need to participate in data interaction in the whole display process, and the CPU resources can be saved, thereby improving the performance of the system.
[0082] Figure 5 is a flow chart of another display method according to an example embodiment of the present disclosure, as shown in Figure 5 The method can include:
[0083] S501, in the case that the LCD controller receives a display request message, obtaining a display command from a control register.
[0084] The display request message can be used to request to display image data, and the user can trigger the display request message through a touch screen, a key, a voice receiving device, etc. of a terminal device. The display command can include a field synchronization command and a line synchronization command.
[0085] S502, the LCD controller obtains a preset clock period, and sends the display command to the synchronization timing generator according to the preset clock period.
[0086] S503, the synchronization timing generator generates a synchronization timing signal according to the display command, and sends the synchronization timing signal to the LCD timing generator.
[0087] The synchronization timing signal can include a field synchronization timing signal and a line synchronization timing signal.
[0088] S504, the LCD timing generator generates a driving signal according to the synchronization timing signal, and sends the driving signal to the LCD driver.
[0089] The driving signal can include a field driving signal and a line driving signal.
[0090] S505, the LCD controller acquires image data to be displayed according to the display request message, acquires target image data corresponding to the image data in a case where the image data is in a preset image format, and sends the target image data to the LCD driver.
[0091] S506, the LCD driver displays the target image data according to the driving signal.
[0092] By using the above method, the driving signal is generated by the synchronous timing generator and the LCD timing generator to drive the LCD driver to display the image data, so that the CPU does not need to participate in data interaction in the whole display process, and the CPU resources can be saved, thereby improving the performance of the system. At the same time, the synchronous timing generator can control the timing of the LCD, so that the LCD can remove the GRAM, thereby reducing the system cost. Further, by setting the preset clock period, the delay is adjusted to meet the timing requirements of different LCDs, so that the available frame rate can be improved without changing the SPI clock frequency, thereby the refresh rate of the LCD can be greatly improved, and the performance of the system is further improved.
[0093] As to the method in the above embodiment, the specific manner in which each step performs an operation has been described in detail in the embodiment of the system, and will not be described in detail here.
[0094] In another exemplary embodiment, a computer readable storage medium including program instructions is also provided, which, when executed by a processor, implements the steps of the above display method.
[0095] In another exemplary embodiment, a computer program product is also provided, which contains a computer program executable by a programmable device, and the computer program has a code portion for executing the above display method when executed by the programmable device.
[0096] Figure 6 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. As shown in Figure 6 , the electronic device can include the above display system.
[0097] The preferred embodiments of the present disclosure are described in detail above with reference to the drawings, but the present disclosure is not limited to the specific details in the above embodiments. Within the technical concept of the present disclosure, various simple modifications can be made to the technical solutions of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure. In addition, it should be noted that each specific technical feature described in the above specific embodiments can be combined in any appropriate manner without contradiction. In order to avoid unnecessary repetition, the present disclosure will not describe various possible combinations again.
[0098] Furthermore, various embodiments of the present disclosure can be arbitrarily combined with each other, as long as the combination does not violate the idea of the present disclosure, and it should be considered as disclosed in the present disclosure.
Claims
1. A display system, characterized by, The display system comprises an LCD controller, a synchronous timing generator, an LCD timing generator and an LCD driver, the LCD controller is connected with the synchronous timing generator, the LCD timing generator and the LCD driver respectively, the synchronous timing generator is connected with the LCD timing generator, and the LCD timing generator is connected with the LCD driver; The LCD controller is configured to, in response to receiving a display request message, acquire a pre-stored display command, send the display command to the synchronous timing generator, acquire image data to be displayed according to the display request message, and send the image data to the LCD driver; The synchronous timing generator is configured to generate a synchronous timing signal according to the display command, and send the synchronous timing signal to the LCD timing generator; The LCD timing generator is configured to generate a driving signal according to the synchronous timing signal, and send the driving signal to the LCD driver; The LCD driver is configured to display the image data according to the driving signal.
2. The system of claim 1, wherein The LCD controller is further configured to, in response to determining that the image data is in a preset image format, acquire target image data corresponding to the image data, and send the target image data to the LCD driver; The LCD driver is further configured to display the target image data according to the driving signal.
3. The system of claim 2, wherein, The display system further comprises a data converter connected with the LCD controller; The LCD controller is further configured to send the image data to the data converter; The data converter is configured to perform format conversion on the image data to obtain the target image data corresponding to the image data, and send the target image data to the LCD controller; The LCD controller is further configured to send the target image data to the LCD driver.
4. The system of claim 1, wherein The LCD controller is further configured to, after acquiring the display command, acquire a preset clock period, and send the display command to the synchronous timing generator according to the preset clock period.
5. The system of claim 4, wherein, The display command comprises a field synchronization command and a line synchronization command, the synchronous timing signal comprises a field synchronization timing signal and a line synchronization timing signal, and the driving signal comprises a field driving signal and a line driving signal; The LCD controller is further configured to send the field synchronization command to the synchronous timing generator, and send the line synchronization command to the synchronous timing generator according to the preset clock period; The synchronous timing generator is further configured to, in response to receiving the field synchronization command, generate the field synchronization timing signal according to the field synchronization command, and send the field synchronization timing signal to the LCD timing generator; And in response to receiving the line synchronization command, generate the line synchronization timing signal according to the line synchronization command, and send the line synchronization timing signal to the LCD timing generator; The LCD timing generator is further configured to generate the field driving signal according to the field synchronization timing signal after receiving the field synchronization timing signal, and send the field driving signal to the LCD driver; and generate the row driving signal according to the row synchronization timing signal after receiving the row synchronization timing signal, and send the row driving signal to the LCD driver. The LCD driver is further configured to display the image data according to the field driving signal and the row driving signal.
6. The system of claim 5, wherein, The LCD controller is further configured to obtain row image data of a preset size from the image data after a preset clock period of the row synchronization command is sent to the synchronization timing generator, and send the row image data to the LCD driver.
7. The system according to any of claims 1-6, characterized in that, The display system further comprises a control register connected with the LCD controller. The control register is configured to store the display command during initialization of the display system. The LCD controller is further configured to obtain the display command from the control register.
8. A display method characterized by comprising: The application is applied to a display system, and the display system comprises an LCD controller, a synchronization timing generator, an LCD timing generator and an LCD driver, the LCD controller is connected with the synchronization timing generator, the LCD timing generator and the LCD driver respectively, the synchronization timing generator is connected with the LCD timing generator, and the LCD timing generator is connected with the LCD driver; the method comprises the following steps: When the LCD controller receives a display request message, a previously stored display command is obtained, the display command is sent to the synchronization timing generator, image data to be displayed is obtained according to the display request message, and the image data is sent to the LCD driver; The synchronization timing generator generates a synchronization timing signal according to the display command, and sends the synchronization timing signal to the LCD timing generator; The LCD timing generator generates a driving signal according to the synchronization timing signal, and sends the driving signal to the LCD driver; The LCD driver displays the image data according to the driving signal.
9. A non-transitory computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to realize the steps of the method of claim 8.
10. An electronic device, comprising: The display system of any one of claims 1-7. The display system of any one of claims 1-7.
Citation Information
Patent Citations
Apparatus and method for driving liquid crystal displaypanel
KR1020060133329A
Systems, methods and devices for providing sequence based display drivers
WO2021231882A1