**** FILE 76com.txt **** This document gives the commmon hardware setup for using an Epson SDU1376B0C evaluation board on a PCI bus PC, under windows, to demonstrate various Kyocera color LCD modules. You obtain this board from Epson. The KK5 interface boards and the various cables are parts of a Kyocera kit. The color LCD modules are available as products of Kyocera. A series of experiments were run at Kyocera to record the Epson SED1376 controller IC register settings during successful operation of various Kyocera LCD modules. The information in this document is common to all these experiments. Each experiment has a specific document giving specific setup information for that LCD module and recording the resulting SED1376 register settings. These settings make minimum use of SED1376 features and maximum use of supporting features on the KK5 interface boards. The idea was to make the Kyocera LCD operate. People designing products can start with these register settings, and afterwards begin using on-chip features such as MOD and voltage control in place of the features on the KK5 boards. KEY POINTS Adjust the VDDH variable resistor as high as possible - all the way clockwise. Set jumper JP6 for the logic voltage of the LCD. Current Kyocera 5.7 inch LCDs need 5V. Most other Kyocera LCDs need 3.3V SDU1376BOC BOARD SWITCHES AND JUMPERS On the 10 position dip switch: 1,2,4 closed 3,5,6,7,8,9,10 open. JP1 1-2 (only position) JP2 1-2 (lower position) JP3 1-2 (lower position) JP4 1-2 (left position) JP5 2-3 (upper position) VDDH control by variable resistor JP6 x-x LCD logic voltage selection. 1-2 provides 5.0V LCD logic for 5.7" panels 2-3 provides 3.3V LCD logic and is used for most other panels. Check KC specs. JP7 (open). VLCD variable resistor is irrelvant to Kyocera LCDs. VDDH variable resistor must be turned as far as possible clockwise to provide maximum LCD voltage to the similar variable resistor "VOL1" on the Kyocera KK5 board, where actual adjustment is more convenmient. U6 socket happened to have a 6.000000 MHz crystal U7 socket happened to have a 40.000000 Mhz crystal U15 socket contained a device with a partially legible white paper label, 1st line beginning with "BE" and 2nd line saying "3.0" CONNECTIONS Copy the eval board drivers (13xx) to an out-of-the-way directory on the C: drive. Power-off. Connect a 40 pin ribbon cable to the board. (an standard IDE cable works fine). Connect the other end to the Kyocera KK-5 board that you will be using, with display switch off and connect the LCD to the KK5 board. Set the SDU board jumpers/switches as above. Insert the board in the PCI slot. Power-on. When prompted by Windows software, tell it where to find the 13xx drivers. They seem to be good for all the SDU boards, so you will only have to do this once. KK5 BOARDS Consult the Kyocera demonstration kit manual, page 4-1, for a table of what KK-5 boards to use with what LCD modules. Note that all KK-5 boards are assumed to be for the Epson boards. The difference is that they must have the 40 pin connector on top, and not the 30 pin connector in the middle, as found on otherwise similar KK5 boards intended for Kyocera demo controllers. All KK-5 boards have dip switches 2 and 5 on, others off to set a typical randomizing frequency, generated on the KK-5 board. The SED1376 also has this capability, but it was not tested here. REFERENCES Epson web site is www.erd.epson.com. It has up to date versions of the Epson manuals. There are separate manuals for the SDU1376BOC eval board, the SED1376 controller IC, and the various software programs. The Kyocera LCD website is www.kyocera.com/lcd It has specifications for most LCD modules. Consult these specs for logic voltage, frame rate range, and pixel clock range, which you must set by jumper or configuration program. Consult these specs for required additional circuits such as "randomizing circuit" and bias voltage circuit. If additional circuits are required by an LCD, then they will be provided for demonstration on the KK5 interface board. But the customer must provide them externally the final product. The MOD feature of the SED1376 IC can implement the requirement for a randomizing frequency, if you load its register properly. 1376CFG.exe This program is used to configure 1376BMP.exe for a specific LCD panel. Then 1376BMP.exe is run to set the SED1376 IC registers and display the .bmp image you select. Kyocera has lots of LCDs, so I made lots of copies of 1376BMP.exe and renamed one for each specific LCD. For example 76B-38.exe is a copy of 1376BMP.exe configured for Kyocera 3.8 inch panels. There is no option for single/dual because the SED1376 IC only supports single. 640x480 is not a realistic format, because the limited memory would limit it to 2 bit color. The first 9 rows of Kyocera's table 4-1 give settings that affect the signalling, so they must be set exactly by 1376CFG. After that, you want the panel clock and the frame rate to be withing their ranges, as given in the Kyocera spec for the specific panel. You probably want Non-Display-Period lines to be 1 or 2 or a small number. Finally you will be forced to choose a Non-Display-Period number of pixels acceptable to 1376CFG.exe. As you enter one number, the program will change some other number that you already set, in order to be maintain the relationship among the frame rate, pixel clock, and non-display periods. Repeat this until all values are acceptable. 1376CFG requires a default color depth, in bits per pixel. Choose whatever makes it happy, because 1376BMP will change the SDU board to the actual color depth of the file that you are trying to display. I abbreviate 1376BMP.exe as 76B-xxxx.exe, where xxxx identifies a Kyocera LCD. DISPLAYING AN IMAGE. Execute the MS-DOS program from the windows program menu. Enter CD /1376 or CD (whatever) to get into the directory. Run the 1376BMP program that you configured. for example C:\1376>76B-38 CB4-3224.bmp or C:\1376>76B-38 FL4-2432.bmp /r90 The /r90, /r180 and /r270 switches will rotate the image. PRINTING OUT REGISTER SETTINGS Within MS-DOS as above, enter: C:\1376>1376PLAY The program displays "=" as a prompt. At =, enter XA to display all the registers. At =, enter Q to quit. Practice this until you can do it without looking at the screen. Then run the program with MS-DOS "I/O redirection". The screen contents will go into the file, whose name you give each time. For example: C:1376>1376play >test1.txt Accurately type in XA and Q as above, without the prompt. After Q, the MS-DOS prompt will re-appear. The file test1.txt will contain the register settings, for use by engineers. You can quickly see its contents by entering C:\1376>type test1.txt I have made a set of register record files, to document each version of 1376BMP, for each Kyocera LCD module that I tested. For example 76B-389.txt records the the registers and my notes from running 76B-38.exe /r90 To get out of MS-DOS, enter C:\1376>exit Robert Joslyn 3/23/01 Kyocera Industrial Ceramics Corp. 360-992-1859 bob.joslyn@kyocera.com