CN106354688B - Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions - Google Patents

Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions Download PDF

Info

Publication number
CN106354688B
CN106354688B CN201610928822.5A CN201610928822A CN106354688B CN 106354688 B CN106354688 B CN 106354688B CN 201610928822 A CN201610928822 A CN 201610928822A CN 106354688 B CN106354688 B CN 106354688B
Authority
CN
China
Prior art keywords
spi interface
touch screen
interface
intelligent module
chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610928822.5A
Other languages
Chinese (zh)
Other versions
CN106354688A (en
Inventor
邢树华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yashi Optoelectronics Group Co ltd
Original Assignee
Yashi Optoelectronics Group Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yashi Optoelectronics Group Co ltd filed Critical Yashi Optoelectronics Group Co ltd
Priority to CN201610928822.5A priority Critical patent/CN106354688B/en
Publication of CN106354688A publication Critical patent/CN106354688A/en
Application granted granted Critical
Publication of CN106354688B publication Critical patent/CN106354688B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Position Input By Displaying (AREA)

Abstract

The invention relates to an intelligent module which drives a TFT and a touch screen through an SPI interface and has drawing instructions, comprising a central control part, an SPI interface, a power interface and a power conversion circuit; the central control part main chip adopts an FT813Q chip; the power interface is connected with an external power supply; the power supply conversion circuit is electrically connected with the central control part, the TFT display screen and the touch screen; the SPI interface is connected with an external MCU and the FT813Q chip; the FT813Q chip is connected with the TFT display screen and the touch screen through the IO port respectively. The external interface is an SPI interface, so that the design space is saved; the TFT display screen and the touch screen can be driven simultaneously, and the MCU can directly read touch screen information through the SPI interface; in addition, the intelligent module is internally provided with drawing instructions, the drawing function can be directly realized in a mode of issuing the drawing instructions through the SPI interface, and display information does not need to be transmitted point by point.

Description

Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions
Technical Field
The invention relates to the technical field of electronics, in particular to an intelligent module capable of driving a TFT and a touch screen through an SPI interface and carrying drawing instructions
Background
Currently, TFT displays are very widely used, mainly in a large number of electronic devices. The most commonly used interface in the TFT display screen is an RGB interface, and the interface generally needs more than 20I/O ports, and the least interface also needs more than 10I/O ports to realize the display function of the color graphics, so that more MCUs are needed to drive during application, and the cost is directly increased.
When the TFT display screen is installed below, the main purpose is to realize the display function of color graphics and simple control, so that the intelligent control function is realized by adopting a low-cost MCU with less I/O.
Disclosure of Invention
The invention provides an intelligent module which drives a TFT and a touch screen through an SPI interface and has drawing instructions, wherein an external interface is the SPI interface, so that the design space is saved; the TFT display screen and the touch screen can be driven simultaneously, and a user can directly read touch screen information through the SPI interface without separately providing the touch screen interface; in addition, the intelligent module is internally provided with drawing instructions, the drawing function can be directly realized in a mode of issuing the drawing instructions through the SPI interface, and display information does not need to be transmitted point by point.
In order to achieve the above purpose, the invention is realized by adopting the following technical scheme:
the intelligent module is used for driving the TFT and the touch screen through the SPI interface and carrying drawing instructions, and comprises a central control part, the SPI interface, a power interface and a power conversion circuit; the central control part main chip adopts an FT813Q chip; the power interface is connected with an external power supply; the power supply conversion circuit is electrically connected with the central control part, the TFT display screen and the touch screen; the SPI interface is connected with an external MCU and the FT813Q chip; the FT813Q chip is respectively connected with the TFT display screen and the touch screen through the IO port; the working method comprises the following steps:
1) Connecting the MCU, the intelligent module and a data communication interface of the TFT display screen sequentially through data lines, wherein each part is respectively connected with an external power supply, and the FT813Q chip of the central control part determines the frequency of a display signal output to the TFT display screen and the format information of output data according to an instruction obtained from the SPI interface, wherein the display signal comprises various synchronous signals, and the frequency comprises clock frequency, line frequency and field frequency;
2) The intelligent module drives the TFT display screen to display through two modes: the first is to send each dot matrix data sent by MCU into display buffer area for display; the second is to receive drawing instructions from MCU, and directly draw the desired display graphics through intelligent module, wherein the drawing instructions comprise screen cleaning, dot drawing, line drawing, circle drawing, box drawing, filling pattern and writing instructions;
3) The command is issued through the SPI interface, so that the content currently displayed in the drawing process can be directly modified;
4) The intelligent module is simultaneously connected with and drives the touch screen, and according to user setting, position information fed back by the touch screen is converted into data in real time and stored in the intelligent module for being called by the MCU.
The power interface adopts an AMS1117-3.3 chip.
The SPI interface is a four-wire SPI interface.
Compared with the prior art, the invention has the beneficial effects that:
1) The external interface is an SPI interface, so that the design space is saved, and the production cost is reduced;
2) The TFT display screen and the touch screen can be driven simultaneously, and a user can directly read touch screen information through the SPI interface without separately providing a capacitive screen interface;
3) Drawing instructions are carried in the intelligent module, the drawing function can be directly realized in a mode of issuing the drawing instructions through an SPI interface, and display information does not need to be transmitted point by point;
4) The MCU can not only transmit display data and control the touch screen through the four-wire SPI interface, but also draw out a desired graph through a form of a transmission instruction.
Drawings
FIG. 1 is a block diagram of an intelligent module according to the present invention.
Fig. 2 is a diagram of pins of the FT813Q chip according to the present invention.
Fig. 3 is a circuit diagram of a power conversion circuit according to the invention.
Fig. 4 is a schematic diagram of a power interface according to the present invention.
FIG. 5 is a schematic diagram of the SPI interface structure according to the present invention.
Detailed Description
The following is a further description of embodiments of the invention, taken in conjunction with the accompanying drawings:
as shown in FIG. 1, the intelligent module for driving the TFT and the touch screen through the SPI interface and carrying drawing instructions comprises a central control part, the SPI interface, a power interface and a power conversion circuit; the central control part main chip adopts an FT813Q chip; the power interface is connected with an external power supply; the power supply conversion circuit is electrically connected with the central control part, the TFT display screen and the touch screen; the SPI interface is connected with an external MCU and the FT813Q chip; the FT813Q chip is respectively connected with the TFT display screen and the touch screen through the IO port; the working method comprises the following steps:
1) Connecting the MCU, the intelligent module and a data communication interface of the TFT display screen sequentially through data lines, wherein each part is respectively connected with an external power supply, and the FT813Q chip of the central control part determines the frequency of a display signal output to the TFT display screen and the format information of output data according to an instruction obtained from the SPI interface, wherein the display signal comprises various synchronous signals, and the frequency comprises clock frequency, line frequency and field frequency;
2) The intelligent module drives the TFT display screen to display through two modes: the first is to send each dot matrix data sent by MCU into display buffer area for display; the second is to receive drawing instructions from MCU, and directly draw the desired display graphics through intelligent module, wherein the drawing instructions comprise screen cleaning, dot drawing, line drawing, circle drawing, box drawing, filling pattern and writing instructions;
3) The command is issued through the SPI interface, so that the content currently displayed in the drawing process can be directly modified;
4) The intelligent module is simultaneously connected with and drives the touch screen, and according to user setting, position information fed back by the touch screen is converted into data in real time and stored in the intelligent module for being called by the MCU.
The power interface adopts an AMS1117-3.3 chip.
The SPI interface is a four-wire SPI interface.
In the conventional technology, a user can only store a graph to be displayed in a display buffer area of an MCU, if the displayed graph needs to be modified, the displayed graph can also be calculated through a program, then data in the buffer area is modified, and finally the data are transmitted to a TFT display screen through an RGB interface. The intelligent module driving the TFT and the touch screen through the SPI interface and carrying the drawing instruction can directly modify the currently displayed content in an instruction issuing mode, and calculation, modification and transmission of a large amount of data are not needed.
The pin diagram of the FT813Q chip is shown in fig. 2; the power conversion circuit diagram is shown in fig. 3; the power interface structure is shown in fig. 4, and the SPI interface structure is shown in fig. 5.
The TFT display screen is connected with the FT813Q chip through an RGB interface, and the FT813Q chip is connected with the touch display screen through a touch screen interface, which is a conventional technology and is not described in detail herein.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should make equivalent substitutions or modifications according to the technical scheme of the present invention and the inventive concept thereof, and should be covered by the scope of the present invention.

