Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 12 Jan 2006 08:52 AM by  mikea@logicpd.com
how to onfigure lcd
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
ramakrishnan@hdmedigroup.com
New Member
New Member
Posts:


--
10 Jan 2006 04:30 AM
    Hi

    We are using LQ035Q7DB02 ,in order to configure it for logic board sdklh7a400 i have to set the registers in the processor for LCD .In lh7a400 user guide for timing0 register they have specified fields such PPL,HSW,HFP,HBP. Can any one let me know how to calculate these register values for LQ035Q7DB02.

    Ramakrishnan
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    12 Jan 2006 08:52 AM
    Ramakrishnan,
    LogicLoader has support for this display, it is listed as video mode 6. Please be sure you are using the latest LogicLoader (2.0.5), although for this, using any LogicLoader version will work.

    In LogicLoader:

    losh> video-open 6 16
    losh> x /w 0x80003000

    This will show you what we have this register (TIMING0) set up as. You can do a 'x' command for each of the LCD registers you are wondering about. You can then apply to your custom software.

    If I were to do the following commands in LogicLoader 2.0.5, this is what is printed: (you should try this also)

    losh> help video-open
    usage:
    video-open <display # or name> <bpp>
    open the default video device
    example: video-open 5 16
    video-open MyScreen 16

    Supported displays:

    Logic Display Kits:
    1 == LQ057Q3DC02 TFT QVGA (5.7) Sharp
    2 == LQ121S1DG31 TFT SVGA (12.1) Sharp
    3 == LQ036Q1DA01 TFT QVGA (3.6) Sharp w/ASIC
    5 == LQ64D343 TFT VGA (6.4) Sharp
    6 == LQ035Q7DB02 TFT QVGA (3.5) Sharp
    7 == LQ10D368 TFT VGA (10.4) Sharp
    8 == LQ035Q7DB02-20 TFT QVGA (3.5) Sharp w/ASIC
    Other Displays:
    (The following displays are not continually tested with
    LogicLoader and therefore support is not guaranteed)
    11 == KHG062HV1AA STN HVGA (6.3) Kyocera
    13 == LQ050Q5DR01 TFT QVGA (5.0) Sharp
    14 == TX14D11VM1CAA TFT QVGA (5.7) Hitachi

    Supported depths: 8, 16

    losh>
    losh> video-open 6 16
    video-open display: width: 240 height: 320 bpp: 16 disp: 6
    losh> x /w 0x80003000 13
    0x80003000 0e143c38 075f013f 00ef300e 00000000 8<..?._..0......
    0x80003010 c0100000 00000000 00000000 00010829 ............)...
    0x80003020 0000000c 00000000 c010da1c fffffffc ................
    0x80003030 00000000 ....
    losh> x /w 0x80001000 4
    0x80001000 00002efd 00000003 0000087d 00009ad0 ........}.......
    losh>




    To answer your question about figuring out these values, you must calculate them from the LQ035Q7DB02 LCD specification. The values given in this spec will allow you to calcuate, although I understand it is not straight forward, in fact it is hard to do with these type of displays (HRTFT/ADTFT). You must take a look at the timing diagrams and apply the AC characstic table values. Again, this is not easy. With regular TFT displays, these numbers are generally given to you in the spec or are much easier to calculate. I'd love to show all the calculations here, but iit would take several hours.

    So, my advice:

      1) Use the LogicLoader values you already have access to.

      2) Contact your local Sharp rep/contact and have them get these values for you. Also, post to Sharp's Forums: http://forum.sharpsma.com/index.php

      3) If you had a display that perhaps the values were not provided like the case here (LogicLoader mode) and you have troubles figuring out the proper values, Logic can calculate these for you, but it would be with the cost of a support contract.


    Hope this helps,
    -Mike
    You are not authorized to post a reply.