**** FILE 74com.txt **** This document gives the commmon hardware setup for using an Epson SDU1374B0C evaluation board on a ISA 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 SED1374 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 SED1374 register settings. These settings make minimum use of SED1374 features and maximum use of supporting features on the KK5 interface boards. The idea was to simply make the Kyocera LCD operate and record the register settings as a starting point. Afterwards, people designing products can begin using on-chip features such as MOD 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 JP4 for the logic voltage of the LCD. SDU1374BOC BOARD SWITCHES AND JUMPERS On the 6 position dip switch: 1,2,3 open 4,5,6 closed. JP1 1-2 (upper position) JP2 1-2 (upper position) JP3 1-2 (upper position) JP4 x-x LCD logic voltage selection. 1-2 (upper) provides 5.0V LCD logic for 5.7". 2-3 (lower) provides 3.3V LCD logic and for most other panels. Check KC specs. 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. U2 socket contains a 25.000000 Mhz crystal U7 socket contains a device with a white paper label "SDU1374BOC Rev 1.0" CONNECTIONS 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 SDU board in the ISA slot. Power-on. 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 SED1374 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 SDU1374BOC eval board, the SED1374 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 SED1374 IC can implement the requirement for a randomizing frequency, if you load its register properly. 1374CFG.exe This program is used to configure 1374BMP.exe for a specific LCD panel. Then 1374BMP.exe is run to set the SED1374 registers and display the .bmp image you select. Kyocera has lots of LCDs, so I made lots of copies of 1374BMP.exe and renamed one for each specific LCD. For example 74B-38.exe is a copy of 1374BMP.exe configured for Kyocera 3.8 inch panels. There is no option for single/dual because the SED1374 IC only supports single. 640x480 is not a realistic format, because the 40K memory would limit it to monochrome. The first 9 rows of Kyocera's table 4-1 give settings that affect the signalling, so they must be set exactly by 1374CFG. 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 1374CFG.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. 1374CFG requires a default color depth, in bits per pixel. Choose whatever makes it happy, because 1374BMP will change the SDU board to the actual color depth of the file that you are trying to display. I abbreviate 1374BMP.exe as 74B-xxxx.exe, where xxxx identifies a Kyocera LCD. DISPLAYING AN IMAGE. Execute the MS-DOS program from the windows program menu. Enter CD /1374 or CD (whatever) to get into the directory. Run the 1374BMP program that you configured. for example C:\1374>74B-38 FL4-2432.bmp or C:\1374>74B-38 BL4-3224.bmp /P The /P switch causes the image to be rotated 90 degrees. To avoid inconsistancies in the Epson software, never check the box for "portrait" and treat the /P switch as a rotate switch. PRINTING OUT REGISTER SETTINGS Within MS-DOS as above, enter: C:\1374>1374PLAY 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:1374>1374play >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:\1374>type test1.txt I have made a set of register record files, to document each version of 1374BMP, for each Kyocera LCD module that I tested. For example 74B-389.txt records the the registers and my notes from running 74B-38.exe /P To get out of MS-DOS, enter C:1374>exit Robert Joslyn 3/23/01 Kyocera Industrial Ceramics Corp. 360-992-1859 bob.joslyn@kyocera.com