[go: up one dir, main page]

TWI857295B - Display driving device and data transmission method thereof - Google Patents

Display driving device and data transmission method thereof Download PDF

Info

Publication number
TWI857295B
TWI857295B TW111116259A TW111116259A TWI857295B TW I857295 B TWI857295 B TW I857295B TW 111116259 A TW111116259 A TW 111116259A TW 111116259 A TW111116259 A TW 111116259A TW I857295 B TWI857295 B TW I857295B
Authority
TW
Taiwan
Prior art keywords
master
slave
transmission controller
serial data
input
Prior art date
Application number
TW111116259A
Other languages
Chinese (zh)
Other versions
TW202343427A (en
Inventor
黃俊銘
涂結盛
Original Assignee
新唐科技股份有限公司
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 新唐科技股份有限公司 filed Critical 新唐科技股份有限公司
Priority to TW111116259A priority Critical patent/TWI857295B/en
Priority to CN202210684974.0A priority patent/CN117012127A/en
Publication of TW202343427A publication Critical patent/TW202343427A/en
Application granted granted Critical
Publication of TWI857295B publication Critical patent/TWI857295B/en

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2370/00Aspects of data communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

A display driving device and data transmission method are provided. The display driving device includes a control device and a display driver. The control device includes a master transmission controller having a master output slave input pin and a master input slave output pin. The display driver includes a slave transmission controller. The master output slave input pin serially transmits a first serial data to the slave transmission controller based on a clock signal through the master output slave input pin. The master input slave output pin serially transmits a second serial data to the slave transfer controller based on the clock signal.

Description

顯示驅動裝置及其資料傳輸方法Display drive device and data transmission method thereof

本發明是有關於一種顯示驅動裝置,且特別是有關於一種多通道同步串列傳輸的顯示驅動裝置及其資料傳輸方法。 The present invention relates to a display driver device, and in particular to a display driver device with multi-channel synchronous serial transmission and a data transmission method thereof.

傳統上,顯示驅動晶片例如是發光二極體驅動晶片(LED Driver IC)或液晶顯示驅動晶片(LCD Driver IC)通常以串列傳輸(Serial Transmission)的方式來輸入控制資料,串列傳輸例如是串列周邊介面(Serial Peripheral Interface,SPI)。以一般發光二極體驅動晶片為例,其控制器通常運用SPI中的輸入輸出腳位I/O來傳輸命令至發光二極體驅動器中的LATCH腳位。然而,一般使用輸入輸出腳位I/O來傳輸命令的方式容易因系統優先處理的情況而導致延遲,進而影響訊號傳輸的精準度。若使用現場可程式化邏輯閘陣列(Field Programmable Gate Array,FPGA),將使成本上升。另一方面,先前技術使用額外一組SPI來傳輸命令,將使接線複雜化。其他先前技術使用Dual SPI進行並列傳輸(Parallel Transmission),雖然只需要一組SPI,但傳輸之前需要額外先將資 料處理為並列資料。 Traditionally, display driver chips such as LED Driver ICs or LCD Driver ICs usually input control data via serial transmission, such as Serial Peripheral Interface (SPI). Taking a general LED driver chip as an example, its controller usually uses the input and output pins I/O in SPI to transmit commands to the LATCH pin in the LED driver. However, the general method of using input and output pins I/O to transmit commands is prone to delays due to system priority processing, thereby affecting the accuracy of signal transmission. If a Field Programmable Gate Array (FPGA) is used, the cost will increase. On the other hand, the previous technology uses an additional set of SPI to transmit commands, which will complicate the wiring. Other previous technologies use Dual SPI for parallel transmission. Although only one set of SPI is required, the data needs to be processed into parallel data before transmission.

本發明提供一種顯示驅動裝置及其資料傳輸方法,用以解決顯示驅動裝置進行多通道同步串列傳輸時的傳輸控制器數量問題。 The present invention provides a display driver device and a data transmission method thereof, which are used to solve the problem of the number of transmission controllers when the display driver device performs multi-channel synchronous serial transmission.

本發明的實施例提供一種顯示驅動裝置。顯示驅動裝置包括但不限於控制裝置與顯示驅動器。控制裝置具有主傳輸控制器,主傳輸控制器具有主機輸出從機輸入腳位與主機輸入從機輸出腳位,顯示驅動器耦接至控制裝置且具有從傳輸控制器。主機輸出從機輸入腳位基於時脈訊號串列傳輸第一串列資料至從傳輸控制器。主機輸入從機輸出腳位基於時脈訊號串列傳輸第二串列資料至從傳輸控制器。 An embodiment of the present invention provides a display driver. The display driver includes but is not limited to a control device and a display driver. The control device has a master transmission controller, the master transmission controller has a master output slave input pin and a master input slave output pin, and the display driver is coupled to the control device and has a slave transmission controller. The master output slave input pin transmits first serial data to the slave transmission controller in series based on a clock signal. The master input slave output pin transmits second serial data to the slave transmission controller in series based on a clock signal.

本發明的實施例提供一種資料傳輸方法,適用於顯示驅動裝置。顯示驅動裝置具有主傳輸控制器與從傳輸控制器。資料傳輸方法包括:藉由主傳輸控制器中的主機輸出從機輸入腳位將第一串列資料基於時脈訊號串列傳輸至從傳輸控制器;藉由主機輸入從機輸出腳位將第二串列資料基於時脈訊號串列傳輸至從傳輸控制器。 The embodiment of the present invention provides a data transmission method applicable to a display drive device. The display drive device has a master transmission controller and a slave transmission controller. The data transmission method includes: transmitting the first serial data to the slave transmission controller in series based on the clock signal through the master output slave input pin in the master transmission controller; transmitting the second serial data to the slave transmission controller in series based on the clock signal through the master input slave output pin.

本發明的實施例提供一種資料傳輸方法,適用於顯示驅動裝置。顯示驅動裝置具有主傳輸控制器與從傳輸控制器。資料傳輸方法包括:依據致能訊號調整主傳輸控制器中的主機輸出從 機輸入腳位的傳輸方向;藉由從傳輸控制器提供第一串列資料與第二串列資料;藉由主傳輸控制器中的主機輸出從機輸入腳位基於時脈訊號接收第一串列資料;藉由主傳輸控制器中的主機輸入從機輸出腳位基於時脈訊號接收第二串列資料。 The embodiment of the present invention provides a data transmission method applicable to a display drive device. The display drive device has a master transmission controller and a slave transmission controller. The data transmission method includes: adjusting the transmission direction of the master output slave input pin in the master transmission controller according to an enable signal; providing the first serial data and the second serial data by the slave transmission controller; receiving the first serial data based on the clock signal by the master output slave input pin in the master transmission controller; receiving the second serial data based on the clock signal by the master input slave output pin in the master transmission controller.

基於上述,在本發明一些實施例中,藉由一組主傳輸控制器中的主機輸出從機輸入腳位與主機輸入從機輸出腳位進行串列傳輸,可降低傳輸控制器的數量且無需額外的資料並列處理,有效降低成本並提升傳輸效率。 Based on the above, in some embodiments of the present invention, serial transmission is performed through the master output slave input pins and the master input slave output pins in a set of master transmission controllers, which can reduce the number of transmission controllers and eliminate the need for additional data parallel processing, effectively reducing costs and improving transmission efficiency.

為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。 In order to make the above features and advantages of the present invention more clearly understood, the following is a detailed description of the embodiments with the accompanying drawings.

在本案說明書全文(包括申請專利範圍)中所使用的「耦接(或連接)」一詞可指任何直接或間接的連接手段。舉例而言,若文中描述第一裝置耦接(或連接)於第二裝置,則應該被解釋成該第一裝置可以直接連接於該第二裝置,或者該第一裝置可以透過其他裝置或某種連接手段而間接地連接至該第二裝置。另外,凡可能之處,在圖式及實施方式中使用相同標號的元件/構件/步驟代表相同或類似部分。不同實施例中使用相同標號或使用相同用語的元件/構件/步驟可以相互參照相關說明。 The term "coupled (or connected)" used in the entire specification of this case (including the scope of the patent application) may refer to any direct or indirect means of connection. For example, if the text describes that a first device is coupled (or connected) to a second device, it should be interpreted that the first device can be directly connected to the second device, or the first device can be indirectly connected to the second device through other devices or some connection means. In addition, wherever possible, elements/components/steps with the same number in the drawings and embodiments represent the same or similar parts. Elements/components/steps with the same number or the same terminology in different embodiments can refer to each other for related descriptions.

圖1是依據本發明一實施例所繪示的顯示驅動裝置的方 塊圖。請參照圖1,顯示驅動裝置10包括但不限於控制裝置110與顯示驅動器130。控制裝置110具有主傳輸控制器120且顯示驅動器130具有從傳輸控制器140。控制裝置110用以將串列資料藉由主傳輸控制器120同步傳輸至顯示驅動器130的從傳輸控制器140。顯示驅動器130耦接至控制裝置110,顯示驅動器130用以輸出驅動訊號DR以驅動顯示器。在此實施例中,顯示驅動器130例如是發光二極體驅動器(LED Driver)或液晶顯示驅動器(LCD Driver),但不限於此。在此實施例中,主傳輸控制器120例如是主串列周邊介面(Master SPI),而從傳輸控制器140例如是從串列周邊介面(Slave SPI)。但在其他實施例中,主傳輸控制器120與從傳輸控制器140也可以是其他資料傳輸介面,不限於此。主傳輸控制器120的訊號接腳包括但不限於主機輸入從機輸出腳位MISO、主機輸出從機輸入腳位MOSI以及時脈訊號CLK等。 FIG1 is a block diagram of a display driver according to an embodiment of the present invention. Referring to FIG1 , the display driver 10 includes but is not limited to a control device 110 and a display driver 130. The control device 110 has a master transmission controller 120 and the display driver 130 has a slave transmission controller 140. The control device 110 is used to synchronously transmit serial data to the slave transmission controller 140 of the display driver 130 through the master transmission controller 120. The display driver 130 is coupled to the control device 110, and the display driver 130 is used to output a driving signal DR to drive the display. In this embodiment, the display driver 130 is, for example, a light-emitting diode driver (LED Driver) or a liquid crystal display driver (LCD Driver), but is not limited thereto. In this embodiment, the master transmission controller 120 is, for example, a master serial peripheral interface (Master SPI), and the slave transmission controller 140 is, for example, a slave serial peripheral interface (Slave SPI). However, in other embodiments, the master transmission controller 120 and the slave transmission controller 140 may also be other data transmission interfaces, but are not limited thereto. The signal pins of the master transmission controller 120 include, but are not limited to, the master input slave output pin MISO, the master output slave input pin MOSI, and the clock signal CLK, etc.

控制裝置110可提供致能訊號EN至主傳輸控制器120,以調整主機輸入從機輸出腳位MISO的資料傳輸方向。具體來說,當致能訊號EN尚未被致能時,主機輸出從機輸入腳位MOSI的預設資料傳輸方向是由主傳輸控制器120傳輸至從傳輸控制器140,主機輸入從機輸出腳位MISO的預設資料傳輸方向是由從傳輸控制器140傳輸至主傳輸控制器120。 The control device 110 can provide an enable signal EN to the master transmission controller 120 to adjust the data transmission direction of the master input slave output pin MISO. Specifically, when the enable signal EN is not enabled, the default data transmission direction of the master output slave input pin MOSI is transmitted from the master transmission controller 120 to the slave transmission controller 140, and the default data transmission direction of the master input slave output pin MISO is transmitted from the slave transmission controller 140 to the master transmission controller 120.

圖2是依據本發明一實施例所繪示的顯示驅動裝置的時序圖。請參照圖2,在此實施例中,當致能訊號EN為第一邏輯準位(如,低邏輯準位)時,控制裝置110可藉由主機輸出從機輸入腳 位MOSI基於時脈訊號CLK來進行串列傳輸,如圖2中的位元7至位元0,而不藉由主機輸入從機輸出腳位MISO基於時脈訊號CLK來進行串列傳輸。另一方面,當致能訊號EN被致能(enabled)為第二邏輯準位(如,高邏輯準位)時,主傳輸控制器120調整主機輸入從機輸出腳位MISO的資料傳輸方向為由主傳輸控制器120傳輸至從傳輸控制器140。換句話說,控制裝置110可藉由主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK來同步進行串列傳輸。在此實施例中,當致能訊號EN被致能後,第一串列資料SD1與第二串列資料SD2例如是16位元的資料格式,但不限於此。 FIG2 is a timing diagram of a display driving device according to an embodiment of the present invention. Referring to FIG2, in this embodiment, when the enable signal EN is at a first logic level (e.g., a low logic level), the control device 110 can perform serial transmission based on the clock signal CLK via the master output slave input pin MOSI, such as bit 7 to bit 0 in FIG2, instead of performing serial transmission based on the clock signal CLK via the master input slave output pin MISO. On the other hand, when the enable signal EN is enabled as a second logic level (e.g., a high logic level), the master transmission controller 120 adjusts the data transmission direction of the master input slave output pin MISO to be transmitted from the master transmission controller 120 to the slave transmission controller 140. In other words, the control device 110 can synchronize serial transmission based on the clock signal CLK through the master output slave input pin MOSI and the master input slave output pin MISO. In this embodiment, when the enable signal EN is enabled, the first serial data SD1 and the second serial data SD2 are, for example, 16-bit data formats, but are not limited thereto.

圖3是依據本發明一實施例所繪示的資料傳輸方法的流程圖。請同時參照圖1、圖2與圖3,於步驟S310,控制裝置110可依據致能訊號EN調整主機輸入從機輸出腳位MISO的傳輸方向。接著,於步驟S320,控制裝置110可藉由主機輸出從機輸入腳位MOSI將第一串列資料SD1基於時脈訊號CLK串列傳輸至從傳輸控制器140。於步驟S320,控制裝置110可藉由主機輸入從機輸出腳位MISO將第二串列資料SD2基於時脈訊號CLK串列傳輸至從傳輸控制器140。 FIG3 is a flow chart of a data transmission method according to an embodiment of the present invention. Please refer to FIG1, FIG2 and FIG3 at the same time. In step S310, the control device 110 can adjust the transmission direction of the master input slave output pin MISO according to the enable signal EN. Then, in step S320, the control device 110 can transmit the first serial data SD1 to the slave transmission controller 140 in series based on the clock signal CLK through the master output slave input pin MOSI. In step S320, the control device 110 can transmit the second serial data SD2 to the slave transmission controller 140 in series based on the clock signal CLK through the master input slave output pin MISO.

圖4是依據本發明一實施例所繪示的LED驅動裝置的方塊示意圖。請參照圖4,顯示驅動裝置40包括但不限於控制裝置410與LED驅動器430。控制裝置410具有主傳輸控制器420且LED驅動器430具有從傳輸控制器440。控制裝置410藉由主傳 輸控制器420的主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK將第一串列資料SD1與第二串列資料SD2同步串列傳輸至LED驅動器430的從傳輸控制器440對應的接腳SDI、接腳DCLK與接腳LATCH。LED驅動器430可依據所接收的第一串列資料SD1、時脈訊號CLK、第二串列資料SD2而從接腳LED_OUT0、...、接腳LED_OUTN與接腳SD0輸出驅動訊號DR。驅動訊號DR用以驅動LED(未繪示),以使LED顯示影像。 FIG4 is a block diagram of an LED driver according to an embodiment of the present invention. Referring to FIG4 , the driver 40 includes but is not limited to a control device 410 and an LED driver 430. The control device 410 has a master transmission controller 420 and the LED driver 430 has a slave transmission controller 440. The control device 410 transmits the first serial data SD1 and the second serial data SD2 synchronously and serially to the corresponding pins SDI, DCLK and LATCH of the slave transmission controller 440 of the LED driver 430 through the master output slave input pin MOSI and the master input slave output pin MISO of the master transmission controller 420 based on the clock signal CLK. The LED driver 430 can output a driving signal DR from the pins LED_OUT0, ..., the pin LED_OUTN and the pin SD0 according to the received first serial data SD1, the clock signal CLK, and the second serial data SD2. The driving signal DR is used to drive the LED (not shown) so that the LED displays an image.

圖5是依據本發明一實施例所繪示的LED驅動裝置的時序圖。請同時參照圖4與圖5,舉例來說,顯示驅動裝置40欲輸出具50%工作週期的16-bit PWM的驅動訊號DR以驅動LED,因此顯示驅動裝置40中的控制裝置410藉由主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK將第一串列資料SD1與第二串列資料SD2同步串列傳輸至LED驅動器430。在此實施例中,透過主機輸出從機輸入腳位MOSI所傳輸的第一串列資料SD1例如是0X0001,而透過主機輸入從機輸出腳位MISO所傳輸的第二串列資料SD2例如是0X7FFFF。傳輸至接腳LATCH的0X7FFF為一驅動資料,用以指示對應的驅動訊號DR,在此實施例中,0X7FFF代表輸出具有50%工作週期的PWM的驅動訊號DR。傳輸至接腳SDI的0X0001為一命令,用以指示將上述驅動資料載入至LED驅動器430的輸出暫存器(未繪示),以做為每段資料的資料結尾。 FIG5 is a timing diagram of an LED driver according to an embodiment of the present invention. Please refer to FIG4 and FIG5 at the same time. For example, the display driver 40 is intended to output a 16-bit PWM drive signal DR with a 50% duty cycle to drive the LED. Therefore, the control device 410 in the display driver 40 transmits the first serial data SD1 and the second serial data SD2 to the LED driver 430 synchronously in series through the master output slave input pin MOSI and the master input slave output pin MISO based on the clock signal CLK. In this embodiment, the first serial data SD1 transmitted through the master output slave input pin MOSI is, for example, 0X0001, and the second serial data SD2 transmitted through the master input slave output pin MISO is, for example, 0X7FFFF. 0X7FFF transmitted to the pin LATCH is a driving data to indicate the corresponding driving signal DR. In this embodiment, 0X7FFF represents the driving signal DR outputting PWM with a 50% duty cycle. 0X0001 transmitted to the pin SDI is a command to indicate that the above driving data is loaded into the output register (not shown) of the LED driver 430 as the data end of each segment of data.

圖6是依據本發明一實施例所繪示的LCD驅動裝置的方塊示意圖。請參照圖6,顯示驅動裝置60包括但不限於控制裝置610與LCD驅動器630。控制裝置610具有主傳輸控制器620且LCD驅動器630具有從傳輸控制器640。控制裝置610藉由主傳輸控制器620的主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK將第一串列資料SD1與第二串列資料SD2同步串列傳輸至從傳輸控制器640對應的接腳SCL、接腳D/CX與接腳SDI。LCD驅動器630可依據所接收的第一串列資料SD1、時脈訊號CLK、第二串列資料SD2而輸出驅動訊號DR。驅動訊號DR用以驅動LCD(未繪示),以使LCD依據驅動訊號DR顯示影像。 FIG6 is a block diagram of an LCD driver according to an embodiment of the present invention. Referring to FIG6 , the driver 60 includes but is not limited to a control device 610 and an LCD driver 630. The control device 610 has a master transmission controller 620 and the LCD driver 630 has a slave transmission controller 640. The control device 610 transmits the first serial data SD1 and the second serial data SD2 synchronously and serially to the corresponding pins SCL, D/CX and SDI of the slave transmission controller 640 through the master output slave input pin MOSI and the master input slave output pin MISO of the master transmission controller 620 based on the clock signal CLK. The LCD driver 630 can output a driving signal DR according to the received first serial data SD1, the clock signal CLK, and the second serial data SD2. The driving signal DR is used to drive the LCD (not shown) so that the LCD displays an image according to the driving signal DR.

圖7是依據本發明一實施例所繪示的LCD驅動裝置的時序圖。請同時參照圖6與圖7,在此實施例中,顯示驅動裝置60中的控制裝置610藉由主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK將第一串列資料SD1與第二串列資料SD2同步串列傳輸至LCD驅動器630。在此實施例中,透過主機輸出從機輸入腳位MOSI所傳輸的第一串列資料SD1例如是0X0101,而透過主機輸入從機輸出腳位MISO所傳輸的第二串列資料SD2例如是0X07E0。傳輸至接腳SDI的0X07E0為一驅動資料,用以指示對應的驅動訊號DR,在此實施例中,0X07E0代欲驅動的畫素PIXEL_N的驅動資料,其包括對應值D7-值D0的多個子畫素Rn、子畫素Gn與子畫素Bn的驅動資料。同理,在 傳輸畫素PIXEL_N的驅動資料後可繼續傳輸畫素PIXEL_N+1的驅動資料。傳輸至接腳D/CX的0X0101為一命令,用以指示將上述驅動資料載入至LCD驅動器630的輸出暫存器(未繪示),以做為每段資料的資料結尾。 FIG. 7 is a timing diagram of an LCD driver according to an embodiment of the present invention. Please refer to FIG. 6 and FIG. 7 simultaneously. In this embodiment, the control device 610 in the display driver 60 transmits the first serial data SD1 and the second serial data SD2 synchronously and serially to the LCD driver 630 through the master output slave input pin MOSI and the master input slave output pin MISO based on the clock signal CLK. In this embodiment, the first serial data SD1 transmitted through the master output slave input pin MOSI is, for example, 0X0101, and the second serial data SD2 transmitted through the master input slave output pin MISO is, for example, 0X07E0. 0X07E0 transmitted to the pin SDI is a driving data, which is used to indicate the corresponding driving signal DR. In this embodiment, 0X07E0 represents the driving data of the pixel PIXEL_N to be driven, which includes the driving data of multiple sub-pixels Rn, sub-pixel Gn and sub-pixel Bn corresponding to the value D7-value D0. Similarly, after the driving data of the pixel PIXEL_N is transmitted, the driving data of the pixel PIXEL_N+1 can be continuously transmitted. 0X0101 transmitted to the pin D/CX is a command, which is used to instruct to load the above driving data into the output register (not shown) of the LCD driver 630 as the data end of each segment of data.

圖8是依據本發明另一實施例所繪示的顯示驅動裝置的方塊圖。請參照圖8,顯示驅動裝置80包括但不限於控制裝置810與顯示驅動器830。控制裝置810具有主傳輸控制器820且顯示驅動器830具有從傳輸控制器840。在此實施例中,顯示驅動器830例如是薄膜電晶體驅動器(Thin-Film Transistor Driver,TFT驅動器)。控制裝置810可依據致能訊號EN調整主機輸出從機輸入腳位MOSI的資料傳輸方向,以藉由主傳輸控制器820的主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK而從顯示驅動器830同步接收第一串列資料SD1與第二串列資料SD2。控制裝置810例如可依據所接收的第一串列資料SD1第二串列資料SD2來監控TFT驅動器,或者監控主傳輸控制器820與從傳輸控制器840之間的通訊狀態。必須注意的是,在此實施例中,主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO的資料傳輸方向皆為由從傳輸控制器840至主傳輸控制器820,亦即,本發明的串列傳輸方法除以單組傳輸控制器(例如是單組SPI)來發送同步串列資料至顯示驅動器之外,也可應用於從顯示驅動器接收同步串列資料。 FIG8 is a block diagram of a display driver according to another embodiment of the present invention. Referring to FIG8 , the display driver 80 includes but is not limited to a control device 810 and a display driver 830. The control device 810 has a master transmission controller 820 and the display driver 830 has a slave transmission controller 840. In this embodiment, the display driver 830 is, for example, a thin film transistor driver (TFT driver). The control device 810 can adjust the data transmission direction of the master output slave input pin MOSI according to the enable signal EN, so as to synchronously receive the first serial data SD1 and the second serial data SD2 from the display driver 830 based on the clock signal CLK through the master output slave input pin MOSI and the master input slave output pin MISO of the master transmission controller 820. For example, the control device 810 can monitor the TFT driver according to the received first serial data SD1 and second serial data SD2, or monitor the communication status between the master transmission controller 820 and the slave transmission controller 840. It should be noted that in this embodiment, the data transmission direction of the master output slave input pin MOSI and the master input slave output pin MISO is from the slave transmission controller 840 to the master transmission controller 820, that is, the serial transmission method of the present invention can be applied to receiving synchronous serial data from the display driver in addition to using a single transmission controller (such as a single SPI) to send synchronous serial data to the display driver.

圖9是依據本發明另一實施例所繪示的顯示驅動裝置的 時序圖。請同時參照圖8與圖9,在此實施例中,當致能訊號EN為低邏輯準位時,控制裝置810可藉由主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK來進行多位元的串列傳輸。舉例來說,基於時脈訊號CLK,控制裝置810可利用主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO來進行串列傳輸例如8位元的資料,如位元7至位元0,其中主機輸出從機輸入腳位MOSI的傳輸方向為從主傳輸控制器820至從傳輸控制器840,而主機輸入從機輸出腳位MISO的傳輸方向為由從傳輸控制器840至主傳輸控制器820。另一方面,當致能訊號EN被致能為高邏輯準位時,主傳輸控制器820調整主機輸出從機輸入腳位MOSI的資料傳輸方向為由從傳輸控制器840傳輸至主傳輸控制器820。換句話說,控制裝置810可藉由主機輸出從機輸入腳位MOSI與主機輸入從機輸出腳位MISO基於時脈訊號CLK來同步接收第一串列資料SD1與第二串列資料SD2。在此實施例中,致能訊號EN被致能後的串列資料是16位元的資料格式,但不限於此。 FIG9 is a timing diagram of a display driving device according to another embodiment of the present invention. Please refer to FIG8 and FIG9 simultaneously. In this embodiment, when the enable signal EN is at a low logic level, the control device 810 can perform multi-bit serial transmission based on the clock signal CLK through the master output slave input pin MOSI and the master input slave output pin MISO. For example, based on the clock signal CLK, the control device 810 can use the master output slave input pin MOSI and the master input slave output pin MISO to serially transmit, for example, 8-bit data, such as bit 7 to bit 0, wherein the transmission direction of the master output slave input pin MOSI is from the master transmission controller 820 to the slave transmission controller 840, and the transmission direction of the master input slave output pin MISO is from the slave transmission controller 840 to the master transmission controller 820. On the other hand, when the enable signal EN is enabled to a high logic level, the master transmission controller 820 adjusts the data transmission direction of the master output slave input pin MOSI to be transmitted from the slave transmission controller 840 to the master transmission controller 820. In other words, the control device 810 can synchronously receive the first serial data SD1 and the second serial data SD2 based on the clock signal CLK through the master output slave input pin MOSI and the master input slave output pin MISO. In this embodiment, the serial data after the enable signal EN is enabled is a 16-bit data format, but is not limited thereto.

圖10是依據本發明另一實施例所繪示的資料傳輸方法的流程圖。請同時參照圖8、圖9與圖10,於步驟S1010,控制裝置110依據致能訊號EN調整主機輸出從機輸入腳位MOSI的傳輸方向。接著,於步驟S1020,顯示驅動器830藉由從傳輸控制器840提供第一串列資料SD1與第二串列資料SD2,第一串列資料SD1與第二串列資料SD2例如是從TFT面板所接收到的資料,但不限 於此。於步驟S1030,控制裝置110可藉由主機輸出從機輸入腳位MOSI基於時脈訊號CLK接收第一串列資料SD1。於步驟51040,控制裝置110可藉由主機輸入從機輸出腳位MISO基於時脈訊號CLK接收第二串列資料SD2,其中第一串列資料SD1與第二串列資料SD2被同步接收。 FIG. 10 is a flow chart of a data transmission method according to another embodiment of the present invention. Please refer to FIG. 8, FIG. 9 and FIG. 10 simultaneously. In step S1010, the control device 110 adjusts the transmission direction of the master output slave input pin MOSI according to the enable signal EN. Then, in step S1020, the display driver 830 provides the first serial data SD1 and the second serial data SD2 from the transmission controller 840. The first serial data SD1 and the second serial data SD2 are, for example, data received from the TFT panel, but are not limited thereto. In step S1030, the control device 110 can receive the first serial data SD1 through the master output slave input pin MOSI based on the clock signal CLK. In step 51040, the control device 110 can receive the second serial data SD2 based on the clock signal CLK via the master input slave output pin MISO, wherein the first serial data SD1 and the second serial data SD2 are received synchronously.

綜上所述,本發明藉由一組主傳輸控制器中的主機輸出從機輸入腳位與主機輸入從機輸出腳位進行同步串列傳輸,可降低傳輸控制器的數量,無需改變硬體接線也無需額外的資料並列處理,有效降低顯示驅動裝置的成本並提升傳輸效率。另一方面,該同步串列傳輸可同步發送串列資料或同步接收串列資料。 In summary, the present invention uses a set of master output slave input pins and master input slave output pins in a master transmission controller to perform synchronous serial transmission, which can reduce the number of transmission controllers, without changing the hardware wiring and requiring additional data parallel processing, effectively reducing the cost of the display drive device and improving the transmission efficiency. On the other hand, the synchronous serial transmission can synchronously send serial data or synchronously receive serial data.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed as above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of the attached patent application.

10、40、60、80:顯示驅動裝置 10, 40, 60, 80: Display drive device

110、410、610、810:控制裝置 110, 410, 610, 810: Control device

120、420、620、820:主傳輸控制器 120, 420, 620, 820: Main transmission controller

130、830:顯示驅動器 130, 830: Display driver

140、440、640、840:從傳輸控制器 140, 440, 640, 840: From the transmission controller

430:LED驅動器 430:LED driver

630:LCD驅動器 630: LCD driver

EN:致能訊號 EN: Enable signal

MOSI:主機輸出從機輸入腳位 MOSI: master output slave input pin

MISO:主機輸入從機輸出腳位 MISO: Master input slave output pin

CLK:時脈訊號 CLK: clock signal

SD1:第一串列資料 SD1: First serial data

SD2:第二串列資料 SD2: Second serial data

DR:驅動訊號 DR: drive signal

SDI、DCLK、LATCH、LED_OUT0、LED_OUTN、SD0、SCL、D/CX、SDI:接腳 SDI, DCLK, LATCH, LED_OUT0, LED_OUTN, SD0, SCL, D/CX, SDI: Pins

D0、D1、D2、D3、D4、D5、D6、D7:值 D0, D1, D2, D3, D4, D5, D6, D7: value

PIXEL_N、PIXEL_N+1:畫素 PIXEL_N, PIXEL_N+1: pixels

Rn、Gn、Bn:子畫素 Rn, Gn, Bn: sub-pixels

S310、S320、S330、S1010、S1020、S1030、S1040:步驟 S310, S320, S330, S1010, S1020, S1030, S1040: Steps

圖1是依據本發明一實施例所繪示的顯示驅動裝置的方塊圖。 FIG1 is a block diagram of a display drive device according to an embodiment of the present invention.

圖2是依據本發明一實施例所繪示的顯示驅動裝置的時序圖。 FIG2 is a timing diagram of a display driving device according to an embodiment of the present invention.

圖3是依據本發明一實施例所繪示的資料傳輸方法的流程圖。 Figure 3 is a flow chart of a data transmission method according to an embodiment of the present invention.

圖4是依據本發明一實施例所繪示的LED驅動裝置的方塊示意圖。 FIG4 is a block diagram of an LED driving device according to an embodiment of the present invention.

圖5是依據本發明一實施例所繪示的LED驅動裝置的時序 圖。 FIG5 is a timing diagram of an LED driving device according to an embodiment of the present invention.

圖6是依據本發明一實施例所繪示的LCD驅動裝置的方塊示意圖。 FIG6 is a block diagram of an LCD driving device according to an embodiment of the present invention.

圖7是依據本發明一實施例所繪示的LCD驅動裝置的時序圖。 FIG7 is a timing diagram of an LCD driving device according to an embodiment of the present invention.

圖8是依據本發明另一實施例所繪示的顯示驅動裝置的方塊圖。 FIG8 is a block diagram of a display drive device according to another embodiment of the present invention.

圖9是依據本發明另一實施例所繪示的顯示驅動裝置的時序圖。 FIG9 is a timing diagram of a display driving device according to another embodiment of the present invention.

圖10是依據本發明另一實施例所繪示的資料傳輸方法的流程圖。 FIG10 is a flow chart of a data transmission method according to another embodiment of the present invention.

10:顯示驅動裝置 10: Display drive device

110:控制裝置 110: Control device

120:主傳輸控制器 120: Main transmission controller

130:顯示驅動器 130: Display driver

140:從傳輸控制器 140: From the transmission controller

EN:致能訊號 EN: Enable signal

MOSI:主機輸出從機輸入腳位 MOSI: master output slave input pin

MISO:主機輸入從機輸出腳位 MISO: Master input slave output pin

CLK:時脈訊號 CLK: clock signal

SD1:第一串列資料 SD1: First serial data

SD2:第二串列資料 SD2: Second serial data

DR:驅動訊號 DR: drive signal

Claims (10)

一種顯示驅動裝置,包括:具有主傳輸控制器的控制裝置,其中所述主傳輸控制器具有主機輸出從機輸入腳位與主機輸入從機輸出腳位;具有從傳輸控制器的顯示驅動器,耦接至所述控制裝置,其中所述主機輸出從機輸入腳位基於時脈訊號串列傳輸第一串列資料至所述從傳輸控制器,其中所述主機輸入從機輸出腳位基於所述時脈訊號串列傳輸第二串列資料至所述從傳輸控制器,其中所述控制裝置藉由致能訊號調整所述主機輸入從機輸出腳位的資料傳輸方向。 A display driver device includes: a control device having a master transmission controller, wherein the master transmission controller has a master output slave input pin and a master input slave output pin; a display driver having a slave transmission controller, coupled to the control device, wherein the master output slave input pin serially transmits first serial data to the slave transmission controller based on a clock signal, wherein the master input slave output pin serially transmits second serial data to the slave transmission controller based on the clock signal, wherein the control device adjusts the data transmission direction of the master input slave output pin by an enable signal. 如請求項1所述的顯示驅動裝置,其中所述第一串列資料與所述第二串列資料藉由所述時脈訊號同步傳輸。 A display drive device as described in claim 1, wherein the first serial data and the second serial data are transmitted synchronously via the clock signal. 如請求項1所述的顯示驅動裝置,其中所述顯示驅動器依據所述第一串列資料與所述第二串列資料輸出驅動訊號。 A display driver device as described in claim 1, wherein the display driver outputs a driving signal according to the first serial data and the second serial data. 如請求項1所述的顯示驅動裝置,其中當所述致能訊號為第一邏輯準位時,所述主機輸入從機輸出腳位的所述資料傳輸方向是由所述從傳輸控制器傳輸至所述主傳輸控制器,並且其中當所述致能訊號被致能為第二邏輯準位時,所述主機輸入從機輸出腳位的所述資料傳輸方向是由所述主傳輸控制器傳輸至所述從傳輸控制器。 A display driver as described in claim 1, wherein when the enable signal is at a first logic level, the data transmission direction of the master input slave output pin is transmitted from the slave transmission controller to the master transmission controller, and when the enable signal is enabled to a second logic level, the data transmission direction of the master input slave output pin is transmitted from the master transmission controller to the slave transmission controller. 如請求項1所述的顯示驅動裝置,其中所述顯示驅動器是發光二極體驅動器。 A display driver device as described in claim 1, wherein the display driver is a light-emitting diode driver. 如請求項1所述的顯示驅動裝置,其中所述顯示驅動器是液晶顯示驅動器。 A display driver device as described in claim 1, wherein the display driver is a liquid crystal display driver. 一種資料傳輸方法,適用於顯示驅動裝置,其中所述顯示驅動裝置具有主傳輸控制器與從傳輸控制器,包括:藉由所述主傳輸控制器中的主機輸出從機輸入腳位將第一串列資料基於時脈訊號串列傳輸至所述從傳輸控制器;藉由主機輸入從機輸出腳位將第二串列資料基於所述時脈訊號串列傳輸至所述從傳輸控制器;以及藉由致能訊號調整所述主機輸入從機輸出腳位的資料傳輸方向。 A data transmission method is applicable to a display driver device, wherein the display driver device has a master transmission controller and a slave transmission controller, including: transmitting first serial data to the slave transmission controller in series based on a clock signal through a master output slave input pin in the master transmission controller; transmitting second serial data to the slave transmission controller in series based on the clock signal through a master input slave output pin; and adjusting the data transmission direction of the master input slave output pin by an enable signal. 如請求項7所述的資料傳輸方法,其中所述第一串列資料與所述第二串列資料藉由所述時脈訊號同步傳輸。 The data transmission method as described in claim 7, wherein the first serial data and the second serial data are transmitted synchronously via the clock signal. 如請求項7所述的資料傳輸方法,其中藉由所述致能訊號調整所述主機輸入從機輸出腳位的所述資料傳輸方向的步驟包括:當所述致能訊號為第一邏輯準位時,將所述主機輸入從機輸出腳位的資料傳輸方向調整為由所述從傳輸控制器傳輸至所述主傳輸控制器;以及當所述致能訊號被致能為第二邏輯準位時,將所述主機輸入從機輸出腳位的所述資料傳輸方向調整為由所述主傳輸控制器傳輸至所述從傳輸控制器。 The data transmission method as described in claim 7, wherein the step of adjusting the data transmission direction of the master input and slave output pins by the enable signal comprises: when the enable signal is a first logic level, adjusting the data transmission direction of the master input and slave output pins to be transmitted from the slave transmission controller to the master transmission controller; and when the enable signal is enabled to a second logic level, adjusting the data transmission direction of the master input and slave output pins to be transmitted from the master transmission controller to the slave transmission controller. 一種資料傳輸方法,適用於顯示驅動裝置,其中所述顯示驅動裝置具有主傳輸控制器與從傳輸控制器,包括:依據致能訊號調整所述主傳輸控制器中的主機輸出從機輸入腳位的傳輸方向;藉由所述從傳輸控制器提供第一串列資料與第二串列資料;藉由所述主傳輸控制器中的所述主機輸出從機輸入腳位基於時脈訊號接收所述第一串列資料;以及藉由所述主傳輸控制器中的主機輸入從機輸出腳位基於時脈訊號接收所述第二串列資料。 A data transmission method is applicable to a display driver device, wherein the display driver device has a master transmission controller and a slave transmission controller, including: adjusting the transmission direction of the master output slave input pin in the master transmission controller according to an enable signal; providing first serial data and second serial data through the slave transmission controller; receiving the first serial data based on a clock signal through the master output slave input pin in the master transmission controller; and receiving the second serial data based on a clock signal through the master input slave output pin in the master transmission controller.
TW111116259A 2022-04-28 2022-04-28 Display driving device and data transmission method thereof TWI857295B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW111116259A TWI857295B (en) 2022-04-28 2022-04-28 Display driving device and data transmission method thereof
CN202210684974.0A CN117012127A (en) 2022-04-28 2022-06-15 Display driving device and data transmission method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111116259A TWI857295B (en) 2022-04-28 2022-04-28 Display driving device and data transmission method thereof

Publications (2)

Publication Number Publication Date
TW202343427A TW202343427A (en) 2023-11-01
TWI857295B true TWI857295B (en) 2024-10-01

Family

ID=88562418

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111116259A TWI857295B (en) 2022-04-28 2022-04-28 Display driving device and data transmission method thereof

Country Status (2)

Country Link
CN (1) CN117012127A (en)
TW (1) TWI857295B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201434022A (en) * 2013-02-25 2014-09-01 三星電子股份有限公司 Semiconductor device for controlling source driver and display device including the same
CN204614419U (en) * 2015-05-16 2015-09-02 肇庆市金鹏实业有限公司 A dual-purpose OLED display module for Chinese and graphics
TW202044765A (en) * 2019-05-24 2020-12-01 瑞昱半導體股份有限公司 Signal transmission circuit and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201434022A (en) * 2013-02-25 2014-09-01 三星電子股份有限公司 Semiconductor device for controlling source driver and display device including the same
CN204614419U (en) * 2015-05-16 2015-09-02 肇庆市金鹏实业有限公司 A dual-purpose OLED display module for Chinese and graphics
TW202044765A (en) * 2019-05-24 2020-12-01 瑞昱半導體股份有限公司 Signal transmission circuit and method

Also Published As

Publication number Publication date
TW202343427A (en) 2023-11-01
CN117012127A (en) 2023-11-07

Similar Documents

Publication Publication Date Title
TWI514344B (en) Display apparatus
US8344987B2 (en) Liquid crystal display device with length of signal path minimized
CN100428004C (en) Liquid crystal display device
KR100355312B1 (en) Display drive device and liquid crystal module incorporating the same
US20120127144A1 (en) Liquid crystal display and source driving apparatus and driving method of panel thereof
US8305330B2 (en) Gate driving circuit of display panel including shift register sets
WO2017024627A1 (en) Liquid crystal display drive system and drive method
KR100604919B1 (en) Display device
TWI868554B (en) Driving structure for display panel
JP4390451B2 (en) Display device and data side drive circuit
KR101957738B1 (en) Image display device and method of fabricating the same
TWI857295B (en) Display driving device and data transmission method thereof
JP2003295836A (en) Liquid crystal display device and its driver
KR100435114B1 (en) liquid display apparatus
CN101587690A (en) Data transmission device and related method thereof
KR20040024915A (en) Liquid crystal display
TWI798964B (en) Display and associated system on chip
US10317755B2 (en) Display device and display method
US7903102B2 (en) Display driving integrated circuit and method
CN112785976B (en) Driver integrated circuit and display device including the same
KR101112063B1 (en) Gate driver and liquid crystal display device having same
KR20070115020A (en) Display
KR20220160296A (en) Display Device and Driving Method of the same
TW202217542A (en) Image display device
JP3953363B2 (en) Interface circuit and electronic device having the same