<<Mobile phone>>
The MCU 5 issues a display command, display data, and the like to a liquid crystal display drive controller (LCDCNT) 10. The LCDCNT 10 performs control of displaying an image on a liquid crystal display 11 according to the issued display command and display data or transfers the display command and display data to a sub liquid crystal display drive controller (SLCDCNT) 12 for control to enable displaying an image on a sub liquid crystal display (SDISP) 13. The MCU 5 comprises circuit units such as a central processing unit (CPU) and a digital signal processor (DSP). The MCU 5 may be configured to have separate processors: a baseband processor dedicated to baseband processing tasks for communication and an application processor dedicated to additional function control tasks such as display control and security control. Although not restrictive, in the illustrated embodiment, the LCDCNT 10, SLCDCNT 12, ASIC 6, and MCU 5 are configured by independent semiconductor devices, respectively. The MCU is assumed as a host device to the LCDCNT 10.
In the configuration of
The high-speed serial interface circuit (HSSIF) 25 performs serial interfacing with differential signal lines. To the high-speed serial interface, two differential data terminals data± and two differential strobe signal terminals Stb± are assigned. The clock-synchronized serial interface circuit 40 controls serial input and output synchronized with a clock.
The parallel interface circuit 33 has parallel data terminals 15-0 at which data is input and output and takes input of a chip select signal, a register select signal, a write signal, and a read signal which are interface control signals for parallel interfacing. Although not restrictive, an access control signal that is used for access to an external bus of a Z80 microprocessor is considered to be used for the parallel interface assumed herein.
The host interface circuit 20 also includes a bitmap input control interface circuit (BMIF) 65 which is made available along with image data input via the parallel interface circuit 33. The bitmap input control interface circuit (BMIF) 65 is a circuit for inputting timing control signals for rendering image data which is input via the parallel interface circuit 33 into the frame buffer. These signals are used when, for example, moving image data sent from the host device is received and written into the frame buffer, and displaying the moving image is controlled with the display drive circuit 21. The timing control signals which are input through the bitmap input control interface circuit 65 are a data enable signal which indicates that valid data is present, a horizontal synchronization signal, a vertical synchronization signal, and a dot clock which specifies timing for taking in data.
When the high-speed serial interface circuit 25 is selected for use as the interface with the host device, the host interface circuit 20, upon receiving a command and display data for the sub liquid crystal display drive controller 12 from the host device, outputs the command and display data to the sub liquid crystal display drive controller 12 via the parallel data input/output terminals DB15-0 of the parallel interface circuit 33 and generates interface control signals for the parallel output by means of an interface control signal generating circuit (IFSG) 22. The interface control signal generating circuit 22 generates the interface control signals in response to receiving a command and display data for the sub liquid crystal display drive controller 12 by the high-speed serial interface circuit. To output the generated interface control signals, a serial output terminal SDI assigned to the low-speed (clock-synchronized) serial interface circuit and an external input terminal ENABLE for the enable signal and an external input terminal HSYNC for the horizontal synchronization signal assigned to the bitmap input control interface circuit 65 are used for double duty. Timing of outputting parallel data for the sub liquid crystal display drive controller 12 is synchronized with the output of the interface control signals. The interface control signals for the parallel output are specifically a chip select signal cs, a register select signal rs, and a write signal wr. Thus, the number of external terminals can be lessened as compared with a case where dedicated terminals like port terminals are assigned to output the interface control signals for the parallel output of a command and display data to the sub liquid crystal display drive controller 12. A read signal is not necessary as an interface control signal for the sub liquid crystal display drive controller 12, because the sub display drive controller only receives a command and display data from the liquid crystal display drive controller 10.
The host interface circuit 20 generates a frame sync signal to specify timing for taking in display data by frame-by-frame synchronization. The frame sync signal is output from a frame sync signal output terminal FMARK. For example, the frame sync signal is generated based on a signal FLM (main) indicating the start of a frame of display data and its pulse changes corresponding to the start point of each frame of display data. The signal FLM (main) is an internal control signal that changes in sync with the start of each frame of display data when the display data is written into the frame buffer and the FLM is generated by a timing control circuit (timing generator 50 in
An input circuit 23 is provided to allow the sub liquid crystal display drive controller 12 to take in display data in sync with the start of each frame. That is, the input circuit 23 takes input of a signal FLM (sub) which is output by the sub liquid crystal display drive controller 12 and allows this signal to be output from the terminal FMARK. Specifically, when the host interface circuit 20 outputs display data and the like to be displayed on the sub display under the control of the sub liquid crystal display drive controller 12, received by the high-speed serial interface circuit 25, from the parallel interface circuit 33 to the sub liquid crystal display drive controller 12, the input circuit 23 takes input of the signal FLM (sub) output from the sub liquid crystal display drive controller 12. The input signal FLM (sub) is selected by a selector 35, instead of the signal FLM (main) generated internally in the liquid crystal display drive controller 10, and output from the terminal FMARK to the MCU 5. Control of the selector 35 can be performed in accordance with control data set in a register 36. Thereby, even when the liquid crystal display drive controller 10 supplies display data to the sub liquid crystal display drive controller 12 for sub display, the sub liquid crystal display drive controller 12 can take in display data in synch with the start of each frame.
The signal lines 18 further include a reset signal line RESET, a vertical synchronization signal line VSYNC, a signal CS to the liquid crystal display drive controller 10, a voltage supply line VCC, and a ground supply line GND. The reset signal line RESET is used to initialize the liquid crystal display drive controllers 10, 12. The vertical synchronization signal line VSYNC is used to control a synchronized display of moving images typified by video telephony and the like. If the high-speed serial interface circuit is used as the interface with the host, the signal CS is used as an interrupt signal to wake up the liquid crystal display drive controller 12 from sleep mode. If the parallel interface circuit 33 is used as the interface with the host, the signal CS functions as a chip select signal to the liquid crystal display drive controller 10.
If the parallel interface function is selected, the host interface circuit 20 interfaces with the host, namely, the MCU 5 mainly by the parallel interface circuit 33. Parallel interfacing with the MCU 5 is performed via the following lines: reset signal RESET, frame mark signal FMARK, chip select signal CS, write signal WR, register select signal RS, read signal RD, and parallel data DB15-0. Furthermore, along with image data input via the parallel interface circuit 33, it is also possible to use the bitmap input control interface circuit (BMIF) 65 through which a data enable signal ENABLE and a horizontal synchronization signal HSYNC are input from the host device. Since the high-speed serial interface circuit 25 and the clock-synchronized serial interface circuit 40 are not in use, the terminals assigned to them, such as Data±, Stb±, and SDO are, for example, set in a floating (Open) state. In a case where, as the host interface function, the parallel interface is adopted instead of the high-speed serial interface, the number of the signal lines 38 required for interfacing with the host increases to several tens of lines. A situation where the interface aspect as shown in
<<Liquid crystal display drive controller>>
The host interface circuit 20 includes the high-speed serial interface circuit (HSSIF) 25 for serial data input and output in a differential manner, the parallel interface circuit (PIF) 33, the clock-synchronized serial interface circuit (LSSIF) 40 for clock-synchronized serial interfacing at a lower speed than the HSSIF 25, the bitmap image input control interface circuit (BMIF) 65, and the interface control signal generating circuit (IFSG) 22.
The high-speed serial interface circuit (HSSIF) 25 performs serial interfacing with differential signal lines. To the high-speed serial interface, two differential data terminals data± and two differential strobe signal terminals Stb± are assigned. The clock-synchronized serial interface circuit 40 controls serial input and output synchronized with a clock. A specific transfer protocol for the high-speed serial interface is not described restrictively herein. However, for example, the transmitter side of the interface sends data through the differential data terminals data± in sync with edge changes of clock signals present at the differential strobe signal terminals Stb± and the receiver side takes in data present at the differential data terminals data± for each fixed period of clock signals present at the differential strobe signal terminals Stb±. Determining whether a signal is “1” or “0” may be made depending on a direction of a differential current. Preferably, transfer rate is set at a high rate, e.g., 100-400 Mbps, and signal amplitude is set at a low amplitude, e.g., 300 mV.
Parallel data terminals DB0-15, a chip select terminal CS, a register select terminal RS, a write terminal WR, and a read terminal RD are assigned to the parallel interface circuit 33. Although not restrictive, an access control signal that is used for access to an external bus of a Z80 microprocessor is considered to be used for the parallel interface assumed herein.
The clock-synchronized serial interface circuit 40 serves for serial input and output of data, using a serial input terminal SDI and a serial output terminal SDO. The amplitude of a signal that is transferred through theses terminals SDI, SDO is as high as about 1.5 V and the transfer rate is low.
The bitmap image input control interface circuit (BMIF) 65 is a circuit for inputting timing control signals for rendering image data which is input via the parallel interface circuit 33 into the frame buffer. The timing control signals are used when, for example, moving image data sent from the host device is received and written into the frame buffer, and displaying the moving image is controlled with the display drive circuit 21. The timing control signals which are input through the bitmap image input control interface circuit 65 are a data enable signal ENABLE which indicates that valid data is present, a horizontal synchronization signal HSYNC, a vertical synchronization signal VSYNC, and a dot clock DOTCLK which specifies timing for taking in data.
For input and output of a command and display data from/to the MCU 5 as the host device, the parallel interface circuit 33, the high-speed serial interface circuit 25, or the low-speed serial interface circuit 40 can be used. Which interface is used is determined depending on the pulled-up or pulled-down state of each mode terminal IM3-0. If the high-speed serial interface is selected, the interface configuration as shown in
Packets in a predetermined format are used for transfer of a command and data between the MCU 5 and the host interface circuit 20. If the high-speed interface circuit is used as the host interface, it receives a command and display data from the differential data terminals data±. If the parallel interface is used as the host interface, it receives a command and display data from the data input/output terminals DB15-0. When the low-speed serial interface is used as the host interface, it receives a command and display data from the serial data input terminal SDI. If the parallel interface is used as the interface with the MCU 5, the chip select signal CS, write signal WR, read signal RD, and register select signal RS are input as the interface control signals from the host device 5. The chip select signal CS means a chip selection when the signal level is low. The write signal WR is defined herein as a write strobe signal that means writing when the signal level is low. The read signal RF is defined herein as a read strobe signal that means reading when the signal level is low.
When the host interface circuit 20 receives a command packet from the MCU 5, it stores address information received by the packet into an index register (IDREG) 47. The index register 47 generates a register select signal or the like by decoding the command address stored therein. Command data received by the packet is supplied to a command data register array (CREG) 46. The command register array 46 comprises a large number of command data registers mapped to predetermined addresses. A command data register into which the received command is to be stored is selected by the register select signal that is output from the index register 47. The command data latched into the selected command data register is supplied as an instruction or control data to the appropriate circuit portion for control of internal operation. It is also possible to write a command directly into a command data register designated by the address information of a command packet, according to the packet header information. If the parallel interface is selected, the direct writing of a command into a command data register is indicated by a high level of the register select signal RS.
When the host interface circuit 20 receives a data packet from the MCU 5, the host operates as follows: according to the packet header information, it writes the data into a register such as a write data register 42 whose address is designated by the address information or reads data from a register such as a read data register 45 whose address is designated by the address information, and sets the address information into an address counter 49. The address counter 49 performs an increment operation or the like in accordance with the contents of the command data register to which the address information refers and performs addressing within a display data memory (GRAM) 43. At this time, if the command data specifies a write access operation to the display data memory 43, the data contained in the data packet is supplied via a bus 41 to the write data register (WDR) 42 and stored into the display data memory (GRAM) 43 at precise timing. Storing display data is performed, for example, in units of display data frames or the like. If the command data specifies a read access operation from the display data memory 43, data stored in the display data memory 43 is read to the read data register (RDR) 45 from which the data can be supplied to the MCU 5. When the command data register receives a display command, a read operation from the display data memory 43 is performed in sync with displaying timing. Timing control of reading and displaying is performed by a timing generator (TGNR) 50. Display data which has been read from the display data memory 43 in sync with displaying timing is latched into a latch circuit (LAT) 51. The latched data is supplied to a source driver (SOCDRV) 52. The liquid crystal display 11 whose driving is controlled by the liquid crystal display drive controller 10 consists of a dot matrix type liquid crystal panel comprising thin film transistors (TFTs). The liquid crystal panel further includes a large number of source electrodes as signal electrodes and a large number of gate electrodes as scanning electrodes for driving pixels. The source driver (SOCDRV) 52 drives the source electrodes of the liquid crystal display 11 via drive terminals S1-720. The drive levels of the drive terminals S1-720 are determined by tone voltages generated by a tone voltage generating circuit (TWVG) 54 and applied to these terminals. The tone voltages can be gamma-modified by a gamma modification circuit (γMD) 55. A scanning data generating circuit (SCNDG) 57 generates data for scanning in sync with scanning timing from the timing generator 50. The data for scanning is supplied to a gate driver (GTDRV) 56. The gate driver 56 drives the gate electrodes of the liquid crystal display 11 via drive terminals G1-320. The drive levels of the drive terminals G1-320 are determined by drive voltages generated by a liquid crystal display drive level generating circuit (DRLG) 58 provided with charge pumping circuits and applied to these terminals. A plurality of external terminals TML3 attached to the DRLG 58 are external terminals such as capacitor elements for constituting the charge pumping circuits.
A clock pulse generator (CPG) 60 takes input of a source oscillation clock from terminals OSC1, OSC2, generates an internal clock, and supplies it as a reference clock for operation timing to the timing generator 50. An internal reference voltage generating circuit (IVREFG) 61 generates a reference voltage and supplies it to an internal logic power supply regulator (ILOGVG) 62. The internal logic power supply regulator 62 generates a power supply for internal logics, based on the reference voltage.
When the high-speed serial interface circuit 25 is selected for use as the host interface, the high-speed serial interface circuit 25 determines whether predetermined header information is included in the header of a command packet or data packet. The high-speed serial interface circuit 25 gets to know that the packet is destined for the sub liquid crystal display drive controller 12 upon finding the predetermined header information in the header. Thereupon, the high-speed serial interface circuit 25 passes the packet containing a command or display data to the parallel interface circuit to output it from the data terminals DB15-0 and requests the interface control signal generating circuit (IFSG) 22 to generate a chip select signal cs, register select signal rs, and write signal wr as the interface control signals for the parallel interface. These control signals are output to outside from the serial output terminal SDI assigned to the clock-synchronized serial interface circuit and the external input terminal ENABLE for an enable signal and the external input terminal HSYNC for a horizontal synchronization signal assigned to the bitmap input control interface circuit 65.
While the present invention has been described specifically based on its illustrative embodiments hereinbefore, it will be appreciated that the present invention is not limited to the described embodiments and various modifications may be made without departing from the gist of the invention.
For example, the term “command” used herein means not only an instruction to be set in a command register, but also control data to be set in a control register such as a port control register. In other words, for either liquid crystal display drive controller, data other than display data is considered to be a command and means instruction data to make directions for an action in any way. In the liquid crystal display drive controller, any of the interface configurations to be used, as shown in
Number | Date | Country | Kind |
---|---|---|---|
2006-250631 | Sep 2006 | JP | national |