**** AGGREGATE FILE 76-25.txt 5/17/01 **** ========================================================== **** FILE 76B-25C.txt **** These SED1376 register contents were taken while displaying a 160x240x8 image on a KRS025EV0AC Kyocera LCD module. The SED1376 was on an SDU1376BOC evaluation board by Epson. CONNECTIONS This board was mounted in a PCI slot, connected to a special Kyocera KK5 interface board via a 40pin cable. The special KK5 has a unique 22 pin x 1mm pitch FFC connector for the special 1 mm pitch FFC required by this KRS025EV0AC. The more typical KRS025EV0AB LCD uses a 0.5 mm pitch FFC and would have been connected to the connector of the KK5 No.1 labeled "CN4" on a white paper label. REGISTER CONFIGURATION I made a copy of 1376BMP.EXE, renamed 76B-25C.EXE and ran 1376CFG.EXE to configure it as follows: PANEL TAB (The following settings are absolutely required by the Kyocera KRS025EV LCD modules) color, format2, STN, 8bit, FPline Hi, FPframe Hi, 160 width, 240 height. (The following settings are interrelated and many different combinations are possible. Section 5 of the Kyocera spec gives the required ranges for frame rate and pixel clock. Anytime you change a value, 1356CFG.exe may change some other value to make your change possible. Play with it until all values are satisfactory. Here is what I ended up with.) Display Total H[pxl]=192 and V[line]=242, Display Start H[pxl]=22 and V[line]=0, Timings FrameRate=76 and PClk[kHz]=3539, FPLINE StartPos=0 and PulseWidth=8, FPFRAME StartPos=0 and PulseWidth=1, ColorDepth=4bpp, SwivelView=0, Predefined Panels shows "Custom Panel", Panel Invert has no check marks. CLOCKS TAB (I did not set anything under this tab. The values shown are the result of settings made under the PANEL TAB.) CLKI is auto and 50000kHz is greyed out, BCLK Source and Divide is CLKI amd 1:1, PWMClk/CVPulse Source is CLKI, CLKI2 is auto and 28318 kHz is greyed out, MCLK Source and Divide is BCLK and 1:1, PWM has no checks and PWM Clk Div=1 and Duty Cycle=0, Contrast Voltage has no checks and CV Pulse div=1 and CV Burst Len=1, PCLK Source and Divide is CLKI2 and auto and 8:1 is marked and greyed out. OTHER TABS WERE NOT SET BY ME AND SEEMED TO DEFAULT CORRECTLY TO MY PC'S PARAMETERS. SAVING CONFIGURATION VALUES Run 1376CFG.exe under windows. To get the initial values, open 1376BMP.exe or a copy of it, for example 76B-25C.exe. Then modify as above. Then click "Save in..", highlight the same program you just opened, click "Add>" to move it to the right hand screen, click "configure" to write in the new values. OPERATING THE LCD Run the program renamed 76B-25C.exe and configured as above at the prompt on the MS-DOS emulation screen. For example c:\...>76B-25C Co8-1624.bmp The 80K memory of the SED1376 allows 160x240x8 images to be displayed, exactly filling the screen of the KRS025EV. 320x240x4 images will display with truncation. It will correctly display images with 1 bpp color. The color depth of 4 Bpp under the PANEL tab seems to an initializing value, that is properly superceeded by the color depth of the actual image being displayed. REGISTER VALUES Below are the register contents resulting from this configuration, obtained by running 1376PLAY.exe at the MS-DOS, and entering commands "xa", then "q". Robert Joslyn 3/22/2001 800-826-0527 ============================================== 1376PLAY - test utility - version 1.02 (HAL 1.02) = [0000] 28 14 0B 00 00 43 00 00-00 00 00 00 E8 24 90 00 [0010] D0 00 17 00 13 00 00 00-F1 00 00 00 EF 00 00 00 [0020] 87 00 00 00 80 00 00 00-1F 00 00 00 00 00 00 00 [0070] 03 00 00 00 00 00 00 00-28 00 00 00 00 00 00 00 [0080] 50 00 00 00 00 00 00 00-00 00 00 00 4F 00 00 00 [0090] EF 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 [00A0] 00 00 00 00 00 00 00 00-00 80 00 00 00 80 00 00 [00B0] 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 GCP Data Registers: [0000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [0010] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 = ========================================================= //---------------------------------------------------------------------------- // File generated by 1376CFG.EXE // FILE 76B-25C.csv // Formatted print of registers configured in 76B-25C.exe above //---------------------------------------------------------------------------- // Panel: 160x240x4bpp 76Hz Color Single STN 8-bit (PCLK=3.539MHz) (Format 2) 0x0004, 0x00, BUSCLK MEMCLK Config Register ,0x0005, 0x43, PCLK Config Register 0x0010, 0xd0, PANEL Type Register ,0x0011, 0x00, MOD Rate Register 0x0012, 0x17, Horizontal Total Register ,0x0014, 0x13, Horizontal Display Period Register 0x0016, 0x00, Horizontal Display Period Start Pos Register 0 ,0x0017, 0x00, Horizontal Display Period Start Pos Register 1 0x0018, 0xf1, Vertical Total Register 0 ,0x0019, 0x00, Vertical Total Register 1 0x001c, 0xef, Vertical Display Period Register 0 ,0x001d, 0x00, Vertical Display Period Register 1 0x001e, 0x00, Vertical Display Period Start Pos Register 0 ,0x001f, 0x00, Vertical Display Period Start Pos Register 1 0x0020, 0x87, Horizontal Sync Pulse Width Register ,0x0022, 0x00, Horizontal Sync Pulse Start Pos Register 0 0x0023, 0x00, Horizontal Sync Pulse Start Pos Register 1 ,0x0024, 0x80, Vertical Sync Pulse Width Register 0x0026, 0x00, Vertical Sync Pulse Start Pos Register 0 ,0x0027, 0x00, Vertical Sync Pulse Start Pos Register 1 0x0070, 0x02, Display Mode Register ,0x0071, 0x00, Special Effects Register 0x0074, 0x00, Main Window Display Start Address Register 0 ,0x0075, 0x00, Main Window Display Start Address Register 1 0x0076, 0x00, Main Window Display Start Address Register 2 ,0x0078, 0x14, Main Window Address Offset Register 0 0x0079, 0x00, Main Window Address Offset Register 1 ,0x007c, 0x00, Sub Window Display Start Address Register 0 0x007d, 0x00, Sub Window Display Start Address Register 1 ,0x007e, 0x00, Sub Window Display Start Address Register 2 0x0080, 0x50, Sub Window Address Offset Register 0 ,0x0081, 0x00, Sub Window Address Offset Register 1 0x0084, 0x00, Sub Window X Start Pos Register 0 ,0x0085, 0x00, Sub Window X Start Pos Register 1 0x0088, 0x00, Sub Window Y Start Pos Register 0 ,0x0089, 0x00, Sub Window Y Start Pos Register 1 0x008c, 0x4f, Sub Window X End Pos Register 0 ,0x008d, 0x00, Sub Window X End Pos Register 1 0x0090, 0xef, Sub Window Y End Pos Register 0 ,0x0091, 0x00, Sub Window Y End Pos Register 1 0x00a0, 0x00, Power Save Config Register ,0x00a1, 0x00, CPU Access Control Register 0x00a2, 0x00, Software Reset Register ,0x00a3, 0x00, BIG Endian Support Register 0x00a4, 0x00, Scratch Pad Register 0 ,0x00a5, 0x00, Scratch Pad Register 1 0x00a8, 0x00, GPIO Config Register 0 ,0x00a9, 0x80, GPIO Config Register 1 0x00ac, 0x00, GPIO Status Control Register 0 ,0x00ad, 0x00, GPIO Status Control Register 1 0x00b0, 0x00, PWM CV Clock Control Register ,0x00b1, 0x00, PWM CV Clock Config Register 0x00b2, 0x00, CV Clock Burst Length Register ,0x00b3, 0x00, PWM Clock Duty Cycle Register ======================================================================================================== **** FILE 76B-25C2.txt **** These SED1376 register contents were taken while displaying a 240x160x8 image rotated 270 degrees onto a KRS025EV0AC Kyocera LCD module. The SED1376 was on an SDU1376BOC evaluation board by Epson. The board and the SED1376 registers were configured exactly as described in 76B-25C.txt However this test was executed as c:\...>76B-25C LA8-2416.bmp /r270 The LCD was still 160x240. 56B-25C.exe was still configured as 160x240x4 with swivelView initially set to zero. But the image was 240x160x8 and swivelView was set to 90 degrees at execution. Below are the register values during swivelView=270, for comparison with 76B-25C.txt. Robert Joslyn 3/22/2001 800-826-0527 ============================================== 1376PLAY - test utility - version 1.02 (HAL 1.02) = [0000] 28 14 0B 00 00 43 00 00-00 00 00 00 E8 24 90 00 [0010] D0 00 17 00 13 00 00 00-F1 00 00 00 EF 00 00 00 [0020] 87 00 00 00 80 00 00 00-1F 00 00 00 00 00 00 00 [0070] 03 03 00 00 44 25 00 00-3C 00 00 00 00 00 00 00 [0080] 50 00 00 00 00 00 00 00-00 00 00 00 4F 00 00 00 [0090] EF 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 [00A0] 00 00 00 00 00 00 00 00-00 80 00 00 00 80 00 00 [00B0] 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 GCP Data Registers: [0000] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 [0010] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 = ===========================================================