Toshiba T6963C manual Software, Schematic diagram

Page 2

Application Note

 

 

80C51

 

 

33pF

 

P1.0

 

16.00mHz

 

 

X1

 

 

 

 

P1.1

 

 

X 2

P1.2

 

33pF

 

P1.3

 

 

 

 

 

 

P1.4

 

+5v

 

P1.5

1N4148

+

 

1uF

P1.6

 

 

RST

 

 

 

 

 

10k

P1.7

 

 

 

 

 

 

P3.0

 

 

 

P3.1

 

 

 

P3.2

 

 

 

P3.3

 

240x64LCDDISPLAY

+5v

D0

VD D

-15V

 

 

D1

FS

 

D2

 

 

 

D3

VL

20K

D4

D5

VSS

 

D6

 

 

 

D7

FG

 

 

 

WR

 

 

RD

 

 

CE

 

 

CD

 

 

RESET

 

 

Figure 2 Schematic diagram

Software:

The sample program here is written in 8051 assembly language and is designed to work with the hardware shown in Figure 2. It is based on a 240x64 display but is applicable to any LCD with the T6963C controller.

The program first resets the display. This reset must last a minimum of 2µS. It then sends a series of command bytes and parameters to the LCD controller to initialize it. The T6963C requires that the parameters, if any, are sent in the data mode and must precede the command byte, which is sent in the command mode.

The controller is initialized with the graphics page at 0000-077fh. This is 1920 bytes which will accommodate a full screen of data. No text is displayed in this example but the controller is initialized for text operation to illustrate the process. The text page starts immediately following the graphics page at location 0780h.

The FS (Font Select) line is set to a zero in this example which will place the 5x7 pixel character in a 8x8 pixel field. This will produce 30 characters per line with 8 lines per display (2408 =30 ). The total number of characters possible in this mode is 240. A one on the FS line will produce an 6x8 pixel field for each character.

After initialization the controller is set in the auto write mode and the display is filled with a bit- mapped graphic.

The code example is not written to be efficient but to be as simple as possible to follow.

Page 2

Image 2
Contents Functional Description SchematicIntroduction Schematic diagram SoftwareSoftware Flowchart Initialization bytes Command Code Parameters FunctionInitialization Displayed imageSubroutines Tables and Data