Claims (2)

1. The intelligent module is characterized by comprising a central control part, an SPI interface, a power interface and a power conversion circuit; the central control part main chip adopts an FT813Q chip; the power interface is connected with an external power supply; the power supply conversion circuit is electrically connected with the central control part, the TFT display screen and the touch screen; the SPI interface is connected with an external MCU and the FT813Q chip; the FT813Q chip is respectively connected with the TFT display screen and the touch screen through the IO port; the power supply conversion circuit adopts an AMS1117-3.3 chip; the working method comprises the following steps:
1) Connecting the MCU, the intelligent module and a data communication interface of the TFT display screen sequentially through data lines, wherein each part is respectively connected with an external power supply, and the FT813Q chip of the central control part determines the frequency of a display signal output to the TFT display screen and the format information of output data according to an instruction obtained from the SPI interface, wherein the display signal comprises various synchronous signals, and the frequency comprises clock frequency, line frequency and field frequency;
2) The intelligent module drives the TFT display screen to display through two modes: the first is to send each dot matrix data sent by MCU into display buffer area for display; the second is to receive drawing instructions from MCU, and directly draw the desired display graphics through intelligent module, wherein the drawing instructions comprise screen cleaning, dot drawing, line drawing, circle drawing, box drawing, filling pattern and writing instructions;
3) The command is issued through the SPI interface, so that the content currently displayed in the drawing process can be directly modified;
4) The intelligent module is simultaneously connected with and drives the touch screen, and according to user setting, position information fed back by the touch screen is converted into data in real time and stored in the intelligent module for being called by the MCU.
2. The intelligent module for driving TFTs and touch screen via SPI interface and having drawing instructions according to claim 1, wherein said SPI interface is a four-wire SPI interface.
CN201610928822.5A 2016-10-31 2016-10-31 Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions Active CN106354688B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610928822.5A CN106354688B (en) 2016-10-31 2016-10-31 Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610928822.5A CN106354688B (en) 2016-10-31 2016-10-31 Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions

Publications (2)

Publication Number Publication Date
CN106354688A CN106354688A (en) 2017-01-25
CN106354688B true CN106354688B (en) 2024-04-12

Family

ID=57865066

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610928822.5A Active CN106354688B (en) 2016-10-31 2016-10-31 Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions

Country Status (1)

Country Link
CN (1) CN106354688B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203311820U (en) * 2013-06-24 2013-11-27 肇庆市金鹏实业有限公司 Color screen module adopting SPI communication
CN205067905U (en) * 2015-10-26 2016-03-02 亚世光电股份有限公司 Capacitive touch screen laser printer TFT shows control assembly
CN206193776U (en) * 2016-10-31 2017-05-24 亚世光电股份有限公司 Intelligent module of drawing for order is taken through SPI interface drive TFT and touch -sensitive screen certainly

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2925692C (en) * 2013-09-27 2021-09-21 Sensel, Inc. Touch sensor detector system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203311820U (en) * 2013-06-24 2013-11-27 肇庆市金鹏实业有限公司 Color screen module adopting SPI communication
CN205067905U (en) * 2015-10-26 2016-03-02 亚世光电股份有限公司 Capacitive touch screen laser printer TFT shows control assembly
CN206193776U (en) * 2016-10-31 2017-05-24 亚世光电股份有限公司 Intelligent module of drawing for order is taken through SPI interface drive TFT and touch -sensitive screen certainly

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于TFT-LCD显示屏的电子相册设计;陈金立;高超;;自动化技术与应用(11);全文 *

Also Published As

Publication number Publication date
CN106354688A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
CN107624194A (en) For the apparatus and method for the timing controller for operating display
CN104156187A (en) Multi-screen display equipment
CN102262851A (en) Gate driver and display device having gate driver
KR20130069089A (en) Liquid crystal display device with interred touch screen and method for driving the same
CN203588261U (en) Expansion device
CN203165428U (en) TFT LCD display control system
CN106935209A (en) Display device of electronic paper and its driving method
CN106354688B (en) Intelligent module for driving TFT and touch screen through SPI interface and carrying drawing instructions
CN206193776U (en) Intelligent module of drawing for order is taken through SPI interface drive TFT and touch -sensitive screen certainly
CN203038643U (en) Color liquid crystal display module compatible with T6963 controller instruction
CN211507077U (en) LED display screen control system
CN211293934U (en) Integrated computer with multi-signal display function
CN211427806U (en) Comprehensive screen
CN201716967U (en) Color TFT-LCD liquid crystal display control device supporting images in JPEG format
CN202838923U (en) Minitype near-eye display connector drive and control circuit structure
CN203055410U (en) Driving circuit board applied to liquid crystal device
CN102903720B (en) Film transistor array substrate and liquid crystal display device thereof
CN203311820U (en) Color screen module adopting SPI communication
CN202473192U (en) Drive control panel of liquid crystal display
CN202549261U (en) TFT (Thin Film Transistor) liquid crystal display system of LNG (Liquefied Natural Gas) filling machine
CN202957019U (en) Display device
CN201662804U (en) Paperless display device for patient list in hospital
CN202093787U (en) Low-cost unit for controlling TFT module with RGB joint
CN216212275U (en) Liquid crystal display driving circuit and liquid crystal display module
CN105516626A (en) Content providing device, liquid crystal display device and display system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Country or region after: China

Address after: 114031 no.196 Qianshan Road, high tech Zone, Anshan City, Liaoning Province

Applicant after: Yashi Optoelectronics (Group) Co.,Ltd.

Address before: 114031 No. 196 Qianshan Road, High tech Zone, Anshan City, Liaoning Province, China

Applicant before: ANSHAN YES OPTOELECTRONICS DISPLAY Co.,Ltd.

Country or region before: China

GR01 Patent grant
GR01 Patent grant